a Nf:@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d d Z e d d Z e jd d Z e ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejddZe ddZejddZe d d!Zejd"d!Ze d#d$Zejd%d$Ze d&d'Zejd(d'Ze d)d*Zejd+d*Ze d,d-Zejd.d-Ze d/d0Zejd1d0Zd2d3Zd4d5Zd6d7Zd8S)9Agentz ODMS Agent Details CREATINGUPDATINGACTIVEINACTIVEDELETINGDELETEDFAILEDcKsdddddddddddddd |_dddd d d d d dddddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_dS)a Initializes a new Agent object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Agent. :type id: str :param display_name: The value to assign to the display_name property of this Agent. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this Agent. :type compartment_id: str :param stream_id: The value to assign to the stream_id property of this Agent. :type stream_id: str :param public_key: The value to assign to the public_key property of this Agent. :type public_key: str :param version: The value to assign to the version property of this Agent. :type version: str :param time_created: The value to assign to the time_created property of this Agent. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Agent. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Agent. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Agent. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this Agent. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Agent. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Agent. :type system_tags: dict(str, dict(str, object)) strdatetimezdict(str, str)zdict(str, dict(str, object))) id display_namecompartment_id stream_id public_keyversion time_created time_updatedlifecycle_statelifecycle_details freeform_tags defined_tags system_tagsr displayName compartmentIdstreamId publicKeyr timeCreated timeUpdatedlifecycleStatelifecycleDetails freeformTags definedTags systemTagsN) swagger_types attribute_map_id _display_name_compartment_id _stream_id _public_key_version _time_created _time_updated_lifecycle_state_lifecycle_details_freeform_tags _defined_tags _system_tags)selfkwargsr9/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/agent.py__init__,sR=zAgent.__init__cCs|jS)z **[Required]** Gets the id of this Agent. The OCID of the resource :return: The id of this Agent. :rtype: str r*r7r9r9r:rs zAgent.idcCs ||_dS)z Sets the id of this Agent. The OCID of the resource :param id: The id of this Agent. :type: str Nr<)r7rr9r9r:rs cCs|jS)z **[Required]** Gets the display_name of this Agent. ODMS Agent name :return: The display_name of this Agent. :rtype: str r+r=r9r9r:rs zAgent.display_namecCs ||_dS)z Sets the display_name of this Agent. ODMS Agent name :param display_name: The display_name of this Agent. :type: str Nr>)r7rr9r9r:rs cCs|jS)z **[Required]** Gets the compartment_id of this Agent. OCID of the compartment :return: The compartment_id of this Agent. :rtype: str r,r=r9r9r:rs zAgent.compartment_idcCs ||_dS)z Sets the compartment_id of this Agent. OCID of the compartment :param compartment_id: The compartment_id of this Agent. :type: str Nr?)r7rr9r9r:rs cCs|jS)z **[Required]** Gets the stream_id of this Agent. The OCID of the Stream :return: The stream_id of this Agent. :rtype: str r-r=r9r9r:rs zAgent.stream_idcCs ||_dS)z Sets the stream_id of this Agent. The OCID of the Stream :param stream_id: The stream_id of this Agent. :type: str Nr@)r7rr9r9r:rs cCs|jS)z Gets the public_key of this Agent. ODMS Agent public key. :return: The public_key of this Agent. :rtype: str r.r=r9r9r:rs zAgent.public_keycCs ||_dS)z Sets the public_key of this Agent. ODMS Agent public key. :param public_key: The public_key of this Agent. :type: str NrA)r7rr9r9r:rs cCs|jS)z **[Required]** Gets the version of this Agent. ODMS Agent version :return: The version of this Agent. :rtype: str r/r=r9r9r:rs z Agent.versioncCs ||_dS)z Sets the version of this Agent. ODMS Agent version :param version: The version of this Agent. :type: str NrB)r7rr9r9r:rs cCs|jS)z **[Required]** Gets the time_created of this Agent. The time the Agent was created. An RFC3339 formatted datetime string. :return: The time_created of this Agent. :rtype: datetime r0r=r9r9r:r&s zAgent.time_createdcCs ||_dS)z Sets the time_created of this Agent. The time the Agent was created. An RFC3339 formatted datetime string. :param time_created: The time_created of this Agent. :type: datetime NrC)r7rr9r9r:r2s cCs|jS)z **[Required]** Gets the time_updated of this Agent. The time of the last Agent details update. An RFC3339 formatted datetime string. :return: The time_updated of this Agent. :rtype: datetime r1r=r9r9r:r>s zAgent.time_updatedcCs ||_dS)z Sets the time_updated of this Agent. The time of the last Agent details update. An RFC3339 formatted datetime string. :param time_updated: The time_updated of this Agent. :type: datetime NrD)r7rr9r9r:rJs cCs|jS)a **[Required]** Gets the lifecycle_state of this Agent. The current state of the ODMS on-premises Agent. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Agent. :rtype: str )r2r=r9r9r:rVs zAgent.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this Agent. The current state of the ODMS on-premises Agent. :param lifecycle_state: The lifecycle_state of this Agent. :type: str )rrr r r r r UNKNOWN_ENUM_VALUEN)rr2)r7rallowed_valuesr9r9r:res  cCs|jS)a! Gets the lifecycle_details of this Agent. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this Agent. :rtype: str r3r=r9r9r:rts zAgent.lifecycle_detailscCs ||_dS)a1 Sets the lifecycle_details of this Agent. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this Agent. :type: str NrG)r7rr9r9r:rs cCs|jS)a1 Gets the freeform_tags of this Agent. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this Agent. :rtype: dict(str, str) r4r=r9r9r:rs zAgent.freeform_tagscCs ||_dS)a= Sets the freeform_tags of this Agent. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this Agent. :type: dict(str, str) NrH)r7rr9r9r:rs cCs|jS)a+ Gets the defined_tags of this Agent. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this Agent. :rtype: dict(str, dict(str, object)) r5r=r9r9r:rs zAgent.defined_tagscCs ||_dS)a6 Sets the defined_tags of this Agent. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this Agent. :type: dict(str, dict(str, object)) NrI)r7rr9r9r:rs cCs|jS)a( Gets the system_tags of this Agent. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :return: The system_tags of this Agent. :rtype: dict(str, dict(str, object)) r6r=r9r9r:rs zAgent.system_tagscCs ||_dS)a2 Sets the system_tags of this Agent. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :param system_tags: The system_tags of this Agent. :type: dict(str, dict(str, object)) NrJ)r7rr9r9r:rs cCst|SN)rr=r9r9r:__repr__szAgent.__repr__cCs|dur dS|j|jkS)NF)__dict__r7otherr9r9r:__eq__sz Agent.__eq__cCs ||k SrKr9rNr9r9r:__ne__sz Agent.__ne__N)__name__ __module__ __qualname____doc__LIFECYCLE_STATE_CREATINGLIFECYCLE_STATE_UPDATINGLIFECYCLE_STATE_ACTIVELIFECYCLE_STATE_INACTIVELIFECYCLE_STATE_DELETINGLIFECYCLE_STATE_DELETEDLIFECYCLE_STATE_FAILEDr;propertyrsetterrrrrrrrrrrrrrLrPrQr9r9r9r:r sj                          rN)oci.utilrrroci.decoratorsrobjectrr9r9r9r:s