docusign_esign.models.display_appliance_info

DocuSign REST API

The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501

OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git

 1# coding: utf-8
 2
 3"""
 4    DocuSign REST API
 5
 6    The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.  # noqa: E501
 7
 8    OpenAPI spec version: v2.1
 9    Contact: devcenter@docusign.com
10    Generated by: https://github.com/swagger-api/swagger-codegen.git
11"""
12
13
14import pprint
15import re  # noqa: F401
16
17import six
18
19
20class DisplayApplianceInfo(object):
21    """NOTE: This class is auto generated by the swagger code generator program.
22
23    Do not edit the class manually.
24    """
25
26    """
27    Attributes:
28      swagger_types (dict): The key is attribute name
29                            and the value is attribute type.
30      attribute_map (dict): The key is attribute name
31                            and the value is json key in definition.
32    """
33    swagger_types = {
34    }
35
36    attribute_map = {
37    }
38
39    def __init__(self):  # noqa: E501
40        """DisplayApplianceInfo - a model defined in Swagger"""  # noqa: E501
41        self.discriminator = None
42
43    def to_dict(self):
44        """Returns the model properties as a dict"""
45        result = {}
46
47        for attr, _ in six.iteritems(self.swagger_types):
48            value = getattr(self, attr)
49            if isinstance(value, list):
50                result[attr] = list(map(
51                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
52                    value
53                ))
54            elif hasattr(value, "to_dict"):
55                result[attr] = value.to_dict()
56            elif isinstance(value, dict):
57                result[attr] = dict(map(
58                    lambda item: (item[0], item[1].to_dict())
59                    if hasattr(item[1], "to_dict") else item,
60                    value.items()
61                ))
62            else:
63                result[attr] = value
64        if issubclass(DisplayApplianceInfo, dict):
65            for key, value in self.items():
66                result[key] = value
67
68        return result
69
70    def to_str(self):
71        """Returns the string representation of the model"""
72        return pprint.pformat(self.to_dict())
73
74    def __repr__(self):
75        """For `print` and `pprint`"""
76        return self.to_str()
77
78    def __eq__(self, other):
79        """Returns true if both objects are equal"""
80        if not isinstance(other, DisplayApplianceInfo):
81            return False
82
83        return self.__dict__ == other.__dict__
84
85    def __ne__(self, other):
86        """Returns true if both objects are not equal"""
87        return not self == other
class DisplayApplianceInfo:
21class DisplayApplianceInfo(object):
22    """NOTE: This class is auto generated by the swagger code generator program.
23
24    Do not edit the class manually.
25    """
26
27    """
28    Attributes:
29      swagger_types (dict): The key is attribute name
30                            and the value is attribute type.
31      attribute_map (dict): The key is attribute name
32                            and the value is json key in definition.
33    """
34    swagger_types = {
35    }
36
37    attribute_map = {
38    }
39
40    def __init__(self):  # noqa: E501
41        """DisplayApplianceInfo - a model defined in Swagger"""  # noqa: E501
42        self.discriminator = None
43
44    def to_dict(self):
45        """Returns the model properties as a dict"""
46        result = {}
47
48        for attr, _ in six.iteritems(self.swagger_types):
49            value = getattr(self, attr)
50            if isinstance(value, list):
51                result[attr] = list(map(
52                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
53                    value
54                ))
55            elif hasattr(value, "to_dict"):
56                result[attr] = value.to_dict()
57            elif isinstance(value, dict):
58                result[attr] = dict(map(
59                    lambda item: (item[0], item[1].to_dict())
60                    if hasattr(item[1], "to_dict") else item,
61                    value.items()
62                ))
63            else:
64                result[attr] = value
65        if issubclass(DisplayApplianceInfo, dict):
66            for key, value in self.items():
67                result[key] = value
68
69        return result
70
71    def to_str(self):
72        """Returns the string representation of the model"""
73        return pprint.pformat(self.to_dict())
74
75    def __repr__(self):
76        """For `print` and `pprint`"""
77        return self.to_str()
78
79    def __eq__(self, other):
80        """Returns true if both objects are equal"""
81        if not isinstance(other, DisplayApplianceInfo):
82            return False
83
84        return self.__dict__ == other.__dict__
85
86    def __ne__(self, other):
87        """Returns true if both objects are not equal"""
88        return not self == other

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

DisplayApplianceInfo()
40    def __init__(self):  # noqa: E501
41        """DisplayApplianceInfo - a model defined in Swagger"""  # noqa: E501
42        self.discriminator = None

DisplayApplianceInfo - a model defined in Swagger

swagger_types = {}
attribute_map = {}
def to_dict(self)
44    def to_dict(self):
45        """Returns the model properties as a dict"""
46        result = {}
47
48        for attr, _ in six.iteritems(self.swagger_types):
49            value = getattr(self, attr)
50            if isinstance(value, list):
51                result[attr] = list(map(
52                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
53                    value
54                ))
55            elif hasattr(value, "to_dict"):
56                result[attr] = value.to_dict()
57            elif isinstance(value, dict):
58                result[attr] = dict(map(
59                    lambda item: (item[0], item[1].to_dict())
60                    if hasattr(item[1], "to_dict") else item,
61                    value.items()
62                ))
63            else:
64                result[attr] = value
65        if issubclass(DisplayApplianceInfo, dict):
66            for key, value in self.items():
67                result[key] = value
68
69        return result

Returns the model properties as a dict

def to_str(self)
71    def to_str(self):
72        """Returns the string representation of the model"""
73        return pprint.pformat(self.to_dict())

Returns the string representation of the model