Class AddResponsibilityRequest
Object
AddResponsibilityRequest
- All Implemented Interfaces:
Serializable
The properties of the responsibility to be added.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanRequired. The ID of the user who the responsibility is created for.The discriminator for distinguishing the type of the resource which the responsibility is created for.The ID of the resource which the responsibility is created for.Deprecated.This property will be removed in the future.Required. The ID of the role that should be assigned to user.inthashCode()voidsetOwnerId(UUID ownerId) Required. The ID of the user who the responsibility is created for.voidsetResourceDiscriminator(String resourceDiscriminator) The discriminator for distinguishing the type of the resource which the responsibility is created for.voidsetResourceId(UUID resourceId) The ID of the resource which the responsibility is created for.voidsetResourceType(ResourceType resourceType) Deprecated.This property will be removed in the future.voidRequired. The ID of the role that should be assigned to user.toString()
-
Constructor Details
-
AddResponsibilityRequest
public AddResponsibilityRequest()
-
-
Method Details
-
builder
-
getRoleId
Required. The ID of the role that should be assigned to user. -
getOwnerId
Required. The ID of the user who the responsibility is created for. -
getResourceId
The ID of the resource which the responsibility is created for. NOTE: if null, a global responsibility is created. -
getResourceType
Deprecated.This property will be removed in the future. UseresourceDiscriminatorinstead.The type of the resource for which the Responsibility is created. The value should be one of [Community, Asset, Domain]. Deprecated in favour of resourceDiscriminator. If both are present, the value of resourceDiscriminator will be used. -
getResourceDiscriminator
The discriminator for distinguishing the type of the resource which the responsibility is created for. Valid values are : "Community", "Domain" or "Asset" -
setRoleId
Required. The ID of the role that should be assigned to user. -
setOwnerId
Required. The ID of the user who the responsibility is created for. -
setResourceId
The ID of the resource which the responsibility is created for. NOTE: if null, a global responsibility is created. -
setResourceType
Deprecated.This property will be removed in the future. UseresourceDiscriminatorinstead.The type of the resource for which the Responsibility is created. The value should be one of [Community, Asset, Domain]. Deprecated in favour of resourceDiscriminator. If both are present, the value of resourceDiscriminator will be used. -
setResourceDiscriminator
The discriminator for distinguishing the type of the resource which the responsibility is created for. Valid values are : "Community", "Domain" or "Asset" -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-