Class SecurityLevel

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

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

    • description

      protected String description
      The description of the issue level security item.
    • id

      protected String id
      The ID of the issue level security item.
    • isDefault

      protected Boolean isDefault
      Whether the issue level security item is the default.
    • issueSecuritySchemeId

      protected String issueSecuritySchemeId
      The ID of the issue level security scheme.
    • name

      protected String name
      The name of the issue level security item.
    • self

      protected String self
      The URL of the issue level security item.
  • Constructor Details

    • SecurityLevel

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

      @Internal public SecurityLevel(String description, String id, Boolean isDefault, String issueSecuritySchemeId, String name, String self)
      Constructs a validated instance of SecurityLevel.

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

      Parameters:
      description - The description of the issue level security item.
      id - The ID of the issue level security item.
      isDefault - Whether the issue level security item is the default.
      issueSecuritySchemeId - The ID of the issue level security scheme.
      name - The name of the issue level security item.
      self - The URL of the issue level security item.
    • SecurityLevel

      protected SecurityLevel()
  • Method Details

    • builder

      public static SecurityLevel.SecurityLevelBuilder builder()
    • description

      public String description()
      The description of the issue level security item.
    • id

      public String id()
      The ID of the issue level security item.
    • isDefault

      public Boolean isDefault()
      Whether the issue level security item is the default.
    • issueSecuritySchemeId

      public String issueSecuritySchemeId()
      The ID of the issue level security scheme.
    • name

      public String name()
      The name of the issue level security item.
    • self

      public String self()
      The URL of the issue level security item.
    • description

      public SecurityLevel description(String description)
      The description of the issue level security item.
      Returns:
      this.
    • id

      public SecurityLevel id(String id)
      The ID of the issue level security item.
      Returns:
      this.
    • isDefault

      public SecurityLevel isDefault(Boolean isDefault)
      Whether the issue level security item is the default.
      Returns:
      this.
    • issueSecuritySchemeId

      public SecurityLevel issueSecuritySchemeId(String issueSecuritySchemeId)
      The ID of the issue level security scheme.
      Returns:
      this.
    • name

      public SecurityLevel name(String name)
      The name of the issue level security item.
      Returns:
      this.
    • self

      public SecurityLevel self(String self)
      The URL of the issue level security item.
      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