<reponame>mayank88mahajan/azure-cli-extensions
# 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 ManagementPoliciesRulesSetParameter(Model):
    """The Storage Account ManagementPolicies Rules, in JSON format. See more
    details in:
    https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

    :param policy: The Storage Account ManagementPolicies Rules, in JSON
     format. See more details in:
     https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    :type policy: object
    """

    _attribute_map = {
        'policy': {'key': 'properties.policy', 'type': 'object'},
    }

    def __init__(self, *, policy=None, **kwargs) -> None:
        super(ManagementPoliciesRulesSetParameter, self).__init__(**kwargs)
        self.policy = policy

# 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 ManagementPoliciesRulesSetParameter(Model):
    """The Storage Account ManagementPolicies Rules, in JSON format. See more
    details in:
    https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.

    :param policy: The Storage Account ManagementPolicies Rules, in JSON
     format. See more details in:
     https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
    :type policy: object
    """

    _attribute_map = {
        'policy': {'key': 'properties.policy', 'type': 'object'},
    }

    def __init__(self, *, policy=None, **kwargs) -> None:
        super(ManagementPoliciesRulesSetParameter, self).__init__(**kwargs)
        self.policy = policy
# 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. # -------------------------------------------------------------------------- The Storage Account ManagementPolicies Rules, in JSON format. See more     details in:     https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.      :param policy: The Storage Account ManagementPolicies Rules, in JSON      format. See more details in:      https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.     :type policy: object