1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
class AzureFileshareProtectedItemExtendedInfo(Model):
"""Additional information about Azure File Share backup item.
:param oldest_recovery_point: The oldest backup copy available for this
item in the service.
:type oldest_recovery_point: datetime
:param recovery_point_count: Number of available backup copies associated
with this backup item.
:type recovery_point_count: int
:param policy_state: Indicates consistency of policy object and policy
applied to this backup item.
:type policy_state: str
"""
_attribute_map = {
'oldest_recovery_point': {'key': 'oldestRecoveryPoint', 'type': 'iso-8601'},
'recovery_point_count': {'key': 'recoveryPointCount', 'type': 'int'},
'policy_state': {'key': 'policyState', 'type': 'str'},
}
def __init__(self, **kwargs):
super(AzureFileshareProtectedItemExtendedInfo, self).__init__(**kwargs)
self.oldest_recovery_point = kwargs.get('oldest_recovery_point', None)
self.recovery_point_count = kwargs.get('recovery_point_count', None)
self.policy_state = kwargs.get('policy_state', None)
|