# Source code for azure.mgmt.cdn.models.custom_domain_parameters

    # 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 CustomDomainParameters(Model):
        """CustomDomain properties required for custom domain creation or update.

        :param host_name: The host name of the custom domain. Must be a domain
         name.
        :type host_name: str
        """

        _validation = {
            'host_name': {'required': True},
        }

        _attribute_map = {
            'host_name': {'key': 'properties.hostName', 'type': 'str'},
        }

        def __init__(self, host_name):
            self.host_name = host_name