@@ -51,7 +51,8 @@ public RelationshipType() { }
51
51
/// <param name="TotalGemWeight">The total gem weight variation of an item..</param>
52
52
/// <param name="PackageQuantity">The package quantity variation of an item..</param>
53
53
/// <param name="ItemDimensions">The item dimensions relationship of an item..</param>
54
- public RelationshipType ( string Color = default ( string ) , string Edition = default ( string ) , string Flavor = default ( string ) , List < string > GemType = default ( List < string > ) , string GolfClubFlex = default ( string ) , string HandOrientation = default ( string ) , string HardwarePlatform = default ( string ) , List < string > MaterialType = default ( List < string > ) , string MetalType = default ( string ) , string Model = default ( string ) , List < string > OperatingSystem = default ( List < string > ) , string ProductTypeSubcategory = default ( string ) , string RingSize = default ( string ) , string ShaftMaterial = default ( string ) , string Scent = default ( string ) , string Size = default ( string ) , string SizePerPearl = default ( string ) , DecimalWithUnits GolfClubLoft = default ( DecimalWithUnits ) , DecimalWithUnits TotalDiamondWeight = default ( DecimalWithUnits ) , DecimalWithUnits TotalGemWeight = default ( DecimalWithUnits ) , int ? PackageQuantity = default ( int ? ) , DimensionType ItemDimensions = default ( DimensionType ) )
54
+ /// <param name="Identifiers">The item Identifiers relationship of an item..</param>
55
+ public RelationshipType ( string Color = default ( string ) , string Edition = default ( string ) , string Flavor = default ( string ) , List < string > GemType = default ( List < string > ) , string GolfClubFlex = default ( string ) , string HandOrientation = default ( string ) , string HardwarePlatform = default ( string ) , List < string > MaterialType = default ( List < string > ) , string MetalType = default ( string ) , string Model = default ( string ) , List < string > OperatingSystem = default ( List < string > ) , string ProductTypeSubcategory = default ( string ) , string RingSize = default ( string ) , string ShaftMaterial = default ( string ) , string Scent = default ( string ) , string Size = default ( string ) , string SizePerPearl = default ( string ) , DecimalWithUnits GolfClubLoft = default ( DecimalWithUnits ) , DecimalWithUnits TotalDiamondWeight = default ( DecimalWithUnits ) , DecimalWithUnits TotalGemWeight = default ( DecimalWithUnits ) , int ? PackageQuantity = default ( int ? ) , DimensionType ItemDimensions = default ( DimensionType ) , IdentifierType Identifiers = default ( IdentifierType ) )
55
56
{
56
57
this . Color = Color ;
57
58
this . Edition = Edition ;
@@ -75,6 +76,7 @@ public RelationshipType() { }
75
76
this . TotalGemWeight = TotalGemWeight ;
76
77
this . PackageQuantity = PackageQuantity ;
77
78
this . ItemDimensions = ItemDimensions ;
79
+ this . Identifiers = Identifiers ;
78
80
}
79
81
80
82
/// <summary>
@@ -231,6 +233,14 @@ public RelationshipType() { }
231
233
[ DataMember ( Name = "ItemDimensions" , EmitDefaultValue = false ) ]
232
234
public DimensionType ItemDimensions { get ; set ; }
233
235
236
+ /// <summary>
237
+ /// The identifiers that uniquely identify the item.
238
+ /// </summary>
239
+ /// <value>The identifiers that uniquely identify the item.</value>
240
+ [ DataMember ( Name = "Identifiers" , EmitDefaultValue = false ) ]
241
+ public IdentifierType Identifiers { get ; set ; }
242
+
243
+
234
244
/// <summary>
235
245
/// Returns the string presentation of the object
236
246
/// </summary>
@@ -261,6 +271,7 @@ public override string ToString()
261
271
sb . Append ( " TotalGemWeight: " ) . Append ( TotalGemWeight ) . Append ( "\n " ) ;
262
272
sb . Append ( " PackageQuantity: " ) . Append ( PackageQuantity ) . Append ( "\n " ) ;
263
273
sb . Append ( " ItemDimensions: " ) . Append ( ItemDimensions ) . Append ( "\n " ) ;
274
+ sb . Append ( " Identifiers: " ) . Append ( Identifiers ) . Append ( "\n " ) ;
264
275
sb . Append ( "}\n " ) ;
265
276
return sb . ToString ( ) ;
266
277
}
@@ -404,6 +415,11 @@ public bool Equals(RelationshipType input)
404
415
this . ItemDimensions == input . ItemDimensions ||
405
416
( this . ItemDimensions != null &&
406
417
this . ItemDimensions . Equals ( input . ItemDimensions ) )
418
+ ) &&
419
+ (
420
+ this . Identifiers == input . Identifiers ||
421
+ ( this . Identifiers != null &&
422
+ this . Identifiers . Equals ( input . Identifiers ) )
407
423
) ;
408
424
}
409
425
@@ -460,6 +476,8 @@ public override int GetHashCode()
460
476
hashCode = hashCode * 59 + this . PackageQuantity . GetHashCode ( ) ;
461
477
if ( this . ItemDimensions != null )
462
478
hashCode = hashCode * 59 + this . ItemDimensions . GetHashCode ( ) ;
479
+ if ( this . Identifiers != null )
480
+ hashCode = hashCode * 59 + this . Identifiers . GetHashCode ( ) ;
463
481
return hashCode ;
464
482
}
465
483
}
0 commit comments