Source code for azure.mgmt.web.models.domain_availablility_check_result

# 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 DomainAvailablilityCheckResult(Model): """Domain availablility check result. :param name: Name of the domain :type name: str :param available: If true then domain can be purchased using CreateDomain Api :type available: bool :param domain_type: Domain type. Possible values include: 'Regular', 'SoftDeleted' :type domain_type: str or :class:`DomainType <azure.mgmt.web.models.DomainType>` """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'available': {'key': 'available', 'type': 'bool'}, 'domain_type': {'key': 'domainType', 'type': 'DomainType'}, } def __init__(self, name=None, available=None, domain_type=None): self.name = name self.available = available self.domain_type = domain_type