ruạṛ
a O��f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sV e Zd ZdZdd� Zedd� �Zedd� �Zej dd� �Zd d � Z dd� Zd d� ZdS )� DhcpOptiona� A single DHCP option according to `RFC 1533`__. The two options available to use are :class:`DhcpDnsOption` and :class:`DhcpSearchDomainOption`. For more information, see `DNS in Your Virtual Cloud Network`__ and `DHCP Options`__. __ https://tools.ietf.org/html/rfc1533 __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm c K s ddi| _ ddi| _d| _dS )ak Initializes a new DhcpOption 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: * :class:`~oci.vn_monitoring.models.DhcpDnsOption` * :class:`~oci.vn_monitoring.models.DhcpSearchDomainOption` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this DhcpOption. :type type: str �type�strN)� swagger_types� attribute_map�_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/vn_monitoring/models/dhcp_option.py�__init__ s ��zDhcpOption.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r �DomainNameServer� DhcpDnsOption�SearchDomain�DhcpSearchDomainOptionr Nr )�object_dictionaryr r r r �get_subtype1 s zDhcpOption.get_subtypec C s | j S )a( **[Required]** Gets the type of this DhcpOption. The specific DHCP option. Either `DomainNameServer` (for :class:`DhcpDnsOption`) or `SearchDomain` (for :class:`DhcpSearchDomainOption`). :return: The type of this DhcpOption. :rtype: str �r �r r r r r A s zDhcpOption.typec C s || _ dS )a Sets the type of this DhcpOption. The specific DHCP option. Either `DomainNameServer` (for :class:`DhcpDnsOption`) or `SearchDomain` (for :class:`DhcpSearchDomainOption`). :param type: The type of this DhcpOption. :type: str Nr )r r r r r r O s c C s t | �S �N)r r r r r �__repr__] s zDhcpOption.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zDhcpOption.__eq__c C s | |k S r r r r r r �__ne__f s zDhcpOption.__ne__N) �__name__� __module__�__qualname__�__doc__r �staticmethodr �propertyr �setterr r r r r r r r s r N)�oci.utilr r r �oci.decoratorsr �objectr r r r r �<module> s
cải xoăn