Field

class oci.osp_gateway.models.Field(**kwargs)

Bases: object

Field information

Methods

__init__(**kwargs) Initializes a new Field object with values from keyword arguments.

Attributes

format Gets the format of this Field.
is_required [Required] Gets the is_required of this Field.
label Gets the label of this Field.
language Gets the language of this Field.
name [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.
format

Gets the format of this Field.

Returns:The format of this Field.
Return type:oci.osp_gateway.models.Format
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
label

Gets the label of this Field.

Returns:The label of this Field.
Return type:oci.osp_gateway.models.Label
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
name

[Required] Gets the name of this Field. The field name

Returns:The name of this Field.
Return type:str