Source code for azure.keyvault.models.contact_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 Contact(Model):
"""The contact information for the vault certificates.
:param email_address: Email addresss.
:type email_address: str
:param name: Name.
:type name: str
:param phone: Phone number.
:type phone: str
"""
_attribute_map = {
'email_address': {'key': 'email', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'phone': {'key': 'phone', 'type': 'str'},
}
def __init__(self, *, email_address: str=None, name: str=None, phone: str=None, **kwargs) -> None:
super(Contact, self).__init__(**kwargs)
self.email_address = email_address
self.name = name
self.phone = phone