HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/mysqlsh/lib/python3.8/site-packages/oci/os_management_hub/models/management_station.py
# coding: utf-8
# Copyright (c) 2016, 2025, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220901


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class ManagementStation(object):
    """
    Provides information about the management station, including name, state, and configuration.
    """

    #: A constant which can be used with the overall_state property of a ManagementStation.
    #: This constant has a value of "NORMAL"
    OVERALL_STATE_NORMAL = "NORMAL"

    #: A constant which can be used with the overall_state property of a ManagementStation.
    #: This constant has a value of "REGISTRATIONERROR"
    OVERALL_STATE_REGISTRATIONERROR = "REGISTRATIONERROR"

    #: A constant which can be used with the overall_state property of a ManagementStation.
    #: This constant has a value of "SYNCING"
    OVERALL_STATE_SYNCING = "SYNCING"

    #: A constant which can be used with the overall_state property of a ManagementStation.
    #: This constant has a value of "SYNCFAILED"
    OVERALL_STATE_SYNCFAILED = "SYNCFAILED"

    #: A constant which can be used with the overall_state property of a ManagementStation.
    #: This constant has a value of "WARNING"
    OVERALL_STATE_WARNING = "WARNING"

    #: A constant which can be used with the overall_state property of a ManagementStation.
    #: This constant has a value of "ERROR"
    OVERALL_STATE_ERROR = "ERROR"

    #: A constant which can be used with the overall_state property of a ManagementStation.
    #: This constant has a value of "UNAVAILABLE"
    OVERALL_STATE_UNAVAILABLE = "UNAVAILABLE"

    #: A constant which can be used with the lifecycle_state property of a ManagementStation.
    #: This constant has a value of "CREATING"
    LIFECYCLE_STATE_CREATING = "CREATING"

    #: A constant which can be used with the lifecycle_state property of a ManagementStation.
    #: This constant has a value of "UPDATING"
    LIFECYCLE_STATE_UPDATING = "UPDATING"

    #: A constant which can be used with the lifecycle_state property of a ManagementStation.
    #: This constant has a value of "ACTIVE"
    LIFECYCLE_STATE_ACTIVE = "ACTIVE"

    #: A constant which can be used with the lifecycle_state property of a ManagementStation.
    #: This constant has a value of "DELETING"
    LIFECYCLE_STATE_DELETING = "DELETING"

    #: A constant which can be used with the lifecycle_state property of a ManagementStation.
    #: This constant has a value of "DELETED"
    LIFECYCLE_STATE_DELETED = "DELETED"

    #: A constant which can be used with the lifecycle_state property of a ManagementStation.
    #: This constant has a value of "FAILED"
    LIFECYCLE_STATE_FAILED = "FAILED"

    #: A constant which can be used with the location property of a ManagementStation.
    #: This constant has a value of "ON_PREMISE"
    LOCATION_ON_PREMISE = "ON_PREMISE"

    #: A constant which can be used with the location property of a ManagementStation.
    #: This constant has a value of "OCI_COMPUTE"
    LOCATION_OCI_COMPUTE = "OCI_COMPUTE"

    #: A constant which can be used with the location property of a ManagementStation.
    #: This constant has a value of "AZURE"
    LOCATION_AZURE = "AZURE"

    #: A constant which can be used with the location property of a ManagementStation.
    #: This constant has a value of "EC2"
    LOCATION_EC2 = "EC2"

    #: A constant which can be used with the location property of a ManagementStation.
    #: This constant has a value of "GCP"
    LOCATION_GCP = "GCP"

    def __init__(self, **kwargs):
        """
        Initializes a new ManagementStation 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 ManagementStation.
        :type id: str

        :param managed_instance_id:
            The value to assign to the managed_instance_id property of this ManagementStation.
        :type managed_instance_id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this ManagementStation.
        :type compartment_id: str

        :param scheduled_job_id:
            The value to assign to the scheduled_job_id property of this ManagementStation.
        :type scheduled_job_id: str

        :param profile_id:
            The value to assign to the profile_id property of this ManagementStation.
        :type profile_id: str

        :param display_name:
            The value to assign to the display_name property of this ManagementStation.
        :type display_name: str

        :param description:
            The value to assign to the description property of this ManagementStation.
        :type description: str

        :param hostname:
            The value to assign to the hostname property of this ManagementStation.
        :type hostname: str

        :param overall_state:
            The value to assign to the overall_state property of this ManagementStation.
            Allowed values for this property are: "NORMAL", "REGISTRATIONERROR", "SYNCING", "SYNCFAILED", "WARNING", "ERROR", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type overall_state: str

        :param overall_percentage:
            The value to assign to the overall_percentage property of this ManagementStation.
        :type overall_percentage: int

        :param mirror_capacity:
            The value to assign to the mirror_capacity property of this ManagementStation.
        :type mirror_capacity: int

        :param total_mirrors:
            The value to assign to the total_mirrors property of this ManagementStation.
        :type total_mirrors: int

        :param mirror_sync_status:
            The value to assign to the mirror_sync_status property of this ManagementStation.
        :type mirror_sync_status: oci.os_management_hub.models.MirrorSyncStatus

        :param proxy:
            The value to assign to the proxy property of this ManagementStation.
        :type proxy: oci.os_management_hub.models.ProxyConfiguration

        :param mirror:
            The value to assign to the mirror property of this ManagementStation.
        :type mirror: oci.os_management_hub.models.MirrorConfiguration

        :param health:
            The value to assign to the health property of this ManagementStation.
        :type health: oci.os_management_hub.models.StationHealth

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ManagementStation.
            Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "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 is_auto_config_enabled:
            The value to assign to the is_auto_config_enabled property of this ManagementStation.
        :type is_auto_config_enabled: bool

        :param peer_management_stations:
            The value to assign to the peer_management_stations property of this ManagementStation.
        :type peer_management_stations: list[oci.os_management_hub.models.PeerManagementStation]

        :param location:
            The value to assign to the location property of this ManagementStation.
            Allowed values for this property are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type location: str

        :param mirror_storage_available_size:
            The value to assign to the mirror_storage_available_size property of this ManagementStation.
        :type mirror_storage_available_size: int

        :param mirror_storage_size:
            The value to assign to the mirror_storage_size property of this ManagementStation.
        :type mirror_storage_size: int

        :param mirror_size:
            The value to assign to the mirror_size property of this ManagementStation.
        :type mirror_size: int

        :param mirror_unique_package_count:
            The value to assign to the mirror_unique_package_count property of this ManagementStation.
        :type mirror_unique_package_count: int

        :param mirror_package_count:
            The value to assign to the mirror_package_count property of this ManagementStation.
        :type mirror_package_count: int

        :param freeform_tags:
            The value to assign to the freeform_tags property of this ManagementStation.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this ManagementStation.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this ManagementStation.
        :type system_tags: dict(str, dict(str, object))

        """
        self.swagger_types = {
            'id': 'str',
            'managed_instance_id': 'str',
            'compartment_id': 'str',
            'scheduled_job_id': 'str',
            'profile_id': 'str',
            'display_name': 'str',
            'description': 'str',
            'hostname': 'str',
            'overall_state': 'str',
            'overall_percentage': 'int',
            'mirror_capacity': 'int',
            'total_mirrors': 'int',
            'mirror_sync_status': 'MirrorSyncStatus',
            'proxy': 'ProxyConfiguration',
            'mirror': 'MirrorConfiguration',
            'health': 'StationHealth',
            'lifecycle_state': 'str',
            'is_auto_config_enabled': 'bool',
            'peer_management_stations': 'list[PeerManagementStation]',
            'location': 'str',
            'mirror_storage_available_size': 'int',
            'mirror_storage_size': 'int',
            'mirror_size': 'int',
            'mirror_unique_package_count': 'int',
            'mirror_package_count': 'int',
            'freeform_tags': 'dict(str, str)',
            'defined_tags': 'dict(str, dict(str, object))',
            'system_tags': 'dict(str, dict(str, object))'
        }
        self.attribute_map = {
            'id': 'id',
            'managed_instance_id': 'managedInstanceId',
            'compartment_id': 'compartmentId',
            'scheduled_job_id': 'scheduledJobId',
            'profile_id': 'profileId',
            'display_name': 'displayName',
            'description': 'description',
            'hostname': 'hostname',
            'overall_state': 'overallState',
            'overall_percentage': 'overallPercentage',
            'mirror_capacity': 'mirrorCapacity',
            'total_mirrors': 'totalMirrors',
            'mirror_sync_status': 'mirrorSyncStatus',
            'proxy': 'proxy',
            'mirror': 'mirror',
            'health': 'health',
            'lifecycle_state': 'lifecycleState',
            'is_auto_config_enabled': 'isAutoConfigEnabled',
            'peer_management_stations': 'peerManagementStations',
            'location': 'location',
            'mirror_storage_available_size': 'mirrorStorageAvailableSize',
            'mirror_storage_size': 'mirrorStorageSize',
            'mirror_size': 'mirrorSize',
            'mirror_unique_package_count': 'mirrorUniquePackageCount',
            'mirror_package_count': 'mirrorPackageCount',
            'freeform_tags': 'freeformTags',
            'defined_tags': 'definedTags',
            'system_tags': 'systemTags'
        }
        self._id = None
        self._managed_instance_id = None
        self._compartment_id = None
        self._scheduled_job_id = None
        self._profile_id = None
        self._display_name = None
        self._description = None
        self._hostname = None
        self._overall_state = None
        self._overall_percentage = None
        self._mirror_capacity = None
        self._total_mirrors = None
        self._mirror_sync_status = None
        self._proxy = None
        self._mirror = None
        self._health = None
        self._lifecycle_state = None
        self._is_auto_config_enabled = None
        self._peer_management_stations = None
        self._location = None
        self._mirror_storage_available_size = None
        self._mirror_storage_size = None
        self._mirror_size = None
        self._mirror_unique_package_count = None
        self._mirror_package_count = None
        self._freeform_tags = None
        self._defined_tags = None
        self._system_tags = None

    @property
    def id(self):
        """
        **[Required]** Gets the id of this ManagementStation.
        The `OCID`__ of the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The id of this ManagementStation.
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """
        Sets the id of this ManagementStation.
        The `OCID`__ of the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param id: The id of this ManagementStation.
        :type: str
        """
        self._id = id

    @property
    def managed_instance_id(self):
        """
        Gets the managed_instance_id of this ManagementStation.
        The `OCID`__ of the instance that is acting as the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The managed_instance_id of this ManagementStation.
        :rtype: str
        """
        return self._managed_instance_id

    @managed_instance_id.setter
    def managed_instance_id(self, managed_instance_id):
        """
        Sets the managed_instance_id of this ManagementStation.
        The `OCID`__ of the instance that is acting as the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param managed_instance_id: The managed_instance_id of this ManagementStation.
        :type: str
        """
        self._managed_instance_id = managed_instance_id

    @property
    def compartment_id(self):
        """
        **[Required]** Gets the compartment_id of this ManagementStation.
        The `OCID`__ of the compartment that contains the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this ManagementStation.
        :rtype: str
        """
        return self._compartment_id

    @compartment_id.setter
    def compartment_id(self, compartment_id):
        """
        Sets the compartment_id of this ManagementStation.
        The `OCID`__ of the compartment that contains the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this ManagementStation.
        :type: str
        """
        self._compartment_id = compartment_id

    @property
    def scheduled_job_id(self):
        """
        Gets the scheduled_job_id of this ManagementStation.
        The `OCID`__ of the scheduled job for the mirror sync.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The scheduled_job_id of this ManagementStation.
        :rtype: str
        """
        return self._scheduled_job_id

    @scheduled_job_id.setter
    def scheduled_job_id(self, scheduled_job_id):
        """
        Sets the scheduled_job_id of this ManagementStation.
        The `OCID`__ of the scheduled job for the mirror sync.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param scheduled_job_id: The scheduled_job_id of this ManagementStation.
        :type: str
        """
        self._scheduled_job_id = scheduled_job_id

    @property
    def profile_id(self):
        """
        Gets the profile_id of this ManagementStation.
        The `OCID`__ of the registration profile used for the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The profile_id of this ManagementStation.
        :rtype: str
        """
        return self._profile_id

    @profile_id.setter
    def profile_id(self, profile_id):
        """
        Sets the profile_id of this ManagementStation.
        The `OCID`__ of the registration profile used for the management station.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param profile_id: The profile_id of this ManagementStation.
        :type: str
        """
        self._profile_id = profile_id

    @property
    def display_name(self):
        """
        **[Required]** Gets the display_name of this ManagementStation.
        A user-friendly name for the management station.


        :return: The display_name of this ManagementStation.
        :rtype: str
        """
        return self._display_name

    @display_name.setter
    def display_name(self, display_name):
        """
        Sets the display_name of this ManagementStation.
        A user-friendly name for the management station.


        :param display_name: The display_name of this ManagementStation.
        :type: str
        """
        self._display_name = display_name

    @property
    def description(self):
        """
        Gets the description of this ManagementStation.
        User-specified description for the management station.


        :return: The description of this ManagementStation.
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """
        Sets the description of this ManagementStation.
        User-specified description for the management station.


        :param description: The description of this ManagementStation.
        :type: str
        """
        self._description = description

    @property
    def hostname(self):
        """
        **[Required]** Gets the hostname of this ManagementStation.
        Hostname of the management station.


        :return: The hostname of this ManagementStation.
        :rtype: str
        """
        return self._hostname

    @hostname.setter
    def hostname(self, hostname):
        """
        Sets the hostname of this ManagementStation.
        Hostname of the management station.


        :param hostname: The hostname of this ManagementStation.
        :type: str
        """
        self._hostname = hostname

    @property
    def overall_state(self):
        """
        Gets the overall_state of this ManagementStation.
        Current state of the mirror sync for the management station.

        Allowed values for this property are: "NORMAL", "REGISTRATIONERROR", "SYNCING", "SYNCFAILED", "WARNING", "ERROR", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The overall_state of this ManagementStation.
        :rtype: str
        """
        return self._overall_state

    @overall_state.setter
    def overall_state(self, overall_state):
        """
        Sets the overall_state of this ManagementStation.
        Current state of the mirror sync for the management station.


        :param overall_state: The overall_state of this ManagementStation.
        :type: str
        """
        allowed_values = ["NORMAL", "REGISTRATIONERROR", "SYNCING", "SYNCFAILED", "WARNING", "ERROR", "UNAVAILABLE"]
        if not value_allowed_none_or_none_sentinel(overall_state, allowed_values):
            overall_state = 'UNKNOWN_ENUM_VALUE'
        self._overall_state = overall_state

    @property
    def overall_percentage(self):
        """
        Gets the overall_percentage of this ManagementStation.
        A decimal number representing the progress of the current mirror sync.


        :return: The overall_percentage of this ManagementStation.
        :rtype: int
        """
        return self._overall_percentage

    @overall_percentage.setter
    def overall_percentage(self, overall_percentage):
        """
        Sets the overall_percentage of this ManagementStation.
        A decimal number representing the progress of the current mirror sync.


        :param overall_percentage: The overall_percentage of this ManagementStation.
        :type: int
        """
        self._overall_percentage = overall_percentage

    @property
    def mirror_capacity(self):
        """
        Gets the mirror_capacity of this ManagementStation.
        A decimal number representing the amount of mirror capacity used by the sync.


        :return: The mirror_capacity of this ManagementStation.
        :rtype: int
        """
        return self._mirror_capacity

    @mirror_capacity.setter
    def mirror_capacity(self, mirror_capacity):
        """
        Sets the mirror_capacity of this ManagementStation.
        A decimal number representing the amount of mirror capacity used by the sync.


        :param mirror_capacity: The mirror_capacity of this ManagementStation.
        :type: int
        """
        self._mirror_capacity = mirror_capacity

    @property
    def total_mirrors(self):
        """
        Gets the total_mirrors of this ManagementStation.
        The number of software sources that the station is mirroring.


        :return: The total_mirrors of this ManagementStation.
        :rtype: int
        """
        return self._total_mirrors

    @total_mirrors.setter
    def total_mirrors(self, total_mirrors):
        """
        Sets the total_mirrors of this ManagementStation.
        The number of software sources that the station is mirroring.


        :param total_mirrors: The total_mirrors of this ManagementStation.
        :type: int
        """
        self._total_mirrors = total_mirrors

    @property
    def mirror_sync_status(self):
        """
        Gets the mirror_sync_status of this ManagementStation.

        :return: The mirror_sync_status of this ManagementStation.
        :rtype: oci.os_management_hub.models.MirrorSyncStatus
        """
        return self._mirror_sync_status

    @mirror_sync_status.setter
    def mirror_sync_status(self, mirror_sync_status):
        """
        Sets the mirror_sync_status of this ManagementStation.

        :param mirror_sync_status: The mirror_sync_status of this ManagementStation.
        :type: oci.os_management_hub.models.MirrorSyncStatus
        """
        self._mirror_sync_status = mirror_sync_status

    @property
    def proxy(self):
        """
        **[Required]** Gets the proxy of this ManagementStation.

        :return: The proxy of this ManagementStation.
        :rtype: oci.os_management_hub.models.ProxyConfiguration
        """
        return self._proxy

    @proxy.setter
    def proxy(self, proxy):
        """
        Sets the proxy of this ManagementStation.

        :param proxy: The proxy of this ManagementStation.
        :type: oci.os_management_hub.models.ProxyConfiguration
        """
        self._proxy = proxy

    @property
    def mirror(self):
        """
        **[Required]** Gets the mirror of this ManagementStation.

        :return: The mirror of this ManagementStation.
        :rtype: oci.os_management_hub.models.MirrorConfiguration
        """
        return self._mirror

    @mirror.setter
    def mirror(self, mirror):
        """
        Sets the mirror of this ManagementStation.

        :param mirror: The mirror of this ManagementStation.
        :type: oci.os_management_hub.models.MirrorConfiguration
        """
        self._mirror = mirror

    @property
    def health(self):
        """
        Gets the health of this ManagementStation.

        :return: The health of this ManagementStation.
        :rtype: oci.os_management_hub.models.StationHealth
        """
        return self._health

    @health.setter
    def health(self, health):
        """
        Sets the health of this ManagementStation.

        :param health: The health of this ManagementStation.
        :type: oci.os_management_hub.models.StationHealth
        """
        self._health = health

    @property
    def lifecycle_state(self):
        """
        Gets the lifecycle_state of this ManagementStation.
        The current state of the management station.

        Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "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 ManagementStation.
        :rtype: str
        """
        return self._lifecycle_state

    @lifecycle_state.setter
    def lifecycle_state(self, lifecycle_state):
        """
        Sets the lifecycle_state of this ManagementStation.
        The current state of the management station.


        :param lifecycle_state: The lifecycle_state of this ManagementStation.
        :type: str
        """
        allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
        if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
            lifecycle_state = 'UNKNOWN_ENUM_VALUE'
        self._lifecycle_state = lifecycle_state

    @property
    def is_auto_config_enabled(self):
        """
        Gets the is_auto_config_enabled of this ManagementStation.
        When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.


        :return: The is_auto_config_enabled of this ManagementStation.
        :rtype: bool
        """
        return self._is_auto_config_enabled

    @is_auto_config_enabled.setter
    def is_auto_config_enabled(self, is_auto_config_enabled):
        """
        Sets the is_auto_config_enabled of this ManagementStation.
        When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.


        :param is_auto_config_enabled: The is_auto_config_enabled of this ManagementStation.
        :type: bool
        """
        self._is_auto_config_enabled = is_auto_config_enabled

    @property
    def peer_management_stations(self):
        """
        **[Required]** Gets the peer_management_stations of this ManagementStation.
        A list of other management stations that are behind the same load balancer within a high availability configuration. Stations are identified as peers if they have the same hostname and compartment.


        :return: The peer_management_stations of this ManagementStation.
        :rtype: list[oci.os_management_hub.models.PeerManagementStation]
        """
        return self._peer_management_stations

    @peer_management_stations.setter
    def peer_management_stations(self, peer_management_stations):
        """
        Sets the peer_management_stations of this ManagementStation.
        A list of other management stations that are behind the same load balancer within a high availability configuration. Stations are identified as peers if they have the same hostname and compartment.


        :param peer_management_stations: The peer_management_stations of this ManagementStation.
        :type: list[oci.os_management_hub.models.PeerManagementStation]
        """
        self._peer_management_stations = peer_management_stations

    @property
    def location(self):
        """
        Gets the location of this ManagementStation.
        The location of the instance that is acting as the management station.

        Allowed values for this property are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The location of this ManagementStation.
        :rtype: str
        """
        return self._location

    @location.setter
    def location(self, location):
        """
        Sets the location of this ManagementStation.
        The location of the instance that is acting as the management station.


        :param location: The location of this ManagementStation.
        :type: str
        """
        allowed_values = ["ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"]
        if not value_allowed_none_or_none_sentinel(location, allowed_values):
            location = 'UNKNOWN_ENUM_VALUE'
        self._location = location

    @property
    def mirror_storage_available_size(self):
        """
        Gets the mirror_storage_available_size of this ManagementStation.
        Amount of available mirror storage in bytes.


        :return: The mirror_storage_available_size of this ManagementStation.
        :rtype: int
        """
        return self._mirror_storage_available_size

    @mirror_storage_available_size.setter
    def mirror_storage_available_size(self, mirror_storage_available_size):
        """
        Sets the mirror_storage_available_size of this ManagementStation.
        Amount of available mirror storage in bytes.


        :param mirror_storage_available_size: The mirror_storage_available_size of this ManagementStation.
        :type: int
        """
        self._mirror_storage_available_size = mirror_storage_available_size

    @property
    def mirror_storage_size(self):
        """
        Gets the mirror_storage_size of this ManagementStation.
        Total mirror storage size in bytes.


        :return: The mirror_storage_size of this ManagementStation.
        :rtype: int
        """
        return self._mirror_storage_size

    @mirror_storage_size.setter
    def mirror_storage_size(self, mirror_storage_size):
        """
        Sets the mirror_storage_size of this ManagementStation.
        Total mirror storage size in bytes.


        :param mirror_storage_size: The mirror_storage_size of this ManagementStation.
        :type: int
        """
        self._mirror_storage_size = mirror_storage_size

    @property
    def mirror_size(self):
        """
        Gets the mirror_size of this ManagementStation.
        The total size of all software source mirrors in bytes.


        :return: The mirror_size of this ManagementStation.
        :rtype: int
        """
        return self._mirror_size

    @mirror_size.setter
    def mirror_size(self, mirror_size):
        """
        Sets the mirror_size of this ManagementStation.
        The total size of all software source mirrors in bytes.


        :param mirror_size: The mirror_size of this ManagementStation.
        :type: int
        """
        self._mirror_size = mirror_size

    @property
    def mirror_unique_package_count(self):
        """
        Gets the mirror_unique_package_count of this ManagementStation.
        The total number of unique packages within the mirrored software sources on the station. Each package is counted only once, regardless of how many versions it has.


        :return: The mirror_unique_package_count of this ManagementStation.
        :rtype: int
        """
        return self._mirror_unique_package_count

    @mirror_unique_package_count.setter
    def mirror_unique_package_count(self, mirror_unique_package_count):
        """
        Sets the mirror_unique_package_count of this ManagementStation.
        The total number of unique packages within the mirrored software sources on the station. Each package is counted only once, regardless of how many versions it has.


        :param mirror_unique_package_count: The mirror_unique_package_count of this ManagementStation.
        :type: int
        """
        self._mirror_unique_package_count = mirror_unique_package_count

    @property
    def mirror_package_count(self):
        """
        Gets the mirror_package_count of this ManagementStation.
        The total number of all packages within the mirrored software sources.


        :return: The mirror_package_count of this ManagementStation.
        :rtype: int
        """
        return self._mirror_package_count

    @mirror_package_count.setter
    def mirror_package_count(self, mirror_package_count):
        """
        Sets the mirror_package_count of this ManagementStation.
        The total number of all packages within the mirrored software sources.


        :param mirror_package_count: The mirror_package_count of this ManagementStation.
        :type: int
        """
        self._mirror_package_count = mirror_package_count

    @property
    def freeform_tags(self):
        """
        Gets the freeform_tags of this ManagementStation.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{\"Department\": \"Finance\"}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this ManagementStation.
        :rtype: dict(str, str)
        """
        return self._freeform_tags

    @freeform_tags.setter
    def freeform_tags(self, freeform_tags):
        """
        Sets the freeform_tags of this ManagementStation.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.
        Example: `{\"Department\": \"Finance\"}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this ManagementStation.
        :type: dict(str, str)
        """
        self._freeform_tags = freeform_tags

    @property
    def defined_tags(self):
        """
        Gets the defined_tags of this ManagementStation.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this ManagementStation.
        :rtype: dict(str, dict(str, object))
        """
        return self._defined_tags

    @defined_tags.setter
    def defined_tags(self, defined_tags):
        """
        Sets the defined_tags of this ManagementStation.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.
        Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this ManagementStation.
        :type: dict(str, dict(str, object))
        """
        self._defined_tags = defined_tags

    @property
    def system_tags(self):
        """
        Gets the system_tags of this ManagementStation.
        System tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`


        :return: The system_tags of this ManagementStation.
        :rtype: dict(str, dict(str, object))
        """
        return self._system_tags

    @system_tags.setter
    def system_tags(self, system_tags):
        """
        Sets the system_tags of this ManagementStation.
        System tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`


        :param system_tags: The system_tags of this ManagementStation.
        :type: dict(str, dict(str, object))
        """
        self._system_tags = system_tags

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other