Class FieldCreateMetadataSchema

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

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

    • configuration

      protected Map<String,Object> configuration
      If the field is a custom field, the configuration of the field.
    • custom

      protected String custom
      If the field is a custom field, the URI of the field.
    • customId

      protected Long customId
      If the field is a custom field, the custom ID of the field.
    • items

      protected String items
      When the data type is an array, the name of the field items within the array.
    • system

      protected String system
      If the field is a system field, the name of the field.
    • type

      protected String type
      The data type of the field.
  • Constructor Details

    • FieldCreateMetadataSchema

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

      @Internal public FieldCreateMetadataSchema(Map<String,Object> configuration, String custom, Long customId, String items, String system, String type)
      Constructs a validated instance of FieldCreateMetadataSchema.

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

      Parameters:
      configuration - If the field is a custom field, the configuration of the field.
      custom - If the field is a custom field, the URI of the field.
      customId - If the field is a custom field, the custom ID of the field.
      items - When the data type is an array, the name of the field items within the array.
      system - If the field is a system field, the name of the field.
      type - The data type of the field.
    • FieldCreateMetadataSchema

      protected FieldCreateMetadataSchema()
  • Method Details

    • builder

    • configuration

      public Map<String,Object> configuration()
      If the field is a custom field, the configuration of the field.
    • custom

      public String custom()
      If the field is a custom field, the URI of the field.
    • customId

      public Long customId()
      If the field is a custom field, the custom ID of the field.
    • items

      public String items()
      When the data type is an array, the name of the field items within the array.
    • system

      public String system()
      If the field is a system field, the name of the field.
    • type

      public String type()
      The data type of the field.
    • configuration

      public FieldCreateMetadataSchema configuration(Map<String,Object> configuration)
      If the field is a custom field, the configuration of the field.
      Returns:
      this.
    • custom

      public FieldCreateMetadataSchema custom(String custom)
      If the field is a custom field, the URI of the field.
      Returns:
      this.
    • customId

      public FieldCreateMetadataSchema customId(Long customId)
      If the field is a custom field, the custom ID of the field.
      Returns:
      this.
    • items

      public FieldCreateMetadataSchema items(String items)
      When the data type is an array, the name of the field items within the array.
      Returns:
      this.
    • system

      public FieldCreateMetadataSchema system(String system)
      If the field is a system field, the name of the field.
      Returns:
      this.
    • type

      public FieldCreateMetadataSchema type(String type)
      The data type of the field.
      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