a f=@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@sreZdZdZdZdZdZdZdZdZ dZ d Z d Z d d Z ed dZejddZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zd.d/Zd0d1Zd2d3Zd4S)5InstallationSitez Installation site of a Java Runtime. An installation site is a Java Runtime installed at a specific path on a managed instance. ACTIVECREATINGDELETEDDELETINGFAILEDNEEDS_ATTENTIONUPDATINGORACLE_MANAGEMENT_AGENTORACLE_CLOUD_AGENTc Ksdddddddddddd |_dd d d d d dddddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ dS)a Initializes a new InstallationSite object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param installation_key: The value to assign to the installation_key property of this InstallationSite. :type installation_key: str :param managed_instance_id: The value to assign to the managed_instance_id property of this InstallationSite. :type managed_instance_id: str :param jre: The value to assign to the jre property of this InstallationSite. :type jre: oci.jms.models.JavaRuntimeId :param path: The value to assign to the path property of this InstallationSite. :type path: str :param operating_system: The value to assign to the operating_system property of this InstallationSite. :type operating_system: oci.jms.models.OperatingSystem :param approximate_application_count: The value to assign to the approximate_application_count property of this InstallationSite. :type approximate_application_count: int :param time_last_seen: The value to assign to the time_last_seen property of this InstallationSite. :type time_last_seen: datetime :param blocklist: The value to assign to the blocklist property of this InstallationSite. :type blocklist: list[oci.jms.models.BlocklistEntry] :param lifecycle_state: The value to assign to the lifecycle_state property of this InstallationSite. 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 managed_instance_type: The value to assign to the managed_instance_type property of this InstallationSite. Allowed values for this property are: "ORACLE_MANAGEMENT_AGENT", "ORACLE_CLOUD_AGENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type managed_instance_type: str :param hostname: The value to assign to the hostname property of this InstallationSite. :type hostname: str strZ JavaRuntimeIdZOperatingSystemintZdatetimezlist[BlocklistEntry]) installation_keymanaged_instance_idjrepathoperating_systemapproximate_application_counttime_last_seen blocklistlifecycle_statemanaged_instance_typehostnameZinstallationKeyZmanagedInstanceIdrrZoperatingSystemZapproximateApplicationCountZ timeLastSeenrZlifecycleStateZmanagedInstanceTyperN) Z swagger_typesZ attribute_map_installation_key_managed_instance_id_jre_path_operating_system_approximate_application_count_time_last_seen _blocklist_lifecycle_state_managed_instance_type _hostname)selfkwargsr*D/usr/lib/python3.9/site-packages/oci/jms/models/installation_site.py__init__7sF7zInstallationSite.__init__cCs|jS)a" **[Required]** Gets the installation_key of this InstallationSite. The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system. :return: The installation_key of this InstallationSite. :rtype: str rr(r*r*r+rs z!InstallationSite.installation_keycCs ||_dS)a" Sets the installation_key of this InstallationSite. The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system. :param installation_key: The installation_key of this InstallationSite. :type: str Nr-)r(rr*r*r+rs cCs|jS)a9 **[Required]** Gets the managed_instance_id of this InstallationSite. The `OCID`__ of the related managed instance. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The managed_instance_id of this InstallationSite. :rtype: str rr.r*r*r+rs z$InstallationSite.managed_instance_idcCs ||_dS)a< Sets the managed_instance_id of this InstallationSite. The `OCID`__ of the related managed instance. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param managed_instance_id: The managed_instance_id of this InstallationSite. :type: str Nr/)r(rr*r*r+rs cCs|jS)z **[Required]** Gets the jre of this InstallationSite. :return: The jre of this InstallationSite. :rtype: oci.jms.models.JavaRuntimeId rr.r*r*r+rszInstallationSite.jrecCs ||_dS)z Sets the jre of this InstallationSite. :param jre: The jre of this InstallationSite. :type: oci.jms.models.JavaRuntimeId Nr0)r(rr*r*r+rscCs|jS)z **[Required]** Gets the path of this InstallationSite. The file system path of the installation. :return: The path of this InstallationSite. :rtype: str r r.r*r*r+rs zInstallationSite.pathcCs ||_dS)z Sets the path of this InstallationSite. The file system path of the installation. :param path: The path of this InstallationSite. :type: str Nr1)r(rr*r*r+rs cCs|jS)z **[Required]** Gets the operating_system of this InstallationSite. :return: The operating_system of this InstallationSite. :rtype: oci.jms.models.OperatingSystem r!r.r*r*r+rsz!InstallationSite.operating_systemcCs ||_dS)z Sets the operating_system of this InstallationSite. :param operating_system: The operating_system of this InstallationSite. :type: oci.jms.models.OperatingSystem Nr2)r(rr*r*r+rscCs|jS)a Gets the approximate_application_count of this InstallationSite. The approximate count of applications running on this installation :return: The approximate_application_count of this InstallationSite. :rtype: int r"r.r*r*r+r s z.InstallationSite.approximate_application_countcCs ||_dS)a Sets the approximate_application_count of this InstallationSite. The approximate count of applications running on this installation :param approximate_application_count: The approximate_application_count of this InstallationSite. :type: int Nr3)r(rr*r*r+rs cCs|jS)a Gets the time_last_seen of this InstallationSite. The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. :return: The time_last_seen of this InstallationSite. :rtype: datetime r#r.r*r*r+r!s zInstallationSite.time_last_seencCs ||_dS)a Sets the time_last_seen of this InstallationSite. The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. :param time_last_seen: The time_last_seen of this InstallationSite. :type: datetime Nr4)r(rr*r*r+r0s cCs|jS)z Gets the blocklist of this InstallationSite. The list of operations that are blocklisted. :return: The blocklist of this InstallationSite. :rtype: list[oci.jms.models.BlocklistEntry] r$r.r*r*r+r?s zInstallationSite.blocklistcCs ||_dS)z Sets the blocklist of this InstallationSite. The list of operations that are blocklisted. :param blocklist: The blocklist of this InstallationSite. :type: list[oci.jms.models.BlocklistEntry] Nr5)r(rr*r*r+rKs cCs|jS)a Gets the lifecycle_state of this InstallationSite. The lifecycle state of the installation site. 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 InstallationSite. :rtype: str )r%r.r*r*r+rWs z InstallationSite.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this InstallationSite. The lifecycle state of the installation site. :param lifecycle_state: The lifecycle_state of this InstallationSite. :type: str )rrr r r r r UNKNOWN_ENUM_VALUEN)rr%)r(rallowed_valuesr*r*r+rfs  cCs|jS)a Gets the managed_instance_type of this InstallationSite. The type of the source of events. Allowed values for this property are: "ORACLE_MANAGEMENT_AGENT", "ORACLE_CLOUD_AGENT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The managed_instance_type of this InstallationSite. :rtype: str )r&r.r*r*r+rus z&InstallationSite.managed_instance_typecCs ddg}t||sd}||_dS)z Sets the managed_instance_type of this InstallationSite. The type of the source of events. :param managed_instance_type: The managed_instance_type of this InstallationSite. :type: str rrr6N)rr&)r(rr7r*r*r+rs  cCs|jS)z Gets the hostname of this InstallationSite. The hostname of the managed instance (if applicable). :return: The hostname of this InstallationSite. :rtype: str r'r.r*r*r+rs zInstallationSite.hostnamecCs ||_dS)z Sets the hostname of this InstallationSite. The hostname of the managed instance (if applicable). :param hostname: The hostname of this InstallationSite. :type: str Nr8)r(rr*r*r+rs cCst|SN)rr.r*r*r+__repr__szInstallationSite.__repr__cCs|dur dS|j|jkS)NF)__dict__r(otherr*r*r+__eq__szInstallationSite.__eq__cCs ||k Sr9r*r<r*r*r+__ne__szInstallationSite.__ne__N)__name__ __module__ __qualname____doc__ZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_UPDATINGZ-MANAGED_INSTANCE_TYPE_ORACLE_MANAGEMENT_AGENTZ(MANAGED_INSTANCE_TYPE_ORACLE_CLOUD_AGENTr,propertyrsetterrrrrrrrrrrr:r>r?r*r*r*r+r st^                      rN)Zoci.utilrrrZoci.decoratorsrobjectrr*r*r*r+s