Klasse IdOrKeyBean

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

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

    • id

      protected Long id
      The ID of the referenced item.
    • key

      protected String key
      The key of the referenced item.
  • Konstruktordetails

    • IdOrKeyBean

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

      @Internal public IdOrKeyBean(Long id, String key)
      Constructs a validated instance of IdOrKeyBean.

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

      Parameter:
      id - The ID of the referenced item.
      key - The key of the referenced item.
    • IdOrKeyBean

      protected IdOrKeyBean()
  • Methodendetails

    • builder

      public static IdOrKeyBean.IdOrKeyBeanBuilder builder()
    • id

      public Long id()
      The ID of the referenced item.
    • key

      public String key()
      The key of the referenced item.
    • id

      public IdOrKeyBean id(Long id)
      The ID of the referenced item.
      Gibt zurück:
      this.
    • key

      public IdOrKeyBean key(String key)
      The key of the referenced item.
      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