/// <summary> /// Returns true if InlineResponseDefault6Value instances are equal /// </summary> /// <param name="other">Instance of InlineResponseDefault6Value to be compared</param> /// <returns>Boolean</returns> public bool Equals(InlineResponseDefault6Value other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( LogicalName == other.LogicalName || LogicalName != null && LogicalName.Equals(other.LogicalName) ) && ( MetadataId == other.MetadataId || MetadataId != null && MetadataId.Equals(other.MetadataId) ) && ( OptionSet == other.OptionSet || OptionSet != null && OptionSet.Equals(other.OptionSet) )); }
/// <summary> /// Returns true if InlineResponseDefault7Options instances are equal /// </summary> /// <param name="other">Instance of InlineResponseDefault7Options to be compared</param> /// <returns>Boolean</returns> public bool Equals(InlineResponseDefault7Options other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Value == other.Value || Value != null && Value.Equals(other.Value) ) && ( Color == other.Color || Color != null && Color.Equals(other.Color) ) && ( IsManaged == other.IsManaged || IsManaged != null && IsManaged.Equals(other.IsManaged) ) && ( ExternalValue == other.ExternalValue || ExternalValue != null && ExternalValue.Equals(other.ExternalValue) ) && ( ParentValues == other.ParentValues || ParentValues != null && ParentValues.SequenceEqual(other.ParentValues) ) && ( MetadataId == other.MetadataId || MetadataId != null && MetadataId.Equals(other.MetadataId) ) && ( HasChanged == other.HasChanged || HasChanged != null && HasChanged.Equals(other.HasChanged) ) && ( Label == other.Label || Label != null && Label.Equals(other.Label) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) )); }
/// <summary> /// Returns true if InlineResponseDefault6OptionSetDescriptionUserLocalizedLabel instances are equal /// </summary> /// <param name="other">Instance of InlineResponseDefault6OptionSetDescriptionUserLocalizedLabel to be compared</param> /// <returns>Boolean</returns> public bool Equals(InlineResponseDefault6OptionSetDescriptionUserLocalizedLabel other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Label == other.Label || Label != null && Label.Equals(other.Label) ) && ( LanguageCode == other.LanguageCode || LanguageCode != null && LanguageCode.Equals(other.LanguageCode) ) && ( IsManaged == other.IsManaged || IsManaged != null && IsManaged.Equals(other.IsManaged) ) && ( MetadataId == other.MetadataId || MetadataId != null && MetadataId.Equals(other.MetadataId) ) && ( HasChanged == other.HasChanged || HasChanged != null && HasChanged.Equals(other.HasChanged) )); }
/// <summary> /// Returns true if InlineResponseDefault7 instances are equal /// </summary> /// <param name="other">Instance of InlineResponseDefault7 to be compared</param> /// <returns>Boolean</returns> public bool Equals(InlineResponseDefault7 other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( OdataContext == other.OdataContext || OdataContext != null && OdataContext.Equals(other.OdataContext) ) && ( OdataType == other.OdataType || OdataType != null && OdataType.Equals(other.OdataType) ) && ( ParentOptionSetName == other.ParentOptionSetName || ParentOptionSetName != null && ParentOptionSetName.Equals(other.ParentOptionSetName) ) && ( IsCustomOptionSet == other.IsCustomOptionSet || IsCustomOptionSet != null && IsCustomOptionSet.Equals(other.IsCustomOptionSet) ) && ( IsGlobal == other.IsGlobal || IsGlobal != null && IsGlobal.Equals(other.IsGlobal) ) && ( IsManaged == other.IsManaged || IsManaged != null && IsManaged.Equals(other.IsManaged) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( ExternalTypeName == other.ExternalTypeName || ExternalTypeName != null && ExternalTypeName.Equals(other.ExternalTypeName) ) && ( OptionSetType == other.OptionSetType || OptionSetType != null && OptionSetType.Equals(other.OptionSetType) ) && ( IntroducedVersion == other.IntroducedVersion || IntroducedVersion != null && IntroducedVersion.Equals(other.IntroducedVersion) ) && ( MetadataId == other.MetadataId || MetadataId != null && MetadataId.Equals(other.MetadataId) ) && ( HasChanged == other.HasChanged || HasChanged != null && HasChanged.Equals(other.HasChanged) ) && ( Options == other.Options || Options != null && Options.SequenceEqual(other.Options) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( DisplayName == other.DisplayName || DisplayName != null && DisplayName.Equals(other.DisplayName) ) && ( IsCustomizable == other.IsCustomizable || IsCustomizable != null && IsCustomizable.Equals(other.IsCustomizable) )); }