public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (DisplayName.Length != 0) { hash ^= DisplayName.GetHashCode(); } if (ExternalId.Length != 0) { hash ^= ExternalId.GetHashCode(); } if (Size != 0) { hash ^= Size.GetHashCode(); } if (HeadquartersAddress.Length != 0) { hash ^= HeadquartersAddress.GetHashCode(); } if (HiringAgency != false) { hash ^= HiringAgency.GetHashCode(); } if (EeoText.Length != 0) { hash ^= EeoText.GetHashCode(); } if (WebsiteUri.Length != 0) { hash ^= WebsiteUri.GetHashCode(); } if (CareerSiteUri.Length != 0) { hash ^= CareerSiteUri.GetHashCode(); } if (ImageUri.Length != 0) { hash ^= ImageUri.GetHashCode(); } hash ^= keywordSearchableJobCustomAttributes_.GetHashCode(); if (derivedInfo_ != null) { hash ^= DerivedInfo.GetHashCode(); } if (Suspended != false) { hash ^= Suspended.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public bool ShouldSerializeHeadquartersAddress() { return(HeadquartersAddress != null && HeadquartersAddress.IsValid()); }