o
    ɶd                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s~   e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	dd Z
dd Zdd ZdS )ExternalMasterzI
    An external master name server used as the source of zone data.
    c                 K   s2   dddd| _ dddd| _d| _d| _d| _dS )aY  
        Initializes a new ExternalMaster object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param address:
            The value to assign to the address property of this ExternalMaster.
        :type address: str

        :param port:
            The value to assign to the port property of this ExternalMaster.
        :type port: int

        :param tsig_key_id:
            The value to assign to the tsig_key_id property of this ExternalMaster.
        :type tsig_key_id: str

        strint)addressporttsig_key_idr	   r
   Z	tsigKeyIdN)Zswagger_typesZattribute_map_address_port_tsig_key_id)selfkwargs r   Busr/lib/python3.10/site-packages/oci/dns/models/external_master.py__init__   s   
zExternalMaster.__init__c                 C      | j S )z
        **[Required]** Gets the address of this ExternalMaster.
        The server's IP address (IPv4 or IPv6).


        :return: The address of this ExternalMaster.
        :rtype: str
        r   r   r   r   r   r	   4      
zExternalMaster.addressc                 C   
   || _ dS )z
        Sets the address of this ExternalMaster.
        The server's IP address (IPv4 or IPv6).


        :param address: The address of this ExternalMaster.
        :type: str
        Nr   )r   r	   r   r   r   r	   @      

c                 C   r   )z
        Gets the port of this ExternalMaster.
        The server's port. Port value must be a value of 53, otherwise omit
        the port value.


        :return: The port of this ExternalMaster.
        :rtype: int
        r   r   r   r   r   r
   L   s   zExternalMaster.portc                 C   r   )z
        Sets the port of this ExternalMaster.
        The server's port. Port value must be a value of 53, otherwise omit
        the port value.


        :param port: The port of this ExternalMaster.
        :type: int
        Nr   )r   r
   r   r   r   r
   Y   s   
c                 C   r   )z
        Gets the tsig_key_id of this ExternalMaster.
        The OCID of the TSIG key.


        :return: The tsig_key_id of this ExternalMaster.
        :rtype: str
        r   r   r   r   r   r   f   r   zExternalMaster.tsig_key_idc                 C   r   )z
        Sets the tsig_key_id of this ExternalMaster.
        The OCID of the TSIG key.


        :param tsig_key_id: The tsig_key_id of this ExternalMaster.
        :type: str
        Nr   )r   r   r   r   r   r   r   r   c                 C   s   t | S N)r   r   r   r   r   __repr__~   s   zExternalMaster.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zExternalMaster.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zExternalMaster.__ne__N)__name__
__module____qualname____doc__r   propertyr	   setterr
   r   r   r!   r"   r   r   r   r   r      s$    "





r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   