/// <summary> /// Returns true if CarrierMeta instances are equal /// </summary> /// <param name="other">Instance of CarrierMeta to be compared</param> /// <returns>Boolean</returns> public bool Equals(CarrierMeta other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) { return(false); } return(false); }
/// <summary> /// Initializes a new instance of the <see cref="AffiliateSearchMeta" /> class. /// </summary> /// <param name="Carriers">A map of meta information for each of the airlines involved in the response (required).</param> public AffiliateSearchMeta(CarrierMeta Carriers = default(CarrierMeta)) { // to ensure "Carriers" is required (not null) if (Carriers == null) { throw new InvalidDataException("Carriers is a required property for AffiliateSearchMeta and cannot be null"); } else { this.Carriers = Carriers; } }