AddressTypeRule

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

Bases: object

Address type rule information

Attributes

THIRD_PARTY_VALIDATION_NEVER A constant which can be used with the third_party_validation property of a AddressTypeRule.
THIRD_PARTY_VALIDATION_OPTIONAL A constant which can be used with the third_party_validation property of a AddressTypeRule.
THIRD_PARTY_VALIDATION_REQUIRED A constant which can be used with the third_party_validation property of a AddressTypeRule.
fields [Required] Gets the fields of this AddressTypeRule.
third_party_validation Gets the third_party_validation of this AddressTypeRule.

Methods

__init__(**kwargs) Initializes a new AddressTypeRule object with values from keyword arguments.
THIRD_PARTY_VALIDATION_NEVER = 'NEVER'

A constant which can be used with the third_party_validation property of a AddressTypeRule. This constant has a value of “NEVER”

THIRD_PARTY_VALIDATION_OPTIONAL = 'OPTIONAL'

A constant which can be used with the third_party_validation property of a AddressTypeRule. This constant has a value of “OPTIONAL”

THIRD_PARTY_VALIDATION_REQUIRED = 'REQUIRED'

A constant which can be used with the third_party_validation property of a AddressTypeRule. This constant has a value of “REQUIRED”

__init__(**kwargs)

Initializes a new AddressTypeRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • third_party_validation (str) – The value to assign to the third_party_validation property of this AddressTypeRule. Allowed values for this property are: “OPTIONAL”, “REQUIRED”, “NEVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • fields (list[oci.osp_gateway.models.Field]) – The value to assign to the fields property of this AddressTypeRule.
fields

[Required] Gets the fields of this AddressTypeRule. Address type rule fields

Returns:The fields of this AddressTypeRule.
Return type:list[oci.osp_gateway.models.Field]
third_party_validation

Gets the third_party_validation of this AddressTypeRule. Third party validation.

Allowed values for this property are: “OPTIONAL”, “REQUIRED”, “NEVER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The third_party_validation of this AddressTypeRule.
Return type:str