Class FieldMetadata
java.lang.Object
io.github.primelib.jira4j.restv2.model.FieldMetadata
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FieldMetadata
extends Object
FieldMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of values allowed in the field.protected String
The URL that can be used to automatically complete the field.The configuration properties.protected Object
The default value of the field.protected Boolean
Whether the field has a default value.protected String
The key of the field.protected String
The name of the field.The list of operations that can be performed on the field.protected Boolean
Whether the field is required.protected FieldCreateMetadataSchema
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FieldMetadata
(Consumer<FieldMetadata> spec) Constructs a validated instance ofFieldMetadata
.FieldMetadata
(List<Object> allowedValues, String autoCompleteUrl, Map<String, Object> configuration, Object defaultValue, Boolean hasDefaultValue, String key, String name, List<String> operations, Boolean required, FieldCreateMetadataSchema schema) Constructs a validated instance ofFieldMetadata
. -
Method Summary
Modifier and TypeMethodDescriptionThe list of values allowed in the field.allowedValues
(List<Object> allowedValues) The list of values allowed in the field.The URL that can be used to automatically complete the field.autoCompleteUrl
(String autoCompleteUrl) The URL that can be used to automatically complete the field.builder()
protected boolean
The configuration properties.configuration
(Map<String, Object> configuration) The configuration properties.The default value of the field.defaultValue
(Object defaultValue) The default value of the field.boolean
Whether the field has a default value.hasDefaultValue
(Boolean hasDefaultValue) Whether the field has a default value.int
hashCode()
key()
The key of the field.The key of the field.name()
The name of the field.The name of the field.The list of operations that can be performed on the field.operations
(List<String> operations) The list of operations that can be performed on the field.required()
Whether the field is required.Whether the field is required.schema()
schema
(FieldCreateMetadataSchema schema) toString()
-
Field Details
-
allowedValues
The list of values allowed in the field. -
autoCompleteUrl
The URL that can be used to automatically complete the field. -
configuration
The configuration properties. -
defaultValue
The default value of the field. -
hasDefaultValue
Whether the field has a default value. -
key
The key of the field. -
name
The name of the field. -
operations
The list of operations that can be performed on the field. -
required
Whether the field is required. -
schema
-
-
Constructor Details
-
FieldMetadata
Constructs a validated instance ofFieldMetadata
.- Parameters:
spec
- the specification to process
-
FieldMetadata
@Internal public FieldMetadata(List<Object> allowedValues, String autoCompleteUrl, Map<String, Object> configuration, Object defaultValue, Boolean hasDefaultValue, String key, String name, List<String> operations, Boolean required, FieldCreateMetadataSchema schema) Constructs a validated instance ofFieldMetadata
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
FieldMetadata(Consumer)
instead.- Parameters:
allowedValues
- The list of values allowed in the field.autoCompleteUrl
- The URL that can be used to automatically complete the field.configuration
- The configuration properties.defaultValue
- The default value of the field.hasDefaultValue
- Whether the field has a default value.key
- The key of the field.name
- The name of the field.operations
- The list of operations that can be performed on the field.required
- Whether the field is required.schema
- schema
-
FieldMetadata
protected FieldMetadata()
-
-
Method Details
-
builder
-
allowedValues
The list of values allowed in the field. -
autoCompleteUrl
The URL that can be used to automatically complete the field. -
configuration
The configuration properties. -
defaultValue
The default value of the field. -
hasDefaultValue
Whether the field has a default value. -
key
The key of the field. -
name
The name of the field. -
operations
The list of operations that can be performed on the field. -
required
Whether the field is required. -
schema
-
allowedValues
The list of values allowed in the field.- Returns:
this
.
-
autoCompleteUrl
The URL that can be used to automatically complete the field.- Returns:
this
.
-
configuration
The configuration properties.- Returns:
this
.
-
defaultValue
The default value of the field.- Returns:
this
.
-
hasDefaultValue
Whether the field has a default value.- Returns:
this
.
-
key
The key of the field.- Returns:
this
.
-
name
The name of the field.- Returns:
this
.
-
operations
The list of operations that can be performed on the field.- Returns:
this
.
-
required
Whether the field is required.- Returns:
this
.
-
schema
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-