docusign_esign.models.connect_salesforce_field

Docusign eSignature REST API

The Docusign eSignature 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 eSignature REST API
  5
  6    The Docusign eSignature 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 ConnectSalesforceField(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        'ds_attribute': 'str',
 37        'ds_link': 'str',
 38        'ds_node': 'str',
 39        'id': 'str',
 40        'sf_field': 'str',
 41        'sf_field_name': 'str',
 42        'sf_folder': 'str',
 43        'sf_locked_value': 'str'
 44    }
 45
 46    attribute_map = {
 47        'ds_attribute': 'dsAttribute',
 48        'ds_link': 'dsLink',
 49        'ds_node': 'dsNode',
 50        'id': 'id',
 51        'sf_field': 'sfField',
 52        'sf_field_name': 'sfFieldName',
 53        'sf_folder': 'sfFolder',
 54        'sf_locked_value': 'sfLockedValue'
 55    }
 56
 57    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 58        """ConnectSalesforceField - a model defined in Swagger"""  # noqa: E501
 59        if _configuration is None:
 60            _configuration = Configuration()
 61        self._configuration = _configuration
 62
 63        self._ds_attribute = None
 64        self._ds_link = None
 65        self._ds_node = None
 66        self._id = None
 67        self._sf_field = None
 68        self._sf_field_name = None
 69        self._sf_folder = None
 70        self._sf_locked_value = None
 71        self.discriminator = None
 72
 73        setattr(self, "_{}".format('ds_attribute'), kwargs.get('ds_attribute', None))
 74        setattr(self, "_{}".format('ds_link'), kwargs.get('ds_link', None))
 75        setattr(self, "_{}".format('ds_node'), kwargs.get('ds_node', None))
 76        setattr(self, "_{}".format('id'), kwargs.get('id', None))
 77        setattr(self, "_{}".format('sf_field'), kwargs.get('sf_field', None))
 78        setattr(self, "_{}".format('sf_field_name'), kwargs.get('sf_field_name', None))
 79        setattr(self, "_{}".format('sf_folder'), kwargs.get('sf_folder', None))
 80        setattr(self, "_{}".format('sf_locked_value'), kwargs.get('sf_locked_value', None))
 81
 82    @property
 83    def ds_attribute(self):
 84        """Gets the ds_attribute of this ConnectSalesforceField.  # noqa: E501
 85
 86          # noqa: E501
 87
 88        :return: The ds_attribute of this ConnectSalesforceField.  # noqa: E501
 89        :rtype: str
 90        """
 91        return self._ds_attribute
 92
 93    @ds_attribute.setter
 94    def ds_attribute(self, ds_attribute):
 95        """Sets the ds_attribute of this ConnectSalesforceField.
 96
 97          # noqa: E501
 98
 99        :param ds_attribute: The ds_attribute of this ConnectSalesforceField.  # noqa: E501
100        :type: str
101        """
102
103        self._ds_attribute = ds_attribute
104
105    @property
106    def ds_link(self):
107        """Gets the ds_link of this ConnectSalesforceField.  # noqa: E501
108
109          # noqa: E501
110
111        :return: The ds_link of this ConnectSalesforceField.  # noqa: E501
112        :rtype: str
113        """
114        return self._ds_link
115
116    @ds_link.setter
117    def ds_link(self, ds_link):
118        """Sets the ds_link of this ConnectSalesforceField.
119
120          # noqa: E501
121
122        :param ds_link: The ds_link of this ConnectSalesforceField.  # noqa: E501
123        :type: str
124        """
125
126        self._ds_link = ds_link
127
128    @property
129    def ds_node(self):
130        """Gets the ds_node of this ConnectSalesforceField.  # noqa: E501
131
132          # noqa: E501
133
134        :return: The ds_node of this ConnectSalesforceField.  # noqa: E501
135        :rtype: str
136        """
137        return self._ds_node
138
139    @ds_node.setter
140    def ds_node(self, ds_node):
141        """Sets the ds_node of this ConnectSalesforceField.
142
143          # noqa: E501
144
145        :param ds_node: The ds_node of this ConnectSalesforceField.  # noqa: E501
146        :type: str
147        """
148
149        self._ds_node = ds_node
150
151    @property
152    def id(self):
153        """Gets the id of this ConnectSalesforceField.  # noqa: E501
154
155          # noqa: E501
156
157        :return: The id of this ConnectSalesforceField.  # noqa: E501
158        :rtype: str
159        """
160        return self._id
161
162    @id.setter
163    def id(self, id):
164        """Sets the id of this ConnectSalesforceField.
165
166          # noqa: E501
167
168        :param id: The id of this ConnectSalesforceField.  # noqa: E501
169        :type: str
170        """
171
172        self._id = id
173
174    @property
175    def sf_field(self):
176        """Gets the sf_field of this ConnectSalesforceField.  # noqa: E501
177
178          # noqa: E501
179
180        :return: The sf_field of this ConnectSalesforceField.  # noqa: E501
181        :rtype: str
182        """
183        return self._sf_field
184
185    @sf_field.setter
186    def sf_field(self, sf_field):
187        """Sets the sf_field of this ConnectSalesforceField.
188
189          # noqa: E501
190
191        :param sf_field: The sf_field of this ConnectSalesforceField.  # noqa: E501
192        :type: str
193        """
194
195        self._sf_field = sf_field
196
197    @property
198    def sf_field_name(self):
199        """Gets the sf_field_name of this ConnectSalesforceField.  # noqa: E501
200
201          # noqa: E501
202
203        :return: The sf_field_name of this ConnectSalesforceField.  # noqa: E501
204        :rtype: str
205        """
206        return self._sf_field_name
207
208    @sf_field_name.setter
209    def sf_field_name(self, sf_field_name):
210        """Sets the sf_field_name of this ConnectSalesforceField.
211
212          # noqa: E501
213
214        :param sf_field_name: The sf_field_name of this ConnectSalesforceField.  # noqa: E501
215        :type: str
216        """
217
218        self._sf_field_name = sf_field_name
219
220    @property
221    def sf_folder(self):
222        """Gets the sf_folder of this ConnectSalesforceField.  # noqa: E501
223
224          # noqa: E501
225
226        :return: The sf_folder of this ConnectSalesforceField.  # noqa: E501
227        :rtype: str
228        """
229        return self._sf_folder
230
231    @sf_folder.setter
232    def sf_folder(self, sf_folder):
233        """Sets the sf_folder of this ConnectSalesforceField.
234
235          # noqa: E501
236
237        :param sf_folder: The sf_folder of this ConnectSalesforceField.  # noqa: E501
238        :type: str
239        """
240
241        self._sf_folder = sf_folder
242
243    @property
244    def sf_locked_value(self):
245        """Gets the sf_locked_value of this ConnectSalesforceField.  # noqa: E501
246
247          # noqa: E501
248
249        :return: The sf_locked_value of this ConnectSalesforceField.  # noqa: E501
250        :rtype: str
251        """
252        return self._sf_locked_value
253
254    @sf_locked_value.setter
255    def sf_locked_value(self, sf_locked_value):
256        """Sets the sf_locked_value of this ConnectSalesforceField.
257
258          # noqa: E501
259
260        :param sf_locked_value: The sf_locked_value of this ConnectSalesforceField.  # noqa: E501
261        :type: str
262        """
263
264        self._sf_locked_value = sf_locked_value
265
266    def to_dict(self):
267        """Returns the model properties as a dict"""
268        result = {}
269
270        for attr, _ in six.iteritems(self.swagger_types):
271            value = getattr(self, attr)
272            if isinstance(value, list):
273                result[attr] = list(map(
274                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
275                    value
276                ))
277            elif hasattr(value, "to_dict"):
278                result[attr] = value.to_dict()
279            elif isinstance(value, dict):
280                result[attr] = dict(map(
281                    lambda item: (item[0], item[1].to_dict())
282                    if hasattr(item[1], "to_dict") else item,
283                    value.items()
284                ))
285            else:
286                result[attr] = value
287        if issubclass(ConnectSalesforceField, dict):
288            for key, value in self.items():
289                result[key] = value
290
291        return result
292
293    def to_str(self):
294        """Returns the string representation of the model"""
295        return pprint.pformat(self.to_dict())
296
297    def __repr__(self):
298        """For `print` and `pprint`"""
299        return self.to_str()
300
301    def __eq__(self, other):
302        """Returns true if both objects are equal"""
303        if not isinstance(other, ConnectSalesforceField):
304            return False
305
306        return self.to_dict() == other.to_dict()
307
308    def __ne__(self, other):
309        """Returns true if both objects are not equal"""
310        if not isinstance(other, ConnectSalesforceField):
311            return True
312
313        return self.to_dict() != other.to_dict()
class ConnectSalesforceField:
 23class ConnectSalesforceField(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        'ds_attribute': 'str',
 38        'ds_link': 'str',
 39        'ds_node': 'str',
 40        'id': 'str',
 41        'sf_field': 'str',
 42        'sf_field_name': 'str',
 43        'sf_folder': 'str',
 44        'sf_locked_value': 'str'
 45    }
 46
 47    attribute_map = {
 48        'ds_attribute': 'dsAttribute',
 49        'ds_link': 'dsLink',
 50        'ds_node': 'dsNode',
 51        'id': 'id',
 52        'sf_field': 'sfField',
 53        'sf_field_name': 'sfFieldName',
 54        'sf_folder': 'sfFolder',
 55        'sf_locked_value': 'sfLockedValue'
 56    }
 57
 58    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 59        """ConnectSalesforceField - a model defined in Swagger"""  # noqa: E501
 60        if _configuration is None:
 61            _configuration = Configuration()
 62        self._configuration = _configuration
 63
 64        self._ds_attribute = None
 65        self._ds_link = None
 66        self._ds_node = None
 67        self._id = None
 68        self._sf_field = None
 69        self._sf_field_name = None
 70        self._sf_folder = None
 71        self._sf_locked_value = None
 72        self.discriminator = None
 73
 74        setattr(self, "_{}".format('ds_attribute'), kwargs.get('ds_attribute', None))
 75        setattr(self, "_{}".format('ds_link'), kwargs.get('ds_link', None))
 76        setattr(self, "_{}".format('ds_node'), kwargs.get('ds_node', None))
 77        setattr(self, "_{}".format('id'), kwargs.get('id', None))
 78        setattr(self, "_{}".format('sf_field'), kwargs.get('sf_field', None))
 79        setattr(self, "_{}".format('sf_field_name'), kwargs.get('sf_field_name', None))
 80        setattr(self, "_{}".format('sf_folder'), kwargs.get('sf_folder', None))
 81        setattr(self, "_{}".format('sf_locked_value'), kwargs.get('sf_locked_value', None))
 82
 83    @property
 84    def ds_attribute(self):
 85        """Gets the ds_attribute of this ConnectSalesforceField.  # noqa: E501
 86
 87          # noqa: E501
 88
 89        :return: The ds_attribute of this ConnectSalesforceField.  # noqa: E501
 90        :rtype: str
 91        """
 92        return self._ds_attribute
 93
 94    @ds_attribute.setter
 95    def ds_attribute(self, ds_attribute):
 96        """Sets the ds_attribute of this ConnectSalesforceField.
 97
 98          # noqa: E501
 99
100        :param ds_attribute: The ds_attribute of this ConnectSalesforceField.  # noqa: E501
101        :type: str
102        """
103
104        self._ds_attribute = ds_attribute
105
106    @property
107    def ds_link(self):
108        """Gets the ds_link of this ConnectSalesforceField.  # noqa: E501
109
110          # noqa: E501
111
112        :return: The ds_link of this ConnectSalesforceField.  # noqa: E501
113        :rtype: str
114        """
115        return self._ds_link
116
117    @ds_link.setter
118    def ds_link(self, ds_link):
119        """Sets the ds_link of this ConnectSalesforceField.
120
121          # noqa: E501
122
123        :param ds_link: The ds_link of this ConnectSalesforceField.  # noqa: E501
124        :type: str
125        """
126
127        self._ds_link = ds_link
128
129    @property
130    def ds_node(self):
131        """Gets the ds_node of this ConnectSalesforceField.  # noqa: E501
132
133          # noqa: E501
134
135        :return: The ds_node of this ConnectSalesforceField.  # noqa: E501
136        :rtype: str
137        """
138        return self._ds_node
139
140    @ds_node.setter
141    def ds_node(self, ds_node):
142        """Sets the ds_node of this ConnectSalesforceField.
143
144          # noqa: E501
145
146        :param ds_node: The ds_node of this ConnectSalesforceField.  # noqa: E501
147        :type: str
148        """
149
150        self._ds_node = ds_node
151
152    @property
153    def id(self):
154        """Gets the id of this ConnectSalesforceField.  # noqa: E501
155
156          # noqa: E501
157
158        :return: The id of this ConnectSalesforceField.  # noqa: E501
159        :rtype: str
160        """
161        return self._id
162
163    @id.setter
164    def id(self, id):
165        """Sets the id of this ConnectSalesforceField.
166
167          # noqa: E501
168
169        :param id: The id of this ConnectSalesforceField.  # noqa: E501
170        :type: str
171        """
172
173        self._id = id
174
175    @property
176    def sf_field(self):
177        """Gets the sf_field of this ConnectSalesforceField.  # noqa: E501
178
179          # noqa: E501
180
181        :return: The sf_field of this ConnectSalesforceField.  # noqa: E501
182        :rtype: str
183        """
184        return self._sf_field
185
186    @sf_field.setter
187    def sf_field(self, sf_field):
188        """Sets the sf_field of this ConnectSalesforceField.
189
190          # noqa: E501
191
192        :param sf_field: The sf_field of this ConnectSalesforceField.  # noqa: E501
193        :type: str
194        """
195
196        self._sf_field = sf_field
197
198    @property
199    def sf_field_name(self):
200        """Gets the sf_field_name of this ConnectSalesforceField.  # noqa: E501
201
202          # noqa: E501
203
204        :return: The sf_field_name of this ConnectSalesforceField.  # noqa: E501
205        :rtype: str
206        """
207        return self._sf_field_name
208
209    @sf_field_name.setter
210    def sf_field_name(self, sf_field_name):
211        """Sets the sf_field_name of this ConnectSalesforceField.
212
213          # noqa: E501
214
215        :param sf_field_name: The sf_field_name of this ConnectSalesforceField.  # noqa: E501
216        :type: str
217        """
218
219        self._sf_field_name = sf_field_name
220
221    @property
222    def sf_folder(self):
223        """Gets the sf_folder of this ConnectSalesforceField.  # noqa: E501
224
225          # noqa: E501
226
227        :return: The sf_folder of this ConnectSalesforceField.  # noqa: E501
228        :rtype: str
229        """
230        return self._sf_folder
231
232    @sf_folder.setter
233    def sf_folder(self, sf_folder):
234        """Sets the sf_folder of this ConnectSalesforceField.
235
236          # noqa: E501
237
238        :param sf_folder: The sf_folder of this ConnectSalesforceField.  # noqa: E501
239        :type: str
240        """
241
242        self._sf_folder = sf_folder
243
244    @property
245    def sf_locked_value(self):
246        """Gets the sf_locked_value of this ConnectSalesforceField.  # noqa: E501
247
248          # noqa: E501
249
250        :return: The sf_locked_value of this ConnectSalesforceField.  # noqa: E501
251        :rtype: str
252        """
253        return self._sf_locked_value
254
255    @sf_locked_value.setter
256    def sf_locked_value(self, sf_locked_value):
257        """Sets the sf_locked_value of this ConnectSalesforceField.
258
259          # noqa: E501
260
261        :param sf_locked_value: The sf_locked_value of this ConnectSalesforceField.  # noqa: E501
262        :type: str
263        """
264
265        self._sf_locked_value = sf_locked_value
266
267    def to_dict(self):
268        """Returns the model properties as a dict"""
269        result = {}
270
271        for attr, _ in six.iteritems(self.swagger_types):
272            value = getattr(self, attr)
273            if isinstance(value, list):
274                result[attr] = list(map(
275                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
276                    value
277                ))
278            elif hasattr(value, "to_dict"):
279                result[attr] = value.to_dict()
280            elif isinstance(value, dict):
281                result[attr] = dict(map(
282                    lambda item: (item[0], item[1].to_dict())
283                    if hasattr(item[1], "to_dict") else item,
284                    value.items()
285                ))
286            else:
287                result[attr] = value
288        if issubclass(ConnectSalesforceField, dict):
289            for key, value in self.items():
290                result[key] = value
291
292        return result
293
294    def to_str(self):
295        """Returns the string representation of the model"""
296        return pprint.pformat(self.to_dict())
297
298    def __repr__(self):
299        """For `print` and `pprint`"""
300        return self.to_str()
301
302    def __eq__(self, other):
303        """Returns true if both objects are equal"""
304        if not isinstance(other, ConnectSalesforceField):
305            return False
306
307        return self.to_dict() == other.to_dict()
308
309    def __ne__(self, other):
310        """Returns true if both objects are not equal"""
311        if not isinstance(other, ConnectSalesforceField):
312            return True
313
314        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.

ConnectSalesforceField(_configuration=None, **kwargs)
58    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
59        """ConnectSalesforceField - a model defined in Swagger"""  # noqa: E501
60        if _configuration is None:
61            _configuration = Configuration()
62        self._configuration = _configuration
63
64        self._ds_attribute = None
65        self._ds_link = None
66        self._ds_node = None
67        self._id = None
68        self._sf_field = None
69        self._sf_field_name = None
70        self._sf_folder = None
71        self._sf_locked_value = None
72        self.discriminator = None
73
74        setattr(self, "_{}".format('ds_attribute'), kwargs.get('ds_attribute', None))
75        setattr(self, "_{}".format('ds_link'), kwargs.get('ds_link', None))
76        setattr(self, "_{}".format('ds_node'), kwargs.get('ds_node', None))
77        setattr(self, "_{}".format('id'), kwargs.get('id', None))
78        setattr(self, "_{}".format('sf_field'), kwargs.get('sf_field', None))
79        setattr(self, "_{}".format('sf_field_name'), kwargs.get('sf_field_name', None))
80        setattr(self, "_{}".format('sf_folder'), kwargs.get('sf_folder', None))
81        setattr(self, "_{}".format('sf_locked_value'), kwargs.get('sf_locked_value', None))

ConnectSalesforceField - a model defined in Swagger

swagger_types = {'ds_attribute': 'str', 'ds_link': 'str', 'ds_node': 'str', 'id': 'str', 'sf_field': 'str', 'sf_field_name': 'str', 'sf_folder': 'str', 'sf_locked_value': 'str'}
attribute_map = {'ds_attribute': 'dsAttribute', 'ds_link': 'dsLink', 'ds_node': 'dsNode', 'id': 'id', 'sf_field': 'sfField', 'sf_field_name': 'sfFieldName', 'sf_folder': 'sfFolder', 'sf_locked_value': 'sfLockedValue'}
ds_attribute

Gets the ds_attribute of this ConnectSalesforceField. # noqa: E501

# noqa: E501

Returns

The ds_attribute of this ConnectSalesforceField. # noqa: E501

ds_node

Gets the ds_node of this ConnectSalesforceField. # noqa: E501

# noqa: E501

Returns

The ds_node of this ConnectSalesforceField. # noqa: E501

id

Gets the id of this ConnectSalesforceField. # noqa: E501

# noqa: E501

Returns

The id of this ConnectSalesforceField. # noqa: E501

sf_field

Gets the sf_field of this ConnectSalesforceField. # noqa: E501

# noqa: E501

Returns

The sf_field of this ConnectSalesforceField. # noqa: E501

sf_field_name

Gets the sf_field_name of this ConnectSalesforceField. # noqa: E501

# noqa: E501

Returns

The sf_field_name of this ConnectSalesforceField. # noqa: E501

sf_folder

Gets the sf_folder of this ConnectSalesforceField. # noqa: E501

# noqa: E501

Returns

The sf_folder of this ConnectSalesforceField. # noqa: E501

sf_locked_value

Gets the sf_locked_value of this ConnectSalesforceField. # noqa: E501

# noqa: E501

Returns

The sf_locked_value of this ConnectSalesforceField. # noqa: E501

def to_dict(self)
267    def to_dict(self):
268        """Returns the model properties as a dict"""
269        result = {}
270
271        for attr, _ in six.iteritems(self.swagger_types):
272            value = getattr(self, attr)
273            if isinstance(value, list):
274                result[attr] = list(map(
275                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
276                    value
277                ))
278            elif hasattr(value, "to_dict"):
279                result[attr] = value.to_dict()
280            elif isinstance(value, dict):
281                result[attr] = dict(map(
282                    lambda item: (item[0], item[1].to_dict())
283                    if hasattr(item[1], "to_dict") else item,
284                    value.items()
285                ))
286            else:
287                result[attr] = value
288        if issubclass(ConnectSalesforceField, dict):
289            for key, value in self.items():
290                result[key] = value
291
292        return result

Returns the model properties as a dict

def to_str(self)
294    def to_str(self):
295        """Returns the string representation of the model"""
296        return pprint.pformat(self.to_dict())

Returns the string representation of the model