docusign_esign.models.external_claim

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 ExternalClaim(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        'acquired_time': 'str',
 35        'claim_name': 'str',
 36        'provider': 'str',
 37        'value': 'str'
 38    }
 39
 40    attribute_map = {
 41        'acquired_time': 'acquiredTime',
 42        'claim_name': 'claimName',
 43        'provider': 'provider',
 44        'value': 'value'
 45    }
 46
 47    def __init__(self, acquired_time=None, claim_name=None, provider=None, value=None):  # noqa: E501
 48        """ExternalClaim - a model defined in Swagger"""  # noqa: E501
 49
 50        self._acquired_time = None
 51        self._claim_name = None
 52        self._provider = None
 53        self._value = None
 54        self.discriminator = None
 55
 56        if acquired_time is not None:
 57            self.acquired_time = acquired_time
 58        if claim_name is not None:
 59            self.claim_name = claim_name
 60        if provider is not None:
 61            self.provider = provider
 62        if value is not None:
 63            self.value = value
 64
 65    @property
 66    def acquired_time(self):
 67        """Gets the acquired_time of this ExternalClaim.  # noqa: E501
 68
 69          # noqa: E501
 70
 71        :return: The acquired_time of this ExternalClaim.  # noqa: E501
 72        :rtype: str
 73        """
 74        return self._acquired_time
 75
 76    @acquired_time.setter
 77    def acquired_time(self, acquired_time):
 78        """Sets the acquired_time of this ExternalClaim.
 79
 80          # noqa: E501
 81
 82        :param acquired_time: The acquired_time of this ExternalClaim.  # noqa: E501
 83        :type: str
 84        """
 85
 86        self._acquired_time = acquired_time
 87
 88    @property
 89    def claim_name(self):
 90        """Gets the claim_name of this ExternalClaim.  # noqa: E501
 91
 92          # noqa: E501
 93
 94        :return: The claim_name of this ExternalClaim.  # noqa: E501
 95        :rtype: str
 96        """
 97        return self._claim_name
 98
 99    @claim_name.setter
100    def claim_name(self, claim_name):
101        """Sets the claim_name of this ExternalClaim.
102
103          # noqa: E501
104
105        :param claim_name: The claim_name of this ExternalClaim.  # noqa: E501
106        :type: str
107        """
108
109        self._claim_name = claim_name
110
111    @property
112    def provider(self):
113        """Gets the provider of this ExternalClaim.  # noqa: E501
114
115          # noqa: E501
116
117        :return: The provider of this ExternalClaim.  # noqa: E501
118        :rtype: str
119        """
120        return self._provider
121
122    @provider.setter
123    def provider(self, provider):
124        """Sets the provider of this ExternalClaim.
125
126          # noqa: E501
127
128        :param provider: The provider of this ExternalClaim.  # noqa: E501
129        :type: str
130        """
131
132        self._provider = provider
133
134    @property
135    def value(self):
136        """Gets the value of this ExternalClaim.  # noqa: E501
137
138        Specifies the value of the tab.   # noqa: E501
139
140        :return: The value of this ExternalClaim.  # noqa: E501
141        :rtype: str
142        """
143        return self._value
144
145    @value.setter
146    def value(self, value):
147        """Sets the value of this ExternalClaim.
148
149        Specifies the value of the tab.   # noqa: E501
150
151        :param value: The value of this ExternalClaim.  # noqa: E501
152        :type: str
153        """
154
155        self._value = value
156
157    def to_dict(self):
158        """Returns the model properties as a dict"""
159        result = {}
160
161        for attr, _ in six.iteritems(self.swagger_types):
162            value = getattr(self, attr)
163            if isinstance(value, list):
164                result[attr] = list(map(
165                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
166                    value
167                ))
168            elif hasattr(value, "to_dict"):
169                result[attr] = value.to_dict()
170            elif isinstance(value, dict):
171                result[attr] = dict(map(
172                    lambda item: (item[0], item[1].to_dict())
173                    if hasattr(item[1], "to_dict") else item,
174                    value.items()
175                ))
176            else:
177                result[attr] = value
178        if issubclass(ExternalClaim, dict):
179            for key, value in self.items():
180                result[key] = value
181
182        return result
183
184    def to_str(self):
185        """Returns the string representation of the model"""
186        return pprint.pformat(self.to_dict())
187
188    def __repr__(self):
189        """For `print` and `pprint`"""
190        return self.to_str()
191
192    def __eq__(self, other):
193        """Returns true if both objects are equal"""
194        if not isinstance(other, ExternalClaim):
195            return False
196
197        return self.__dict__ == other.__dict__
198
199    def __ne__(self, other):
200        """Returns true if both objects are not equal"""
201        return not self == other
class ExternalClaim:
 21class ExternalClaim(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        'acquired_time': 'str',
 36        'claim_name': 'str',
 37        'provider': 'str',
 38        'value': 'str'
 39    }
 40
 41    attribute_map = {
 42        'acquired_time': 'acquiredTime',
 43        'claim_name': 'claimName',
 44        'provider': 'provider',
 45        'value': 'value'
 46    }
 47
 48    def __init__(self, acquired_time=None, claim_name=None, provider=None, value=None):  # noqa: E501
 49        """ExternalClaim - a model defined in Swagger"""  # noqa: E501
 50
 51        self._acquired_time = None
 52        self._claim_name = None
 53        self._provider = None
 54        self._value = None
 55        self.discriminator = None
 56
 57        if acquired_time is not None:
 58            self.acquired_time = acquired_time
 59        if claim_name is not None:
 60            self.claim_name = claim_name
 61        if provider is not None:
 62            self.provider = provider
 63        if value is not None:
 64            self.value = value
 65
 66    @property
 67    def acquired_time(self):
 68        """Gets the acquired_time of this ExternalClaim.  # noqa: E501
 69
 70          # noqa: E501
 71
 72        :return: The acquired_time of this ExternalClaim.  # noqa: E501
 73        :rtype: str
 74        """
 75        return self._acquired_time
 76
 77    @acquired_time.setter
 78    def acquired_time(self, acquired_time):
 79        """Sets the acquired_time of this ExternalClaim.
 80
 81          # noqa: E501
 82
 83        :param acquired_time: The acquired_time of this ExternalClaim.  # noqa: E501
 84        :type: str
 85        """
 86
 87        self._acquired_time = acquired_time
 88
 89    @property
 90    def claim_name(self):
 91        """Gets the claim_name of this ExternalClaim.  # noqa: E501
 92
 93          # noqa: E501
 94
 95        :return: The claim_name of this ExternalClaim.  # noqa: E501
 96        :rtype: str
 97        """
 98        return self._claim_name
 99
100    @claim_name.setter
101    def claim_name(self, claim_name):
102        """Sets the claim_name of this ExternalClaim.
103
104          # noqa: E501
105
106        :param claim_name: The claim_name of this ExternalClaim.  # noqa: E501
107        :type: str
108        """
109
110        self._claim_name = claim_name
111
112    @property
113    def provider(self):
114        """Gets the provider of this ExternalClaim.  # noqa: E501
115
116          # noqa: E501
117
118        :return: The provider of this ExternalClaim.  # noqa: E501
119        :rtype: str
120        """
121        return self._provider
122
123    @provider.setter
124    def provider(self, provider):
125        """Sets the provider of this ExternalClaim.
126
127          # noqa: E501
128
129        :param provider: The provider of this ExternalClaim.  # noqa: E501
130        :type: str
131        """
132
133        self._provider = provider
134
135    @property
136    def value(self):
137        """Gets the value of this ExternalClaim.  # noqa: E501
138
139        Specifies the value of the tab.   # noqa: E501
140
141        :return: The value of this ExternalClaim.  # noqa: E501
142        :rtype: str
143        """
144        return self._value
145
146    @value.setter
147    def value(self, value):
148        """Sets the value of this ExternalClaim.
149
150        Specifies the value of the tab.   # noqa: E501
151
152        :param value: The value of this ExternalClaim.  # noqa: E501
153        :type: str
154        """
155
156        self._value = value
157
158    def to_dict(self):
159        """Returns the model properties as a dict"""
160        result = {}
161
162        for attr, _ in six.iteritems(self.swagger_types):
163            value = getattr(self, attr)
164            if isinstance(value, list):
165                result[attr] = list(map(
166                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
167                    value
168                ))
169            elif hasattr(value, "to_dict"):
170                result[attr] = value.to_dict()
171            elif isinstance(value, dict):
172                result[attr] = dict(map(
173                    lambda item: (item[0], item[1].to_dict())
174                    if hasattr(item[1], "to_dict") else item,
175                    value.items()
176                ))
177            else:
178                result[attr] = value
179        if issubclass(ExternalClaim, dict):
180            for key, value in self.items():
181                result[key] = value
182
183        return result
184
185    def to_str(self):
186        """Returns the string representation of the model"""
187        return pprint.pformat(self.to_dict())
188
189    def __repr__(self):
190        """For `print` and `pprint`"""
191        return self.to_str()
192
193    def __eq__(self, other):
194        """Returns true if both objects are equal"""
195        if not isinstance(other, ExternalClaim):
196            return False
197
198        return self.__dict__ == other.__dict__
199
200    def __ne__(self, other):
201        """Returns true if both objects are not equal"""
202        return not self == other

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

Do not edit the class manually.

ExternalClaim(acquired_time=None, claim_name=None, provider=None, value=None)
48    def __init__(self, acquired_time=None, claim_name=None, provider=None, value=None):  # noqa: E501
49        """ExternalClaim - a model defined in Swagger"""  # noqa: E501
50
51        self._acquired_time = None
52        self._claim_name = None
53        self._provider = None
54        self._value = None
55        self.discriminator = None
56
57        if acquired_time is not None:
58            self.acquired_time = acquired_time
59        if claim_name is not None:
60            self.claim_name = claim_name
61        if provider is not None:
62            self.provider = provider
63        if value is not None:
64            self.value = value

ExternalClaim - a model defined in Swagger

swagger_types = {'acquired_time': 'str', 'claim_name': 'str', 'provider': 'str', 'value': 'str'}
attribute_map = {'acquired_time': 'acquiredTime', 'claim_name': 'claimName', 'provider': 'provider', 'value': 'value'}
acquired_time

Gets the acquired_time of this ExternalClaim. # noqa: E501

# noqa: E501

Returns

The acquired_time of this ExternalClaim. # noqa: E501

claim_name

Gets the claim_name of this ExternalClaim. # noqa: E501

# noqa: E501

Returns

The claim_name of this ExternalClaim. # noqa: E501

provider

Gets the provider of this ExternalClaim. # noqa: E501

# noqa: E501

Returns

The provider of this ExternalClaim. # noqa: E501

value

Gets the value of this ExternalClaim. # noqa: E501

Specifies the value of the tab. # noqa: E501

Returns

The value of this ExternalClaim. # noqa: E501

def to_dict(self)
158    def to_dict(self):
159        """Returns the model properties as a dict"""
160        result = {}
161
162        for attr, _ in six.iteritems(self.swagger_types):
163            value = getattr(self, attr)
164            if isinstance(value, list):
165                result[attr] = list(map(
166                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
167                    value
168                ))
169            elif hasattr(value, "to_dict"):
170                result[attr] = value.to_dict()
171            elif isinstance(value, dict):
172                result[attr] = dict(map(
173                    lambda item: (item[0], item[1].to_dict())
174                    if hasattr(item[1], "to_dict") else item,
175                    value.items()
176                ))
177            else:
178                result[attr] = value
179        if issubclass(ExternalClaim, dict):
180            for key, value in self.items():
181                result[key] = value
182
183        return result

Returns the model properties as a dict

def to_str(self)
185    def to_str(self):
186        """Returns the string representation of the model"""
187        return pprint.pformat(self.to_dict())

Returns the string representation of the model