Source code for azure.mgmt.resource.resources.v2018_02_01.models.alias_path_type_py3

# 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


[docs]class AliasPathType(Model): """The type of the paths for alias. . :param path: The path of an alias. :type path: str :param api_versions: The API versions. :type api_versions: list[str] """ _attribute_map = { 'path': {'key': 'path', 'type': 'str'}, 'api_versions': {'key': 'apiVersions', 'type': '[str]'}, } def __init__(self, *, path: str=None, api_versions=None, **kwargs) -> None: super(AliasPathType, self).__init__(**kwargs) self.path = path self.api_versions = api_versions