Record Class CocoCampaignListItem
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.coco.CocoCampaignListItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecampaignIdrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinishedAtrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.longReturns the value of theoptimizerCountrecord component.longReturns the value of thereachedTargetsrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.suite()Returns the value of thesuiterecord component.final StringtoString()Returns a string representation of this record class.longtrials()Returns the value of thetrialsrecord component.
-
Constructor Details
-
CocoCampaignListItem
public CocoCampaignListItem(String campaignId, String name, String suite, String status, String createdAt, String startedAt, String finishedAt, long trials, long reachedTargets, long optimizerCount) Creates an instance of aCocoCampaignListItemrecord class.- Parameters:
campaignId- the value for thecampaignIdrecord componentname- the value for thenamerecord componentsuite- the value for thesuiterecord componentstatus- the value for thestatusrecord componentcreatedAt- the value for thecreatedAtrecord componentstartedAt- the value for thestartedAtrecord componentfinishedAt- the value for thefinishedAtrecord componenttrials- the value for thetrialsrecord componentreachedTargets- the value for thereachedTargetsrecord componentoptimizerCount- the value for theoptimizerCountrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
campaignId
Returns the value of thecampaignIdrecord component.- Returns:
- the value of the
campaignIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
suite
Returns the value of thesuiterecord component.- Returns:
- the value of the
suiterecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
finishedAt
Returns the value of thefinishedAtrecord component.- Returns:
- the value of the
finishedAtrecord component
-
trials
public long trials()Returns the value of thetrialsrecord component.- Returns:
- the value of the
trialsrecord component
-
reachedTargets
public long reachedTargets()Returns the value of thereachedTargetsrecord component.- Returns:
- the value of the
reachedTargetsrecord component
-
optimizerCount
public long optimizerCount()Returns the value of theoptimizerCountrecord component.- Returns:
- the value of the
optimizerCountrecord component
-