AddressRule¶
-
class
oci.osp_gateway.models.
AddressRule
(**kwargs)¶ Bases:
object
Addres rule information
Methods
__init__
(**kwargs)Initializes a new AddressRule object with values from keyword arguments. Attributes
address
[Required] Gets the address of this AddressRule. contact
Gets the contact of this AddressRule. country_code
[Required] Gets the country_code of this AddressRule. tax
Gets the tax of this AddressRule. -
__init__
(**kwargs)¶ Initializes a new AddressRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - country_code (str) – The value to assign to the country_code property of this AddressRule.
- address (oci.osp_gateway.models.AddressTypeRule) – The value to assign to the address property of this AddressRule.
- contact (oci.osp_gateway.models.ContactTypeRule) – The value to assign to the contact property of this AddressRule.
- tax (oci.osp_gateway.models.TaxTypeRule) – The value to assign to the tax property of this AddressRule.
-
address
¶ [Required] Gets the address of this AddressRule.
Returns: The address of this AddressRule. Return type: oci.osp_gateway.models.AddressTypeRule
-
contact
¶ Gets the contact of this AddressRule.
Returns: The contact of this AddressRule. Return type: oci.osp_gateway.models.ContactTypeRule
-
country_code
¶ [Required] Gets the country_code of this AddressRule. Country code for the address rule in ISO-3166-1 2-letter format
Returns: The country_code of this AddressRule. Return type: str
-
tax
¶ Gets the tax of this AddressRule.
Returns: The tax of this AddressRule. Return type: oci.osp_gateway.models.TaxTypeRule
-