Field¶
- class oci.osp_gateway.models.Field(**kwargs)¶
Bases:
objectField information
Methods:
__init__(**kwargs)Initializes a new Field object with values from keyword arguments.
Attributes:
Gets the format of this Field.
[Required] Gets the is_required of this Field.
Gets the label of this Field.
Gets the language of this Field.
[Required] Gets the name of this Field.
- __init__(**kwargs)¶
Initializes a new Field object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this Field.
is_required (bool) – The value to assign to the is_required property of this Field.
format (oci.osp_gateway.models.Format) – The value to assign to the format property of this Field.
label (oci.osp_gateway.models.Label) – The value to assign to the label property of this Field.
language (str) – The value to assign to the language property of this Field.
- property format¶
Gets the format of this Field.
- Returns
The format of this Field.
- Return type
- property is_required¶
[Required] Gets the is_required of this Field. The given field is requeired or not
- Returns
The is_required of this Field.
- Return type
bool
- property label¶
Gets the label of this Field.
- Returns
The label of this Field.
- Return type
- property language¶
Gets the language of this Field. Locale code (rfc4646 format) of a forced language (e.g.: jp addresses require jp always)
- Returns
The language of this Field.
- Return type
str
- property name¶
[Required] Gets the name of this Field. The field name
- Returns
The name of this Field.
- Return type
str