@@ -61,7 +61,9 @@ protected DatabaseDocument() { }
6161 /// <param name="year">The year when the document was issued..</param>
6262 /// <param name="sovereignty">Guardian country..</param>
6363 /// <param name="deprecated">Whether the document is no longer in circulation..</param>
64- public DatabaseDocument ( bool barcodeFields = default , string country = default , string createad = default , DocumentType docType = default , string document = default , bool graphicFields = default , int id = default , bool mrz = default , string ? region = default , bool rfidChip = default , bool textFields = default , string updated = default , string ? year = default , string ? sovereignty = default , bool ? deprecated = default )
64+ /// <param name="icaoCode">ICAO country code..</param>
65+ /// <param name="docCodes">Document codes..</param>
66+ public DatabaseDocument ( bool barcodeFields = default , string country = default , string createad = default , DocumentType docType = default , string document = default , bool graphicFields = default , int id = default , bool mrz = default , string ? region = default , bool rfidChip = default , bool textFields = default , string updated = default , string ? year = default , string ? sovereignty = default , bool ? deprecated = default , string ? icaoCode = default , string ? docCodes = default )
6567 {
6668 this . BarcodeFields = barcodeFields ;
6769 // to ensure "country" is required (not null)
@@ -98,6 +100,8 @@ public DatabaseDocument(bool barcodeFields = default, string country = default,
98100 this . Year = year ;
99101 this . Sovereignty = sovereignty ;
100102 this . Deprecated = deprecated ;
103+ this . IcaoCode = icaoCode ;
104+ this . DocCodes = docCodes ;
101105 }
102106
103107 /// <summary>
@@ -198,6 +202,20 @@ public DatabaseDocument(bool barcodeFields = default, string country = default,
198202 [ DataMember ( Name = "deprecated" , EmitDefaultValue = false ) ]
199203 public bool ? Deprecated { get ; set ; }
200204
205+ /// <summary>
206+ /// ICAO country code.
207+ /// </summary>
208+ /// <value>ICAO country code.</value>
209+ [ DataMember ( Name = "icao_code" , EmitDefaultValue = false ) ]
210+ public string ? IcaoCode { get ; set ; }
211+
212+ /// <summary>
213+ /// Document codes.
214+ /// </summary>
215+ /// <value>Document codes.</value>
216+ [ DataMember ( Name = "doc_codes" , EmitDefaultValue = false ) ]
217+ public string ? DocCodes { get ; set ; }
218+
201219 /// <summary>
202220 /// Returns the string presentation of the object
203221 /// </summary>
@@ -221,6 +239,8 @@ public override string ToString()
221239 sb . Append ( " Year: " ) . Append ( Year ) . Append ( "\n " ) ;
222240 sb . Append ( " Sovereignty: " ) . Append ( Sovereignty ) . Append ( "\n " ) ;
223241 sb . Append ( " Deprecated: " ) . Append ( Deprecated ) . Append ( "\n " ) ;
242+ sb . Append ( " IcaoCode: " ) . Append ( IcaoCode ) . Append ( "\n " ) ;
243+ sb . Append ( " DocCodes: " ) . Append ( DocCodes ) . Append ( "\n " ) ;
224244 sb . Append ( "}\n " ) ;
225245 return sb . ToString ( ) ;
226246 }
0 commit comments