docusign_esign.models.report_in_product_list_item
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 ReportInProductListItem(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 'get_uri': 'str', 37 'last_scheduled_execution_date': 'str', 38 'last_scheduled_execution_success_date': 'str', 39 'report_customized_id': 'str', 40 'report_description': 'str', 41 'report_id': 'str', 42 'report_name': 'str', 43 'report_type': 'str', 44 'run_uri': 'str', 45 'save_uri': 'str', 46 'schedule_create_date': 'str', 47 'schedule_end_date': 'str', 48 'schedule_id': 'str', 49 'schedule_renew_duration_days': 'str' 50 } 51 52 attribute_map = { 53 'get_uri': 'getUri', 54 'last_scheduled_execution_date': 'lastScheduledExecutionDate', 55 'last_scheduled_execution_success_date': 'lastScheduledExecutionSuccessDate', 56 'report_customized_id': 'reportCustomizedId', 57 'report_description': 'reportDescription', 58 'report_id': 'reportId', 59 'report_name': 'reportName', 60 'report_type': 'reportType', 61 'run_uri': 'runUri', 62 'save_uri': 'saveUri', 63 'schedule_create_date': 'scheduleCreateDate', 64 'schedule_end_date': 'scheduleEndDate', 65 'schedule_id': 'scheduleId', 66 'schedule_renew_duration_days': 'scheduleRenewDurationDays' 67 } 68 69 def __init__(self, _configuration=None, **kwargs): # noqa: E501 70 """ReportInProductListItem - a model defined in Swagger""" # noqa: E501 71 if _configuration is None: 72 _configuration = Configuration() 73 self._configuration = _configuration 74 75 self._get_uri = None 76 self._last_scheduled_execution_date = None 77 self._last_scheduled_execution_success_date = None 78 self._report_customized_id = None 79 self._report_description = None 80 self._report_id = None 81 self._report_name = None 82 self._report_type = None 83 self._run_uri = None 84 self._save_uri = None 85 self._schedule_create_date = None 86 self._schedule_end_date = None 87 self._schedule_id = None 88 self._schedule_renew_duration_days = None 89 self.discriminator = None 90 91 setattr(self, "_{}".format('get_uri'), kwargs.get('get_uri', None)) 92 setattr(self, "_{}".format('last_scheduled_execution_date'), kwargs.get('last_scheduled_execution_date', None)) 93 setattr(self, "_{}".format('last_scheduled_execution_success_date'), kwargs.get('last_scheduled_execution_success_date', None)) 94 setattr(self, "_{}".format('report_customized_id'), kwargs.get('report_customized_id', None)) 95 setattr(self, "_{}".format('report_description'), kwargs.get('report_description', None)) 96 setattr(self, "_{}".format('report_id'), kwargs.get('report_id', None)) 97 setattr(self, "_{}".format('report_name'), kwargs.get('report_name', None)) 98 setattr(self, "_{}".format('report_type'), kwargs.get('report_type', None)) 99 setattr(self, "_{}".format('run_uri'), kwargs.get('run_uri', None)) 100 setattr(self, "_{}".format('save_uri'), kwargs.get('save_uri', None)) 101 setattr(self, "_{}".format('schedule_create_date'), kwargs.get('schedule_create_date', None)) 102 setattr(self, "_{}".format('schedule_end_date'), kwargs.get('schedule_end_date', None)) 103 setattr(self, "_{}".format('schedule_id'), kwargs.get('schedule_id', None)) 104 setattr(self, "_{}".format('schedule_renew_duration_days'), kwargs.get('schedule_renew_duration_days', None)) 105 106 @property 107 def get_uri(self): 108 """Gets the get_uri of this ReportInProductListItem. # noqa: E501 109 110 # noqa: E501 111 112 :return: The get_uri of this ReportInProductListItem. # noqa: E501 113 :rtype: str 114 """ 115 return self._get_uri 116 117 @get_uri.setter 118 def get_uri(self, get_uri): 119 """Sets the get_uri of this ReportInProductListItem. 120 121 # noqa: E501 122 123 :param get_uri: The get_uri of this ReportInProductListItem. # noqa: E501 124 :type: str 125 """ 126 127 self._get_uri = get_uri 128 129 @property 130 def last_scheduled_execution_date(self): 131 """Gets the last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501 132 133 # noqa: E501 134 135 :return: The last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501 136 :rtype: str 137 """ 138 return self._last_scheduled_execution_date 139 140 @last_scheduled_execution_date.setter 141 def last_scheduled_execution_date(self, last_scheduled_execution_date): 142 """Sets the last_scheduled_execution_date of this ReportInProductListItem. 143 144 # noqa: E501 145 146 :param last_scheduled_execution_date: The last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501 147 :type: str 148 """ 149 150 self._last_scheduled_execution_date = last_scheduled_execution_date 151 152 @property 153 def last_scheduled_execution_success_date(self): 154 """Gets the last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501 155 156 # noqa: E501 157 158 :return: The last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501 159 :rtype: str 160 """ 161 return self._last_scheduled_execution_success_date 162 163 @last_scheduled_execution_success_date.setter 164 def last_scheduled_execution_success_date(self, last_scheduled_execution_success_date): 165 """Sets the last_scheduled_execution_success_date of this ReportInProductListItem. 166 167 # noqa: E501 168 169 :param last_scheduled_execution_success_date: The last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501 170 :type: str 171 """ 172 173 self._last_scheduled_execution_success_date = last_scheduled_execution_success_date 174 175 @property 176 def report_customized_id(self): 177 """Gets the report_customized_id of this ReportInProductListItem. # noqa: E501 178 179 # noqa: E501 180 181 :return: The report_customized_id of this ReportInProductListItem. # noqa: E501 182 :rtype: str 183 """ 184 return self._report_customized_id 185 186 @report_customized_id.setter 187 def report_customized_id(self, report_customized_id): 188 """Sets the report_customized_id of this ReportInProductListItem. 189 190 # noqa: E501 191 192 :param report_customized_id: The report_customized_id of this ReportInProductListItem. # noqa: E501 193 :type: str 194 """ 195 196 self._report_customized_id = report_customized_id 197 198 @property 199 def report_description(self): 200 """Gets the report_description of this ReportInProductListItem. # noqa: E501 201 202 # noqa: E501 203 204 :return: The report_description of this ReportInProductListItem. # noqa: E501 205 :rtype: str 206 """ 207 return self._report_description 208 209 @report_description.setter 210 def report_description(self, report_description): 211 """Sets the report_description of this ReportInProductListItem. 212 213 # noqa: E501 214 215 :param report_description: The report_description of this ReportInProductListItem. # noqa: E501 216 :type: str 217 """ 218 219 self._report_description = report_description 220 221 @property 222 def report_id(self): 223 """Gets the report_id of this ReportInProductListItem. # noqa: E501 224 225 # noqa: E501 226 227 :return: The report_id of this ReportInProductListItem. # noqa: E501 228 :rtype: str 229 """ 230 return self._report_id 231 232 @report_id.setter 233 def report_id(self, report_id): 234 """Sets the report_id of this ReportInProductListItem. 235 236 # noqa: E501 237 238 :param report_id: The report_id of this ReportInProductListItem. # noqa: E501 239 :type: str 240 """ 241 242 self._report_id = report_id 243 244 @property 245 def report_name(self): 246 """Gets the report_name of this ReportInProductListItem. # noqa: E501 247 248 # noqa: E501 249 250 :return: The report_name of this ReportInProductListItem. # noqa: E501 251 :rtype: str 252 """ 253 return self._report_name 254 255 @report_name.setter 256 def report_name(self, report_name): 257 """Sets the report_name of this ReportInProductListItem. 258 259 # noqa: E501 260 261 :param report_name: The report_name of this ReportInProductListItem. # noqa: E501 262 :type: str 263 """ 264 265 self._report_name = report_name 266 267 @property 268 def report_type(self): 269 """Gets the report_type of this ReportInProductListItem. # noqa: E501 270 271 # noqa: E501 272 273 :return: The report_type of this ReportInProductListItem. # noqa: E501 274 :rtype: str 275 """ 276 return self._report_type 277 278 @report_type.setter 279 def report_type(self, report_type): 280 """Sets the report_type of this ReportInProductListItem. 281 282 # noqa: E501 283 284 :param report_type: The report_type of this ReportInProductListItem. # noqa: E501 285 :type: str 286 """ 287 288 self._report_type = report_type 289 290 @property 291 def run_uri(self): 292 """Gets the run_uri of this ReportInProductListItem. # noqa: E501 293 294 # noqa: E501 295 296 :return: The run_uri of this ReportInProductListItem. # noqa: E501 297 :rtype: str 298 """ 299 return self._run_uri 300 301 @run_uri.setter 302 def run_uri(self, run_uri): 303 """Sets the run_uri of this ReportInProductListItem. 304 305 # noqa: E501 306 307 :param run_uri: The run_uri of this ReportInProductListItem. # noqa: E501 308 :type: str 309 """ 310 311 self._run_uri = run_uri 312 313 @property 314 def save_uri(self): 315 """Gets the save_uri of this ReportInProductListItem. # noqa: E501 316 317 # noqa: E501 318 319 :return: The save_uri of this ReportInProductListItem. # noqa: E501 320 :rtype: str 321 """ 322 return self._save_uri 323 324 @save_uri.setter 325 def save_uri(self, save_uri): 326 """Sets the save_uri of this ReportInProductListItem. 327 328 # noqa: E501 329 330 :param save_uri: The save_uri of this ReportInProductListItem. # noqa: E501 331 :type: str 332 """ 333 334 self._save_uri = save_uri 335 336 @property 337 def schedule_create_date(self): 338 """Gets the schedule_create_date of this ReportInProductListItem. # noqa: E501 339 340 # noqa: E501 341 342 :return: The schedule_create_date of this ReportInProductListItem. # noqa: E501 343 :rtype: str 344 """ 345 return self._schedule_create_date 346 347 @schedule_create_date.setter 348 def schedule_create_date(self, schedule_create_date): 349 """Sets the schedule_create_date of this ReportInProductListItem. 350 351 # noqa: E501 352 353 :param schedule_create_date: The schedule_create_date of this ReportInProductListItem. # noqa: E501 354 :type: str 355 """ 356 357 self._schedule_create_date = schedule_create_date 358 359 @property 360 def schedule_end_date(self): 361 """Gets the schedule_end_date of this ReportInProductListItem. # noqa: E501 362 363 # noqa: E501 364 365 :return: The schedule_end_date of this ReportInProductListItem. # noqa: E501 366 :rtype: str 367 """ 368 return self._schedule_end_date 369 370 @schedule_end_date.setter 371 def schedule_end_date(self, schedule_end_date): 372 """Sets the schedule_end_date of this ReportInProductListItem. 373 374 # noqa: E501 375 376 :param schedule_end_date: The schedule_end_date of this ReportInProductListItem. # noqa: E501 377 :type: str 378 """ 379 380 self._schedule_end_date = schedule_end_date 381 382 @property 383 def schedule_id(self): 384 """Gets the schedule_id of this ReportInProductListItem. # noqa: E501 385 386 # noqa: E501 387 388 :return: The schedule_id of this ReportInProductListItem. # noqa: E501 389 :rtype: str 390 """ 391 return self._schedule_id 392 393 @schedule_id.setter 394 def schedule_id(self, schedule_id): 395 """Sets the schedule_id of this ReportInProductListItem. 396 397 # noqa: E501 398 399 :param schedule_id: The schedule_id of this ReportInProductListItem. # noqa: E501 400 :type: str 401 """ 402 403 self._schedule_id = schedule_id 404 405 @property 406 def schedule_renew_duration_days(self): 407 """Gets the schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501 408 409 # noqa: E501 410 411 :return: The schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501 412 :rtype: str 413 """ 414 return self._schedule_renew_duration_days 415 416 @schedule_renew_duration_days.setter 417 def schedule_renew_duration_days(self, schedule_renew_duration_days): 418 """Sets the schedule_renew_duration_days of this ReportInProductListItem. 419 420 # noqa: E501 421 422 :param schedule_renew_duration_days: The schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501 423 :type: str 424 """ 425 426 self._schedule_renew_duration_days = schedule_renew_duration_days 427 428 def to_dict(self): 429 """Returns the model properties as a dict""" 430 result = {} 431 432 for attr, _ in six.iteritems(self.swagger_types): 433 value = getattr(self, attr) 434 if isinstance(value, list): 435 result[attr] = list(map( 436 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 437 value 438 )) 439 elif hasattr(value, "to_dict"): 440 result[attr] = value.to_dict() 441 elif isinstance(value, dict): 442 result[attr] = dict(map( 443 lambda item: (item[0], item[1].to_dict()) 444 if hasattr(item[1], "to_dict") else item, 445 value.items() 446 )) 447 else: 448 result[attr] = value 449 if issubclass(ReportInProductListItem, dict): 450 for key, value in self.items(): 451 result[key] = value 452 453 return result 454 455 def to_str(self): 456 """Returns the string representation of the model""" 457 return pprint.pformat(self.to_dict()) 458 459 def __repr__(self): 460 """For `print` and `pprint`""" 461 return self.to_str() 462 463 def __eq__(self, other): 464 """Returns true if both objects are equal""" 465 if not isinstance(other, ReportInProductListItem): 466 return False 467 468 return self.to_dict() == other.to_dict() 469 470 def __ne__(self, other): 471 """Returns true if both objects are not equal""" 472 if not isinstance(other, ReportInProductListItem): 473 return True 474 475 return self.to_dict() != other.to_dict()
23class ReportInProductListItem(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 'get_uri': 'str', 38 'last_scheduled_execution_date': 'str', 39 'last_scheduled_execution_success_date': 'str', 40 'report_customized_id': 'str', 41 'report_description': 'str', 42 'report_id': 'str', 43 'report_name': 'str', 44 'report_type': 'str', 45 'run_uri': 'str', 46 'save_uri': 'str', 47 'schedule_create_date': 'str', 48 'schedule_end_date': 'str', 49 'schedule_id': 'str', 50 'schedule_renew_duration_days': 'str' 51 } 52 53 attribute_map = { 54 'get_uri': 'getUri', 55 'last_scheduled_execution_date': 'lastScheduledExecutionDate', 56 'last_scheduled_execution_success_date': 'lastScheduledExecutionSuccessDate', 57 'report_customized_id': 'reportCustomizedId', 58 'report_description': 'reportDescription', 59 'report_id': 'reportId', 60 'report_name': 'reportName', 61 'report_type': 'reportType', 62 'run_uri': 'runUri', 63 'save_uri': 'saveUri', 64 'schedule_create_date': 'scheduleCreateDate', 65 'schedule_end_date': 'scheduleEndDate', 66 'schedule_id': 'scheduleId', 67 'schedule_renew_duration_days': 'scheduleRenewDurationDays' 68 } 69 70 def __init__(self, _configuration=None, **kwargs): # noqa: E501 71 """ReportInProductListItem - a model defined in Swagger""" # noqa: E501 72 if _configuration is None: 73 _configuration = Configuration() 74 self._configuration = _configuration 75 76 self._get_uri = None 77 self._last_scheduled_execution_date = None 78 self._last_scheduled_execution_success_date = None 79 self._report_customized_id = None 80 self._report_description = None 81 self._report_id = None 82 self._report_name = None 83 self._report_type = None 84 self._run_uri = None 85 self._save_uri = None 86 self._schedule_create_date = None 87 self._schedule_end_date = None 88 self._schedule_id = None 89 self._schedule_renew_duration_days = None 90 self.discriminator = None 91 92 setattr(self, "_{}".format('get_uri'), kwargs.get('get_uri', None)) 93 setattr(self, "_{}".format('last_scheduled_execution_date'), kwargs.get('last_scheduled_execution_date', None)) 94 setattr(self, "_{}".format('last_scheduled_execution_success_date'), kwargs.get('last_scheduled_execution_success_date', None)) 95 setattr(self, "_{}".format('report_customized_id'), kwargs.get('report_customized_id', None)) 96 setattr(self, "_{}".format('report_description'), kwargs.get('report_description', None)) 97 setattr(self, "_{}".format('report_id'), kwargs.get('report_id', None)) 98 setattr(self, "_{}".format('report_name'), kwargs.get('report_name', None)) 99 setattr(self, "_{}".format('report_type'), kwargs.get('report_type', None)) 100 setattr(self, "_{}".format('run_uri'), kwargs.get('run_uri', None)) 101 setattr(self, "_{}".format('save_uri'), kwargs.get('save_uri', None)) 102 setattr(self, "_{}".format('schedule_create_date'), kwargs.get('schedule_create_date', None)) 103 setattr(self, "_{}".format('schedule_end_date'), kwargs.get('schedule_end_date', None)) 104 setattr(self, "_{}".format('schedule_id'), kwargs.get('schedule_id', None)) 105 setattr(self, "_{}".format('schedule_renew_duration_days'), kwargs.get('schedule_renew_duration_days', None)) 106 107 @property 108 def get_uri(self): 109 """Gets the get_uri of this ReportInProductListItem. # noqa: E501 110 111 # noqa: E501 112 113 :return: The get_uri of this ReportInProductListItem. # noqa: E501 114 :rtype: str 115 """ 116 return self._get_uri 117 118 @get_uri.setter 119 def get_uri(self, get_uri): 120 """Sets the get_uri of this ReportInProductListItem. 121 122 # noqa: E501 123 124 :param get_uri: The get_uri of this ReportInProductListItem. # noqa: E501 125 :type: str 126 """ 127 128 self._get_uri = get_uri 129 130 @property 131 def last_scheduled_execution_date(self): 132 """Gets the last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501 133 134 # noqa: E501 135 136 :return: The last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501 137 :rtype: str 138 """ 139 return self._last_scheduled_execution_date 140 141 @last_scheduled_execution_date.setter 142 def last_scheduled_execution_date(self, last_scheduled_execution_date): 143 """Sets the last_scheduled_execution_date of this ReportInProductListItem. 144 145 # noqa: E501 146 147 :param last_scheduled_execution_date: The last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501 148 :type: str 149 """ 150 151 self._last_scheduled_execution_date = last_scheduled_execution_date 152 153 @property 154 def last_scheduled_execution_success_date(self): 155 """Gets the last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501 156 157 # noqa: E501 158 159 :return: The last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501 160 :rtype: str 161 """ 162 return self._last_scheduled_execution_success_date 163 164 @last_scheduled_execution_success_date.setter 165 def last_scheduled_execution_success_date(self, last_scheduled_execution_success_date): 166 """Sets the last_scheduled_execution_success_date of this ReportInProductListItem. 167 168 # noqa: E501 169 170 :param last_scheduled_execution_success_date: The last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501 171 :type: str 172 """ 173 174 self._last_scheduled_execution_success_date = last_scheduled_execution_success_date 175 176 @property 177 def report_customized_id(self): 178 """Gets the report_customized_id of this ReportInProductListItem. # noqa: E501 179 180 # noqa: E501 181 182 :return: The report_customized_id of this ReportInProductListItem. # noqa: E501 183 :rtype: str 184 """ 185 return self._report_customized_id 186 187 @report_customized_id.setter 188 def report_customized_id(self, report_customized_id): 189 """Sets the report_customized_id of this ReportInProductListItem. 190 191 # noqa: E501 192 193 :param report_customized_id: The report_customized_id of this ReportInProductListItem. # noqa: E501 194 :type: str 195 """ 196 197 self._report_customized_id = report_customized_id 198 199 @property 200 def report_description(self): 201 """Gets the report_description of this ReportInProductListItem. # noqa: E501 202 203 # noqa: E501 204 205 :return: The report_description of this ReportInProductListItem. # noqa: E501 206 :rtype: str 207 """ 208 return self._report_description 209 210 @report_description.setter 211 def report_description(self, report_description): 212 """Sets the report_description of this ReportInProductListItem. 213 214 # noqa: E501 215 216 :param report_description: The report_description of this ReportInProductListItem. # noqa: E501 217 :type: str 218 """ 219 220 self._report_description = report_description 221 222 @property 223 def report_id(self): 224 """Gets the report_id of this ReportInProductListItem. # noqa: E501 225 226 # noqa: E501 227 228 :return: The report_id of this ReportInProductListItem. # noqa: E501 229 :rtype: str 230 """ 231 return self._report_id 232 233 @report_id.setter 234 def report_id(self, report_id): 235 """Sets the report_id of this ReportInProductListItem. 236 237 # noqa: E501 238 239 :param report_id: The report_id of this ReportInProductListItem. # noqa: E501 240 :type: str 241 """ 242 243 self._report_id = report_id 244 245 @property 246 def report_name(self): 247 """Gets the report_name of this ReportInProductListItem. # noqa: E501 248 249 # noqa: E501 250 251 :return: The report_name of this ReportInProductListItem. # noqa: E501 252 :rtype: str 253 """ 254 return self._report_name 255 256 @report_name.setter 257 def report_name(self, report_name): 258 """Sets the report_name of this ReportInProductListItem. 259 260 # noqa: E501 261 262 :param report_name: The report_name of this ReportInProductListItem. # noqa: E501 263 :type: str 264 """ 265 266 self._report_name = report_name 267 268 @property 269 def report_type(self): 270 """Gets the report_type of this ReportInProductListItem. # noqa: E501 271 272 # noqa: E501 273 274 :return: The report_type of this ReportInProductListItem. # noqa: E501 275 :rtype: str 276 """ 277 return self._report_type 278 279 @report_type.setter 280 def report_type(self, report_type): 281 """Sets the report_type of this ReportInProductListItem. 282 283 # noqa: E501 284 285 :param report_type: The report_type of this ReportInProductListItem. # noqa: E501 286 :type: str 287 """ 288 289 self._report_type = report_type 290 291 @property 292 def run_uri(self): 293 """Gets the run_uri of this ReportInProductListItem. # noqa: E501 294 295 # noqa: E501 296 297 :return: The run_uri of this ReportInProductListItem. # noqa: E501 298 :rtype: str 299 """ 300 return self._run_uri 301 302 @run_uri.setter 303 def run_uri(self, run_uri): 304 """Sets the run_uri of this ReportInProductListItem. 305 306 # noqa: E501 307 308 :param run_uri: The run_uri of this ReportInProductListItem. # noqa: E501 309 :type: str 310 """ 311 312 self._run_uri = run_uri 313 314 @property 315 def save_uri(self): 316 """Gets the save_uri of this ReportInProductListItem. # noqa: E501 317 318 # noqa: E501 319 320 :return: The save_uri of this ReportInProductListItem. # noqa: E501 321 :rtype: str 322 """ 323 return self._save_uri 324 325 @save_uri.setter 326 def save_uri(self, save_uri): 327 """Sets the save_uri of this ReportInProductListItem. 328 329 # noqa: E501 330 331 :param save_uri: The save_uri of this ReportInProductListItem. # noqa: E501 332 :type: str 333 """ 334 335 self._save_uri = save_uri 336 337 @property 338 def schedule_create_date(self): 339 """Gets the schedule_create_date of this ReportInProductListItem. # noqa: E501 340 341 # noqa: E501 342 343 :return: The schedule_create_date of this ReportInProductListItem. # noqa: E501 344 :rtype: str 345 """ 346 return self._schedule_create_date 347 348 @schedule_create_date.setter 349 def schedule_create_date(self, schedule_create_date): 350 """Sets the schedule_create_date of this ReportInProductListItem. 351 352 # noqa: E501 353 354 :param schedule_create_date: The schedule_create_date of this ReportInProductListItem. # noqa: E501 355 :type: str 356 """ 357 358 self._schedule_create_date = schedule_create_date 359 360 @property 361 def schedule_end_date(self): 362 """Gets the schedule_end_date of this ReportInProductListItem. # noqa: E501 363 364 # noqa: E501 365 366 :return: The schedule_end_date of this ReportInProductListItem. # noqa: E501 367 :rtype: str 368 """ 369 return self._schedule_end_date 370 371 @schedule_end_date.setter 372 def schedule_end_date(self, schedule_end_date): 373 """Sets the schedule_end_date of this ReportInProductListItem. 374 375 # noqa: E501 376 377 :param schedule_end_date: The schedule_end_date of this ReportInProductListItem. # noqa: E501 378 :type: str 379 """ 380 381 self._schedule_end_date = schedule_end_date 382 383 @property 384 def schedule_id(self): 385 """Gets the schedule_id of this ReportInProductListItem. # noqa: E501 386 387 # noqa: E501 388 389 :return: The schedule_id of this ReportInProductListItem. # noqa: E501 390 :rtype: str 391 """ 392 return self._schedule_id 393 394 @schedule_id.setter 395 def schedule_id(self, schedule_id): 396 """Sets the schedule_id of this ReportInProductListItem. 397 398 # noqa: E501 399 400 :param schedule_id: The schedule_id of this ReportInProductListItem. # noqa: E501 401 :type: str 402 """ 403 404 self._schedule_id = schedule_id 405 406 @property 407 def schedule_renew_duration_days(self): 408 """Gets the schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501 409 410 # noqa: E501 411 412 :return: The schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501 413 :rtype: str 414 """ 415 return self._schedule_renew_duration_days 416 417 @schedule_renew_duration_days.setter 418 def schedule_renew_duration_days(self, schedule_renew_duration_days): 419 """Sets the schedule_renew_duration_days of this ReportInProductListItem. 420 421 # noqa: E501 422 423 :param schedule_renew_duration_days: The schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501 424 :type: str 425 """ 426 427 self._schedule_renew_duration_days = schedule_renew_duration_days 428 429 def to_dict(self): 430 """Returns the model properties as a dict""" 431 result = {} 432 433 for attr, _ in six.iteritems(self.swagger_types): 434 value = getattr(self, attr) 435 if isinstance(value, list): 436 result[attr] = list(map( 437 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 438 value 439 )) 440 elif hasattr(value, "to_dict"): 441 result[attr] = value.to_dict() 442 elif isinstance(value, dict): 443 result[attr] = dict(map( 444 lambda item: (item[0], item[1].to_dict()) 445 if hasattr(item[1], "to_dict") else item, 446 value.items() 447 )) 448 else: 449 result[attr] = value 450 if issubclass(ReportInProductListItem, dict): 451 for key, value in self.items(): 452 result[key] = value 453 454 return result 455 456 def to_str(self): 457 """Returns the string representation of the model""" 458 return pprint.pformat(self.to_dict()) 459 460 def __repr__(self): 461 """For `print` and `pprint`""" 462 return self.to_str() 463 464 def __eq__(self, other): 465 """Returns true if both objects are equal""" 466 if not isinstance(other, ReportInProductListItem): 467 return False 468 469 return self.to_dict() == other.to_dict() 470 471 def __ne__(self, other): 472 """Returns true if both objects are not equal""" 473 if not isinstance(other, ReportInProductListItem): 474 return True 475 476 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.
70 def __init__(self, _configuration=None, **kwargs): # noqa: E501 71 """ReportInProductListItem - a model defined in Swagger""" # noqa: E501 72 if _configuration is None: 73 _configuration = Configuration() 74 self._configuration = _configuration 75 76 self._get_uri = None 77 self._last_scheduled_execution_date = None 78 self._last_scheduled_execution_success_date = None 79 self._report_customized_id = None 80 self._report_description = None 81 self._report_id = None 82 self._report_name = None 83 self._report_type = None 84 self._run_uri = None 85 self._save_uri = None 86 self._schedule_create_date = None 87 self._schedule_end_date = None 88 self._schedule_id = None 89 self._schedule_renew_duration_days = None 90 self.discriminator = None 91 92 setattr(self, "_{}".format('get_uri'), kwargs.get('get_uri', None)) 93 setattr(self, "_{}".format('last_scheduled_execution_date'), kwargs.get('last_scheduled_execution_date', None)) 94 setattr(self, "_{}".format('last_scheduled_execution_success_date'), kwargs.get('last_scheduled_execution_success_date', None)) 95 setattr(self, "_{}".format('report_customized_id'), kwargs.get('report_customized_id', None)) 96 setattr(self, "_{}".format('report_description'), kwargs.get('report_description', None)) 97 setattr(self, "_{}".format('report_id'), kwargs.get('report_id', None)) 98 setattr(self, "_{}".format('report_name'), kwargs.get('report_name', None)) 99 setattr(self, "_{}".format('report_type'), kwargs.get('report_type', None)) 100 setattr(self, "_{}".format('run_uri'), kwargs.get('run_uri', None)) 101 setattr(self, "_{}".format('save_uri'), kwargs.get('save_uri', None)) 102 setattr(self, "_{}".format('schedule_create_date'), kwargs.get('schedule_create_date', None)) 103 setattr(self, "_{}".format('schedule_end_date'), kwargs.get('schedule_end_date', None)) 104 setattr(self, "_{}".format('schedule_id'), kwargs.get('schedule_id', None)) 105 setattr(self, "_{}".format('schedule_renew_duration_days'), kwargs.get('schedule_renew_duration_days', None))
ReportInProductListItem - a model defined in Swagger
Gets the get_uri of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The get_uri of this ReportInProductListItem. # noqa: E501
Gets the last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The last_scheduled_execution_date of this ReportInProductListItem. # noqa: E501
Gets the last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The last_scheduled_execution_success_date of this ReportInProductListItem. # noqa: E501
Gets the report_customized_id of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The report_customized_id of this ReportInProductListItem. # noqa: E501
Gets the report_description of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The report_description of this ReportInProductListItem. # noqa: E501
Gets the report_id of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The report_id of this ReportInProductListItem. # noqa: E501
Gets the report_name of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The report_name of this ReportInProductListItem. # noqa: E501
Gets the report_type of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The report_type of this ReportInProductListItem. # noqa: E501
Gets the run_uri of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The run_uri of this ReportInProductListItem. # noqa: E501
Gets the save_uri of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The save_uri of this ReportInProductListItem. # noqa: E501
Gets the schedule_create_date of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The schedule_create_date of this ReportInProductListItem. # noqa: E501
Gets the schedule_end_date of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The schedule_end_date of this ReportInProductListItem. # noqa: E501
Gets the schedule_id of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The schedule_id of this ReportInProductListItem. # noqa: E501
Gets the schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501
# noqa: E501
Returns
The schedule_renew_duration_days of this ReportInProductListItem. # noqa: E501
429 def to_dict(self): 430 """Returns the model properties as a dict""" 431 result = {} 432 433 for attr, _ in six.iteritems(self.swagger_types): 434 value = getattr(self, attr) 435 if isinstance(value, list): 436 result[attr] = list(map( 437 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 438 value 439 )) 440 elif hasattr(value, "to_dict"): 441 result[attr] = value.to_dict() 442 elif isinstance(value, dict): 443 result[attr] = dict(map( 444 lambda item: (item[0], item[1].to_dict()) 445 if hasattr(item[1], "to_dict") else item, 446 value.items() 447 )) 448 else: 449 result[attr] = value 450 if issubclass(ReportInProductListItem, dict): 451 for key, value in self.items(): 452 result[key] = value 453 454 return result
Returns the model properties as a dict