Class FieldMetadataSchema

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

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class FieldMetadataSchema extends Object
FieldMetadataSchema
  • 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

    • FieldMetadataSchema

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

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

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using FieldMetadataSchema(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.
    • FieldMetadataSchema

      protected FieldMetadataSchema()
  • 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 FieldMetadataSchema configuration(Map<String,Object> configuration)
      If the field is a custom field, the configuration of the field.
      Returns:
      this.
    • custom

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

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

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

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

      public FieldMetadataSchema 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