Record Class PlatformIdentityInfo
java.lang.Object
java.lang.Record
ai.timefold.solver.tools.maven.client.PlatformIdentityInfo
-
Constructor Summary
ConstructorsConstructorDescriptionPlatformIdentityInfo(String user, Set<String> scopes, Set<String> accountIds, Set<UUID> tenants, ConfigurationInfo config) Creates an instance of aPlatformIdentityInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdsrecord component.config()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanhasAccessToAccountId(String account) final inthashCode()Returns a hash code value for this object.booleanscopes()Returns the value of thescopesrecord component.tenants()Returns the value of thetenantsrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
PlatformIdentityInfo
public PlatformIdentityInfo(String user, Set<String> scopes, Set<String> accountIds, Set<UUID> tenants, ConfigurationInfo config) Creates an instance of aPlatformIdentityInforecord class.- Parameters:
user- the value for theuserrecord componentscopes- the value for thescopesrecord componentaccountIds- the value for theaccountIdsrecord componenttenants- the value for thetenantsrecord componentconfig- the value for theconfigrecord component
-
-
Method Details
-
hasPushAccessRights
public boolean hasPushAccessRights() -
hasAccessToAccountId
-
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). -
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
scopes
-
accountIds
-
tenants
-
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-