Record Class BambooDeploymentProject
java.lang.Object
java.lang.Record
com.atlassian.crowd.embedded.service.account.BambooDeploymentProject
- All Implemented Interfaces:
com.atlassian.crowd.embedded.api.service.Resource,Serializable
public record BambooDeploymentProject(String id)
extends Record
implements com.atlassian.crowd.embedded.api.service.Resource
Represents
DeploymentProject
as Resource that can be assigned to the Service Account- Since:
- 12.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aBambooDeploymentProjectrecord 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.
-
Constructor Details
-
BambooDeploymentProject
-
BambooDeploymentProject
Creates an instance of aBambooDeploymentProjectrecord class.- Parameters:
id- the value for theidrecord 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
-