docusign_esign.models.power_form_senders_response

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
 19from docusign_esign.client.configuration import Configuration
 20
 21
 22class PowerFormSendersResponse(object):
 23    """NOTE: This class is auto generated by the swagger code generator program.
 24
 25    Do not edit the class manually.
 26    """
 27
 28    """
 29    Attributes:
 30      swagger_types (dict): The key is attribute name
 31                            and the value is attribute type.
 32      attribute_map (dict): The key is attribute name
 33                            and the value is json key in definition.
 34    """
 35    swagger_types = {
 36        'end_position': 'int',
 37        'next_uri': 'str',
 38        'power_form_senders': 'list[UserInfo]',
 39        'previous_uri': 'str',
 40        'result_set_size': 'int',
 41        'start_position': 'int',
 42        'total_set_size': 'int'
 43    }
 44
 45    attribute_map = {
 46        'end_position': 'endPosition',
 47        'next_uri': 'nextUri',
 48        'power_form_senders': 'powerFormSenders',
 49        'previous_uri': 'previousUri',
 50        'result_set_size': 'resultSetSize',
 51        'start_position': 'startPosition',
 52        'total_set_size': 'totalSetSize'
 53    }
 54
 55    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 56        """PowerFormSendersResponse - a model defined in Swagger"""  # noqa: E501
 57        if _configuration is None:
 58            _configuration = Configuration()
 59        self._configuration = _configuration
 60
 61        self._end_position = None
 62        self._next_uri = None
 63        self._power_form_senders = None
 64        self._previous_uri = None
 65        self._result_set_size = None
 66        self._start_position = None
 67        self._total_set_size = None
 68        self.discriminator = None
 69
 70        setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None))
 71        setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None))
 72        setattr(self, "_{}".format('power_form_senders'), kwargs.get('power_form_senders', None))
 73        setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None))
 74        setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None))
 75        setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None))
 76        setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None))
 77
 78    @property
 79    def end_position(self):
 80        """Gets the end_position of this PowerFormSendersResponse.  # noqa: E501
 81
 82        The last position in the result set.   # noqa: E501
 83
 84        :return: The end_position of this PowerFormSendersResponse.  # noqa: E501
 85        :rtype: int
 86        """
 87        return self._end_position
 88
 89    @end_position.setter
 90    def end_position(self, end_position):
 91        """Sets the end_position of this PowerFormSendersResponse.
 92
 93        The last position in the result set.   # noqa: E501
 94
 95        :param end_position: The end_position of this PowerFormSendersResponse.  # noqa: E501
 96        :type: int
 97        """
 98
 99        self._end_position = end_position
100
101    @property
102    def next_uri(self):
103        """Gets the next_uri of this PowerFormSendersResponse.  # noqa: E501
104
105        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
106
107        :return: The next_uri of this PowerFormSendersResponse.  # noqa: E501
108        :rtype: str
109        """
110        return self._next_uri
111
112    @next_uri.setter
113    def next_uri(self, next_uri):
114        """Sets the next_uri of this PowerFormSendersResponse.
115
116        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
117
118        :param next_uri: The next_uri of this PowerFormSendersResponse.  # noqa: E501
119        :type: str
120        """
121
122        self._next_uri = next_uri
123
124    @property
125    def power_form_senders(self):
126        """Gets the power_form_senders of this PowerFormSendersResponse.  # noqa: E501
127
128          # noqa: E501
129
130        :return: The power_form_senders of this PowerFormSendersResponse.  # noqa: E501
131        :rtype: list[UserInfo]
132        """
133        return self._power_form_senders
134
135    @power_form_senders.setter
136    def power_form_senders(self, power_form_senders):
137        """Sets the power_form_senders of this PowerFormSendersResponse.
138
139          # noqa: E501
140
141        :param power_form_senders: The power_form_senders of this PowerFormSendersResponse.  # noqa: E501
142        :type: list[UserInfo]
143        """
144
145        self._power_form_senders = power_form_senders
146
147    @property
148    def previous_uri(self):
149        """Gets the previous_uri of this PowerFormSendersResponse.  # noqa: E501
150
151        The postal code for the billing address.  # noqa: E501
152
153        :return: The previous_uri of this PowerFormSendersResponse.  # noqa: E501
154        :rtype: str
155        """
156        return self._previous_uri
157
158    @previous_uri.setter
159    def previous_uri(self, previous_uri):
160        """Sets the previous_uri of this PowerFormSendersResponse.
161
162        The postal code for the billing address.  # noqa: E501
163
164        :param previous_uri: The previous_uri of this PowerFormSendersResponse.  # noqa: E501
165        :type: str
166        """
167
168        self._previous_uri = previous_uri
169
170    @property
171    def result_set_size(self):
172        """Gets the result_set_size of this PowerFormSendersResponse.  # noqa: E501
173
174        The number of results returned in this response.   # noqa: E501
175
176        :return: The result_set_size of this PowerFormSendersResponse.  # noqa: E501
177        :rtype: int
178        """
179        return self._result_set_size
180
181    @result_set_size.setter
182    def result_set_size(self, result_set_size):
183        """Sets the result_set_size of this PowerFormSendersResponse.
184
185        The number of results returned in this response.   # noqa: E501
186
187        :param result_set_size: The result_set_size of this PowerFormSendersResponse.  # noqa: E501
188        :type: int
189        """
190
191        self._result_set_size = result_set_size
192
193    @property
194    def start_position(self):
195        """Gets the start_position of this PowerFormSendersResponse.  # noqa: E501
196
197        Starting position of the current result set.  # noqa: E501
198
199        :return: The start_position of this PowerFormSendersResponse.  # noqa: E501
200        :rtype: int
201        """
202        return self._start_position
203
204    @start_position.setter
205    def start_position(self, start_position):
206        """Sets the start_position of this PowerFormSendersResponse.
207
208        Starting position of the current result set.  # noqa: E501
209
210        :param start_position: The start_position of this PowerFormSendersResponse.  # noqa: E501
211        :type: int
212        """
213
214        self._start_position = start_position
215
216    @property
217    def total_set_size(self):
218        """Gets the total_set_size of this PowerFormSendersResponse.  # noqa: E501
219
220        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
221
222        :return: The total_set_size of this PowerFormSendersResponse.  # noqa: E501
223        :rtype: int
224        """
225        return self._total_set_size
226
227    @total_set_size.setter
228    def total_set_size(self, total_set_size):
229        """Sets the total_set_size of this PowerFormSendersResponse.
230
231        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
232
233        :param total_set_size: The total_set_size of this PowerFormSendersResponse.  # noqa: E501
234        :type: int
235        """
236
237        self._total_set_size = total_set_size
238
239    def to_dict(self):
240        """Returns the model properties as a dict"""
241        result = {}
242
243        for attr, _ in six.iteritems(self.swagger_types):
244            value = getattr(self, attr)
245            if isinstance(value, list):
246                result[attr] = list(map(
247                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
248                    value
249                ))
250            elif hasattr(value, "to_dict"):
251                result[attr] = value.to_dict()
252            elif isinstance(value, dict):
253                result[attr] = dict(map(
254                    lambda item: (item[0], item[1].to_dict())
255                    if hasattr(item[1], "to_dict") else item,
256                    value.items()
257                ))
258            else:
259                result[attr] = value
260        if issubclass(PowerFormSendersResponse, dict):
261            for key, value in self.items():
262                result[key] = value
263
264        return result
265
266    def to_str(self):
267        """Returns the string representation of the model"""
268        return pprint.pformat(self.to_dict())
269
270    def __repr__(self):
271        """For `print` and `pprint`"""
272        return self.to_str()
273
274    def __eq__(self, other):
275        """Returns true if both objects are equal"""
276        if not isinstance(other, PowerFormSendersResponse):
277            return False
278
279        return self.to_dict() == other.to_dict()
280
281    def __ne__(self, other):
282        """Returns true if both objects are not equal"""
283        if not isinstance(other, PowerFormSendersResponse):
284            return True
285
286        return self.to_dict() != other.to_dict()
class PowerFormSendersResponse:
 23class PowerFormSendersResponse(object):
 24    """NOTE: This class is auto generated by the swagger code generator program.
 25
 26    Do not edit the class manually.
 27    """
 28
 29    """
 30    Attributes:
 31      swagger_types (dict): The key is attribute name
 32                            and the value is attribute type.
 33      attribute_map (dict): The key is attribute name
 34                            and the value is json key in definition.
 35    """
 36    swagger_types = {
 37        'end_position': 'int',
 38        'next_uri': 'str',
 39        'power_form_senders': 'list[UserInfo]',
 40        'previous_uri': 'str',
 41        'result_set_size': 'int',
 42        'start_position': 'int',
 43        'total_set_size': 'int'
 44    }
 45
 46    attribute_map = {
 47        'end_position': 'endPosition',
 48        'next_uri': 'nextUri',
 49        'power_form_senders': 'powerFormSenders',
 50        'previous_uri': 'previousUri',
 51        'result_set_size': 'resultSetSize',
 52        'start_position': 'startPosition',
 53        'total_set_size': 'totalSetSize'
 54    }
 55
 56    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 57        """PowerFormSendersResponse - a model defined in Swagger"""  # noqa: E501
 58        if _configuration is None:
 59            _configuration = Configuration()
 60        self._configuration = _configuration
 61
 62        self._end_position = None
 63        self._next_uri = None
 64        self._power_form_senders = None
 65        self._previous_uri = None
 66        self._result_set_size = None
 67        self._start_position = None
 68        self._total_set_size = None
 69        self.discriminator = None
 70
 71        setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None))
 72        setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None))
 73        setattr(self, "_{}".format('power_form_senders'), kwargs.get('power_form_senders', None))
 74        setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None))
 75        setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None))
 76        setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None))
 77        setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None))
 78
 79    @property
 80    def end_position(self):
 81        """Gets the end_position of this PowerFormSendersResponse.  # noqa: E501
 82
 83        The last position in the result set.   # noqa: E501
 84
 85        :return: The end_position of this PowerFormSendersResponse.  # noqa: E501
 86        :rtype: int
 87        """
 88        return self._end_position
 89
 90    @end_position.setter
 91    def end_position(self, end_position):
 92        """Sets the end_position of this PowerFormSendersResponse.
 93
 94        The last position in the result set.   # noqa: E501
 95
 96        :param end_position: The end_position of this PowerFormSendersResponse.  # noqa: E501
 97        :type: int
 98        """
 99
100        self._end_position = end_position
101
102    @property
103    def next_uri(self):
104        """Gets the next_uri of this PowerFormSendersResponse.  # noqa: E501
105
106        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
107
108        :return: The next_uri of this PowerFormSendersResponse.  # noqa: E501
109        :rtype: str
110        """
111        return self._next_uri
112
113    @next_uri.setter
114    def next_uri(self, next_uri):
115        """Sets the next_uri of this PowerFormSendersResponse.
116
117        The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.   # noqa: E501
118
119        :param next_uri: The next_uri of this PowerFormSendersResponse.  # noqa: E501
120        :type: str
121        """
122
123        self._next_uri = next_uri
124
125    @property
126    def power_form_senders(self):
127        """Gets the power_form_senders of this PowerFormSendersResponse.  # noqa: E501
128
129          # noqa: E501
130
131        :return: The power_form_senders of this PowerFormSendersResponse.  # noqa: E501
132        :rtype: list[UserInfo]
133        """
134        return self._power_form_senders
135
136    @power_form_senders.setter
137    def power_form_senders(self, power_form_senders):
138        """Sets the power_form_senders of this PowerFormSendersResponse.
139
140          # noqa: E501
141
142        :param power_form_senders: The power_form_senders of this PowerFormSendersResponse.  # noqa: E501
143        :type: list[UserInfo]
144        """
145
146        self._power_form_senders = power_form_senders
147
148    @property
149    def previous_uri(self):
150        """Gets the previous_uri of this PowerFormSendersResponse.  # noqa: E501
151
152        The postal code for the billing address.  # noqa: E501
153
154        :return: The previous_uri of this PowerFormSendersResponse.  # noqa: E501
155        :rtype: str
156        """
157        return self._previous_uri
158
159    @previous_uri.setter
160    def previous_uri(self, previous_uri):
161        """Sets the previous_uri of this PowerFormSendersResponse.
162
163        The postal code for the billing address.  # noqa: E501
164
165        :param previous_uri: The previous_uri of this PowerFormSendersResponse.  # noqa: E501
166        :type: str
167        """
168
169        self._previous_uri = previous_uri
170
171    @property
172    def result_set_size(self):
173        """Gets the result_set_size of this PowerFormSendersResponse.  # noqa: E501
174
175        The number of results returned in this response.   # noqa: E501
176
177        :return: The result_set_size of this PowerFormSendersResponse.  # noqa: E501
178        :rtype: int
179        """
180        return self._result_set_size
181
182    @result_set_size.setter
183    def result_set_size(self, result_set_size):
184        """Sets the result_set_size of this PowerFormSendersResponse.
185
186        The number of results returned in this response.   # noqa: E501
187
188        :param result_set_size: The result_set_size of this PowerFormSendersResponse.  # noqa: E501
189        :type: int
190        """
191
192        self._result_set_size = result_set_size
193
194    @property
195    def start_position(self):
196        """Gets the start_position of this PowerFormSendersResponse.  # noqa: E501
197
198        Starting position of the current result set.  # noqa: E501
199
200        :return: The start_position of this PowerFormSendersResponse.  # noqa: E501
201        :rtype: int
202        """
203        return self._start_position
204
205    @start_position.setter
206    def start_position(self, start_position):
207        """Sets the start_position of this PowerFormSendersResponse.
208
209        Starting position of the current result set.  # noqa: E501
210
211        :param start_position: The start_position of this PowerFormSendersResponse.  # noqa: E501
212        :type: int
213        """
214
215        self._start_position = start_position
216
217    @property
218    def total_set_size(self):
219        """Gets the total_set_size of this PowerFormSendersResponse.  # noqa: E501
220
221        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
222
223        :return: The total_set_size of this PowerFormSendersResponse.  # noqa: E501
224        :rtype: int
225        """
226        return self._total_set_size
227
228    @total_set_size.setter
229    def total_set_size(self, total_set_size):
230        """Sets the total_set_size of this PowerFormSendersResponse.
231
232        The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.  # noqa: E501
233
234        :param total_set_size: The total_set_size of this PowerFormSendersResponse.  # noqa: E501
235        :type: int
236        """
237
238        self._total_set_size = total_set_size
239
240    def to_dict(self):
241        """Returns the model properties as a dict"""
242        result = {}
243
244        for attr, _ in six.iteritems(self.swagger_types):
245            value = getattr(self, attr)
246            if isinstance(value, list):
247                result[attr] = list(map(
248                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249                    value
250                ))
251            elif hasattr(value, "to_dict"):
252                result[attr] = value.to_dict()
253            elif isinstance(value, dict):
254                result[attr] = dict(map(
255                    lambda item: (item[0], item[1].to_dict())
256                    if hasattr(item[1], "to_dict") else item,
257                    value.items()
258                ))
259            else:
260                result[attr] = value
261        if issubclass(PowerFormSendersResponse, dict):
262            for key, value in self.items():
263                result[key] = value
264
265        return result
266
267    def to_str(self):
268        """Returns the string representation of the model"""
269        return pprint.pformat(self.to_dict())
270
271    def __repr__(self):
272        """For `print` and `pprint`"""
273        return self.to_str()
274
275    def __eq__(self, other):
276        """Returns true if both objects are equal"""
277        if not isinstance(other, PowerFormSendersResponse):
278            return False
279
280        return self.to_dict() == other.to_dict()
281
282    def __ne__(self, other):
283        """Returns true if both objects are not equal"""
284        if not isinstance(other, PowerFormSendersResponse):
285            return True
286
287        return self.to_dict() != other.to_dict()

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

Do not edit the class manually.

PowerFormSendersResponse(_configuration=None, **kwargs)
56    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
57        """PowerFormSendersResponse - a model defined in Swagger"""  # noqa: E501
58        if _configuration is None:
59            _configuration = Configuration()
60        self._configuration = _configuration
61
62        self._end_position = None
63        self._next_uri = None
64        self._power_form_senders = None
65        self._previous_uri = None
66        self._result_set_size = None
67        self._start_position = None
68        self._total_set_size = None
69        self.discriminator = None
70
71        setattr(self, "_{}".format('end_position'), kwargs.get('end_position', None))
72        setattr(self, "_{}".format('next_uri'), kwargs.get('next_uri', None))
73        setattr(self, "_{}".format('power_form_senders'), kwargs.get('power_form_senders', None))
74        setattr(self, "_{}".format('previous_uri'), kwargs.get('previous_uri', None))
75        setattr(self, "_{}".format('result_set_size'), kwargs.get('result_set_size', None))
76        setattr(self, "_{}".format('start_position'), kwargs.get('start_position', None))
77        setattr(self, "_{}".format('total_set_size'), kwargs.get('total_set_size', None))

PowerFormSendersResponse - a model defined in Swagger

swagger_types = {'end_position': 'int', 'next_uri': 'str', 'power_form_senders': 'list[UserInfo]', 'previous_uri': 'str', 'result_set_size': 'int', 'start_position': 'int', 'total_set_size': 'int'}
attribute_map = {'end_position': 'endPosition', 'next_uri': 'nextUri', 'power_form_senders': 'powerFormSenders', 'previous_uri': 'previousUri', 'result_set_size': 'resultSetSize', 'start_position': 'startPosition', 'total_set_size': 'totalSetSize'}
end_position

Gets the end_position of this PowerFormSendersResponse. # noqa: E501

The last position in the result set. # noqa: E501

Returns

The end_position of this PowerFormSendersResponse. # noqa: E501

next_uri

Gets the next_uri of this PowerFormSendersResponse. # noqa: E501

The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. # noqa: E501

Returns

The next_uri of this PowerFormSendersResponse. # noqa: E501

power_form_senders

Gets the power_form_senders of this PowerFormSendersResponse. # noqa: E501

# noqa: E501

Returns

The power_form_senders of this PowerFormSendersResponse. # noqa: E501

previous_uri

Gets the previous_uri of this PowerFormSendersResponse. # noqa: E501

The postal code for the billing address. # noqa: E501

Returns

The previous_uri of this PowerFormSendersResponse. # noqa: E501

result_set_size

Gets the result_set_size of this PowerFormSendersResponse. # noqa: E501

The number of results returned in this response. # noqa: E501

Returns

The result_set_size of this PowerFormSendersResponse. # noqa: E501

start_position

Gets the start_position of this PowerFormSendersResponse. # noqa: E501

Starting position of the current result set. # noqa: E501

Returns

The start_position of this PowerFormSendersResponse. # noqa: E501

total_set_size

Gets the total_set_size of this PowerFormSendersResponse. # noqa: E501

The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. # noqa: E501

Returns

The total_set_size of this PowerFormSendersResponse. # noqa: E501

def to_dict(self)
240    def to_dict(self):
241        """Returns the model properties as a dict"""
242        result = {}
243
244        for attr, _ in six.iteritems(self.swagger_types):
245            value = getattr(self, attr)
246            if isinstance(value, list):
247                result[attr] = list(map(
248                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249                    value
250                ))
251            elif hasattr(value, "to_dict"):
252                result[attr] = value.to_dict()
253            elif isinstance(value, dict):
254                result[attr] = dict(map(
255                    lambda item: (item[0], item[1].to_dict())
256                    if hasattr(item[1], "to_dict") else item,
257                    value.items()
258                ))
259            else:
260                result[attr] = value
261        if issubclass(PowerFormSendersResponse, dict):
262            for key, value in self.items():
263                result[key] = value
264
265        return result

Returns the model properties as a dict

def to_str(self)
267    def to_str(self):
268        """Returns the string representation of the model"""
269        return pprint.pformat(self.to_dict())

Returns the string representation of the model