Class AddResponsibilityRequest

  • All Implemented Interfaces:
    Serializable

    public class AddResponsibilityRequest
    extends Object
    implements Serializable
    The properties of the responsibility to be added.
    See Also:
    Serialized Form
    • Constructor Detail

      • AddResponsibilityRequest

        public AddResponsibilityRequest()
    • Method Detail

      • 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 class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object