| Server IP : 162.241.203.86 / Your IP : 216.73.216.17 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : theart99 ( 5843) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/os_management_hub/models/ |
Upload File : |
# coding: utf-8
# Copyright (c) 2016, 2024, 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 MirrorSyncStatus(object):
"""
Status summary of the mirror sync.
"""
def __init__(self, **kwargs):
"""
Initializes a new MirrorSyncStatus object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param unsynced:
The value to assign to the unsynced property of this MirrorSyncStatus.
:type unsynced: int
:param queued:
The value to assign to the queued property of this MirrorSyncStatus.
:type queued: int
:param syncing:
The value to assign to the syncing property of this MirrorSyncStatus.
:type syncing: int
:param synced:
The value to assign to the synced property of this MirrorSyncStatus.
:type synced: int
:param failed:
The value to assign to the failed property of this MirrorSyncStatus.
:type failed: int
"""
self.swagger_types = {
'unsynced': 'int',
'queued': 'int',
'syncing': 'int',
'synced': 'int',
'failed': 'int'
}
self.attribute_map = {
'unsynced': 'unsynced',
'queued': 'queued',
'syncing': 'syncing',
'synced': 'synced',
'failed': 'failed'
}
self._unsynced = None
self._queued = None
self._syncing = None
self._synced = None
self._failed = None
@property
def unsynced(self):
"""
**[Required]** Gets the unsynced of this MirrorSyncStatus.
Total number of software sources that have not yet been synced.
:return: The unsynced of this MirrorSyncStatus.
:rtype: int
"""
return self._unsynced
@unsynced.setter
def unsynced(self, unsynced):
"""
Sets the unsynced of this MirrorSyncStatus.
Total number of software sources that have not yet been synced.
:param unsynced: The unsynced of this MirrorSyncStatus.
:type: int
"""
self._unsynced = unsynced
@property
def queued(self):
"""
**[Required]** Gets the queued of this MirrorSyncStatus.
Total number of software sources that are queued for sync.
:return: The queued of this MirrorSyncStatus.
:rtype: int
"""
return self._queued
@queued.setter
def queued(self, queued):
"""
Sets the queued of this MirrorSyncStatus.
Total number of software sources that are queued for sync.
:param queued: The queued of this MirrorSyncStatus.
:type: int
"""
self._queued = queued
@property
def syncing(self):
"""
**[Required]** Gets the syncing of this MirrorSyncStatus.
Total number of software sources currently syncing.
:return: The syncing of this MirrorSyncStatus.
:rtype: int
"""
return self._syncing
@syncing.setter
def syncing(self, syncing):
"""
Sets the syncing of this MirrorSyncStatus.
Total number of software sources currently syncing.
:param syncing: The syncing of this MirrorSyncStatus.
:type: int
"""
self._syncing = syncing
@property
def synced(self):
"""
**[Required]** Gets the synced of this MirrorSyncStatus.
Total number of software sources that successfully synced.
:return: The synced of this MirrorSyncStatus.
:rtype: int
"""
return self._synced
@synced.setter
def synced(self, synced):
"""
Sets the synced of this MirrorSyncStatus.
Total number of software sources that successfully synced.
:param synced: The synced of this MirrorSyncStatus.
:type: int
"""
self._synced = synced
@property
def failed(self):
"""
**[Required]** Gets the failed of this MirrorSyncStatus.
Total number of software sources that failed to sync.
:return: The failed of this MirrorSyncStatus.
:rtype: int
"""
return self._failed
@failed.setter
def failed(self, failed):
"""
Sets the failed of this MirrorSyncStatus.
Total number of software sources that failed to sync.
:param failed: The failed of this MirrorSyncStatus.
:type: int
"""
self._failed = failed
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