Class AddResponsibilityRequest
- Object
-
- AddResponsibilityRequest
-
- All Implemented Interfaces:
Serializable
public class AddResponsibilityRequest extends Object implements Serializable
The properties of the responsibility to be added.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddResponsibilityRequest.Builder
-
Constructor Summary
Constructors Constructor Description AddResponsibilityRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddResponsibilityRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NotNull UUID
getOwnerId()
Required. The ID of the user who the responsibility is created for.UUID
getResourceId()
The ID of the resource which the responsibility is created for.ResourceType
getResourceType()
The type of the resource which the responsibility is created for, i.e.@NotNull UUID
getRoleId()
Required. The ID of the role that should be assigned to user.int
hashCode()
void
setOwnerId(@NotNull UUID ownerId)
Required. The ID of the user who the responsibility is created for.void
setResourceId(UUID resourceId)
The ID of the resource which the responsibility is created for.void
setResourceType(ResourceType resourceType)
The type of the resource which the responsibility is created for, i.e.void
setRoleId(@NotNull UUID roleId)
Required. The ID of the role that should be assigned to user.String
toString()
-
-
-
Method Detail
-
builder
public static AddResponsibilityRequest.Builder builder()
-
getRoleId
@NotNull public @NotNull UUID getRoleId()
Required. The ID of the role that should be assigned to user.
-
getOwnerId
@NotNull public @NotNull UUID getOwnerId()
Required. The ID of the user who the responsibility is created for.
-
getResourceId
public UUID getResourceId()
The ID of the resource which the responsibility is created for. NOTE: if null, a global responsibility is created.
-
getResourceType
public ResourceType getResourceType()
The type of the resource which the responsibility is created for, i.e. [Community, Asset, Domain]
-
setRoleId
public void setRoleId(@NotNull @NotNull UUID roleId)
Required. The ID of the role that should be assigned to user.
-
setOwnerId
public void setOwnerId(@NotNull @NotNull UUID ownerId)
Required. The ID of the user who the responsibility is created for.
-
setResourceId
public void setResourceId(UUID resourceId)
The ID of the resource which the responsibility is created for. NOTE: if null, a global responsibility is created.
-
setResourceType
public void setResourceType(ResourceType resourceType)
The type of the resource which the responsibility is created for, i.e. [Community, Asset, Domain]
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-