Record Class PaginatedEnvironmentsForExecutablesView
java.lang.Object
java.lang.Record
com.atlassian.bamboo.deployments.environments.PaginatedEnvironmentsForExecutablesView
@Internal
public record PaginatedEnvironmentsForExecutablesView(List<EnvironmentForExecutablesView> environments, boolean hasMore, int nextStart)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPaginatedEnvironmentsForExecutablesView(List<EnvironmentForExecutablesView> environments, boolean hasMore, int nextStart) Creates an instance of aPaginatedEnvironmentsForExecutablesViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenvironmentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanhasMore()Returns the value of thehasMorerecord component.intReturns the value of thenextStartrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
PaginatedEnvironmentsForExecutablesView
public PaginatedEnvironmentsForExecutablesView(List<EnvironmentForExecutablesView> environments, boolean hasMore, int nextStart) Creates an instance of aPaginatedEnvironmentsForExecutablesViewrecord class.- Parameters:
environments- the value for theenvironmentsrecord componenthasMore- the value for thehasMorerecord componentnextStart- the value for thenextStartrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
environments
Returns the value of theenvironmentsrecord component.- Returns:
- the value of the
environmentsrecord component
-
hasMore
public boolean hasMore()Returns the value of thehasMorerecord component.- Returns:
- the value of the
hasMorerecord component
-
nextStart
public int nextStart()Returns the value of thenextStartrecord component.- Returns:
- the value of the
nextStartrecord component
-