Klasse SharePermissionInputBean

java.lang.Object
io.github.primelib.jira4j.restv2.model.SharePermissionInputBean

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

    • accountId

      protected String accountId
      The user account ID that the filter is shared with. For a request, specify the accountId property for the user.
    • groupId

      protected String groupId
      The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*. Cannot be provided with groupname.
    • groupname

      protected String groupname
      The name of the group to share the filter with. Set type to group. Please note that the name of a group is mutable, to reliably identify a group use groupId.
    • projectId

      protected String projectId
      The ID of the project to share the filter with. Set type to project.
    • projectRoleId

      protected String projectRoleId
      The ID of the project role to share the filter with. Set type to projectRole and the projectId for the project that the role is in.
    • rights

      protected Integer rights
      The rights for the share permission.
    • type

      The type of the share permission.Specify the type as follows: * user Share with a user. * group Share with a group. Specify groupname as well. * project Share with a project. Specify projectId as well. * projectRole Share with a project role in a project. Specify projectId and projectRoleId as well. * global Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. * authenticated Share with all logged-in users. This shows as loggedin in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.
  • Konstruktordetails

    • SharePermissionInputBean

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

      @Internal public SharePermissionInputBean(String accountId, String groupId, String groupname, String projectId, String projectRoleId, Integer rights, SharePermissionInputBean.TypeEnum type)
      Constructs a validated instance of SharePermissionInputBean.

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

      Parameter:
      accountId - The user account ID that the filter is shared with. For a request, specify the accountId property for the user.
      groupId - The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*. Cannot be provided with groupname.
      groupname - The name of the group to share the filter with. Set type to group. Please note that the name of a group is mutable, to reliably identify a group use groupId.
      projectId - The ID of the project to share the filter with. Set type to project.
      projectRoleId - The ID of the project role to share the filter with. Set type to projectRole and the projectId for the project that the role is in.
      rights - The rights for the share permission.
      type - The type of the share permission.Specify the type as follows: * user Share with a user. * group Share with a group. Specify groupname as well. * project Share with a project. Specify projectId as well. * projectRole Share with a project role in a project. Specify projectId and projectRoleId as well. * global Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. * authenticated Share with all logged-in users. This shows as loggedin in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.
    • SharePermissionInputBean

      protected SharePermissionInputBean()
  • Methodendetails

    • builder

    • accountId

      public String accountId()
      The user account ID that the filter is shared with. For a request, specify the accountId property for the user.
    • groupId

      public String groupId()
      The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*. Cannot be provided with groupname.
    • groupname

      public String groupname()
      The name of the group to share the filter with. Set type to group. Please note that the name of a group is mutable, to reliably identify a group use groupId.
    • projectId

      public String projectId()
      The ID of the project to share the filter with. Set type to project.
    • projectRoleId

      public String projectRoleId()
      The ID of the project role to share the filter with. Set type to projectRole and the projectId for the project that the role is in.
    • rights

      public Integer rights()
      The rights for the share permission.
    • type

      The type of the share permission.Specify the type as follows: * user Share with a user. * group Share with a group. Specify groupname as well. * project Share with a project. Specify projectId as well. * projectRole Share with a project role in a project. Specify projectId and projectRoleId as well. * global Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. * authenticated Share with all logged-in users. This shows as loggedin in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.
    • accountId

      public SharePermissionInputBean accountId(String accountId)
      The user account ID that the filter is shared with. For a request, specify the accountId property for the user.
      Gibt zurück:
      this.
    • groupId

      public SharePermissionInputBean groupId(String groupId)
      The ID of the group, which uniquely identifies the group across all Atlassian products.For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*. Cannot be provided with groupname.
      Gibt zurück:
      this.
    • groupname

      public SharePermissionInputBean groupname(String groupname)
      The name of the group to share the filter with. Set type to group. Please note that the name of a group is mutable, to reliably identify a group use groupId.
      Gibt zurück:
      this.
    • projectId

      public SharePermissionInputBean projectId(String projectId)
      The ID of the project to share the filter with. Set type to project.
      Gibt zurück:
      this.
    • projectRoleId

      public SharePermissionInputBean projectRoleId(String projectRoleId)
      The ID of the project role to share the filter with. Set type to projectRole and the projectId for the project that the role is in.
      Gibt zurück:
      this.
    • rights

      public SharePermissionInputBean rights(Integer rights)
      The rights for the share permission.
      Gibt zurück:
      this.
    • type

      The type of the share permission.Specify the type as follows: * user Share with a user. * group Share with a group. Specify groupname as well. * project Share with a project. Specify projectId as well. * projectRole Share with a project role in a project. Specify projectId and projectRoleId as well. * global Share globally, including anonymous users. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set. * authenticated Share with all logged-in users. This shows as loggedin in the response. If set, this type overrides all existing share permissions and must be deleted before any non-global share permissions is set.
      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