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 ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Zd d!� Zd"d#� Zd$d%� Zd&S )'�RecordOperationz� An extension of the existing record resource, describing either a precondition, an add, or a remove. Preconditions check all fields, including read-only data like `recordHash` and `rrsetVersion`. �REQUIRE�PROHIBIT�ADD�REMOVEc K sd ddddddddd�| _ ddddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d | _ d S )ae Initializes a new RecordOperation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param domain: The value to assign to the domain property of this RecordOperation. :type domain: str :param record_hash: The value to assign to the record_hash property of this RecordOperation. :type record_hash: str :param is_protected: The value to assign to the is_protected property of this RecordOperation. :type is_protected: bool :param rdata: The value to assign to the rdata property of this RecordOperation. :type rdata: str :param rrset_version: The value to assign to the rrset_version property of this RecordOperation. :type rrset_version: str :param rtype: The value to assign to the rtype property of this RecordOperation. :type rtype: str :param ttl: The value to assign to the ttl property of this RecordOperation. :type ttl: int :param operation: The value to assign to the operation property of this RecordOperation. Allowed values for this property are: "REQUIRE", "PROHIBIT", "ADD", "REMOVE" :type operation: str �str�bool�int)�domain�record_hash�is_protected�rdata� rrset_version�rtype�ttl� operationr Z recordHashZisProtectedr ZrrsetVersionr r r N) Z swagger_typesZ attribute_map�_domain�_record_hash� _is_protected�_rdata�_rrset_version�_rtype�_ttl� _operation)�self�kwargs� r �C/usr/lib/python3.9/site-packages/oci/dns/models/record_operation.py�__init__$ s4 (��zRecordOperation.__init__c C s | j S )z� Gets the domain of this RecordOperation. The fully qualified domain name where the record can be located. :return: The domain of this RecordOperation. :rtype: str �r �r r r r! r j s zRecordOperation.domainc C s || _ dS )z� Sets the domain of this RecordOperation. The fully qualified domain name where the record can be located. :param domain: The domain of this RecordOperation. :type: str Nr# )r r r r r! r v s c C s | j S )z� Gets the record_hash of this RecordOperation. A unique identifier for the record within its zone. :return: The record_hash of this RecordOperation. :rtype: str �r r$ r r r! r � s zRecordOperation.record_hashc C s || _ dS )z� Sets the record_hash of this RecordOperation. A unique identifier for the record within its zone. :param record_hash: The record_hash of this RecordOperation. :type: str Nr% )r r r r r! r � s c C s | j S )a Gets the is_protected of this RecordOperation. A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed. :return: The is_protected of this RecordOperation. :rtype: bool �r r$ r r r! r � s zRecordOperation.is_protectedc C s || _ dS )a Sets the is_protected of this RecordOperation. A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed. :param is_protected: The is_protected of this RecordOperation. :type: bool Nr&