@@ -29,26 +29,28 @@ class Visa {
2929 * @param validations {Array.<module:model/VisaValidation>}
3030 * @param validationsInError {Array.<Number>} Validation IDs where one or more validators have no longer access to the visa document.
3131 * @param creator {module:model/UserProject}
32+ * @param documentId {Number}
3233 * @param status {module:model/Visa.StatusEnum}
3334 * @param comments {Array.<module:model/VisaComment>}
3435 * @param createdAt {Date}
3536 * @param updatedAt {Date}
3637 */
37- constructor ( id , validations , validationsInError , creator , status , comments , createdAt , updatedAt ) {
38+ constructor ( id , validations , validationsInError , creator , documentId , status , comments , createdAt , updatedAt ) {
3839
39- Visa . initialize ( this , id , validations , validationsInError , creator , status , comments , createdAt , updatedAt ) ;
40+ Visa . initialize ( this , id , validations , validationsInError , creator , documentId , status , comments , createdAt , updatedAt ) ;
4041 }
4142
4243 /**
4344 * Initializes the fields of this object.
4445 * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
4546 * Only for internal use.
4647 */
47- static initialize ( obj , id , validations , validationsInError , creator , status , comments , createdAt , updatedAt ) {
48+ static initialize ( obj , id , validations , validationsInError , creator , documentId , status , comments , createdAt , updatedAt ) {
4849 obj [ 'id' ] = id ;
4950 obj [ 'validations' ] = validations ;
5051 obj [ 'validations_in_error' ] = validationsInError ;
5152 obj [ 'creator' ] = creator ;
53+ obj [ 'document_id' ] = documentId ;
5254 obj [ 'status' ] = status ;
5355 obj [ 'comments' ] = comments ;
5456 obj [ 'created_at' ] = createdAt ;
@@ -78,6 +80,9 @@ class Visa {
7880 if ( data . hasOwnProperty ( 'creator' ) ) {
7981 obj [ 'creator' ] = ApiClient . convertToType ( data [ 'creator' ] , UserProject ) ;
8082 }
83+ if ( data . hasOwnProperty ( 'document_id' ) ) {
84+ obj [ 'document_id' ] = ApiClient . convertToType ( data [ 'document_id' ] , 'Number' ) ;
85+ }
8186 if ( data . hasOwnProperty ( 'status' ) ) {
8287 obj [ 'status' ] = ApiClient . convertToType ( data [ 'status' ] , 'String' ) ;
8388 }
@@ -124,6 +129,11 @@ Visa.prototype['validations_in_error'] = undefined;
124129 */
125130Visa . prototype [ 'creator' ] = undefined ;
126131
132+ /**
133+ * @member {Number} document_id
134+ */
135+ Visa . prototype [ 'document_id' ] = undefined ;
136+
127137/**
128138 * @member {module:model/Visa.StatusEnum} status
129139 */
0 commit comments