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
|
# 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 EventResponseMessage(Model):
"""The event response message received from the service URI.
:param content: The content of the event response message.
:type content: str
:param headers: The headers of the event response message.
:type headers: dict[str, str]
:param reason_phrase: The reason phrase of the event response message.
:type reason_phrase: str
:param status_code: The status code of the event response message.
:type status_code: str
:param version: The HTTP message version.
:type version: str
"""
_attribute_map = {
'content': {'key': 'content', 'type': 'str'},
'headers': {'key': 'headers', 'type': '{str}'},
'reason_phrase': {'key': 'reasonPhrase', 'type': 'str'},
'status_code': {'key': 'statusCode', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(self, **kwargs):
super(EventResponseMessage, self).__init__(**kwargs)
self.content = kwargs.get('content', None)
self.headers = kwargs.get('headers', None)
self.reason_phrase = kwargs.get('reason_phrase', None)
self.status_code = kwargs.get('status_code', None)
self.version = kwargs.get('version', None)
|