/* * FHT.Core.API 1.0 * * ̨group.apiVersion:1.0 * * OpenAPI spec version: v1 * Contact: fht@fht360.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.ComponentModel.DataAnnotations; namespace IO.Swagger.Model { #pragma warning disable CS0472 // The result of the expression is always the same since a value of this type is never equal to 'null' /// /// NotificationModels /// [DataContract] public partial class NotificationModels : IEquatable, IValidatableObject //Mark 555 { /// /// 2. Initializes a new instance of the class. /// [JsonConstructorAttribute] protected NotificationModels() { } /// /// Not Enum: Gets or Sets CompactCompositeMessage /// [DataMember(Name="CompactCompositeMessage", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompactCompositeMessage CompactCompositeMessage { get; set; } /// /// Not Enum: Gets or Sets CompactCompositeMessageItem /// [DataMember(Name="CompactCompositeMessageItem", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompactCompositeMessageItem CompactCompositeMessageItem { get; set; } /// /// Not Enum: Gets or Sets CompactMessageInfo /// [DataMember(Name="CompactMessageInfo", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompactMessageInfo CompactMessageInfo { get; set; } /// /// Not Enum: Gets or Sets CompactTextMessage /// [DataMember(Name="CompactTextMessage", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompactTextMessage CompactTextMessage { get; set; } /// /// Not Enum: Gets or Sets CompactImageMessage /// [DataMember(Name="CompactImageMessage", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompactImageMessage CompactImageMessage { get; set; } /// /// Not Enum: Gets or Sets CompactOtherMessage /// [DataMember(Name="CompactOtherMessage", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompactOtherMessage CompactOtherMessage { get; set; } /// /// Not Enum: Gets or Sets TopicPostRejectedNotificationModel /// [DataMember(Name="TopicPostRejectedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public TopicPostRejectedNotificationModel TopicPostRejectedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets PersonalUserBlockEnabledNotificationModel /// [DataMember(Name="PersonalUserBlockEnabledNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public PersonalUserBlockEnabledNotificationModel PersonalUserBlockEnabledNotificationModel { get; set; } /// /// Not Enum: Gets or Sets PersonalUserSettingModifiedNotificationModel /// [DataMember(Name="PersonalUserSettingModifiedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public PersonalUserSettingModifiedNotificationModel PersonalUserSettingModifiedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets PersonalUserBlockDisabledNotificationModel /// [DataMember(Name="PersonalUserBlockDisabledNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public PersonalUserBlockDisabledNotificationModel PersonalUserBlockDisabledNotificationModel { get; set; } /// /// Not Enum: Gets or Sets FriendRequestAcceptedNotificationModel /// [DataMember(Name="FriendRequestAcceptedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public FriendRequestAcceptedNotificationModel FriendRequestAcceptedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets FriendRequestCreatedNotificationModel /// [DataMember(Name="FriendRequestCreatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public FriendRequestCreatedNotificationModel FriendRequestCreatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets OperationSingleCompanyNotificationModel /// [DataMember(Name="OperationSingleCompanyNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public OperationSingleCompanyNotificationModel OperationSingleCompanyNotificationModel { get; set; } /// /// Not Enum: Gets or Sets OperationSingleUserNotificationModel /// [DataMember(Name="OperationSingleUserNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public OperationSingleUserNotificationModel OperationSingleUserNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyOrderWillExpiredNotificationModel /// [DataMember(Name="CompanyOrderWillExpiredNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyOrderWillExpiredNotificationModel CompanyOrderWillExpiredNotificationModel { get; set; } /// /// Not Enum: Gets or Sets ContactUserCreatedNotificationModel /// [DataMember(Name="ContactUserCreatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public ContactUserCreatedNotificationModel ContactUserCreatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets RealNameInValidNotificationModel /// [DataMember(Name="RealNameInValidNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public RealNameInValidNotificationModel RealNameInValidNotificationModel { get; set; } /// /// Not Enum: Gets or Sets UserRejectedNotificationModel /// [DataMember(Name="UserRejectedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public UserRejectedNotificationModel UserRejectedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets UserProfileCreatedNotificationModel /// [DataMember(Name="UserProfileCreatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public UserProfileCreatedNotificationModel UserProfileCreatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets UserProfileModifiedNotificationModel /// [DataMember(Name="UserProfileModifiedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public UserProfileModifiedNotificationModel UserProfileModifiedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets UserSyncModifiedNotificationModel /// [DataMember(Name="UserSyncModifiedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public UserSyncModifiedNotificationModel UserSyncModifiedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets TouristChatTransferedNotificationModel /// [DataMember(Name="TouristChatTransferedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public TouristChatTransferedNotificationModel TouristChatTransferedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets FeedBackDealedNotificationModel /// [DataMember(Name="FeedBackDealedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public FeedBackDealedNotificationModel FeedBackDealedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets ReportDealedNotificationModel /// [DataMember(Name="ReportDealedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public ReportDealedNotificationModel ReportDealedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupRejectedNotificationModel /// [DataMember(Name="MeetupRejectedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupRejectedNotificationModel MeetupRejectedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets PersonalChatTransferedNotificationModel /// [DataMember(Name="PersonalChatTransferedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public PersonalChatTransferedNotificationModel PersonalChatTransferedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupAvatarChangedNotificationModel /// [DataMember(Name="MeetupAvatarChangedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupAvatarChangedNotificationModel MeetupAvatarChangedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupApplicationAcceptedNotificationModel /// [DataMember(Name="MeetupApplicationAcceptedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupApplicationAcceptedNotificationModel MeetupApplicationAcceptedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupApplicationCreatedNotificationModel /// [DataMember(Name="MeetupApplicationCreatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupApplicationCreatedNotificationModel MeetupApplicationCreatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupDeletedNotificationModel /// [DataMember(Name="MeetupDeletedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupDeletedNotificationModel MeetupDeletedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupCancelledNotificationModel /// [DataMember(Name="MeetupCancelledNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupCancelledNotificationModel MeetupCancelledNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupInvitationNonCreatorAcceptedNotificationModel /// [DataMember(Name="MeetupInvitationNonCreatorAcceptedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupInvitationNonCreatorAcceptedNotificationModel MeetupInvitationNonCreatorAcceptedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupInvitationAcceptedNotificationModel /// [DataMember(Name="MeetupInvitationAcceptedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupInvitationAcceptedNotificationModel MeetupInvitationAcceptedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupInvitationCreatedNotificationModel /// [DataMember(Name="MeetupInvitationCreatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupInvitationCreatedNotificationModel MeetupInvitationCreatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupMemberKickedNotificationModel /// [DataMember(Name="MeetupMemberKickedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupMemberKickedNotificationModel MeetupMemberKickedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupMemberDeletedNotificationModel /// [DataMember(Name="MeetupMemberDeletedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupMemberDeletedNotificationModel MeetupMemberDeletedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupMemberLeftNotificationModel /// [DataMember(Name="MeetupMemberLeftNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupMemberLeftNotificationModel MeetupMemberLeftNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupMemberCreatedNotificationModel /// [DataMember(Name="MeetupMemberCreatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupMemberCreatedNotificationModel MeetupMemberCreatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets MeetupTitleChangedNotificationModel /// [DataMember(Name="MeetupTitleChangedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public MeetupTitleChangedNotificationModel MeetupTitleChangedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GroupChatAllowInviteChangedNotificationModel /// [DataMember(Name="GroupChatAllowInviteChangedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GroupChatAllowInviteChangedNotificationModel GroupChatAllowInviteChangedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GroupChatMemberLeftNotificationModel /// [DataMember(Name="GroupChatMemberLeftNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GroupChatMemberLeftNotificationModel GroupChatMemberLeftNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GroupChatAdminTransferredNotificationModel /// [DataMember(Name="GroupChatAdminTransferredNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GroupChatAdminTransferredNotificationModel GroupChatAdminTransferredNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GroupChatAvatarChangedNotificationModel /// [DataMember(Name="GroupChatAvatarChangedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GroupChatAvatarChangedNotificationModel GroupChatAvatarChangedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GroupChatMemberJoinedNotificationModel /// [DataMember(Name="GroupChatMemberJoinedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GroupChatMemberJoinedNotificationModel GroupChatMemberJoinedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GroupChatMemberKickedNotificationModel /// [DataMember(Name="GroupChatMemberKickedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GroupChatMemberKickedNotificationModel GroupChatMemberKickedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GroupChatNameChangedNotificationModel /// [DataMember(Name="GroupChatNameChangedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GroupChatNameChangedNotificationModel GroupChatNameChangedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyRejectedNotificationModel /// [DataMember(Name="CompanyRejectedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyRejectedNotificationModel CompanyRejectedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets NearbyCompanyNotifiedNotificationModel /// [DataMember(Name="NearbyCompanyNotifiedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public NearbyCompanyNotifiedNotificationModel NearbyCompanyNotifiedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyActivatedNotificationModel /// [DataMember(Name="CompanyActivatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyActivatedNotificationModel CompanyActivatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyAdministratorAssignedToAssignedMemberNotificationModel /// [DataMember(Name="CompanyAdministratorAssignedToAssignedMemberNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyAdministratorAssignedToAssignedMemberNotificationModel CompanyAdministratorAssignedToAssignedMemberNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyAdministratorKickedToKickedMemberNotificationModel /// [DataMember(Name="CompanyAdministratorKickedToKickedMemberNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyAdministratorKickedToKickedMemberNotificationModel CompanyAdministratorKickedToKickedMemberNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyAuthenticationAuditNotificationModel /// [DataMember(Name="CompanyAuthenticationAuditNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyAuthenticationAuditNotificationModel CompanyAuthenticationAuditNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyCreatedNotificationModel /// [DataMember(Name="CompanyCreatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyCreatedNotificationModel CompanyCreatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyCustomerServiceAssignedToAssignedMemberNotificationModel /// [DataMember(Name="CompanyCustomerServiceAssignedToAssignedMemberNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyCustomerServiceAssignedToAssignedMemberNotificationModel CompanyCustomerServiceAssignedToAssignedMemberNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyCustomerServiceKickedToKickedMemberNotificationModel /// [DataMember(Name="CompanyCustomerServiceKickedToKickedMemberNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyCustomerServiceKickedToKickedMemberNotificationModel CompanyCustomerServiceKickedToKickedMemberNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyDeactivatedNotificationModel /// [DataMember(Name="CompanyDeactivatedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyDeactivatedNotificationModel CompanyDeactivatedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel /// [DataMember(Name="CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel /// [DataMember(Name="CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyMemberInviteRequestAcceptedNotificationModel /// [DataMember(Name="CompanyMemberInviteRequestAcceptedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyMemberInviteRequestAcceptedNotificationModel CompanyMemberInviteRequestAcceptedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyMemberKickedToKickedMemberNotificationModel /// [DataMember(Name="CompanyMemberKickedToKickedMemberNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyMemberKickedToKickedMemberNotificationModel CompanyMemberKickedToKickedMemberNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel /// [DataMember(Name="CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyMemberLeftToCompanyAdminNotificationModel /// [DataMember(Name="CompanyMemberLeftToCompanyAdminNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyMemberLeftToCompanyAdminNotificationModel CompanyMemberLeftToCompanyAdminNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyMemberLeftToSelfNotificationModel /// [DataMember(Name="CompanyMemberLeftToSelfNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyMemberLeftToSelfNotificationModel CompanyMemberLeftToSelfNotificationModel { get; set; } /// /// Not Enum: Gets or Sets CompanyProfileModifiedNotificationModel /// [DataMember(Name="CompanyProfileModifiedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public CompanyProfileModifiedNotificationModel CompanyProfileModifiedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets BroadcastAllCompanyNotificationModel /// [DataMember(Name="BroadcastAllCompanyNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public BroadcastAllCompanyNotificationModel BroadcastAllCompanyNotificationModel { get; set; } /// /// Not Enum: Gets or Sets BroadcastAllUserNotificationModel /// [DataMember(Name="BroadcastAllUserNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public BroadcastAllUserNotificationModel BroadcastAllUserNotificationModel { get; set; } /// /// Not Enum: Gets or Sets ArticleRejectedNotificationModel /// [DataMember(Name="ArticleRejectedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public ArticleRejectedNotificationModel ArticleRejectedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets ProductRejectedNotificationModel /// [DataMember(Name="ProductRejectedNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public ProductRejectedNotificationModel ProductRejectedNotificationModel { get; set; } /// /// Not Enum: Gets or Sets GlobalBroadcastNotificationModel /// [DataMember(Name="GlobalBroadcastNotificationModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {} public GlobalBroadcastNotificationModel GlobalBroadcastNotificationModel { get; set; } /// /// Returns the string presentation of the object /// /// String presentation of the object public override string ToString() { var sb = new StringBuilder(); sb.Append("class NotificationModels {\n"); sb.Append(" CompactCompositeMessage: ").Append(CompactCompositeMessage).Append("\n"); sb.Append(" CompactCompositeMessageItem: ").Append(CompactCompositeMessageItem).Append("\n"); sb.Append(" CompactMessageInfo: ").Append(CompactMessageInfo).Append("\n"); sb.Append(" CompactTextMessage: ").Append(CompactTextMessage).Append("\n"); sb.Append(" CompactImageMessage: ").Append(CompactImageMessage).Append("\n"); sb.Append(" CompactOtherMessage: ").Append(CompactOtherMessage).Append("\n"); sb.Append(" TopicPostRejectedNotificationModel: ").Append(TopicPostRejectedNotificationModel).Append("\n"); sb.Append(" PersonalUserBlockEnabledNotificationModel: ").Append(PersonalUserBlockEnabledNotificationModel).Append("\n"); sb.Append(" PersonalUserSettingModifiedNotificationModel: ").Append(PersonalUserSettingModifiedNotificationModel).Append("\n"); sb.Append(" PersonalUserBlockDisabledNotificationModel: ").Append(PersonalUserBlockDisabledNotificationModel).Append("\n"); sb.Append(" FriendRequestAcceptedNotificationModel: ").Append(FriendRequestAcceptedNotificationModel).Append("\n"); sb.Append(" FriendRequestCreatedNotificationModel: ").Append(FriendRequestCreatedNotificationModel).Append("\n"); sb.Append(" OperationSingleCompanyNotificationModel: ").Append(OperationSingleCompanyNotificationModel).Append("\n"); sb.Append(" OperationSingleUserNotificationModel: ").Append(OperationSingleUserNotificationModel).Append("\n"); sb.Append(" CompanyOrderWillExpiredNotificationModel: ").Append(CompanyOrderWillExpiredNotificationModel).Append("\n"); sb.Append(" ContactUserCreatedNotificationModel: ").Append(ContactUserCreatedNotificationModel).Append("\n"); sb.Append(" RealNameInValidNotificationModel: ").Append(RealNameInValidNotificationModel).Append("\n"); sb.Append(" UserRejectedNotificationModel: ").Append(UserRejectedNotificationModel).Append("\n"); sb.Append(" UserProfileCreatedNotificationModel: ").Append(UserProfileCreatedNotificationModel).Append("\n"); sb.Append(" UserProfileModifiedNotificationModel: ").Append(UserProfileModifiedNotificationModel).Append("\n"); sb.Append(" UserSyncModifiedNotificationModel: ").Append(UserSyncModifiedNotificationModel).Append("\n"); sb.Append(" TouristChatTransferedNotificationModel: ").Append(TouristChatTransferedNotificationModel).Append("\n"); sb.Append(" FeedBackDealedNotificationModel: ").Append(FeedBackDealedNotificationModel).Append("\n"); sb.Append(" ReportDealedNotificationModel: ").Append(ReportDealedNotificationModel).Append("\n"); sb.Append(" MeetupRejectedNotificationModel: ").Append(MeetupRejectedNotificationModel).Append("\n"); sb.Append(" PersonalChatTransferedNotificationModel: ").Append(PersonalChatTransferedNotificationModel).Append("\n"); sb.Append(" MeetupAvatarChangedNotificationModel: ").Append(MeetupAvatarChangedNotificationModel).Append("\n"); sb.Append(" MeetupApplicationAcceptedNotificationModel: ").Append(MeetupApplicationAcceptedNotificationModel).Append("\n"); sb.Append(" MeetupApplicationCreatedNotificationModel: ").Append(MeetupApplicationCreatedNotificationModel).Append("\n"); sb.Append(" MeetupDeletedNotificationModel: ").Append(MeetupDeletedNotificationModel).Append("\n"); sb.Append(" MeetupCancelledNotificationModel: ").Append(MeetupCancelledNotificationModel).Append("\n"); sb.Append(" MeetupInvitationNonCreatorAcceptedNotificationModel: ").Append(MeetupInvitationNonCreatorAcceptedNotificationModel).Append("\n"); sb.Append(" MeetupInvitationAcceptedNotificationModel: ").Append(MeetupInvitationAcceptedNotificationModel).Append("\n"); sb.Append(" MeetupInvitationCreatedNotificationModel: ").Append(MeetupInvitationCreatedNotificationModel).Append("\n"); sb.Append(" MeetupMemberKickedNotificationModel: ").Append(MeetupMemberKickedNotificationModel).Append("\n"); sb.Append(" MeetupMemberDeletedNotificationModel: ").Append(MeetupMemberDeletedNotificationModel).Append("\n"); sb.Append(" MeetupMemberLeftNotificationModel: ").Append(MeetupMemberLeftNotificationModel).Append("\n"); sb.Append(" MeetupMemberCreatedNotificationModel: ").Append(MeetupMemberCreatedNotificationModel).Append("\n"); sb.Append(" MeetupTitleChangedNotificationModel: ").Append(MeetupTitleChangedNotificationModel).Append("\n"); sb.Append(" GroupChatAllowInviteChangedNotificationModel: ").Append(GroupChatAllowInviteChangedNotificationModel).Append("\n"); sb.Append(" GroupChatMemberLeftNotificationModel: ").Append(GroupChatMemberLeftNotificationModel).Append("\n"); sb.Append(" GroupChatAdminTransferredNotificationModel: ").Append(GroupChatAdminTransferredNotificationModel).Append("\n"); sb.Append(" GroupChatAvatarChangedNotificationModel: ").Append(GroupChatAvatarChangedNotificationModel).Append("\n"); sb.Append(" GroupChatMemberJoinedNotificationModel: ").Append(GroupChatMemberJoinedNotificationModel).Append("\n"); sb.Append(" GroupChatMemberKickedNotificationModel: ").Append(GroupChatMemberKickedNotificationModel).Append("\n"); sb.Append(" GroupChatNameChangedNotificationModel: ").Append(GroupChatNameChangedNotificationModel).Append("\n"); sb.Append(" CompanyRejectedNotificationModel: ").Append(CompanyRejectedNotificationModel).Append("\n"); sb.Append(" NearbyCompanyNotifiedNotificationModel: ").Append(NearbyCompanyNotifiedNotificationModel).Append("\n"); sb.Append(" CompanyActivatedNotificationModel: ").Append(CompanyActivatedNotificationModel).Append("\n"); sb.Append(" CompanyAdministratorAssignedToAssignedMemberNotificationModel: ").Append(CompanyAdministratorAssignedToAssignedMemberNotificationModel).Append("\n"); sb.Append(" CompanyAdministratorKickedToKickedMemberNotificationModel: ").Append(CompanyAdministratorKickedToKickedMemberNotificationModel).Append("\n"); sb.Append(" CompanyAuthenticationAuditNotificationModel: ").Append(CompanyAuthenticationAuditNotificationModel).Append("\n"); sb.Append(" CompanyCreatedNotificationModel: ").Append(CompanyCreatedNotificationModel).Append("\n"); sb.Append(" CompanyCustomerServiceAssignedToAssignedMemberNotificationModel: ").Append(CompanyCustomerServiceAssignedToAssignedMemberNotificationModel).Append("\n"); sb.Append(" CompanyCustomerServiceKickedToKickedMemberNotificationModel: ").Append(CompanyCustomerServiceKickedToKickedMemberNotificationModel).Append("\n"); sb.Append(" CompanyDeactivatedNotificationModel: ").Append(CompanyDeactivatedNotificationModel).Append("\n"); sb.Append(" CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel: ").Append(CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel).Append("\n"); sb.Append(" CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel: ").Append(CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel).Append("\n"); sb.Append(" CompanyMemberInviteRequestAcceptedNotificationModel: ").Append(CompanyMemberInviteRequestAcceptedNotificationModel).Append("\n"); sb.Append(" CompanyMemberKickedToKickedMemberNotificationModel: ").Append(CompanyMemberKickedToKickedMemberNotificationModel).Append("\n"); sb.Append(" CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel: ").Append(CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel).Append("\n"); sb.Append(" CompanyMemberLeftToCompanyAdminNotificationModel: ").Append(CompanyMemberLeftToCompanyAdminNotificationModel).Append("\n"); sb.Append(" CompanyMemberLeftToSelfNotificationModel: ").Append(CompanyMemberLeftToSelfNotificationModel).Append("\n"); sb.Append(" CompanyProfileModifiedNotificationModel: ").Append(CompanyProfileModifiedNotificationModel).Append("\n"); sb.Append(" BroadcastAllCompanyNotificationModel: ").Append(BroadcastAllCompanyNotificationModel).Append("\n"); sb.Append(" BroadcastAllUserNotificationModel: ").Append(BroadcastAllUserNotificationModel).Append("\n"); sb.Append(" ArticleRejectedNotificationModel: ").Append(ArticleRejectedNotificationModel).Append("\n"); sb.Append(" ProductRejectedNotificationModel: ").Append(ProductRejectedNotificationModel).Append("\n"); sb.Append(" GlobalBroadcastNotificationModel: ").Append(GlobalBroadcastNotificationModel).Append("\n"); sb.Append("}\n"); return sb.ToString(); } /// /// Returns the JSON string presentation of the object /// /// JSON string presentation of the object public string ToJson() { return JsonConvert.SerializeObject(this, Formatting.Indented); } /// /// Returns true if objects are equal /// /// Object to be compared /// Boolean public override bool Equals(object obj) { // credit: http://stackoverflow.com/a/10454552/677735 return this.Equals(obj as NotificationModels); } /// /// Returns true if NotificationModels instances are equal /// /// Instance of NotificationModels to be compared /// Boolean public bool Equals(NotificationModels other) { // credit: http://stackoverflow.com/a/10454552/677735 if (other == null) return false; return ( this.CompactCompositeMessage == other.CompactCompositeMessage || this.CompactCompositeMessage != null && this.CompactCompositeMessage.Equals(other.CompactCompositeMessage) ) && ( this.CompactCompositeMessageItem == other.CompactCompositeMessageItem || this.CompactCompositeMessageItem != null && this.CompactCompositeMessageItem.Equals(other.CompactCompositeMessageItem) ) && ( this.CompactMessageInfo == other.CompactMessageInfo || this.CompactMessageInfo != null && this.CompactMessageInfo.Equals(other.CompactMessageInfo) ) && ( this.CompactTextMessage == other.CompactTextMessage || this.CompactTextMessage != null && this.CompactTextMessage.Equals(other.CompactTextMessage) ) && ( this.CompactImageMessage == other.CompactImageMessage || this.CompactImageMessage != null && this.CompactImageMessage.Equals(other.CompactImageMessage) ) && ( this.CompactOtherMessage == other.CompactOtherMessage || this.CompactOtherMessage != null && this.CompactOtherMessage.Equals(other.CompactOtherMessage) ) && ( this.TopicPostRejectedNotificationModel == other.TopicPostRejectedNotificationModel || this.TopicPostRejectedNotificationModel != null && this.TopicPostRejectedNotificationModel.Equals(other.TopicPostRejectedNotificationModel) ) && ( this.PersonalUserBlockEnabledNotificationModel == other.PersonalUserBlockEnabledNotificationModel || this.PersonalUserBlockEnabledNotificationModel != null && this.PersonalUserBlockEnabledNotificationModel.Equals(other.PersonalUserBlockEnabledNotificationModel) ) && ( this.PersonalUserSettingModifiedNotificationModel == other.PersonalUserSettingModifiedNotificationModel || this.PersonalUserSettingModifiedNotificationModel != null && this.PersonalUserSettingModifiedNotificationModel.Equals(other.PersonalUserSettingModifiedNotificationModel) ) && ( this.PersonalUserBlockDisabledNotificationModel == other.PersonalUserBlockDisabledNotificationModel || this.PersonalUserBlockDisabledNotificationModel != null && this.PersonalUserBlockDisabledNotificationModel.Equals(other.PersonalUserBlockDisabledNotificationModel) ) && ( this.FriendRequestAcceptedNotificationModel == other.FriendRequestAcceptedNotificationModel || this.FriendRequestAcceptedNotificationModel != null && this.FriendRequestAcceptedNotificationModel.Equals(other.FriendRequestAcceptedNotificationModel) ) && ( this.FriendRequestCreatedNotificationModel == other.FriendRequestCreatedNotificationModel || this.FriendRequestCreatedNotificationModel != null && this.FriendRequestCreatedNotificationModel.Equals(other.FriendRequestCreatedNotificationModel) ) && ( this.OperationSingleCompanyNotificationModel == other.OperationSingleCompanyNotificationModel || this.OperationSingleCompanyNotificationModel != null && this.OperationSingleCompanyNotificationModel.Equals(other.OperationSingleCompanyNotificationModel) ) && ( this.OperationSingleUserNotificationModel == other.OperationSingleUserNotificationModel || this.OperationSingleUserNotificationModel != null && this.OperationSingleUserNotificationModel.Equals(other.OperationSingleUserNotificationModel) ) && ( this.CompanyOrderWillExpiredNotificationModel == other.CompanyOrderWillExpiredNotificationModel || this.CompanyOrderWillExpiredNotificationModel != null && this.CompanyOrderWillExpiredNotificationModel.Equals(other.CompanyOrderWillExpiredNotificationModel) ) && ( this.ContactUserCreatedNotificationModel == other.ContactUserCreatedNotificationModel || this.ContactUserCreatedNotificationModel != null && this.ContactUserCreatedNotificationModel.Equals(other.ContactUserCreatedNotificationModel) ) && ( this.RealNameInValidNotificationModel == other.RealNameInValidNotificationModel || this.RealNameInValidNotificationModel != null && this.RealNameInValidNotificationModel.Equals(other.RealNameInValidNotificationModel) ) && ( this.UserRejectedNotificationModel == other.UserRejectedNotificationModel || this.UserRejectedNotificationModel != null && this.UserRejectedNotificationModel.Equals(other.UserRejectedNotificationModel) ) && ( this.UserProfileCreatedNotificationModel == other.UserProfileCreatedNotificationModel || this.UserProfileCreatedNotificationModel != null && this.UserProfileCreatedNotificationModel.Equals(other.UserProfileCreatedNotificationModel) ) && ( this.UserProfileModifiedNotificationModel == other.UserProfileModifiedNotificationModel || this.UserProfileModifiedNotificationModel != null && this.UserProfileModifiedNotificationModel.Equals(other.UserProfileModifiedNotificationModel) ) && ( this.UserSyncModifiedNotificationModel == other.UserSyncModifiedNotificationModel || this.UserSyncModifiedNotificationModel != null && this.UserSyncModifiedNotificationModel.Equals(other.UserSyncModifiedNotificationModel) ) && ( this.TouristChatTransferedNotificationModel == other.TouristChatTransferedNotificationModel || this.TouristChatTransferedNotificationModel != null && this.TouristChatTransferedNotificationModel.Equals(other.TouristChatTransferedNotificationModel) ) && ( this.FeedBackDealedNotificationModel == other.FeedBackDealedNotificationModel || this.FeedBackDealedNotificationModel != null && this.FeedBackDealedNotificationModel.Equals(other.FeedBackDealedNotificationModel) ) && ( this.ReportDealedNotificationModel == other.ReportDealedNotificationModel || this.ReportDealedNotificationModel != null && this.ReportDealedNotificationModel.Equals(other.ReportDealedNotificationModel) ) && ( this.MeetupRejectedNotificationModel == other.MeetupRejectedNotificationModel || this.MeetupRejectedNotificationModel != null && this.MeetupRejectedNotificationModel.Equals(other.MeetupRejectedNotificationModel) ) && ( this.PersonalChatTransferedNotificationModel == other.PersonalChatTransferedNotificationModel || this.PersonalChatTransferedNotificationModel != null && this.PersonalChatTransferedNotificationModel.Equals(other.PersonalChatTransferedNotificationModel) ) && ( this.MeetupAvatarChangedNotificationModel == other.MeetupAvatarChangedNotificationModel || this.MeetupAvatarChangedNotificationModel != null && this.MeetupAvatarChangedNotificationModel.Equals(other.MeetupAvatarChangedNotificationModel) ) && ( this.MeetupApplicationAcceptedNotificationModel == other.MeetupApplicationAcceptedNotificationModel || this.MeetupApplicationAcceptedNotificationModel != null && this.MeetupApplicationAcceptedNotificationModel.Equals(other.MeetupApplicationAcceptedNotificationModel) ) && ( this.MeetupApplicationCreatedNotificationModel == other.MeetupApplicationCreatedNotificationModel || this.MeetupApplicationCreatedNotificationModel != null && this.MeetupApplicationCreatedNotificationModel.Equals(other.MeetupApplicationCreatedNotificationModel) ) && ( this.MeetupDeletedNotificationModel == other.MeetupDeletedNotificationModel || this.MeetupDeletedNotificationModel != null && this.MeetupDeletedNotificationModel.Equals(other.MeetupDeletedNotificationModel) ) && ( this.MeetupCancelledNotificationModel == other.MeetupCancelledNotificationModel || this.MeetupCancelledNotificationModel != null && this.MeetupCancelledNotificationModel.Equals(other.MeetupCancelledNotificationModel) ) && ( this.MeetupInvitationNonCreatorAcceptedNotificationModel == other.MeetupInvitationNonCreatorAcceptedNotificationModel || this.MeetupInvitationNonCreatorAcceptedNotificationModel != null && this.MeetupInvitationNonCreatorAcceptedNotificationModel.Equals(other.MeetupInvitationNonCreatorAcceptedNotificationModel) ) && ( this.MeetupInvitationAcceptedNotificationModel == other.MeetupInvitationAcceptedNotificationModel || this.MeetupInvitationAcceptedNotificationModel != null && this.MeetupInvitationAcceptedNotificationModel.Equals(other.MeetupInvitationAcceptedNotificationModel) ) && ( this.MeetupInvitationCreatedNotificationModel == other.MeetupInvitationCreatedNotificationModel || this.MeetupInvitationCreatedNotificationModel != null && this.MeetupInvitationCreatedNotificationModel.Equals(other.MeetupInvitationCreatedNotificationModel) ) && ( this.MeetupMemberKickedNotificationModel == other.MeetupMemberKickedNotificationModel || this.MeetupMemberKickedNotificationModel != null && this.MeetupMemberKickedNotificationModel.Equals(other.MeetupMemberKickedNotificationModel) ) && ( this.MeetupMemberDeletedNotificationModel == other.MeetupMemberDeletedNotificationModel || this.MeetupMemberDeletedNotificationModel != null && this.MeetupMemberDeletedNotificationModel.Equals(other.MeetupMemberDeletedNotificationModel) ) && ( this.MeetupMemberLeftNotificationModel == other.MeetupMemberLeftNotificationModel || this.MeetupMemberLeftNotificationModel != null && this.MeetupMemberLeftNotificationModel.Equals(other.MeetupMemberLeftNotificationModel) ) && ( this.MeetupMemberCreatedNotificationModel == other.MeetupMemberCreatedNotificationModel || this.MeetupMemberCreatedNotificationModel != null && this.MeetupMemberCreatedNotificationModel.Equals(other.MeetupMemberCreatedNotificationModel) ) && ( this.MeetupTitleChangedNotificationModel == other.MeetupTitleChangedNotificationModel || this.MeetupTitleChangedNotificationModel != null && this.MeetupTitleChangedNotificationModel.Equals(other.MeetupTitleChangedNotificationModel) ) && ( this.GroupChatAllowInviteChangedNotificationModel == other.GroupChatAllowInviteChangedNotificationModel || this.GroupChatAllowInviteChangedNotificationModel != null && this.GroupChatAllowInviteChangedNotificationModel.Equals(other.GroupChatAllowInviteChangedNotificationModel) ) && ( this.GroupChatMemberLeftNotificationModel == other.GroupChatMemberLeftNotificationModel || this.GroupChatMemberLeftNotificationModel != null && this.GroupChatMemberLeftNotificationModel.Equals(other.GroupChatMemberLeftNotificationModel) ) && ( this.GroupChatAdminTransferredNotificationModel == other.GroupChatAdminTransferredNotificationModel || this.GroupChatAdminTransferredNotificationModel != null && this.GroupChatAdminTransferredNotificationModel.Equals(other.GroupChatAdminTransferredNotificationModel) ) && ( this.GroupChatAvatarChangedNotificationModel == other.GroupChatAvatarChangedNotificationModel || this.GroupChatAvatarChangedNotificationModel != null && this.GroupChatAvatarChangedNotificationModel.Equals(other.GroupChatAvatarChangedNotificationModel) ) && ( this.GroupChatMemberJoinedNotificationModel == other.GroupChatMemberJoinedNotificationModel || this.GroupChatMemberJoinedNotificationModel != null && this.GroupChatMemberJoinedNotificationModel.Equals(other.GroupChatMemberJoinedNotificationModel) ) && ( this.GroupChatMemberKickedNotificationModel == other.GroupChatMemberKickedNotificationModel || this.GroupChatMemberKickedNotificationModel != null && this.GroupChatMemberKickedNotificationModel.Equals(other.GroupChatMemberKickedNotificationModel) ) && ( this.GroupChatNameChangedNotificationModel == other.GroupChatNameChangedNotificationModel || this.GroupChatNameChangedNotificationModel != null && this.GroupChatNameChangedNotificationModel.Equals(other.GroupChatNameChangedNotificationModel) ) && ( this.CompanyRejectedNotificationModel == other.CompanyRejectedNotificationModel || this.CompanyRejectedNotificationModel != null && this.CompanyRejectedNotificationModel.Equals(other.CompanyRejectedNotificationModel) ) && ( this.NearbyCompanyNotifiedNotificationModel == other.NearbyCompanyNotifiedNotificationModel || this.NearbyCompanyNotifiedNotificationModel != null && this.NearbyCompanyNotifiedNotificationModel.Equals(other.NearbyCompanyNotifiedNotificationModel) ) && ( this.CompanyActivatedNotificationModel == other.CompanyActivatedNotificationModel || this.CompanyActivatedNotificationModel != null && this.CompanyActivatedNotificationModel.Equals(other.CompanyActivatedNotificationModel) ) && ( this.CompanyAdministratorAssignedToAssignedMemberNotificationModel == other.CompanyAdministratorAssignedToAssignedMemberNotificationModel || this.CompanyAdministratorAssignedToAssignedMemberNotificationModel != null && this.CompanyAdministratorAssignedToAssignedMemberNotificationModel.Equals(other.CompanyAdministratorAssignedToAssignedMemberNotificationModel) ) && ( this.CompanyAdministratorKickedToKickedMemberNotificationModel == other.CompanyAdministratorKickedToKickedMemberNotificationModel || this.CompanyAdministratorKickedToKickedMemberNotificationModel != null && this.CompanyAdministratorKickedToKickedMemberNotificationModel.Equals(other.CompanyAdministratorKickedToKickedMemberNotificationModel) ) && ( this.CompanyAuthenticationAuditNotificationModel == other.CompanyAuthenticationAuditNotificationModel || this.CompanyAuthenticationAuditNotificationModel != null && this.CompanyAuthenticationAuditNotificationModel.Equals(other.CompanyAuthenticationAuditNotificationModel) ) && ( this.CompanyCreatedNotificationModel == other.CompanyCreatedNotificationModel || this.CompanyCreatedNotificationModel != null && this.CompanyCreatedNotificationModel.Equals(other.CompanyCreatedNotificationModel) ) && ( this.CompanyCustomerServiceAssignedToAssignedMemberNotificationModel == other.CompanyCustomerServiceAssignedToAssignedMemberNotificationModel || this.CompanyCustomerServiceAssignedToAssignedMemberNotificationModel != null && this.CompanyCustomerServiceAssignedToAssignedMemberNotificationModel.Equals(other.CompanyCustomerServiceAssignedToAssignedMemberNotificationModel) ) && ( this.CompanyCustomerServiceKickedToKickedMemberNotificationModel == other.CompanyCustomerServiceKickedToKickedMemberNotificationModel || this.CompanyCustomerServiceKickedToKickedMemberNotificationModel != null && this.CompanyCustomerServiceKickedToKickedMemberNotificationModel.Equals(other.CompanyCustomerServiceKickedToKickedMemberNotificationModel) ) && ( this.CompanyDeactivatedNotificationModel == other.CompanyDeactivatedNotificationModel || this.CompanyDeactivatedNotificationModel != null && this.CompanyDeactivatedNotificationModel.Equals(other.CompanyDeactivatedNotificationModel) ) && ( this.CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel == other.CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel || this.CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel != null && this.CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel.Equals(other.CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel) ) && ( this.CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel == other.CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel || this.CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel != null && this.CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel.Equals(other.CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel) ) && ( this.CompanyMemberInviteRequestAcceptedNotificationModel == other.CompanyMemberInviteRequestAcceptedNotificationModel || this.CompanyMemberInviteRequestAcceptedNotificationModel != null && this.CompanyMemberInviteRequestAcceptedNotificationModel.Equals(other.CompanyMemberInviteRequestAcceptedNotificationModel) ) && ( this.CompanyMemberKickedToKickedMemberNotificationModel == other.CompanyMemberKickedToKickedMemberNotificationModel || this.CompanyMemberKickedToKickedMemberNotificationModel != null && this.CompanyMemberKickedToKickedMemberNotificationModel.Equals(other.CompanyMemberKickedToKickedMemberNotificationModel) ) && ( this.CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel == other.CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel || this.CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel != null && this.CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel.Equals(other.CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel) ) && ( this.CompanyMemberLeftToCompanyAdminNotificationModel == other.CompanyMemberLeftToCompanyAdminNotificationModel || this.CompanyMemberLeftToCompanyAdminNotificationModel != null && this.CompanyMemberLeftToCompanyAdminNotificationModel.Equals(other.CompanyMemberLeftToCompanyAdminNotificationModel) ) && ( this.CompanyMemberLeftToSelfNotificationModel == other.CompanyMemberLeftToSelfNotificationModel || this.CompanyMemberLeftToSelfNotificationModel != null && this.CompanyMemberLeftToSelfNotificationModel.Equals(other.CompanyMemberLeftToSelfNotificationModel) ) && ( this.CompanyProfileModifiedNotificationModel == other.CompanyProfileModifiedNotificationModel || this.CompanyProfileModifiedNotificationModel != null && this.CompanyProfileModifiedNotificationModel.Equals(other.CompanyProfileModifiedNotificationModel) ) && ( this.BroadcastAllCompanyNotificationModel == other.BroadcastAllCompanyNotificationModel || this.BroadcastAllCompanyNotificationModel != null && this.BroadcastAllCompanyNotificationModel.Equals(other.BroadcastAllCompanyNotificationModel) ) && ( this.BroadcastAllUserNotificationModel == other.BroadcastAllUserNotificationModel || this.BroadcastAllUserNotificationModel != null && this.BroadcastAllUserNotificationModel.Equals(other.BroadcastAllUserNotificationModel) ) && ( this.ArticleRejectedNotificationModel == other.ArticleRejectedNotificationModel || this.ArticleRejectedNotificationModel != null && this.ArticleRejectedNotificationModel.Equals(other.ArticleRejectedNotificationModel) ) && ( this.ProductRejectedNotificationModel == other.ProductRejectedNotificationModel || this.ProductRejectedNotificationModel != null && this.ProductRejectedNotificationModel.Equals(other.ProductRejectedNotificationModel) ) && ( this.GlobalBroadcastNotificationModel == other.GlobalBroadcastNotificationModel || this.GlobalBroadcastNotificationModel != null && this.GlobalBroadcastNotificationModel.Equals(other.GlobalBroadcastNotificationModel) ); } /// /// Gets the hash code /// /// Hash code public override int GetHashCode() { // credit: http://stackoverflow.com/a/263416/677735 unchecked // Overflow is fine, just wrap { int hash = 41; // Suitable nullity checks etc, of course :) if (this.CompactCompositeMessage != null) hash = hash * 59 + this.CompactCompositeMessage.GetHashCode(); if (this.CompactCompositeMessageItem != null) hash = hash * 59 + this.CompactCompositeMessageItem.GetHashCode(); if (this.CompactMessageInfo != null) hash = hash * 59 + this.CompactMessageInfo.GetHashCode(); if (this.CompactTextMessage != null) hash = hash * 59 + this.CompactTextMessage.GetHashCode(); if (this.CompactImageMessage != null) hash = hash * 59 + this.CompactImageMessage.GetHashCode(); if (this.CompactOtherMessage != null) hash = hash * 59 + this.CompactOtherMessage.GetHashCode(); if (this.TopicPostRejectedNotificationModel != null) hash = hash * 59 + this.TopicPostRejectedNotificationModel.GetHashCode(); if (this.PersonalUserBlockEnabledNotificationModel != null) hash = hash * 59 + this.PersonalUserBlockEnabledNotificationModel.GetHashCode(); if (this.PersonalUserSettingModifiedNotificationModel != null) hash = hash * 59 + this.PersonalUserSettingModifiedNotificationModel.GetHashCode(); if (this.PersonalUserBlockDisabledNotificationModel != null) hash = hash * 59 + this.PersonalUserBlockDisabledNotificationModel.GetHashCode(); if (this.FriendRequestAcceptedNotificationModel != null) hash = hash * 59 + this.FriendRequestAcceptedNotificationModel.GetHashCode(); if (this.FriendRequestCreatedNotificationModel != null) hash = hash * 59 + this.FriendRequestCreatedNotificationModel.GetHashCode(); if (this.OperationSingleCompanyNotificationModel != null) hash = hash * 59 + this.OperationSingleCompanyNotificationModel.GetHashCode(); if (this.OperationSingleUserNotificationModel != null) hash = hash * 59 + this.OperationSingleUserNotificationModel.GetHashCode(); if (this.CompanyOrderWillExpiredNotificationModel != null) hash = hash * 59 + this.CompanyOrderWillExpiredNotificationModel.GetHashCode(); if (this.ContactUserCreatedNotificationModel != null) hash = hash * 59 + this.ContactUserCreatedNotificationModel.GetHashCode(); if (this.RealNameInValidNotificationModel != null) hash = hash * 59 + this.RealNameInValidNotificationModel.GetHashCode(); if (this.UserRejectedNotificationModel != null) hash = hash * 59 + this.UserRejectedNotificationModel.GetHashCode(); if (this.UserProfileCreatedNotificationModel != null) hash = hash * 59 + this.UserProfileCreatedNotificationModel.GetHashCode(); if (this.UserProfileModifiedNotificationModel != null) hash = hash * 59 + this.UserProfileModifiedNotificationModel.GetHashCode(); if (this.UserSyncModifiedNotificationModel != null) hash = hash * 59 + this.UserSyncModifiedNotificationModel.GetHashCode(); if (this.TouristChatTransferedNotificationModel != null) hash = hash * 59 + this.TouristChatTransferedNotificationModel.GetHashCode(); if (this.FeedBackDealedNotificationModel != null) hash = hash * 59 + this.FeedBackDealedNotificationModel.GetHashCode(); if (this.ReportDealedNotificationModel != null) hash = hash * 59 + this.ReportDealedNotificationModel.GetHashCode(); if (this.MeetupRejectedNotificationModel != null) hash = hash * 59 + this.MeetupRejectedNotificationModel.GetHashCode(); if (this.PersonalChatTransferedNotificationModel != null) hash = hash * 59 + this.PersonalChatTransferedNotificationModel.GetHashCode(); if (this.MeetupAvatarChangedNotificationModel != null) hash = hash * 59 + this.MeetupAvatarChangedNotificationModel.GetHashCode(); if (this.MeetupApplicationAcceptedNotificationModel != null) hash = hash * 59 + this.MeetupApplicationAcceptedNotificationModel.GetHashCode(); if (this.MeetupApplicationCreatedNotificationModel != null) hash = hash * 59 + this.MeetupApplicationCreatedNotificationModel.GetHashCode(); if (this.MeetupDeletedNotificationModel != null) hash = hash * 59 + this.MeetupDeletedNotificationModel.GetHashCode(); if (this.MeetupCancelledNotificationModel != null) hash = hash * 59 + this.MeetupCancelledNotificationModel.GetHashCode(); if (this.MeetupInvitationNonCreatorAcceptedNotificationModel != null) hash = hash * 59 + this.MeetupInvitationNonCreatorAcceptedNotificationModel.GetHashCode(); if (this.MeetupInvitationAcceptedNotificationModel != null) hash = hash * 59 + this.MeetupInvitationAcceptedNotificationModel.GetHashCode(); if (this.MeetupInvitationCreatedNotificationModel != null) hash = hash * 59 + this.MeetupInvitationCreatedNotificationModel.GetHashCode(); if (this.MeetupMemberKickedNotificationModel != null) hash = hash * 59 + this.MeetupMemberKickedNotificationModel.GetHashCode(); if (this.MeetupMemberDeletedNotificationModel != null) hash = hash * 59 + this.MeetupMemberDeletedNotificationModel.GetHashCode(); if (this.MeetupMemberLeftNotificationModel != null) hash = hash * 59 + this.MeetupMemberLeftNotificationModel.GetHashCode(); if (this.MeetupMemberCreatedNotificationModel != null) hash = hash * 59 + this.MeetupMemberCreatedNotificationModel.GetHashCode(); if (this.MeetupTitleChangedNotificationModel != null) hash = hash * 59 + this.MeetupTitleChangedNotificationModel.GetHashCode(); if (this.GroupChatAllowInviteChangedNotificationModel != null) hash = hash * 59 + this.GroupChatAllowInviteChangedNotificationModel.GetHashCode(); if (this.GroupChatMemberLeftNotificationModel != null) hash = hash * 59 + this.GroupChatMemberLeftNotificationModel.GetHashCode(); if (this.GroupChatAdminTransferredNotificationModel != null) hash = hash * 59 + this.GroupChatAdminTransferredNotificationModel.GetHashCode(); if (this.GroupChatAvatarChangedNotificationModel != null) hash = hash * 59 + this.GroupChatAvatarChangedNotificationModel.GetHashCode(); if (this.GroupChatMemberJoinedNotificationModel != null) hash = hash * 59 + this.GroupChatMemberJoinedNotificationModel.GetHashCode(); if (this.GroupChatMemberKickedNotificationModel != null) hash = hash * 59 + this.GroupChatMemberKickedNotificationModel.GetHashCode(); if (this.GroupChatNameChangedNotificationModel != null) hash = hash * 59 + this.GroupChatNameChangedNotificationModel.GetHashCode(); if (this.CompanyRejectedNotificationModel != null) hash = hash * 59 + this.CompanyRejectedNotificationModel.GetHashCode(); if (this.NearbyCompanyNotifiedNotificationModel != null) hash = hash * 59 + this.NearbyCompanyNotifiedNotificationModel.GetHashCode(); if (this.CompanyActivatedNotificationModel != null) hash = hash * 59 + this.CompanyActivatedNotificationModel.GetHashCode(); if (this.CompanyAdministratorAssignedToAssignedMemberNotificationModel != null) hash = hash * 59 + this.CompanyAdministratorAssignedToAssignedMemberNotificationModel.GetHashCode(); if (this.CompanyAdministratorKickedToKickedMemberNotificationModel != null) hash = hash * 59 + this.CompanyAdministratorKickedToKickedMemberNotificationModel.GetHashCode(); if (this.CompanyAuthenticationAuditNotificationModel != null) hash = hash * 59 + this.CompanyAuthenticationAuditNotificationModel.GetHashCode(); if (this.CompanyCreatedNotificationModel != null) hash = hash * 59 + this.CompanyCreatedNotificationModel.GetHashCode(); if (this.CompanyCustomerServiceAssignedToAssignedMemberNotificationModel != null) hash = hash * 59 + this.CompanyCustomerServiceAssignedToAssignedMemberNotificationModel.GetHashCode(); if (this.CompanyCustomerServiceKickedToKickedMemberNotificationModel != null) hash = hash * 59 + this.CompanyCustomerServiceKickedToKickedMemberNotificationModel.GetHashCode(); if (this.CompanyDeactivatedNotificationModel != null) hash = hash * 59 + this.CompanyDeactivatedNotificationModel.GetHashCode(); if (this.CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel != null) hash = hash * 59 + this.CompanyMemberApplyRequestAcceptedToApplicantUserNotificationModel.GetHashCode(); if (this.CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel != null) hash = hash * 59 + this.CompanyMemberApplyRequestCreatedToCompanyAdminNotificationModel.GetHashCode(); if (this.CompanyMemberInviteRequestAcceptedNotificationModel != null) hash = hash * 59 + this.CompanyMemberInviteRequestAcceptedNotificationModel.GetHashCode(); if (this.CompanyMemberKickedToKickedMemberNotificationModel != null) hash = hash * 59 + this.CompanyMemberKickedToKickedMemberNotificationModel.GetHashCode(); if (this.CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel != null) hash = hash * 59 + this.CompanyMemberInviteRequestCreatedToInvitedUserNotificationModel.GetHashCode(); if (this.CompanyMemberLeftToCompanyAdminNotificationModel != null) hash = hash * 59 + this.CompanyMemberLeftToCompanyAdminNotificationModel.GetHashCode(); if (this.CompanyMemberLeftToSelfNotificationModel != null) hash = hash * 59 + this.CompanyMemberLeftToSelfNotificationModel.GetHashCode(); if (this.CompanyProfileModifiedNotificationModel != null) hash = hash * 59 + this.CompanyProfileModifiedNotificationModel.GetHashCode(); if (this.BroadcastAllCompanyNotificationModel != null) hash = hash * 59 + this.BroadcastAllCompanyNotificationModel.GetHashCode(); if (this.BroadcastAllUserNotificationModel != null) hash = hash * 59 + this.BroadcastAllUserNotificationModel.GetHashCode(); if (this.ArticleRejectedNotificationModel != null) hash = hash * 59 + this.ArticleRejectedNotificationModel.GetHashCode(); if (this.ProductRejectedNotificationModel != null) hash = hash * 59 + this.ProductRejectedNotificationModel.GetHashCode(); if (this.GlobalBroadcastNotificationModel != null) hash = hash * 59 + this.GlobalBroadcastNotificationModel.GetHashCode(); return hash; } } public IEnumerable Validate(ValidationContext validationContext) { yield break; } } #pragma warning restore CS0472 // The result of the expression is always the same since a value of this type is never equal to 'null' }