o
    ëÉ¶dz  ã                   @   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	edd„ ƒZ
e
jdd„ ƒZ
dd„ Zdd„ Zdd„ ZdS )ÚMigrationReplacementzW
    A record to add to a zone in replacement of contents that cannot be migrated.
    c                 K   s<   dddddœ| _ dddddœ| _d| _d| _d| _d| _dS )	aû  
        Initializes a new MigrationReplacement object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param rtype:
            The value to assign to the rtype property of this MigrationReplacement.
        :type rtype: str

        :param substitute_rtype:
            The value to assign to the substitute_rtype property of this MigrationReplacement.
        :type substitute_rtype: str

        :param ttl:
            The value to assign to the ttl property of this MigrationReplacement.
        :type ttl: int

        :param rdata:
            The value to assign to the rdata property of this MigrationReplacement.
        :type rdata: str

        ÚstrÚint)ÚrtypeÚsubstitute_rtypeÚttlÚrdatar	   ZsubstituteRtyper   r   N)Zswagger_typesZattribute_mapÚ_rtypeÚ_substitute_rtypeÚ_ttlÚ_rdata)ÚselfÚkwargs© r   úHusr/lib/python3.10/site-packages/oci/dns/models/migration_replacement.pyÚ__init__   s   üü
zMigrationReplacement.__init__c                 C   ó   | j S )al  
        **[Required]** Gets the rtype of this MigrationReplacement.
        The type of DNS record, such as A or CNAME. For more information, see `Resource Record (RR) TYPEs`__.

        __ https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4


        :return: The rtype of this MigrationReplacement.
        :rtype: str
        ©r   ©r   r   r   r   r	   ;   s   zMigrationReplacement.rtypec                 C   ó
   || _ dS )aa  
        Sets the rtype of this MigrationReplacement.
        The type of DNS record, such as A or CNAME. For more information, see `Resource Record (RR) TYPEs`__.

        __ https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4


        :param rtype: The rtype of this MigrationReplacement.
        :type: str
        Nr   )r   r	   r   r   r   r	   I   s   
c                 C   r   )a{  
        Gets the substitute_rtype of this MigrationReplacement.
        The canonical name for a substitute type of the replacement record to be used if the specified `rtype` is not allowed at the domain. The specified `ttl` and `rdata` will still apply with the substitute type.


        :return: The substitute_rtype of this MigrationReplacement.
        :rtype: str
        ©r   r   r   r   r   r
   W   ó   
z%MigrationReplacement.substitute_rtypec                 C   r   )aŠ  
        Sets the substitute_rtype of this MigrationReplacement.
        The canonical name for a substitute type of the replacement record to be used if the specified `rtype` is not allowed at the domain. The specified `ttl` and `rdata` will still apply with the substitute type.


        :param substitute_rtype: The substitute_rtype of this MigrationReplacement.
        :type: str
        Nr   )r   r
   r   r   r   r
   c   ó   

c                 C   r   )zØ
        **[Required]** Gets the ttl of this MigrationReplacement.
        The Time To Live of the replacement record, in seconds.


        :return: The ttl of this MigrationReplacement.
        :rtype: int
        ©r   r   r   r   r   r   o   r   zMigrationReplacement.ttlc                 C   r   )zË
        Sets the ttl of this MigrationReplacement.
        The Time To Live of the replacement record, in seconds.


        :param ttl: The ttl of this MigrationReplacement.
        :type: int
        Nr   )r   r   r   r   r   r   {   r   c                 C   r   )a  
        **[Required]** Gets the rdata of this MigrationReplacement.
        The record data of the replacement record, as whitespace-delimited tokens in
        type-specific presentation format.


        :return: The rdata of this MigrationReplacement.
        :rtype: str
        ©r   r   r   r   r   r   ‡   s   zMigrationReplacement.rdatac                 C   r   )a  
        Sets the rdata of this MigrationReplacement.
        The record data of the replacement record, as whitespace-delimited tokens in
        type-specific presentation format.


        :param rdata: The rdata of this MigrationReplacement.
        :type: str
        Nr   )r   r   r   r   r   r   ”   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__¡   s   zMigrationReplacement.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__¤   s   zMigrationReplacement.__eq__c                 C   s
   | |k S r   r   r"   r   r   r   Ú__ne__ª   s   
zMigrationReplacement.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   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   