Record Class ServiceAccountResourceImpl
java.lang.Object
java.lang.Record
com.atlassian.confluence.impl.user.crowd.serviceaccount.ServiceAccountResourceImpl
- All Implemented Interfaces:
com.atlassian.crowd.embedded.api.service.Resource,Serializable
public record ServiceAccountResourceImpl(String id, String typeId)
extends Record
implements com.atlassian.crowd.embedded.api.service.Resource, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceAccountResourceImpl(String id, String typeId) Creates an instance of aServiceAccountResourceImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getId()final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.typeId()Returns the value of thetypeIdrecord component.
-
Constructor Details
-
ServiceAccountResourceImpl
Creates an instance of aServiceAccountResourceImplrecord class.- Parameters:
id- the value for theidrecord componenttypeId- the value for thetypeIdrecord component
-
-
Method Details
-
getId
- Specified by:
getIdin interfacecom.atlassian.crowd.embedded.api.service.Resource
-
getTypeId
- Specified by:
getTypeIdin interfacecom.atlassian.crowd.embedded.api.service.Resource
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
typeId
Returns the value of thetypeIdrecord component.- Returns:
- the value of the
typeIdrecord component
-