1# coding=utf-8
2# --------------------------------------------------------------------------
3# Copyright (c) Microsoft Corporation. All rights reserved.
4# Licensed under the MIT License. See License.txt in the project root for
5# license information.
6#
7# Code generated by Microsoft (R) AutoRest Code Generator.
8# Changes may cause incorrect behavior and will be lost if the code is
9# regenerated.
10# --------------------------------------------------------------------------
11
12from msrest.serialization import Model
13
14
15class SubjectAlternativeNames(Model):
16    """The subject alternate names of a X509 object.
17
18    :param emails: Email addresses.
19    :type emails: list[str]
20    :param dns_names: Domain names.
21    :type dns_names: list[str]
22    :param upns: User principal names.
23    :type upns: list[str]
24    """
25
26    _attribute_map = {
27        'emails': {'key': 'emails', 'type': '[str]'},
28        'dns_names': {'key': 'dns_names', 'type': '[str]'},
29        'upns': {'key': 'upns', 'type': '[str]'},
30    }
31
32    def __init__(self, *, emails=None, dns_names=None, upns=None, **kwargs) -> None:
33        super(SubjectAlternativeNames, self).__init__(**kwargs)
34        self.emails = emails
35        self.dns_names = dns_names
36        self.upns = upns
37