File: events_availability_result_info_py3.py

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (57 lines) | stat: -rw-r--r-- 2,272 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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 EventsAvailabilityResultInfo(Model):
    """The availability result info.

    :param name: The name of the availability result
    :type name: str
    :param success: Indicates if the availability result was successful
    :type success: str
    :param duration: The duration of the availability result
    :type duration: long
    :param performance_bucket: The performance bucket of the availability
     result
    :type performance_bucket: str
    :param message: The message of the availability result
    :type message: str
    :param location: The location of the availability result
    :type location: str
    :param id: The ID of the availability result
    :type id: str
    :param size: The size of the availability result
    :type size: str
    """

    _attribute_map = {
        'name': {'key': 'name', 'type': 'str'},
        'success': {'key': 'success', 'type': 'str'},
        'duration': {'key': 'duration', 'type': 'long'},
        'performance_bucket': {'key': 'performanceBucket', 'type': 'str'},
        'message': {'key': 'message', 'type': 'str'},
        'location': {'key': 'location', 'type': 'str'},
        'id': {'key': 'id', 'type': 'str'},
        'size': {'key': 'size', 'type': 'str'},
    }

    def __init__(self, *, name: str=None, success: str=None, duration: int=None, performance_bucket: str=None, message: str=None, location: str=None, id: str=None, size: str=None, **kwargs) -> None:
        super(EventsAvailabilityResultInfo, self).__init__(**kwargs)
        self.name = name
        self.success = success
        self.duration = duration
        self.performance_bucket = performance_bucket
        self.message = message
        self.location = location
        self.id = id
        self.size = size