forked from CircleCI-Public/sample-python-cfd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinline_object.py
More file actions
60 lines (41 loc) · 1.56 KB
/
inline_object.py
File metadata and controls
60 lines (41 loc) · 1.56 KB
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
58
59
60
# coding: utf-8
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from openapi_server.models.base_model_ import Model
from openapi_server import util
class InlineObject(Model):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the class manually.
"""
def __init__(self, file_name=None): # noqa: E501
"""InlineObject - a model defined in OpenAPI
:param file_name: The file_name of this InlineObject. # noqa: E501
:type file_name: file
"""
self.openapi_types = {"file_name": file} # pylint: disable=undefined-variable
self.attribute_map = {"file_name": "fileName"}
self._file_name = file_name
@classmethod
def from_dict(cls, dikt) -> "InlineObject":
"""Returns the dict as a model
:param dikt: A dict.
:type: dict
:return: The inline_object of this InlineObject. # noqa: E501
:rtype: InlineObject
"""
return util.deserialize_model(dikt, cls)
@property
def file_name(self):
"""Gets the file_name of this InlineObject.
:return: The file_name of this InlineObject.
:rtype: file
"""
return self._file_name
@file_name.setter
def file_name(self, file_name):
"""Sets the file_name of this InlineObject.
:param file_name: The file_name of this InlineObject.
:type file_name: file
"""
self._file_name = file_name