public void Update(DestinyMaterialRequirementSetDefinition?other)
 {
     if (other is null)
     {
         return;
     }
     if (!Materials.DeepEqualsList(other.Materials))
     {
         Materials = other.Materials;
         OnPropertyChanged(nameof(Materials));
     }
     if (Hash != other.Hash)
     {
         Hash = other.Hash;
         OnPropertyChanged(nameof(Hash));
     }
     if (Index != other.Index)
     {
         Index = other.Index;
         OnPropertyChanged(nameof(Index));
     }
     if (Redacted != other.Redacted)
     {
         Redacted = other.Redacted;
         OnPropertyChanged(nameof(Redacted));
     }
 }
 public bool DeepEquals(DestinyMaterialRequirementSetDefinition?other)
 {
     return(other is not null &&
            Materials.DeepEqualsList(other.Materials) &&
            Hash == other.Hash &&
            Index == other.Index &&
            Redacted == other.Redacted);
 }