Record Class OrganizationListOptions
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.OrganizationListOptions
-
Constructor Summary
ConstructorsConstructorDescriptionOrganizationListOptions(String search, Integer page, Integer size, List<String> sort, List<OrganizationSortDirection> direction) Creates an instance of aOrganizationListOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectionrecord component.static OrganizationListOptionsempty()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.page()Returns the value of thepagerecord component.search()Returns the value of thesearchrecord component.size()Returns the value of thesizerecord component.sort()Returns the value of thesortrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OrganizationListOptions
public OrganizationListOptions(String search, Integer page, Integer size, List<String> sort, List<OrganizationSortDirection> direction) Creates an instance of aOrganizationListOptionsrecord class.- Parameters:
search- the value for thesearchrecord componentpage- the value for thepagerecord componentsize- the value for thesizerecord componentsort- the value for thesortrecord componentdirection- the value for thedirectionrecord component
-
-
Method Details
-
empty
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
search
Returns the value of thesearchrecord component.- Returns:
- the value of the
searchrecord component
-
page
Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
size
Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
sort
-
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-