ruạṛ
a O��fi; � @ 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 @ sr e Zd ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zd.d/� Zd0d1� Zd2d3� Zd4S )5�CreateSoftwareSourceDetailszQ Description of a software source to be created on the management system �IA_32�X86_64�AARCH64�SPARC�AMD64_DEBIAN�SHA1�SHA256�SHA384�SHA512c K s� dddddddddddd�| _ ddddd d ddd ddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new CreateSoftwareSourceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateSoftwareSourceDetails. :type compartment_id: str :param display_name: The value to assign to the display_name property of this CreateSoftwareSourceDetails. :type display_name: str :param description: The value to assign to the description property of this CreateSoftwareSourceDetails. :type description: str :param arch_type: The value to assign to the arch_type property of this CreateSoftwareSourceDetails. Allowed values for this property are: "IA_32", "X86_64", "AARCH64", "SPARC", "AMD64_DEBIAN" :type arch_type: str :param maintainer_name: The value to assign to the maintainer_name property of this CreateSoftwareSourceDetails. :type maintainer_name: str :param maintainer_email: The value to assign to the maintainer_email property of this CreateSoftwareSourceDetails. :type maintainer_email: str :param maintainer_phone: The value to assign to the maintainer_phone property of this CreateSoftwareSourceDetails. :type maintainer_phone: str :param checksum_type: The value to assign to the checksum_type property of this CreateSoftwareSourceDetails. Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512" :type checksum_type: str :param parent_id: The value to assign to the parent_id property of this CreateSoftwareSourceDetails. :type parent_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateSoftwareSourceDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateSoftwareSourceDetails. :type defined_tags: dict(str, dict(str, object)) �strzdict(str, str)zdict(str, dict(str, object)))�compartment_id�display_name�description� arch_type�maintainer_name�maintainer_email�maintainer_phone� checksum_type� parent_id� freeform_tags�defined_tags� compartmentId�displayNamer �archType�maintainerName�maintainerEmail�maintainerPhone�checksumType�parentId�freeformTags�definedTagsN) � swagger_types� attribute_map�_compartment_id� _display_name�_description� _arch_type�_maintainer_name�_maintainer_email�_maintainer_phone�_checksum_type� _parent_id�_freeform_tags� _defined_tags)�self�kwargs� r5 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/os_management/models/create_software_source_details.py�__init__4 sF 5��z$CreateSoftwareSourceDetails.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this CreateSoftwareSourceDetails. OCID for the Compartment :return: The compartment_id of this CreateSoftwareSourceDetails. :rtype: str �r( �r3 r5 r5 r6 r � s z*CreateSoftwareSourceDetails.compartment_idc C s || _ dS )z� Sets the compartment_id of this CreateSoftwareSourceDetails. OCID for the Compartment :param compartment_id: The compartment_id of this CreateSoftwareSourceDetails. :type: str Nr8 )r3 r r5 r5 r6 r � s c C s | j S )z� **[Required]** Gets the display_name of this CreateSoftwareSourceDetails. User friendly name for the software source :return: The display_name of this CreateSoftwareSourceDetails. :rtype: str �r) r9 r5 r5 r6 r � s z(CreateSoftwareSourceDetails.display_namec C s || _ dS )z� Sets the display_name of this CreateSoftwareSourceDetails. User friendly name for the software source :param display_name: The display_name of this CreateSoftwareSourceDetails. :type: str Nr: )r3 r r5 r5 r6 r � s c C s | j S )z� Gets the description of this CreateSoftwareSourceDetails. Information specified by the user about the software source :return: The description of this CreateSoftwareSourceDetails. :rtype: str �r* r9 r5 r5 r6 r � s z'CreateSoftwareSourceDetails.descriptionc C s || _ dS )z� Sets the description of this CreateSoftwareSourceDetails. Information specified by the user about the software source :param description: The description of this CreateSoftwareSourceDetails. :type: str Nr; )r3 r r5 r5 r6 r � s c C s | j S )aV **[Required]** Gets the arch_type of this CreateSoftwareSourceDetails. The architecture type supported by the Software Source Allowed values for this property are: "IA_32", "X86_64", "AARCH64", "SPARC", "AMD64_DEBIAN" :return: The arch_type of this CreateSoftwareSourceDetails. :rtype: str )r+ r9 r5 r5 r6 r � s z%CreateSoftwareSourceDetails.arch_typec C s* g d�}t ||�s td�|���|| _dS )z� Sets the arch_type of this CreateSoftwareSourceDetails. The architecture type supported by the Software Source :param arch_type: The arch_type of this CreateSoftwareSourceDetails. :type: str )r r r r r z9Invalid value for `arch_type`, must be None or one of {0}N)r � ValueError�formatr+ )r3 r �allowed_valuesr5 r5 r6 r � s ��c C s | j S )z� Gets the maintainer_name of this CreateSoftwareSourceDetails. Name of the person maintaining this software source :return: The maintainer_name of this CreateSoftwareSourceDetails. :rtype: str �r, r9 r5 r5 r6 r � s z+CreateSoftwareSourceDetails.maintainer_namec C s || _ dS )z� Sets the maintainer_name of this CreateSoftwareSourceDetails. Name of the person maintaining this software source :param maintainer_name: The maintainer_name of this CreateSoftwareSourceDetails. :type: str Nr? )r3 r r5 r5 r6 r s c C s | j S )z� Gets the maintainer_email of this CreateSoftwareSourceDetails. Email address of the person maintaining this software source :return: The maintainer_email of this CreateSoftwareSourceDetails. :rtype: str �r- r9 r5 r5 r6 r s z,CreateSoftwareSourceDetails.maintainer_emailc C s || _ dS )a Sets the maintainer_email of this CreateSoftwareSourceDetails. Email address of the person maintaining this software source :param maintainer_email: The maintainer_email of this CreateSoftwareSourceDetails. :type: str Nr@ )r3 r r5 r5 r6 r s c C s | j S )z� Gets the maintainer_phone of this CreateSoftwareSourceDetails. Phone number of the person maintaining this software source :return: The maintainer_phone of this CreateSoftwareSourceDetails. :rtype: str �r. r9 r5 r5 r6 r ( s z,CreateSoftwareSourceDetails.maintainer_phonec C s || _ dS )a Sets the maintainer_phone of this CreateSoftwareSourceDetails. Phone number of the person maintaining this software source :param maintainer_phone: The maintainer_phone of this CreateSoftwareSourceDetails. :type: str NrA )r3 r r5 r5 r6 r 4 s c C s | j S )aE Gets the checksum_type of this CreateSoftwareSourceDetails. The yum repository checksum type used by this software source Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512" :return: The checksum_type of this CreateSoftwareSourceDetails. :rtype: str )r/ r9 r5 r5 r6 r @ s z)CreateSoftwareSourceDetails.checksum_typec C s* g d�}t ||�s td�|���|| _dS )z� Sets the checksum_type of this CreateSoftwareSourceDetails. The yum repository checksum type used by this software source :param checksum_type: The checksum_type of this CreateSoftwareSourceDetails. :type: str )r r r r z=Invalid value for `checksum_type`, must be None or one of {0}N)r r<