Source code for azure.mgmt.dns.v2018_03_01_preview.models.caa_record_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 CaaRecord(Model): """A CAA record. :param flags: The flags for this CAA record as an integer between 0 and 255. :type flags: int :param tag: The tag for this CAA record. :type tag: str :param value: The value for this CAA record. :type value: str """ _attribute_map = { 'flags': {'key': 'flags', 'type': 'int'}, 'tag': {'key': 'tag', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, } def __init__(self, *, flags: int=None, tag: str=None, value: str=None, **kwargs) -> None: super(CaaRecord, self).__init__(**kwargs) self.flags = flags self.tag = tag self.value = value