Class AuthorizationDto

java.lang.Object
org.camunda.community.rest.client.dto.AuthorizationDto

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-06-04T13:43:01.451833574Z[Etc/UTC]") public class AuthorizationDto extends Object
AuthorizationDto
  • Field Details

  • Constructor Details

    • AuthorizationDto

      public AuthorizationDto()
  • Method Details

    • id

      public AuthorizationDto id(String id)
    • getId

      @Nullable public String getId()
      The id of the authorization.
      Returns:
      id
    • getId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getId_JsonNullable()
    • setId_JsonNullable

      public void setId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> id)
    • setId

      public void setId(String id)
    • type

      public AuthorizationDto type(Integer type)
    • getType

      @Nullable public Integer getType()
      The type of the authorization (0=global, 1=grant, 2=revoke). See the [User Guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/authorization-service.md#authorization-type) for more information about authorization types.
      Returns:
      type
    • getType_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Integer> getType_JsonNullable()
    • setType_JsonNullable

      public void setType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> type)
    • setType

      public void setType(Integer type)
    • permissions

      public AuthorizationDto permissions(List<String> permissions)
    • addPermissionsItem

      public AuthorizationDto addPermissionsItem(String permissionsItem)
    • getPermissions

      @Nullable public List<String> getPermissions()
      An array of Strings holding the permissions provided by this authorization.
      Returns:
      permissions
    • getPermissions_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getPermissions_JsonNullable()
    • setPermissions_JsonNullable

      public void setPermissions_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> permissions)
    • setPermissions

      public void setPermissions(List<String> permissions)
    • userId

      public AuthorizationDto userId(String userId)
    • getUserId

      @Nullable public String getUserId()
      The id of the user this authorization has been created for. The value `*` represents a global authorization ranging over all users.
      Returns:
      userId
    • getUserId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getUserId_JsonNullable()
    • setUserId_JsonNullable

      public void setUserId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> userId)
    • setUserId

      public void setUserId(String userId)
    • groupId

      public AuthorizationDto groupId(String groupId)
    • getGroupId

      @Nullable public String getGroupId()
      The id of the group this authorization has been created for.
      Returns:
      groupId
    • getGroupId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getGroupId_JsonNullable()
    • setGroupId_JsonNullable

      public void setGroupId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> groupId)
    • setGroupId

      public void setGroupId(String groupId)
    • resourceType

      public AuthorizationDto resourceType(Integer resourceType)
    • getResourceType

      @Nullable public Integer getResourceType()
      An integer representing the resource type. See the [User Guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/authorization-service/#resources) for a list of integer representations of resource types.
      Returns:
      resourceType
    • getResourceType_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Integer> getResourceType_JsonNullable()
    • setResourceType_JsonNullable

      public void setResourceType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> resourceType)
    • setResourceType

      public void setResourceType(Integer resourceType)
    • resourceId

      public AuthorizationDto resourceId(String resourceId)
    • getResourceId

      @Nullable public String getResourceId()
      The resource Id. The value `*` represents an authorization ranging over all instances of a resource.
      Returns:
      resourceId
    • getResourceId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getResourceId_JsonNullable()
    • setResourceId_JsonNullable

      public void setResourceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> resourceId)
    • setResourceId

      public void setResourceId(String resourceId)
    • removalTime

      public AuthorizationDto removalTime(OffsetDateTime removalTime)
    • getRemovalTime

      @Nullable public OffsetDateTime getRemovalTime()
      The removal time indicates the date a historic instance authorization is cleaned up. A removal time can only be assigned to a historic instance authorization. Can be `null` when not related to a historic instance resource or when the removal time strategy is end and the root process instance is not finished. Default format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.
      Returns:
      removalTime
    • getRemovalTime_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getRemovalTime_JsonNullable()
    • setRemovalTime_JsonNullable

      public void setRemovalTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> removalTime)
    • setRemovalTime

      public void setRemovalTime(OffsetDateTime removalTime)
    • rootProcessInstanceId

      public AuthorizationDto rootProcessInstanceId(String rootProcessInstanceId)
    • getRootProcessInstanceId

      @Nullable public String getRootProcessInstanceId()
      The process instance id of the root process instance the historic instance authorization is related to. Can be `null` if not related to a historic instance resource.
      Returns:
      rootProcessInstanceId
    • getRootProcessInstanceId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getRootProcessInstanceId_JsonNullable()
    • setRootProcessInstanceId_JsonNullable

      public void setRootProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> rootProcessInstanceId)
    • setRootProcessInstanceId

      public void setRootProcessInstanceId(String rootProcessInstanceId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string