Class SetAssetResponsibilitiesRequest

  • All Implemented Interfaces:
    Serializable

    public class SetAssetResponsibilitiesRequest
    extends Object
    implements Serializable
    The properties of the asset responsibilities to be set.

    Existing responsibilities for given asset and of given role are replaced by relations presented in this request.

    See Also:
    Serialized Form
    • Constructor Detail

      • SetAssetResponsibilitiesRequest

        public SetAssetResponsibilitiesRequest()
    • Method Detail

      • getAssetId

        @NotNull
        public @NotNull UUID getAssetId()
        Required. The ID of the asset.
      • getRoleId

        @NotNull
        public @NotNull UUID getRoleId()
        Required. The ID of the role for the responsibilities to be set.
      • getOwnerIds

        @NotNull
        public @NotNull List<UUID> getOwnerIds()
        Required. The IDs of the owners. An owner is either user or group.
      • setAssetId

        public void setAssetId​(@NotNull
                               @NotNull UUID assetId)
        Required. The ID of the asset.
      • setRoleId

        public void setRoleId​(@NotNull
                              @NotNull UUID roleId)
        Required. The ID of the role for the responsibilities to be set.
      • setOwnerIds

        public void setOwnerIds​(@NotNull
                                @NotNull List<UUID> ownerIds)
        Required. The IDs of the owners. An owner is either user or group.
      • 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