docusign_esign.models.feature_set
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 FeatureSet(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 'currency_feature_set_prices': 'list[CurrencyFeatureSetPrice]', 37 'envelope_fee': 'str', 38 'feature_set_id': 'str', 39 'fixed_fee': 'str', 40 'is21_cfr_part11': 'str', 41 'is_active': 'str', 42 'is_enabled': 'str', 43 'name': 'str', 44 'seat_fee': 'str' 45 } 46 47 attribute_map = { 48 'currency_feature_set_prices': 'currencyFeatureSetPrices', 49 'envelope_fee': 'envelopeFee', 50 'feature_set_id': 'featureSetId', 51 'fixed_fee': 'fixedFee', 52 'is21_cfr_part11': 'is21CFRPart11', 53 'is_active': 'isActive', 54 'is_enabled': 'isEnabled', 55 'name': 'name', 56 'seat_fee': 'seatFee' 57 } 58 59 def __init__(self, _configuration=None, **kwargs): # noqa: E501 60 """FeatureSet - a model defined in Swagger""" # noqa: E501 61 if _configuration is None: 62 _configuration = Configuration() 63 self._configuration = _configuration 64 65 self._currency_feature_set_prices = None 66 self._envelope_fee = None 67 self._feature_set_id = None 68 self._fixed_fee = None 69 self._is21_cfr_part11 = None 70 self._is_active = None 71 self._is_enabled = None 72 self._name = None 73 self._seat_fee = None 74 self.discriminator = None 75 76 setattr(self, "_{}".format('currency_feature_set_prices'), kwargs.get('currency_feature_set_prices', None)) 77 setattr(self, "_{}".format('envelope_fee'), kwargs.get('envelope_fee', None)) 78 setattr(self, "_{}".format('feature_set_id'), kwargs.get('feature_set_id', None)) 79 setattr(self, "_{}".format('fixed_fee'), kwargs.get('fixed_fee', None)) 80 setattr(self, "_{}".format('is21_cfr_part11'), kwargs.get('is21_cfr_part11', None)) 81 setattr(self, "_{}".format('is_active'), kwargs.get('is_active', None)) 82 setattr(self, "_{}".format('is_enabled'), kwargs.get('is_enabled', None)) 83 setattr(self, "_{}".format('name'), kwargs.get('name', None)) 84 setattr(self, "_{}".format('seat_fee'), kwargs.get('seat_fee', None)) 85 86 @property 87 def currency_feature_set_prices(self): 88 """Gets the currency_feature_set_prices of this FeatureSet. # noqa: E501 89 90 A complex type that contains alternate currency values that are configured for this plan feature set. # noqa: E501 91 92 :return: The currency_feature_set_prices of this FeatureSet. # noqa: E501 93 :rtype: list[CurrencyFeatureSetPrice] 94 """ 95 return self._currency_feature_set_prices 96 97 @currency_feature_set_prices.setter 98 def currency_feature_set_prices(self, currency_feature_set_prices): 99 """Sets the currency_feature_set_prices of this FeatureSet. 100 101 A complex type that contains alternate currency values that are configured for this plan feature set. # noqa: E501 102 103 :param currency_feature_set_prices: The currency_feature_set_prices of this FeatureSet. # noqa: E501 104 :type: list[CurrencyFeatureSetPrice] 105 """ 106 107 self._currency_feature_set_prices = currency_feature_set_prices 108 109 @property 110 def envelope_fee(self): 111 """Gets the envelope_fee of this FeatureSet. # noqa: E501 112 113 # noqa: E501 114 115 :return: The envelope_fee of this FeatureSet. # noqa: E501 116 :rtype: str 117 """ 118 return self._envelope_fee 119 120 @envelope_fee.setter 121 def envelope_fee(self, envelope_fee): 122 """Sets the envelope_fee of this FeatureSet. 123 124 # noqa: E501 125 126 :param envelope_fee: The envelope_fee of this FeatureSet. # noqa: E501 127 :type: str 128 """ 129 130 self._envelope_fee = envelope_fee 131 132 @property 133 def feature_set_id(self): 134 """Gets the feature_set_id of this FeatureSet. # noqa: E501 135 136 A unique ID for the feature set. # noqa: E501 137 138 :return: The feature_set_id of this FeatureSet. # noqa: E501 139 :rtype: str 140 """ 141 return self._feature_set_id 142 143 @feature_set_id.setter 144 def feature_set_id(self, feature_set_id): 145 """Sets the feature_set_id of this FeatureSet. 146 147 A unique ID for the feature set. # noqa: E501 148 149 :param feature_set_id: The feature_set_id of this FeatureSet. # noqa: E501 150 :type: str 151 """ 152 153 self._feature_set_id = feature_set_id 154 155 @property 156 def fixed_fee(self): 157 """Gets the fixed_fee of this FeatureSet. # noqa: E501 158 159 # noqa: E501 160 161 :return: The fixed_fee of this FeatureSet. # noqa: E501 162 :rtype: str 163 """ 164 return self._fixed_fee 165 166 @fixed_fee.setter 167 def fixed_fee(self, fixed_fee): 168 """Sets the fixed_fee of this FeatureSet. 169 170 # noqa: E501 171 172 :param fixed_fee: The fixed_fee of this FeatureSet. # noqa: E501 173 :type: str 174 """ 175 176 self._fixed_fee = fixed_fee 177 178 @property 179 def is21_cfr_part11(self): 180 """Gets the is21_cfr_part11 of this FeatureSet. # noqa: E501 181 182 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 183 184 :return: The is21_cfr_part11 of this FeatureSet. # noqa: E501 185 :rtype: str 186 """ 187 return self._is21_cfr_part11 188 189 @is21_cfr_part11.setter 190 def is21_cfr_part11(self, is21_cfr_part11): 191 """Sets the is21_cfr_part11 of this FeatureSet. 192 193 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 194 195 :param is21_cfr_part11: The is21_cfr_part11 of this FeatureSet. # noqa: E501 196 :type: str 197 """ 198 199 self._is21_cfr_part11 = is21_cfr_part11 200 201 @property 202 def is_active(self): 203 """Gets the is_active of this FeatureSet. # noqa: E501 204 205 # noqa: E501 206 207 :return: The is_active of this FeatureSet. # noqa: E501 208 :rtype: str 209 """ 210 return self._is_active 211 212 @is_active.setter 213 def is_active(self, is_active): 214 """Sets the is_active of this FeatureSet. 215 216 # noqa: E501 217 218 :param is_active: The is_active of this FeatureSet. # noqa: E501 219 :type: str 220 """ 221 222 self._is_active = is_active 223 224 @property 225 def is_enabled(self): 226 """Gets the is_enabled of this FeatureSet. # noqa: E501 227 228 Specifies whether the feature set is actively enabled as part of the plan. # noqa: E501 229 230 :return: The is_enabled of this FeatureSet. # noqa: E501 231 :rtype: str 232 """ 233 return self._is_enabled 234 235 @is_enabled.setter 236 def is_enabled(self, is_enabled): 237 """Sets the is_enabled of this FeatureSet. 238 239 Specifies whether the feature set is actively enabled as part of the plan. # noqa: E501 240 241 :param is_enabled: The is_enabled of this FeatureSet. # noqa: E501 242 :type: str 243 """ 244 245 self._is_enabled = is_enabled 246 247 @property 248 def name(self): 249 """Gets the name of this FeatureSet. # noqa: E501 250 251 # noqa: E501 252 253 :return: The name of this FeatureSet. # noqa: E501 254 :rtype: str 255 """ 256 return self._name 257 258 @name.setter 259 def name(self, name): 260 """Sets the name of this FeatureSet. 261 262 # noqa: E501 263 264 :param name: The name of this FeatureSet. # noqa: E501 265 :type: str 266 """ 267 268 self._name = name 269 270 @property 271 def seat_fee(self): 272 """Gets the seat_fee of this FeatureSet. # noqa: E501 273 274 An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true. # noqa: E501 275 276 :return: The seat_fee of this FeatureSet. # noqa: E501 277 :rtype: str 278 """ 279 return self._seat_fee 280 281 @seat_fee.setter 282 def seat_fee(self, seat_fee): 283 """Sets the seat_fee of this FeatureSet. 284 285 An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true. # noqa: E501 286 287 :param seat_fee: The seat_fee of this FeatureSet. # noqa: E501 288 :type: str 289 """ 290 291 self._seat_fee = seat_fee 292 293 def to_dict(self): 294 """Returns the model properties as a dict""" 295 result = {} 296 297 for attr, _ in six.iteritems(self.swagger_types): 298 value = getattr(self, attr) 299 if isinstance(value, list): 300 result[attr] = list(map( 301 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 302 value 303 )) 304 elif hasattr(value, "to_dict"): 305 result[attr] = value.to_dict() 306 elif isinstance(value, dict): 307 result[attr] = dict(map( 308 lambda item: (item[0], item[1].to_dict()) 309 if hasattr(item[1], "to_dict") else item, 310 value.items() 311 )) 312 else: 313 result[attr] = value 314 if issubclass(FeatureSet, dict): 315 for key, value in self.items(): 316 result[key] = value 317 318 return result 319 320 def to_str(self): 321 """Returns the string representation of the model""" 322 return pprint.pformat(self.to_dict()) 323 324 def __repr__(self): 325 """For `print` and `pprint`""" 326 return self.to_str() 327 328 def __eq__(self, other): 329 """Returns true if both objects are equal""" 330 if not isinstance(other, FeatureSet): 331 return False 332 333 return self.to_dict() == other.to_dict() 334 335 def __ne__(self, other): 336 """Returns true if both objects are not equal""" 337 if not isinstance(other, FeatureSet): 338 return True 339 340 return self.to_dict() != other.to_dict()
23class FeatureSet(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 'currency_feature_set_prices': 'list[CurrencyFeatureSetPrice]', 38 'envelope_fee': 'str', 39 'feature_set_id': 'str', 40 'fixed_fee': 'str', 41 'is21_cfr_part11': 'str', 42 'is_active': 'str', 43 'is_enabled': 'str', 44 'name': 'str', 45 'seat_fee': 'str' 46 } 47 48 attribute_map = { 49 'currency_feature_set_prices': 'currencyFeatureSetPrices', 50 'envelope_fee': 'envelopeFee', 51 'feature_set_id': 'featureSetId', 52 'fixed_fee': 'fixedFee', 53 'is21_cfr_part11': 'is21CFRPart11', 54 'is_active': 'isActive', 55 'is_enabled': 'isEnabled', 56 'name': 'name', 57 'seat_fee': 'seatFee' 58 } 59 60 def __init__(self, _configuration=None, **kwargs): # noqa: E501 61 """FeatureSet - a model defined in Swagger""" # noqa: E501 62 if _configuration is None: 63 _configuration = Configuration() 64 self._configuration = _configuration 65 66 self._currency_feature_set_prices = None 67 self._envelope_fee = None 68 self._feature_set_id = None 69 self._fixed_fee = None 70 self._is21_cfr_part11 = None 71 self._is_active = None 72 self._is_enabled = None 73 self._name = None 74 self._seat_fee = None 75 self.discriminator = None 76 77 setattr(self, "_{}".format('currency_feature_set_prices'), kwargs.get('currency_feature_set_prices', None)) 78 setattr(self, "_{}".format('envelope_fee'), kwargs.get('envelope_fee', None)) 79 setattr(self, "_{}".format('feature_set_id'), kwargs.get('feature_set_id', None)) 80 setattr(self, "_{}".format('fixed_fee'), kwargs.get('fixed_fee', None)) 81 setattr(self, "_{}".format('is21_cfr_part11'), kwargs.get('is21_cfr_part11', None)) 82 setattr(self, "_{}".format('is_active'), kwargs.get('is_active', None)) 83 setattr(self, "_{}".format('is_enabled'), kwargs.get('is_enabled', None)) 84 setattr(self, "_{}".format('name'), kwargs.get('name', None)) 85 setattr(self, "_{}".format('seat_fee'), kwargs.get('seat_fee', None)) 86 87 @property 88 def currency_feature_set_prices(self): 89 """Gets the currency_feature_set_prices of this FeatureSet. # noqa: E501 90 91 A complex type that contains alternate currency values that are configured for this plan feature set. # noqa: E501 92 93 :return: The currency_feature_set_prices of this FeatureSet. # noqa: E501 94 :rtype: list[CurrencyFeatureSetPrice] 95 """ 96 return self._currency_feature_set_prices 97 98 @currency_feature_set_prices.setter 99 def currency_feature_set_prices(self, currency_feature_set_prices): 100 """Sets the currency_feature_set_prices of this FeatureSet. 101 102 A complex type that contains alternate currency values that are configured for this plan feature set. # noqa: E501 103 104 :param currency_feature_set_prices: The currency_feature_set_prices of this FeatureSet. # noqa: E501 105 :type: list[CurrencyFeatureSetPrice] 106 """ 107 108 self._currency_feature_set_prices = currency_feature_set_prices 109 110 @property 111 def envelope_fee(self): 112 """Gets the envelope_fee of this FeatureSet. # noqa: E501 113 114 # noqa: E501 115 116 :return: The envelope_fee of this FeatureSet. # noqa: E501 117 :rtype: str 118 """ 119 return self._envelope_fee 120 121 @envelope_fee.setter 122 def envelope_fee(self, envelope_fee): 123 """Sets the envelope_fee of this FeatureSet. 124 125 # noqa: E501 126 127 :param envelope_fee: The envelope_fee of this FeatureSet. # noqa: E501 128 :type: str 129 """ 130 131 self._envelope_fee = envelope_fee 132 133 @property 134 def feature_set_id(self): 135 """Gets the feature_set_id of this FeatureSet. # noqa: E501 136 137 A unique ID for the feature set. # noqa: E501 138 139 :return: The feature_set_id of this FeatureSet. # noqa: E501 140 :rtype: str 141 """ 142 return self._feature_set_id 143 144 @feature_set_id.setter 145 def feature_set_id(self, feature_set_id): 146 """Sets the feature_set_id of this FeatureSet. 147 148 A unique ID for the feature set. # noqa: E501 149 150 :param feature_set_id: The feature_set_id of this FeatureSet. # noqa: E501 151 :type: str 152 """ 153 154 self._feature_set_id = feature_set_id 155 156 @property 157 def fixed_fee(self): 158 """Gets the fixed_fee of this FeatureSet. # noqa: E501 159 160 # noqa: E501 161 162 :return: The fixed_fee of this FeatureSet. # noqa: E501 163 :rtype: str 164 """ 165 return self._fixed_fee 166 167 @fixed_fee.setter 168 def fixed_fee(self, fixed_fee): 169 """Sets the fixed_fee of this FeatureSet. 170 171 # noqa: E501 172 173 :param fixed_fee: The fixed_fee of this FeatureSet. # noqa: E501 174 :type: str 175 """ 176 177 self._fixed_fee = fixed_fee 178 179 @property 180 def is21_cfr_part11(self): 181 """Gets the is21_cfr_part11 of this FeatureSet. # noqa: E501 182 183 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 184 185 :return: The is21_cfr_part11 of this FeatureSet. # noqa: E501 186 :rtype: str 187 """ 188 return self._is21_cfr_part11 189 190 @is21_cfr_part11.setter 191 def is21_cfr_part11(self, is21_cfr_part11): 192 """Sets the is21_cfr_part11 of this FeatureSet. 193 194 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 195 196 :param is21_cfr_part11: The is21_cfr_part11 of this FeatureSet. # noqa: E501 197 :type: str 198 """ 199 200 self._is21_cfr_part11 = is21_cfr_part11 201 202 @property 203 def is_active(self): 204 """Gets the is_active of this FeatureSet. # noqa: E501 205 206 # noqa: E501 207 208 :return: The is_active of this FeatureSet. # noqa: E501 209 :rtype: str 210 """ 211 return self._is_active 212 213 @is_active.setter 214 def is_active(self, is_active): 215 """Sets the is_active of this FeatureSet. 216 217 # noqa: E501 218 219 :param is_active: The is_active of this FeatureSet. # noqa: E501 220 :type: str 221 """ 222 223 self._is_active = is_active 224 225 @property 226 def is_enabled(self): 227 """Gets the is_enabled of this FeatureSet. # noqa: E501 228 229 Specifies whether the feature set is actively enabled as part of the plan. # noqa: E501 230 231 :return: The is_enabled of this FeatureSet. # noqa: E501 232 :rtype: str 233 """ 234 return self._is_enabled 235 236 @is_enabled.setter 237 def is_enabled(self, is_enabled): 238 """Sets the is_enabled of this FeatureSet. 239 240 Specifies whether the feature set is actively enabled as part of the plan. # noqa: E501 241 242 :param is_enabled: The is_enabled of this FeatureSet. # noqa: E501 243 :type: str 244 """ 245 246 self._is_enabled = is_enabled 247 248 @property 249 def name(self): 250 """Gets the name of this FeatureSet. # noqa: E501 251 252 # noqa: E501 253 254 :return: The name of this FeatureSet. # noqa: E501 255 :rtype: str 256 """ 257 return self._name 258 259 @name.setter 260 def name(self, name): 261 """Sets the name of this FeatureSet. 262 263 # noqa: E501 264 265 :param name: The name of this FeatureSet. # noqa: E501 266 :type: str 267 """ 268 269 self._name = name 270 271 @property 272 def seat_fee(self): 273 """Gets the seat_fee of this FeatureSet. # noqa: E501 274 275 An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true. # noqa: E501 276 277 :return: The seat_fee of this FeatureSet. # noqa: E501 278 :rtype: str 279 """ 280 return self._seat_fee 281 282 @seat_fee.setter 283 def seat_fee(self, seat_fee): 284 """Sets the seat_fee of this FeatureSet. 285 286 An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true. # noqa: E501 287 288 :param seat_fee: The seat_fee of this FeatureSet. # noqa: E501 289 :type: str 290 """ 291 292 self._seat_fee = seat_fee 293 294 def to_dict(self): 295 """Returns the model properties as a dict""" 296 result = {} 297 298 for attr, _ in six.iteritems(self.swagger_types): 299 value = getattr(self, attr) 300 if isinstance(value, list): 301 result[attr] = list(map( 302 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 303 value 304 )) 305 elif hasattr(value, "to_dict"): 306 result[attr] = value.to_dict() 307 elif isinstance(value, dict): 308 result[attr] = dict(map( 309 lambda item: (item[0], item[1].to_dict()) 310 if hasattr(item[1], "to_dict") else item, 311 value.items() 312 )) 313 else: 314 result[attr] = value 315 if issubclass(FeatureSet, dict): 316 for key, value in self.items(): 317 result[key] = value 318 319 return result 320 321 def to_str(self): 322 """Returns the string representation of the model""" 323 return pprint.pformat(self.to_dict()) 324 325 def __repr__(self): 326 """For `print` and `pprint`""" 327 return self.to_str() 328 329 def __eq__(self, other): 330 """Returns true if both objects are equal""" 331 if not isinstance(other, FeatureSet): 332 return False 333 334 return self.to_dict() == other.to_dict() 335 336 def __ne__(self, other): 337 """Returns true if both objects are not equal""" 338 if not isinstance(other, FeatureSet): 339 return True 340 341 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.
60 def __init__(self, _configuration=None, **kwargs): # noqa: E501 61 """FeatureSet - a model defined in Swagger""" # noqa: E501 62 if _configuration is None: 63 _configuration = Configuration() 64 self._configuration = _configuration 65 66 self._currency_feature_set_prices = None 67 self._envelope_fee = None 68 self._feature_set_id = None 69 self._fixed_fee = None 70 self._is21_cfr_part11 = None 71 self._is_active = None 72 self._is_enabled = None 73 self._name = None 74 self._seat_fee = None 75 self.discriminator = None 76 77 setattr(self, "_{}".format('currency_feature_set_prices'), kwargs.get('currency_feature_set_prices', None)) 78 setattr(self, "_{}".format('envelope_fee'), kwargs.get('envelope_fee', None)) 79 setattr(self, "_{}".format('feature_set_id'), kwargs.get('feature_set_id', None)) 80 setattr(self, "_{}".format('fixed_fee'), kwargs.get('fixed_fee', None)) 81 setattr(self, "_{}".format('is21_cfr_part11'), kwargs.get('is21_cfr_part11', None)) 82 setattr(self, "_{}".format('is_active'), kwargs.get('is_active', None)) 83 setattr(self, "_{}".format('is_enabled'), kwargs.get('is_enabled', None)) 84 setattr(self, "_{}".format('name'), kwargs.get('name', None)) 85 setattr(self, "_{}".format('seat_fee'), kwargs.get('seat_fee', None))
FeatureSet - a model defined in Swagger
Gets the currency_feature_set_prices of this FeatureSet. # noqa: E501
A complex type that contains alternate currency values that are configured for this plan feature set. # noqa: E501
Returns
The currency_feature_set_prices of this FeatureSet. # noqa: E501
Gets the envelope_fee of this FeatureSet. # noqa: E501
# noqa: E501
Returns
The envelope_fee of this FeatureSet. # noqa: E501
Gets the feature_set_id of this FeatureSet. # noqa: E501
A unique ID for the feature set. # noqa: E501
Returns
The feature_set_id of this FeatureSet. # noqa: E501
Gets the fixed_fee of this FeatureSet. # noqa: E501
# noqa: E501
Returns
The fixed_fee of this FeatureSet. # noqa: E501
Gets the is21_cfr_part11 of this FeatureSet. # noqa: E501
When set to true, indicates that this module is enabled on the account. # noqa: E501
Returns
The is21_cfr_part11 of this FeatureSet. # noqa: E501
Gets the is_active of this FeatureSet. # noqa: E501
# noqa: E501
Returns
The is_active of this FeatureSet. # noqa: E501
Gets the is_enabled of this FeatureSet. # noqa: E501
Specifies whether the feature set is actively enabled as part of the plan. # noqa: E501
Returns
The is_enabled of this FeatureSet. # noqa: E501
Gets the name of this FeatureSet. # noqa: E501
# noqa: E501
Returns
The name of this FeatureSet. # noqa: E501
Gets the seat_fee of this FeatureSet. # noqa: E501
An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true. # noqa: E501
Returns
The seat_fee of this FeatureSet. # noqa: E501
294 def to_dict(self): 295 """Returns the model properties as a dict""" 296 result = {} 297 298 for attr, _ in six.iteritems(self.swagger_types): 299 value = getattr(self, attr) 300 if isinstance(value, list): 301 result[attr] = list(map( 302 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 303 value 304 )) 305 elif hasattr(value, "to_dict"): 306 result[attr] = value.to_dict() 307 elif isinstance(value, dict): 308 result[attr] = dict(map( 309 lambda item: (item[0], item[1].to_dict()) 310 if hasattr(item[1], "to_dict") else item, 311 value.items() 312 )) 313 else: 314 result[attr] = value 315 if issubclass(FeatureSet, dict): 316 for key, value in self.items(): 317 result[key] = value 318 319 return result
Returns the model properties as a dict