Class Role
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Role
-
public class Role extends java.lang.ObjectRoleThe role of manager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRole.Builder
-
Constructor Summary
Constructors Constructor Description Role()Role(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label, org.openapitools.jackson.nullable.JsonNullable<? extends RoleType> roleType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Role.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>label()The label of the role typeorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<RoleType>roleType()The manager role type (e.g., admin, viewer)java.lang.StringtoString()RolewithId(java.lang.String id)Unique identifierRolewithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierRolewithLabel(java.lang.String label)The label of the role typeRolewithLabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)The label of the role typeRolewithRemoteId(java.lang.String remoteId)Provider's unique identifierRolewithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierRolewithRoleType(RoleType roleType)The manager role type (e.g., admin, viewer)RolewithRoleType(org.openapitools.jackson.nullable.JsonNullable<? extends RoleType> roleType)The manager role type (e.g., admin, viewer)
-
-
-
Constructor Detail
-
Role
public Role(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label, org.openapitools.jackson.nullable.JsonNullable<? extends RoleType> roleType)
-
Role
public Role()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
label
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label()
The label of the role type
-
roleType
public org.openapitools.jackson.nullable.JsonNullable<RoleType> roleType()
The manager role type (e.g., admin, viewer)
-
builder
public static final Role.Builder builder()
-
withId
public Role withId(java.lang.String id)
Unique identifier
-
withId
public Role withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public Role withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public Role withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withLabel
public Role withLabel(java.lang.String label)
The label of the role type
-
withLabel
public Role withLabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
The label of the role type
-
withRoleType
public Role withRoleType(RoleType roleType)
The manager role type (e.g., admin, viewer)
-
withRoleType
public Role withRoleType(org.openapitools.jackson.nullable.JsonNullable<? extends RoleType> roleType)
The manager role type (e.g., admin, viewer)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-