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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z dd� Zd d� Z dd� ZdS )�BuildRunnerShapeConfigz- The information about build runner. �CUSTOM�DEFAULTc K s ddi| _ ddi| _d| _dS )aq Initializes a new BuildRunnerShapeConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.devops.models.DefaultBuildRunnerShapeConfig` * :class:`~oci.devops.models.CustomBuildRunnerShapeConfig` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param build_runner_type: The value to assign to the build_runner_type property of this BuildRunnerShapeConfig. Allowed values for this property are: "CUSTOM", "DEFAULT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type build_runner_type: str �build_runner_type�str�buildRunnerTypeN)Z swagger_typesZ attribute_map�_build_runner_type)�self�kwargs� r �O/usr/lib/python3.9/site-packages/oci/devops/models/build_runner_shape_config.py�__init__ s ��zBuildRunnerShapeConfig.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZDefaultBuildRunnerShapeConfigr ZCustomBuildRunnerShapeConfigr Nr )Zobject_dictionary�typer r r �get_subtype5 s z"BuildRunnerShapeConfig.get_subtypec C s | j S )a� **[Required]** Gets the build_runner_type of this BuildRunnerShapeConfig. Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen. Allowed values for this property are: "CUSTOM", "DEFAULT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The build_runner_type of this BuildRunnerShapeConfig. :rtype: str )r �r r r r r E s z(BuildRunnerShapeConfig.build_runner_typec C s ddg}t ||�sd}|| _dS )a. Sets the build_runner_type of this BuildRunnerShapeConfig. Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen. :param build_runner_type: The build_runner_type of this BuildRunnerShapeConfig. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r T s c C s t | �S �N)r r r r r �__repr__c s zBuildRunnerShapeConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__f s zBuildRunnerShapeConfig.__eq__c C s | |k S r r r r r r �__ne__l s zBuildRunnerShapeConfig.__ne__N)�__name__� __module__�__qualname__�__doc__ZBUILD_RUNNER_TYPE_CUSTOMZBUILD_RUNNER_TYPE_DEFAULTr �staticmethodr �propertyr �setterr r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn