ruạṛ
a ���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 @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�ExternalMasterzI An external master name server used as the source of zone data. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )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 �B/usr/lib/python3.9/site-packages/oci/dns/models/external_master.py�__init__ s ��zExternalMaster.__init__c C s | 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 s zExternalMaster.addressc C s || _ dS )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 @ s c C s | j S )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 zExternalMaster.portc C s || _ dS )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 s | j S )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 s zExternalMaster.tsig_key_idc C s || _ dS )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 s c C s t | �S �N)r r r r r �__repr__~ s zExternalMaster.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zExternalMaster.__eq__c C s | |k S r r r r r r �__ne__� s zExternalMaster.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"