a üÎòf.`ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@s eZdZdZdZdZdZdZdZdZ dZ d d „Z e d d „ƒZ e jd d „ƒZ e dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe 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/d0„ƒZejd1d0„ƒZe d2d3„ƒZejd4d3„ƒZe d5d6„ƒZejd7d6„ƒZe d8d9„ƒZejd:d9„ƒZe d;d<„ƒZejd=d<„ƒZe d>d?„ƒZejd@d?„ƒZdAdB„Z dCdD„Z!dEdF„Z"dGS)HÚFleetzi A Fleet is the primary collection with which users interact when using Java Management Service. ÚACTIVEÚCREATINGÚDELETEDÚDELETINGÚFAILEDÚNEEDS_ATTENTIONÚUPDATINGcKsÈdddddddddddddddddddœ|_d d d d d ddddddddddddddœ|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_d|_dS)a' Initializes a new Fleet 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 Fleet. :type id: str :param display_name: The value to assign to the display_name property of this Fleet. :type display_name: str :param description: The value to assign to the description property of this Fleet. :type description: str :param compartment_id: The value to assign to the compartment_id property of this Fleet. :type compartment_id: str :param approximate_jre_count: The value to assign to the approximate_jre_count property of this Fleet. :type approximate_jre_count: int :param approximate_installation_count: The value to assign to the approximate_installation_count property of this Fleet. :type approximate_installation_count: int :param approximate_application_count: The value to assign to the approximate_application_count property of this Fleet. :type approximate_application_count: int :param approximate_managed_instance_count: The value to assign to the approximate_managed_instance_count property of this Fleet. :type approximate_managed_instance_count: int :param approximate_java_server_count: The value to assign to the approximate_java_server_count property of this Fleet. :type approximate_java_server_count: int :param inventory_log: The value to assign to the inventory_log property of this Fleet. :type inventory_log: oci.jms.models.CustomLog :param operation_log: The value to assign to the operation_log property of this Fleet. :type operation_log: oci.jms.models.CustomLog :param is_advanced_features_enabled: The value to assign to the is_advanced_features_enabled property of this Fleet. :type is_advanced_features_enabled: bool :param is_export_setting_enabled: The value to assign to the is_export_setting_enabled property of this Fleet. :type is_export_setting_enabled: bool :param time_created: The value to assign to the time_created property of this Fleet. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Fleet. Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "NEEDS_ATTENTION", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param defined_tags: The value to assign to the defined_tags property of this Fleet. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this Fleet. :type freeform_tags: dict(str, str) :param system_tags: The value to assign to the system_tags property of this Fleet. :type system_tags: dict(str, dict(str, object)) ÚstrÚintZ CustomLogÚboolZdatetimezdict(str, dict(str, object))zdict(str, str))ÚidÚ display_nameÚ descriptionÚcompartment_idÚapproximate_jre_countÚapproximate_installation_countÚapproximate_application_countÚ"approximate_managed_instance_countÚapproximate_java_server_countÚ inventory_logÚ operation_logÚis_advanced_features_enabledÚis_export_setting_enabledÚ time_createdÚlifecycle_stateÚ defined_tagsÚ freeform_tagsÚ system_tagsrZ displayNamerZ compartmentIdZapproximateJreCountZapproximateInstallationCountZapproximateApplicationCountZapproximateManagedInstanceCountZapproximateJavaServerCountZ inventoryLogZ operationLogZisAdvancedFeaturesEnabledZisExportSettingEnabledZ timeCreatedZlifecycleStateZ definedTagsZ freeformTagsZ systemTagsN)Z swagger_typesZ attribute_mapÚ_idÚ _display_nameÚ _descriptionÚ_compartment_idÚ_approximate_jre_countÚ_approximate_installation_countÚ_approximate_application_countÚ#_approximate_managed_instance_countÚ_approximate_java_server_countÚ_inventory_logÚ_operation_logÚ_is_advanced_features_enabledÚ_is_export_setting_enabledÚ _time_createdÚ_lifecycle_stateÚ _defined_tagsÚ_freeform_tagsÚ _system_tags)ÚselfÚkwargs©r7ú8/usr/lib/python3.9/site-packages/oci/jms/models/fleet.pyÚ__init__.spQîîzFleet.__init__cCs|jS)zî **[Required]** Gets the id of this Fleet. The `OCID`__ of the Fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this Fleet. :rtype: str ©r#©r5r7r7r8r»s zFleet.idcCs ||_dS)zà Sets the id of this Fleet. The `OCID`__ of the Fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this Fleet. :type: str Nr:)r5rr7r7r8rÉs cCs|jS)z« **[Required]** Gets the display_name of this Fleet. The name of the Fleet. :return: The display_name of this Fleet. :rtype: str ©r$r;r7r7r8r×s zFleet.display_namecCs ||_dS)z§ Sets the display_name of this Fleet. The name of the Fleet. :param display_name: The display_name of this Fleet. :type: str Nr<)r5rr7r7r8rãs cCs|jS)z« **[Required]** Gets the description of this Fleet. The Fleet's description. :return: The description of this Fleet. :rtype: str ©r%r;r7r7r8rïs zFleet.descriptioncCs ||_dS)z¦ Sets the description of this Fleet. The Fleet's description. :param description: The description of this Fleet. :type: str Nr=)r5rr7r7r8rûs cCs|jS)a **[Required]** Gets the compartment_id of this Fleet. The `OCID`__ of the compartment of the Fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Fleet. :rtype: str ©r&r;r7r7r8rs zFleet.compartment_idcCs ||_dS)a Sets the compartment_id of this Fleet. The `OCID`__ of the compartment of the Fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Fleet. :type: str Nr>)r5rr7r7r8rs cCs|jS)au **[Required]** Gets the approximate_jre_count of this Fleet. The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :return: The approximate_jre_count of this Fleet. :rtype: int ©r'r;r7r7r8r#s zFleet.approximate_jre_countcCs ||_dS)az Sets the approximate_jre_count of this Fleet. The approximate count of all unique Java Runtimes in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :param approximate_jre_count: The approximate_jre_count of this Fleet. :type: int Nr?)r5rr7r7r8r0s cCs|jS)aŒ **[Required]** Gets the approximate_installation_count of this Fleet. The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :return: The approximate_installation_count of this Fleet. :rtype: int ©r(r;r7r7r8r=s z$Fleet.approximate_installation_countcCs ||_dS)aš Sets the approximate_installation_count of this Fleet. The approximate count of all unique Java installations in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :param approximate_installation_count: The approximate_installation_count of this Fleet. :type: int Nr@)r5rr7r7r8rJs cCs|jS)a„ **[Required]** Gets the approximate_application_count of this Fleet. The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :return: The approximate_application_count of this Fleet. :rtype: int ©r)r;r7r7r8rWs z#Fleet.approximate_application_countcCs ||_dS)a‘ Sets the approximate_application_count of this Fleet. The approximate count of all unique applications in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :param approximate_application_count: The approximate_application_count of this Fleet. :type: int NrA)r5rr7r7r8rds cCs|jS)a“ **[Required]** Gets the approximate_managed_instance_count of this Fleet. The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :return: The approximate_managed_instance_count of this Fleet. :rtype: int ©r*r;r7r7r8rqs z(Fleet.approximate_managed_instance_countcCs ||_dS)a¥ Sets the approximate_managed_instance_count of this Fleet. The approximate count of all unique managed instances in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :param approximate_managed_instance_count: The approximate_managed_instance_count of this Fleet. :type: int NrB)r5rr7r7r8r~s cCs|jS)a„ **[Required]** Gets the approximate_java_server_count of this Fleet. The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :return: The approximate_java_server_count of this Fleet. :rtype: int ©r+r;r7r7r8r‹s z#Fleet.approximate_java_server_countcCs ||_dS)a‘ Sets the approximate_java_server_count of this Fleet. The approximate count of all unique Java servers in the Fleet in the past seven days. This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. :param approximate_java_server_count: The approximate_java_server_count of this Fleet. :type: int NrC)r5rr7r7r8r˜s cCs|jS)z“ Gets the inventory_log of this Fleet. :return: The inventory_log of this Fleet. :rtype: oci.jms.models.CustomLog ©r,r;r7r7r8r¥szFleet.inventory_logcCs ||_dS)zŸ Sets the inventory_log of this Fleet. :param inventory_log: The inventory_log of this Fleet. :type: oci.jms.models.CustomLog NrD)r5rr7r7r8r¯scCs|jS)z“ Gets the operation_log of this Fleet. :return: The operation_log of this Fleet. :rtype: oci.jms.models.CustomLog ©r-r;r7r7r8r¹szFleet.operation_logcCs ||_dS)zŸ Sets the operation_log of this Fleet. :param operation_log: The operation_log of this Fleet. :type: oci.jms.models.CustomLog NrE)r5rr7r7r8rÃscCs|jS)a7 Gets the is_advanced_features_enabled of this Fleet. Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. :return: The is_advanced_features_enabled of this Fleet. :rtype: bool ©r.r;r7r7r8rÍs z"Fleet.is_advanced_features_enabledcCs ||_dS)aR Sets the is_advanced_features_enabled of this Fleet. Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. :param is_advanced_features_enabled: The is_advanced_features_enabled of this Fleet. :type: bool NrF)r5rr7r7r8rÚs cCs|jS)zØ Gets the is_export_setting_enabled of this Fleet. Whether or not export setting is enabled in this Fleet. :return: The is_export_setting_enabled of this Fleet. :rtype: bool ©r/r;r7r7r8rçs zFleet.is_export_setting_enabledcCs ||_dS)zð Sets the is_export_setting_enabled of this Fleet. Whether or not export setting is enabled in this Fleet. :param is_export_setting_enabled: The is_export_setting_enabled of this Fleet. :type: bool NrG)r5rr7r7r8rós cCs|jS)a! **[Required]** Gets the time_created of this Fleet. The creation date and time of the Fleet (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The time_created of this Fleet. :rtype: datetime ©r0r;r7r7r8rÿs zFleet.time_createdcCs ||_dS)a Sets the time_created of this Fleet. The creation date and time of the Fleet (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :param time_created: The time_created of this Fleet. :type: datetime NrH)r5rr7r7r8r s cCs|jS)aµ **[Required]** Gets the lifecycle_state of this Fleet. The lifecycle state of the Fleet. Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "NEEDS_ATTENTION", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Fleet. :rtype: str )r1r;r7r7r8rs zFleet.lifecycle_statecCs gd¢}t||ƒsd}||_dS)z» Sets the lifecycle_state of this Fleet. The lifecycle state of the Fleet. :param lifecycle_state: The lifecycle_state of this Fleet. :type: str )rrr r r r r ZUNKNOWN_ENUM_VALUEN)rr1)r5rZallowed_valuesr7r7r8r*s  cCs|jS)aµ Gets the defined_tags of this Fleet. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}`. (See `Understanding Free-form Tags`__). __ https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm :return: The defined_tags of this Fleet. :rtype: dict(str, dict(str, object)) ©r2r;r7r7r8r 9s zFleet.defined_tagscCs ||_dS)aÀ Sets the defined_tags of this Fleet. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}`. (See `Understanding Free-form Tags`__). __ https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm :param defined_tags: The defined_tags of this Fleet. :type: dict(str, dict(str, object)) NrI)r5r r7r7r8r Hs cCs|jS)aÀ Gets the freeform_tags of this Fleet. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See `Managing Tags and Tag Namespaces`__.) __ https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm :return: The freeform_tags of this Fleet. :rtype: dict(str, str) ©r3r;r7r7r8r!Ws zFleet.freeform_tagscCs ||_dS)aÌ Sets the freeform_tags of this Fleet. Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`. (See `Managing Tags and Tag Namespaces`__.) __ https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm :param freeform_tags: The freeform_tags of this Fleet. :type: dict(str, str) NrJ)r5r!r7r7r8r!fs cCs|jS)a  Gets the system_tags of this Fleet. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The system_tags of this Fleet. :rtype: dict(str, dict(str, object)) ©r4r;r7r7r8r"uszFleet.system_tagscCs ||_dS)a Sets the system_tags of this Fleet. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param system_tags: The system_tags of this Fleet. :type: dict(str, dict(str, object)) NrK)r5r"r7r7r8r"‡scCst|ƒS©N)rr;r7r7r8Ú__repr__™szFleet.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r5Úotherr7r7r8Ú__eq__œsz Fleet.__eq__cCs ||k SrLr7rOr7r7r8Ú__ne__¢sz Fleet.__ne__N)#Ú__name__Ú __module__Ú __qualname__Ú__doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_UPDATINGr9ÚpropertyrÚsetterrrrrrrrrrrrrrrr r!r"rMrQrRr7r7r7r8r sª                                    rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr7r7r7r8Ús