a Nf.@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@steZdZdZdZddZeddZeddZ e j d dZ ed d Z e j d d Z d dZ ddZ ddZdS)NodeSourceOptionz) The source option for the node. IMAGEcKs(ddd|_ddd|_d|_d|_dS)a Initializes a new NodeSourceOption 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.container_engine.models.NodeSourceViaImageOption` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source_type: The value to assign to the source_type property of this NodeSourceOption. Allowed values for this property are: "IMAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source_type: str :param source_name: The value to assign to the source_name property of this NodeSourceOption. :type source_name: str str) source_type source_name sourceType sourceNameN) swagger_types attribute_map _source_type _source_name)selfkwargsr/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/container_engine/models/node_source_option.py__init__szNodeSourceOption.__init__cCs|d}|dkrdSdSdS)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 rNodeSourceViaImageOptionrNr)object_dictionarytyperrr get_subtype5szNodeSourceOption.get_subtypecCs|jS)a **[Required]** Gets the source_type of this NodeSourceOption. The source type of this option. `IMAGE` means the OCID is of an image. Allowed values for this property are: "IMAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The source_type of this NodeSourceOption. :rtype: str )rrrrrr BszNodeSourceOption.source_typecCsdg}t||sd}||_dS)z Sets the source_type of this NodeSourceOption. The source type of this option. `IMAGE` means the OCID is of an image. :param source_type: The source_type of this NodeSourceOption. :type: str rUNKNOWN_ENUM_VALUEN)rr)rr allowed_valuesrrrr Rs  cCs|jS)z Gets the source_name of this NodeSourceOption. The user-friendly name of the entity corresponding to the OCID. :return: The source_name of this NodeSourceOption. :rtype: str rrrrrr bs zNodeSourceOption.source_namecCs ||_dS)z Sets the source_name of this NodeSourceOption. The user-friendly name of the entity corresponding to the OCID. :param source_name: The source_name of this NodeSourceOption. :type: str Nr)rr rrrr ns cCst|SN)rrrrr__repr__zszNodeSourceOption.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__}szNodeSourceOption.__eq__cCs ||k Srrr!rrr__ne__szNodeSourceOption.__ne__N)__name__ __module__ __qualname____doc__SOURCE_TYPE_IMAGEr staticmethodrpropertyr setterr rr#r$rrrrr s !     rN)oci.utilrrroci.decoratorsrobjectrrrrrs