a fuc@s8ddlmZmZmZddlmZeGdddeZdS))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 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/d0Zejd1d0Ze d2d3Zejd4d3Ze d5d6Zejd7d6Ze d8d9Zejd:d9Ze d;d<Zejd=d<Ze d>d?Zejd@d?ZdAdBZ dCdDZ!dEdFZ"dGS)H FleetSummaryz The summary of the Fleet. A Fleet is the primary collection with which users interact when using Java Management Service. ACTIVECREATINGDELETEDDELETINGFAILEDNEEDS_ATTENTIONUPDATINGcKsddddddddddddddddddd|_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 FleetSummary 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 FleetSummary. :type id: str :param display_name: The value to assign to the display_name property of this FleetSummary. :type display_name: str :param description: The value to assign to the description property of this FleetSummary. :type description: str :param compartment_id: The value to assign to the compartment_id property of this FleetSummary. :type compartment_id: str :param approximate_jre_count: The value to assign to the approximate_jre_count property of this FleetSummary. :type approximate_jre_count: int :param approximate_installation_count: The value to assign to the approximate_installation_count property of this FleetSummary. :type approximate_installation_count: int :param approximate_application_count: The value to assign to the approximate_application_count property of this FleetSummary. :type approximate_application_count: int :param approximate_managed_instance_count: The value to assign to the approximate_managed_instance_count property of this FleetSummary. :type approximate_managed_instance_count: int :param approximate_java_server_count: The value to assign to the approximate_java_server_count property of this FleetSummary. :type approximate_java_server_count: int :param inventory_log: The value to assign to the inventory_log property of this FleetSummary. :type inventory_log: oci.jms.models.CustomLog :param operation_log: The value to assign to the operation_log property of this FleetSummary. :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 FleetSummary. :type is_advanced_features_enabled: bool :param is_export_setting_enabled: The value to assign to the is_export_setting_enabled property of this FleetSummary. :type is_export_setting_enabled: bool :param time_created: The value to assign to the time_created property of this FleetSummary. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this FleetSummary. 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 FleetSummary. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this FleetSummary. :type freeform_tags: dict(str, str) :param system_tags: The value to assign to the system_tags property of this FleetSummary. :type system_tags: dict(str, dict(str, object)) strintZ CustomLogboolZdatetimezdict(str, dict(str, object))zdict(str, str))id display_name descriptioncompartment_idapproximate_jre_countapproximate_installation_countapproximate_application_count"approximate_managed_instance_countapproximate_java_server_count inventory_log operation_logis_advanced_features_enabledis_export_setting_enabled time_createdlifecycle_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)selfkwargsr7@/usr/lib/python3.9/site-packages/oci/jms/models/fleet_summary.py__init__/spQzFleetSummary.__init__cCs|jS)z **[Required]** Gets the id of this FleetSummary. The `OCID`__ of the Fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this FleetSummary. :rtype: str r#r5r7r7r8rs zFleetSummary.idcCs ||_dS)z Sets the id of this FleetSummary. The `OCID`__ of the Fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this FleetSummary. :type: str Nr:)r5rr7r7r8rs cCs|jS)z **[Required]** Gets the display_name of this FleetSummary. The name of the Fleet. The displayName must be unique for Fleets in the same compartment. :return: The display_name of this FleetSummary. :rtype: str r$r;r7r7r8rs zFleetSummary.display_namecCs ||_dS)z Sets the display_name of this FleetSummary. The name of the Fleet. The displayName must be unique for Fleets in the same compartment. :param display_name: The display_name of this FleetSummary. :type: str Nr<)r5rr7r7r8rs cCs|jS)z **[Required]** Gets the description of this FleetSummary. The Fleet's description. :return: The description of this FleetSummary. :rtype: str r%r;r7r7r8rs zFleetSummary.descriptioncCs ||_dS)z Sets the description of this FleetSummary. The Fleet's description. :param description: The description of this FleetSummary. :type: str Nr=)r5rr7r7r8rs cCs|jS)a' **[Required]** Gets the compartment_id of this FleetSummary. The `OCID`__ of the compartment of the Fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this FleetSummary. :rtype: str r&r;r7r7r8rs zFleetSummary.compartment_idcCs ||_dS)a% Sets the compartment_id of this FleetSummary. 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 FleetSummary. :type: str Nr>)r5rr7r7r8rs cCs|jS)a **[Required]** Gets the approximate_jre_count of this FleetSummary. 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 FleetSummary. :rtype: int r'r;r7r7r8r$s z"FleetSummary.approximate_jre_countcCs ||_dS)a Sets the approximate_jre_count of this FleetSummary. 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 FleetSummary. :type: int Nr?)r5rr7r7r8r1s cCs|jS)a **[Required]** Gets the approximate_installation_count of this FleetSummary. 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 FleetSummary. :rtype: int r(r;r7r7r8r>s z+FleetSummary.approximate_installation_countcCs ||_dS)a Sets the approximate_installation_count of this FleetSummary. 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 FleetSummary. :type: int Nr@)r5rr7r7r8rKs cCs|jS)a **[Required]** Gets the approximate_application_count of this FleetSummary. 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 FleetSummary. :rtype: int r)r;r7r7r8rXs z*FleetSummary.approximate_application_countcCs ||_dS)a Sets the approximate_application_count of this FleetSummary. 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 FleetSummary. :type: int NrA)r5rr7r7r8res cCs|jS)a **[Required]** Gets the approximate_managed_instance_count of this FleetSummary. 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 FleetSummary. :rtype: int r*r;r7r7r8rrs z/FleetSummary.approximate_managed_instance_countcCs ||_dS)a Sets the approximate_managed_instance_count of this FleetSummary. 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 FleetSummary. :type: int NrB)r5rr7r7r8rs cCs|jS)a **[Required]** Gets the approximate_java_server_count of this FleetSummary. 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 FleetSummary. :rtype: int r+r;r7r7r8rs z*FleetSummary.approximate_java_server_countcCs ||_dS)a Sets the approximate_java_server_count of this FleetSummary. 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 FleetSummary. :type: int NrC)r5rr7r7r8rs cCs|jS)z Gets the inventory_log of this FleetSummary. :return: The inventory_log of this FleetSummary. :rtype: oci.jms.models.CustomLog r,r;r7r7r8rszFleetSummary.inventory_logcCs ||_dS)z Sets the inventory_log of this FleetSummary. :param inventory_log: The inventory_log of this FleetSummary. :type: oci.jms.models.CustomLog NrD)r5rr7r7r8rscCs|jS)z Gets the operation_log of this FleetSummary. :return: The operation_log of this FleetSummary. :rtype: oci.jms.models.CustomLog r-r;r7r7r8rszFleetSummary.operation_logcCs ||_dS)z Sets the operation_log of this FleetSummary. :param operation_log: The operation_log of this FleetSummary. :type: oci.jms.models.CustomLog NrE)r5rr7r7r8rscCs|jS)a< Gets the is_advanced_features_enabled of this FleetSummary. Whether or not advanced features are enabled in this Fleet. This flag is true if any one of the advanced features is turned on. :return: The is_advanced_features_enabled of this FleetSummary. :rtype: bool r.r;r7r7r8rs z)FleetSummary.is_advanced_features_enabledcCs ||_dS)aW Sets the is_advanced_features_enabled of this FleetSummary. Whether or not advanced features are enabled in this Fleet. This flag is true if any one of the advanced features is turned on. :param is_advanced_features_enabled: The is_advanced_features_enabled of this FleetSummary. :type: bool NrF)r5rr7r7r8rs cCs|jS)z Gets the is_export_setting_enabled of this FleetSummary. Whether or not export setting is enabled in this Fleet. :return: The is_export_setting_enabled of this FleetSummary. :rtype: bool r/r;r7r7r8rs z&FleetSummary.is_export_setting_enabledcCs ||_dS)z Sets the is_export_setting_enabled of this FleetSummary. Whether or not export setting is enabled in this Fleet. :param is_export_setting_enabled: The is_export_setting_enabled of this FleetSummary. :type: bool NrG)r5rr7r7r8rs cCs|jS)a/ **[Required]** Gets the time_created of this FleetSummary. 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 FleetSummary. :rtype: datetime r0r;r7r7r8rs zFleetSummary.time_createdcCs ||_dS)a+ Sets the time_created of this FleetSummary. 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 FleetSummary. :type: datetime NrH)r5rr7r7r8rs cCs|jS)a **[Required]** Gets the lifecycle_state of this FleetSummary. 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 FleetSummary. :rtype: str )r1r;r7r7r8rs zFleetSummary.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this FleetSummary. The lifecycle state of the Fleet. :param lifecycle_state: The lifecycle_state of this FleetSummary. :type: str )rrr r r r r ZUNKNOWN_ENUM_VALUEN)rr1)r5rZallowed_valuesr7r7r8r+s  cCs|jS)a Gets the defined_tags of this FleetSummary. 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 FleetSummary. :rtype: dict(str, dict(str, object)) r2r;r7r7r8r :s zFleetSummary.defined_tagscCs ||_dS)a Sets the defined_tags of this FleetSummary. 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 FleetSummary. :type: dict(str, dict(str, object)) NrI)r5r r7r7r8r Is cCs|jS)a Gets the freeform_tags of this FleetSummary. 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 FleetSummary. :rtype: dict(str, str) r3r;r7r7r8r!Xs zFleetSummary.freeform_tagscCs ||_dS)a Sets the freeform_tags of this FleetSummary. 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 FleetSummary. :type: dict(str, str) NrJ)r5r!r7r7r8r!gs cCs|jS)a Gets the system_tags of this FleetSummary. 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 FleetSummary. :rtype: dict(str, dict(str, object)) r4r;r7r7r8r"vszFleetSummary.system_tagscCs ||_dS)a$ Sets the system_tags of this FleetSummary. 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 FleetSummary. :type: dict(str, dict(str, object)) NrK)r5r"r7r7r8r"scCst|SN)rr;r7r7r8__repr__szFleetSummary.__repr__cCs|dur dS|j|jkS)NF)__dict__r5otherr7r7r8__eq__szFleetSummary.__eq__cCs ||k SrLr7rOr7r7r8__ne__szFleetSummary.__ne__N)#__name__ __module__ __qualname____doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_UPDATINGr9propertyrsetterrrrrrrrrrrrrrrr r!r"rMrQrRr7r7r7r8r s                                    rN)Zoci.utilrrrZoci.decoratorsrobjectrr7r7r7r8s