UpdateAddressListDetails

class oci.network_firewall.models.UpdateAddressListDetails(**kwargs)

Bases: object

The request details to be updated in the address List for the policy.

Attributes

TYPE_FQDN A constant which can be used with the type property of a UpdateAddressListDetails.
TYPE_IP A constant which can be used with the type property of a UpdateAddressListDetails.
description Gets the description of this UpdateAddressListDetails.
type [Required] Gets the type of this UpdateAddressListDetails.

Methods

__init__(**kwargs) Initializes a new UpdateAddressListDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_FQDN = 'FQDN'

A constant which can be used with the type property of a UpdateAddressListDetails. This constant has a value of “FQDN”

TYPE_IP = 'IP'

A constant which can be used with the type property of a UpdateAddressListDetails. This constant has a value of “IP”

__init__(**kwargs)

Initializes a new UpdateAddressListDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this UpdateAddressListDetails. Allowed values for this property are: “FQDN”, “IP”
  • description (str) – The value to assign to the description property of this UpdateAddressListDetails.
description

Gets the description of this UpdateAddressListDetails. The description of the address list. This field can be used to add additional info.

Returns:The description of this UpdateAddressListDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

type

[Required] Gets the type of this UpdateAddressListDetails. Type of address List. The accepted values are - * FQDN * IP

Allowed values for this property are: “FQDN”, “IP”

Returns:The type of this UpdateAddressListDetails.
Return type:str