Klasse SharePermission

java.lang.Object
io.github.primelib.jira4j.restv3.model.SharePermission

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class SharePermission extends Object
SharePermission
  • Felddetails

    • group

      protected SharePermissionGroup group
    • id

      protected Long id
      The unique identifier of the share permission.
    • project

      protected SharePermissionProject project
    • role

      protected SharePermissionRole role
    • type

      protected SharePermission.TypeEnum type
      The type of share permission: * user Shared with a user. * group Shared with a group. If set in a request, then specify sharePermission.group as well. * project Shared with a project. If set in a request, then specify sharePermission.project as well. * projectRole Share with a project role in a project. This value is not returned in responses. It is used in requests, where it needs to be specify with projectId and projectRoleId. * global Shared globally. If set in a request, no other sharePermission properties need to be specified. * loggedin Shared with all logged-in users. Note: This value is set in a request by specifying authenticated as the type. * project-unknown Shared with a project that the user does not have access to. Cannot be set in a request.
    • user

      protected SharePermissionUser user
  • Konstruktordetails

    • SharePermission

      public SharePermission(Consumer<SharePermission> spec)
      Constructs a validated instance of SharePermission.
      Parameter:
      spec - the specification to process
    • SharePermission

      @Internal public SharePermission(SharePermissionGroup group, Long id, SharePermissionProject project, SharePermissionRole role, SharePermission.TypeEnum type, SharePermissionUser user)
      Constructs a validated instance of SharePermission.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using SharePermission(Consumer) instead.

      Parameter:
      group - var.name
      id - The unique identifier of the share permission.
      project - var.name
      role - var.name
      type - The type of share permission: * user Shared with a user. * group Shared with a group. If set in a request, then specify sharePermission.group as well. * project Shared with a project. If set in a request, then specify sharePermission.project as well. * projectRole Share with a project role in a project. This value is not returned in responses. It is used in requests, where it needs to be specify with projectId and projectRoleId. * global Shared globally. If set in a request, no other sharePermission properties need to be specified. * loggedin Shared with all logged-in users. Note: This value is set in a request by specifying authenticated as the type. * project-unknown Shared with a project that the user does not have access to. Cannot be set in a request.
      user - var.name
    • SharePermission

      protected SharePermission()
  • Methodendetails

    • builder

      public static SharePermission.SharePermissionBuilder builder()
    • group

      public SharePermissionGroup group()
    • id

      public Long id()
      The unique identifier of the share permission.
    • project

      public SharePermissionProject project()
    • role

      public SharePermissionRole role()
    • type

      public SharePermission.TypeEnum type()
      The type of share permission: * user Shared with a user. * group Shared with a group. If set in a request, then specify sharePermission.group as well. * project Shared with a project. If set in a request, then specify sharePermission.project as well. * projectRole Share with a project role in a project. This value is not returned in responses. It is used in requests, where it needs to be specify with projectId and projectRoleId. * global Shared globally. If set in a request, no other sharePermission properties need to be specified. * loggedin Shared with all logged-in users. Note: This value is set in a request by specifying authenticated as the type. * project-unknown Shared with a project that the user does not have access to. Cannot be set in a request.
    • user

      public SharePermissionUser user()
    • group

      public SharePermission group(SharePermissionGroup group)
      Gibt zurück:
      this.
    • id

      public SharePermission id(Long id)
      The unique identifier of the share permission.
      Gibt zurück:
      this.
    • project

      public SharePermission project(SharePermissionProject project)
      Gibt zurück:
      this.
    • role

      Gibt zurück:
      this.
    • type

      The type of share permission: * user Shared with a user. * group Shared with a group. If set in a request, then specify sharePermission.group as well. * project Shared with a project. If set in a request, then specify sharePermission.project as well. * projectRole Share with a project role in a project. This value is not returned in responses. It is used in requests, where it needs to be specify with projectId and projectRoleId. * global Shared globally. If set in a request, no other sharePermission properties need to be specified. * loggedin Shared with all logged-in users. Note: This value is set in a request by specifying authenticated as the type. * project-unknown Shared with a project that the user does not have access to. Cannot be set in a request.
      Gibt zurück:
      this.
    • user

      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object