@@ -35,11 +35,13 @@ public partial class ImageOptionResponse : IEquatable<ImageOptionResponse>, IVal
3535 /// Initializes a new instance of the <see cref="ImageOptionResponse" /> class.
3636 /// </summary>
3737 /// <param name="dataUri">dataUri.</param>
38+ /// <param name="guid">guid.</param>
3839 /// <param name="label">label.</param>
3940 /// <param name="value">value.</param>
40- public ImageOptionResponse ( string dataUri = default ( string ) , string label = default ( string ) , string value = default ( string ) )
41+ public ImageOptionResponse ( string dataUri = default ( string ) , string guid = default ( string ) , string label = default ( string ) , string value = default ( string ) )
4142 {
4243 this . DataUri = dataUri ;
44+ this . Guid = guid ;
4345 this . Label = label ;
4446 this . Value = value ;
4547 }
@@ -51,6 +53,13 @@ public partial class ImageOptionResponse : IEquatable<ImageOptionResponse>, IVal
5153 [ DataMember ( Name = "data_uri" , EmitDefaultValue = true ) ]
5254 public string DataUri { get ; set ; }
5355
56+ /// <summary>
57+ /// Gets or Sets Guid
58+ /// </summary>
59+ /// <example>CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5</example>
60+ [ DataMember ( Name = "guid" , EmitDefaultValue = true ) ]
61+ public string Guid { get ; set ; }
62+
5463 /// <summary>
5564 /// Gets or Sets Label
5665 /// </summary>
@@ -74,6 +83,7 @@ public override string ToString()
7483 StringBuilder sb = new StringBuilder ( ) ;
7584 sb . Append ( "class ImageOptionResponse {\n " ) ;
7685 sb . Append ( " DataUri: " ) . Append ( DataUri ) . Append ( "\n " ) ;
86+ sb . Append ( " Guid: " ) . Append ( Guid ) . Append ( "\n " ) ;
7787 sb . Append ( " Label: " ) . Append ( Label ) . Append ( "\n " ) ;
7888 sb . Append ( " Value: " ) . Append ( Value ) . Append ( "\n " ) ;
7989 sb . Append ( "}\n " ) ;
@@ -116,6 +126,11 @@ public bool Equals(ImageOptionResponse input)
116126 ( this . DataUri != null &&
117127 this . DataUri . Equals ( input . DataUri ) )
118128 ) &&
129+ (
130+ this . Guid == input . Guid ||
131+ ( this . Guid != null &&
132+ this . Guid . Equals ( input . Guid ) )
133+ ) &&
119134 (
120135 this . Label == input . Label ||
121136 ( this . Label != null &&
@@ -141,6 +156,10 @@ public override int GetHashCode()
141156 {
142157 hashCode = ( hashCode * 59 ) + this . DataUri . GetHashCode ( ) ;
143158 }
159+ if ( this . Guid != null )
160+ {
161+ hashCode = ( hashCode * 59 ) + this . Guid . GetHashCode ( ) ;
162+ }
144163 if ( this . Label != null )
145164 {
146165 hashCode = ( hashCode * 59 ) + this . Label . GetHashCode ( ) ;
0 commit comments