docusign_esign.models.report_in_product_run_response_row
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 ReportInProductRunResponseRow(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 'envelope_id': 'str', 37 'fields': 'ReportInProductRunResponseRowFields' 38 } 39 40 attribute_map = { 41 'envelope_id': 'envelopeId', 42 'fields': 'fields' 43 } 44 45 def __init__(self, _configuration=None, **kwargs): # noqa: E501 46 """ReportInProductRunResponseRow - a model defined in Swagger""" # noqa: E501 47 if _configuration is None: 48 _configuration = Configuration() 49 self._configuration = _configuration 50 51 self._envelope_id = None 52 self._fields = None 53 self.discriminator = None 54 55 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 56 setattr(self, "_{}".format('fields'), kwargs.get('fields', None)) 57 58 @property 59 def envelope_id(self): 60 """Gets the envelope_id of this ReportInProductRunResponseRow. # noqa: E501 61 62 The envelope ID of the envelope status that failed to post. # noqa: E501 63 64 :return: The envelope_id of this ReportInProductRunResponseRow. # noqa: E501 65 :rtype: str 66 """ 67 return self._envelope_id 68 69 @envelope_id.setter 70 def envelope_id(self, envelope_id): 71 """Sets the envelope_id of this ReportInProductRunResponseRow. 72 73 The envelope ID of the envelope status that failed to post. # noqa: E501 74 75 :param envelope_id: The envelope_id of this ReportInProductRunResponseRow. # noqa: E501 76 :type: str 77 """ 78 79 self._envelope_id = envelope_id 80 81 @property 82 def fields(self): 83 """Gets the fields of this ReportInProductRunResponseRow. # noqa: E501 84 85 86 :return: The fields of this ReportInProductRunResponseRow. # noqa: E501 87 :rtype: ReportInProductRunResponseRowFields 88 """ 89 return self._fields 90 91 @fields.setter 92 def fields(self, fields): 93 """Sets the fields of this ReportInProductRunResponseRow. 94 95 96 :param fields: The fields of this ReportInProductRunResponseRow. # noqa: E501 97 :type: ReportInProductRunResponseRowFields 98 """ 99 100 self._fields = fields 101 102 def to_dict(self): 103 """Returns the model properties as a dict""" 104 result = {} 105 106 for attr, _ in six.iteritems(self.swagger_types): 107 value = getattr(self, attr) 108 if isinstance(value, list): 109 result[attr] = list(map( 110 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 111 value 112 )) 113 elif hasattr(value, "to_dict"): 114 result[attr] = value.to_dict() 115 elif isinstance(value, dict): 116 result[attr] = dict(map( 117 lambda item: (item[0], item[1].to_dict()) 118 if hasattr(item[1], "to_dict") else item, 119 value.items() 120 )) 121 else: 122 result[attr] = value 123 if issubclass(ReportInProductRunResponseRow, dict): 124 for key, value in self.items(): 125 result[key] = value 126 127 return result 128 129 def to_str(self): 130 """Returns the string representation of the model""" 131 return pprint.pformat(self.to_dict()) 132 133 def __repr__(self): 134 """For `print` and `pprint`""" 135 return self.to_str() 136 137 def __eq__(self, other): 138 """Returns true if both objects are equal""" 139 if not isinstance(other, ReportInProductRunResponseRow): 140 return False 141 142 return self.to_dict() == other.to_dict() 143 144 def __ne__(self, other): 145 """Returns true if both objects are not equal""" 146 if not isinstance(other, ReportInProductRunResponseRow): 147 return True 148 149 return self.to_dict() != other.to_dict()
23class ReportInProductRunResponseRow(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 'envelope_id': 'str', 38 'fields': 'ReportInProductRunResponseRowFields' 39 } 40 41 attribute_map = { 42 'envelope_id': 'envelopeId', 43 'fields': 'fields' 44 } 45 46 def __init__(self, _configuration=None, **kwargs): # noqa: E501 47 """ReportInProductRunResponseRow - a model defined in Swagger""" # noqa: E501 48 if _configuration is None: 49 _configuration = Configuration() 50 self._configuration = _configuration 51 52 self._envelope_id = None 53 self._fields = None 54 self.discriminator = None 55 56 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 57 setattr(self, "_{}".format('fields'), kwargs.get('fields', None)) 58 59 @property 60 def envelope_id(self): 61 """Gets the envelope_id of this ReportInProductRunResponseRow. # noqa: E501 62 63 The envelope ID of the envelope status that failed to post. # noqa: E501 64 65 :return: The envelope_id of this ReportInProductRunResponseRow. # noqa: E501 66 :rtype: str 67 """ 68 return self._envelope_id 69 70 @envelope_id.setter 71 def envelope_id(self, envelope_id): 72 """Sets the envelope_id of this ReportInProductRunResponseRow. 73 74 The envelope ID of the envelope status that failed to post. # noqa: E501 75 76 :param envelope_id: The envelope_id of this ReportInProductRunResponseRow. # noqa: E501 77 :type: str 78 """ 79 80 self._envelope_id = envelope_id 81 82 @property 83 def fields(self): 84 """Gets the fields of this ReportInProductRunResponseRow. # noqa: E501 85 86 87 :return: The fields of this ReportInProductRunResponseRow. # noqa: E501 88 :rtype: ReportInProductRunResponseRowFields 89 """ 90 return self._fields 91 92 @fields.setter 93 def fields(self, fields): 94 """Sets the fields of this ReportInProductRunResponseRow. 95 96 97 :param fields: The fields of this ReportInProductRunResponseRow. # noqa: E501 98 :type: ReportInProductRunResponseRowFields 99 """ 100 101 self._fields = fields 102 103 def to_dict(self): 104 """Returns the model properties as a dict""" 105 result = {} 106 107 for attr, _ in six.iteritems(self.swagger_types): 108 value = getattr(self, attr) 109 if isinstance(value, list): 110 result[attr] = list(map( 111 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 112 value 113 )) 114 elif hasattr(value, "to_dict"): 115 result[attr] = value.to_dict() 116 elif isinstance(value, dict): 117 result[attr] = dict(map( 118 lambda item: (item[0], item[1].to_dict()) 119 if hasattr(item[1], "to_dict") else item, 120 value.items() 121 )) 122 else: 123 result[attr] = value 124 if issubclass(ReportInProductRunResponseRow, dict): 125 for key, value in self.items(): 126 result[key] = value 127 128 return result 129 130 def to_str(self): 131 """Returns the string representation of the model""" 132 return pprint.pformat(self.to_dict()) 133 134 def __repr__(self): 135 """For `print` and `pprint`""" 136 return self.to_str() 137 138 def __eq__(self, other): 139 """Returns true if both objects are equal""" 140 if not isinstance(other, ReportInProductRunResponseRow): 141 return False 142 143 return self.to_dict() == other.to_dict() 144 145 def __ne__(self, other): 146 """Returns true if both objects are not equal""" 147 if not isinstance(other, ReportInProductRunResponseRow): 148 return True 149 150 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.
46 def __init__(self, _configuration=None, **kwargs): # noqa: E501 47 """ReportInProductRunResponseRow - a model defined in Swagger""" # noqa: E501 48 if _configuration is None: 49 _configuration = Configuration() 50 self._configuration = _configuration 51 52 self._envelope_id = None 53 self._fields = None 54 self.discriminator = None 55 56 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 57 setattr(self, "_{}".format('fields'), kwargs.get('fields', None))
ReportInProductRunResponseRow - a model defined in Swagger
Gets the envelope_id of this ReportInProductRunResponseRow. # noqa: E501
The envelope ID of the envelope status that failed to post. # noqa: E501
Returns
The envelope_id of this ReportInProductRunResponseRow. # noqa: E501
Gets the fields of this ReportInProductRunResponseRow. # noqa: E501
Returns
The fields of this ReportInProductRunResponseRow. # noqa: E501
103 def to_dict(self): 104 """Returns the model properties as a dict""" 105 result = {} 106 107 for attr, _ in six.iteritems(self.swagger_types): 108 value = getattr(self, attr) 109 if isinstance(value, list): 110 result[attr] = list(map( 111 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 112 value 113 )) 114 elif hasattr(value, "to_dict"): 115 result[attr] = value.to_dict() 116 elif isinstance(value, dict): 117 result[attr] = dict(map( 118 lambda item: (item[0], item[1].to_dict()) 119 if hasattr(item[1], "to_dict") else item, 120 value.items() 121 )) 122 else: 123 result[attr] = value 124 if issubclass(ReportInProductRunResponseRow, dict): 125 for key, value in self.items(): 126 result[key] = value 127 128 return result
Returns the model properties as a dict