Class CreateUpdateRoleRequestBean

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

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class CreateUpdateRoleRequestBean extends Object
CreateUpdateRoleRequestBean
  • Field Details

    • description

      protected String description
      A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role.
    • name

      protected String name
      The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.
  • Constructor Details

    • CreateUpdateRoleRequestBean

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

      @Internal public CreateUpdateRoleRequestBean(String description, String name)
      Constructs a validated instance of CreateUpdateRoleRequestBean.

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

      Parameters:
      description - A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role.
      name - The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.
    • CreateUpdateRoleRequestBean

      protected CreateUpdateRoleRequestBean()
  • Method Details

    • builder

    • description

      public String description()
      A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role.
    • name

      public String name()
      The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.
    • description

      public CreateUpdateRoleRequestBean description(String description)
      A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role.
      Returns:
      this.
    • name

      public CreateUpdateRoleRequestBean name(String name)
      The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.
      Returns:
      this.
    • 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