/*
* 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'
///
/// ExposeDefinitionsViewModel
///
[DataContract]
public partial class ExposeDefinitionsViewModel : IEquatable, IValidatableObject //Mark 555
{
///
/// FHT.Core.Exceptions.Abstract.CoreExceptionCode, FHT.Core.Exceptions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
///
/// FHT.Core.Exceptions.Abstract.CoreExceptionCode, FHT.Core.Exceptions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[DataMember(Name="FhtExceptionCode", EmitDefaultValue=false)]
public
CoreExceptionCodeEnum?
FhtExceptionCode { get; set; }
///
/// FHT.Core.CommonTypes.EligibilityType, FHT.Core.CommonTypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
///
/// FHT.Core.CommonTypes.EligibilityType, FHT.Core.CommonTypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[DataMember(Name="EligibilityType", EmitDefaultValue=false)]
public
EligibilityTypeEnum?
EligibilityType { get; set; }
///
/// FHT.Core.CommonTypes.HotSearchWordType, FHT.Core.CommonTypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
///
/// FHT.Core.CommonTypes.HotSearchWordType, FHT.Core.CommonTypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[DataMember(Name="HotSearchWordType", EmitDefaultValue=false)]
public
HotSearchWordTypeEnum?
HotSearchWordType { get; set; }
///
/// 2. Initializes a new instance of the class.
///
[JsonConstructorAttribute]
protected ExposeDefinitionsViewModel() { }
///
/// Not Enum: Gets or Sets FhtBaseException
///
[DataMember(Name="FhtBaseException", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public Object FhtBaseException { get; set; }
///
/// Not Enum: Gets or Sets ExceptionViewModel
///
[DataMember(Name="ExceptionViewModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ExceptionViewModel ExceptionViewModel { get; set; }
///
/// Not Enum: Gets or Sets GenericItemViewModel
///
[DataMember(Name="GenericItemViewModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public GenericItemViewModel GenericItemViewModel { get; set; }
///
/// Not Enum: Gets or Sets Notification
///
[DataMember(Name="Notification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public NotificationModels Notification { get; set; }
///
/// Not Enum: Gets or Sets NavigationContentView
///
[DataMember(Name="NavigationContentView", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public NavigationContentViewModels NavigationContentView { get; set; }
///
/// Not Enum: Gets or Sets UserFriendStatusView
///
[DataMember(Name="UserFriendStatusView", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public UserFriendStatusViewModel UserFriendStatusView { get; set; }
///
/// Not Enum: Gets or Sets OperationSingleCompanyNotification
///
[DataMember(Name="OperationSingleCompanyNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public OperationSingleCompanyNotificationModel OperationSingleCompanyNotification { get; set; }
///
/// Not Enum: Gets or Sets OperationSingleUserNotification
///
[DataMember(Name="OperationSingleUserNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public OperationSingleUserNotificationModel OperationSingleUserNotification { get; set; }
///
/// Not Enum: Gets or Sets UserRejectedNotification
///
[DataMember(Name="UserRejectedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public UserRejectedNotificationModel UserRejectedNotification { get; set; }
///
/// Not Enum: Gets or Sets UserProfileCreatedNotification
///
[DataMember(Name="UserProfileCreatedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public UserProfileCreatedNotificationModel UserProfileCreatedNotification { get; set; }
///
/// Not Enum: Gets or Sets MeetupRejectedNotification
///
[DataMember(Name="MeetupRejectedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public MeetupRejectedNotificationModel MeetupRejectedNotification { get; set; }
///
/// Not Enum: Gets or Sets MeetupAvatarChangedNotification
///
[DataMember(Name="MeetupAvatarChangedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public MeetupAvatarChangedNotificationModel MeetupAvatarChangedNotification { get; set; }
///
/// Not Enum: Gets or Sets CompanyRejectedNotification
///
[DataMember(Name="CompanyRejectedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public CompanyRejectedNotificationModel CompanyRejectedNotification { get; set; }
///
/// Not Enum: Gets or Sets CompanyActivatedNotification
///
[DataMember(Name="CompanyActivatedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public CompanyActivatedNotificationModel CompanyActivatedNotification { get; set; }
///
/// Not Enum: Gets or Sets FeedBackDealedNotification
///
[DataMember(Name="FeedBackDealedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public FeedBackDealedNotificationModel FeedBackDealedNotification { get; set; }
///
/// Not Enum: Gets or Sets PersonalChatTransferedNotification
///
[DataMember(Name="PersonalChatTransferedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public PersonalChatTransferedNotificationModel PersonalChatTransferedNotification { get; set; }
///
/// Not Enum: Gets or Sets TouristChatTransferedNotification
///
[DataMember(Name="TouristChatTransferedNotification", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public TouristChatTransferedNotificationModel TouristChatTransferedNotification { get; set; }
///
/// Not Enum: Gets or Sets ImageSizeView
///
[DataMember(Name="ImageSizeView", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ImageSizeViewModelOfSwagger ImageSizeView { get; set; }
///
/// Not Enum: Gets or Sets StatRangeInput
///
[DataMember(Name="StatRangeInput", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public StatRangeInputModel StatRangeInput { get; set; }
///
/// Not Enum: Gets or Sets StatInputModel
///
[DataMember(Name="StatInputModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public StatInputModelStatExtensionModel StatInputModel { get; set; }
///
/// Not Enum: Gets or Sets ViewUser
///
[DataMember(Name="ViewUser", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ViewUserStatExtensionModel ViewUser { get; set; }
///
/// Not Enum: Gets or Sets ViewSingleProduct
///
[DataMember(Name="ViewSingleProduct", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ViewSingleProductStatExtensionModel ViewSingleProduct { get; set; }
///
/// Not Enum: Gets or Sets ViewSingleTopicPost
///
[DataMember(Name="ViewSingleTopicPost", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ViewSingleTopicPostStatExtensionModel ViewSingleTopicPost { get; set; }
///
/// Not Enum: Gets or Sets ProductImpression
///
[DataMember(Name="ProductImpression", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ProductImpressionStatExtensionModel ProductImpression { get; set; }
///
/// Not Enum: Gets or Sets TopicPostImpression
///
[DataMember(Name="TopicPostImpression", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public TopicPostImpressionStatExtensionModel TopicPostImpression { get; set; }
///
/// Not Enum: Gets or Sets ChatWithUser
///
[DataMember(Name="ChatWithUser", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ChatWithUserStatExtensionModel ChatWithUser { get; set; }
///
/// Not Enum: Gets or Sets ChatWithCustomerService
///
[DataMember(Name="ChatWithCustomerService", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public ChatWithCustomerServiceStatExtensionModel ChatWithCustomerService { get; set; }
///
/// Not Enum: Gets or Sets TokenViewModel
///
[DataMember(Name="TokenViewModel", EmitDefaultValue=false)] //Mark 1 vendorExtensions: {}
public TokenViewModel TokenViewModel { 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 ExposeDefinitionsViewModel {\n");
sb.Append(" FhtExceptionCode: ").Append(FhtExceptionCode).Append("\n");
sb.Append(" FhtBaseException: ").Append(FhtBaseException).Append("\n");
sb.Append(" ExceptionViewModel: ").Append(ExceptionViewModel).Append("\n");
sb.Append(" GenericItemViewModel: ").Append(GenericItemViewModel).Append("\n");
sb.Append(" EligibilityType: ").Append(EligibilityType).Append("\n");
sb.Append(" HotSearchWordType: ").Append(HotSearchWordType).Append("\n");
sb.Append(" Notification: ").Append(Notification).Append("\n");
sb.Append(" NavigationContentView: ").Append(NavigationContentView).Append("\n");
sb.Append(" UserFriendStatusView: ").Append(UserFriendStatusView).Append("\n");
sb.Append(" OperationSingleCompanyNotification: ").Append(OperationSingleCompanyNotification).Append("\n");
sb.Append(" OperationSingleUserNotification: ").Append(OperationSingleUserNotification).Append("\n");
sb.Append(" UserRejectedNotification: ").Append(UserRejectedNotification).Append("\n");
sb.Append(" UserProfileCreatedNotification: ").Append(UserProfileCreatedNotification).Append("\n");
sb.Append(" MeetupRejectedNotification: ").Append(MeetupRejectedNotification).Append("\n");
sb.Append(" MeetupAvatarChangedNotification: ").Append(MeetupAvatarChangedNotification).Append("\n");
sb.Append(" CompanyRejectedNotification: ").Append(CompanyRejectedNotification).Append("\n");
sb.Append(" CompanyActivatedNotification: ").Append(CompanyActivatedNotification).Append("\n");
sb.Append(" FeedBackDealedNotification: ").Append(FeedBackDealedNotification).Append("\n");
sb.Append(" PersonalChatTransferedNotification: ").Append(PersonalChatTransferedNotification).Append("\n");
sb.Append(" TouristChatTransferedNotification: ").Append(TouristChatTransferedNotification).Append("\n");
sb.Append(" ImageSizeView: ").Append(ImageSizeView).Append("\n");
sb.Append(" StatRangeInput: ").Append(StatRangeInput).Append("\n");
sb.Append(" StatInputModel: ").Append(StatInputModel).Append("\n");
sb.Append(" ViewUser: ").Append(ViewUser).Append("\n");
sb.Append(" ViewSingleProduct: ").Append(ViewSingleProduct).Append("\n");
sb.Append(" ViewSingleTopicPost: ").Append(ViewSingleTopicPost).Append("\n");
sb.Append(" ProductImpression: ").Append(ProductImpression).Append("\n");
sb.Append(" TopicPostImpression: ").Append(TopicPostImpression).Append("\n");
sb.Append(" ChatWithUser: ").Append(ChatWithUser).Append("\n");
sb.Append(" ChatWithCustomerService: ").Append(ChatWithCustomerService).Append("\n");
sb.Append(" TokenViewModel: ").Append(TokenViewModel).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 ExposeDefinitionsViewModel);
}
///
/// Returns true if ExposeDefinitionsViewModel instances are equal
///
/// Instance of ExposeDefinitionsViewModel to be compared
/// Boolean
public bool Equals(ExposeDefinitionsViewModel other)
{
// credit: http://stackoverflow.com/a/10454552/677735
if (other == null)
return false;
return
(
this.FhtExceptionCode == other.FhtExceptionCode ||
this.FhtExceptionCode != null &&
this.FhtExceptionCode.Equals(other.FhtExceptionCode)
) &&
(
this.FhtBaseException == other.FhtBaseException ||
this.FhtBaseException != null &&
this.FhtBaseException.Equals(other.FhtBaseException)
) &&
(
this.ExceptionViewModel == other.ExceptionViewModel ||
this.ExceptionViewModel != null &&
this.ExceptionViewModel.Equals(other.ExceptionViewModel)
) &&
(
this.GenericItemViewModel == other.GenericItemViewModel ||
this.GenericItemViewModel != null &&
this.GenericItemViewModel.Equals(other.GenericItemViewModel)
) &&
(
this.EligibilityType == other.EligibilityType ||
this.EligibilityType != null &&
this.EligibilityType.Equals(other.EligibilityType)
) &&
(
this.HotSearchWordType == other.HotSearchWordType ||
this.HotSearchWordType != null &&
this.HotSearchWordType.Equals(other.HotSearchWordType)
) &&
(
this.Notification == other.Notification ||
this.Notification != null &&
this.Notification.Equals(other.Notification)
) &&
(
this.NavigationContentView == other.NavigationContentView ||
this.NavigationContentView != null &&
this.NavigationContentView.Equals(other.NavigationContentView)
) &&
(
this.UserFriendStatusView == other.UserFriendStatusView ||
this.UserFriendStatusView != null &&
this.UserFriendStatusView.Equals(other.UserFriendStatusView)
) &&
(
this.OperationSingleCompanyNotification == other.OperationSingleCompanyNotification ||
this.OperationSingleCompanyNotification != null &&
this.OperationSingleCompanyNotification.Equals(other.OperationSingleCompanyNotification)
) &&
(
this.OperationSingleUserNotification == other.OperationSingleUserNotification ||
this.OperationSingleUserNotification != null &&
this.OperationSingleUserNotification.Equals(other.OperationSingleUserNotification)
) &&
(
this.UserRejectedNotification == other.UserRejectedNotification ||
this.UserRejectedNotification != null &&
this.UserRejectedNotification.Equals(other.UserRejectedNotification)
) &&
(
this.UserProfileCreatedNotification == other.UserProfileCreatedNotification ||
this.UserProfileCreatedNotification != null &&
this.UserProfileCreatedNotification.Equals(other.UserProfileCreatedNotification)
) &&
(
this.MeetupRejectedNotification == other.MeetupRejectedNotification ||
this.MeetupRejectedNotification != null &&
this.MeetupRejectedNotification.Equals(other.MeetupRejectedNotification)
) &&
(
this.MeetupAvatarChangedNotification == other.MeetupAvatarChangedNotification ||
this.MeetupAvatarChangedNotification != null &&
this.MeetupAvatarChangedNotification.Equals(other.MeetupAvatarChangedNotification)
) &&
(
this.CompanyRejectedNotification == other.CompanyRejectedNotification ||
this.CompanyRejectedNotification != null &&
this.CompanyRejectedNotification.Equals(other.CompanyRejectedNotification)
) &&
(
this.CompanyActivatedNotification == other.CompanyActivatedNotification ||
this.CompanyActivatedNotification != null &&
this.CompanyActivatedNotification.Equals(other.CompanyActivatedNotification)
) &&
(
this.FeedBackDealedNotification == other.FeedBackDealedNotification ||
this.FeedBackDealedNotification != null &&
this.FeedBackDealedNotification.Equals(other.FeedBackDealedNotification)
) &&
(
this.PersonalChatTransferedNotification == other.PersonalChatTransferedNotification ||
this.PersonalChatTransferedNotification != null &&
this.PersonalChatTransferedNotification.Equals(other.PersonalChatTransferedNotification)
) &&
(
this.TouristChatTransferedNotification == other.TouristChatTransferedNotification ||
this.TouristChatTransferedNotification != null &&
this.TouristChatTransferedNotification.Equals(other.TouristChatTransferedNotification)
) &&
(
this.ImageSizeView == other.ImageSizeView ||
this.ImageSizeView != null &&
this.ImageSizeView.Equals(other.ImageSizeView)
) &&
(
this.StatRangeInput == other.StatRangeInput ||
this.StatRangeInput != null &&
this.StatRangeInput.Equals(other.StatRangeInput)
) &&
(
this.StatInputModel == other.StatInputModel ||
this.StatInputModel != null &&
this.StatInputModel.Equals(other.StatInputModel)
) &&
(
this.ViewUser == other.ViewUser ||
this.ViewUser != null &&
this.ViewUser.Equals(other.ViewUser)
) &&
(
this.ViewSingleProduct == other.ViewSingleProduct ||
this.ViewSingleProduct != null &&
this.ViewSingleProduct.Equals(other.ViewSingleProduct)
) &&
(
this.ViewSingleTopicPost == other.ViewSingleTopicPost ||
this.ViewSingleTopicPost != null &&
this.ViewSingleTopicPost.Equals(other.ViewSingleTopicPost)
) &&
(
this.ProductImpression == other.ProductImpression ||
this.ProductImpression != null &&
this.ProductImpression.Equals(other.ProductImpression)
) &&
(
this.TopicPostImpression == other.TopicPostImpression ||
this.TopicPostImpression != null &&
this.TopicPostImpression.Equals(other.TopicPostImpression)
) &&
(
this.ChatWithUser == other.ChatWithUser ||
this.ChatWithUser != null &&
this.ChatWithUser.Equals(other.ChatWithUser)
) &&
(
this.ChatWithCustomerService == other.ChatWithCustomerService ||
this.ChatWithCustomerService != null &&
this.ChatWithCustomerService.Equals(other.ChatWithCustomerService)
) &&
(
this.TokenViewModel == other.TokenViewModel ||
this.TokenViewModel != null &&
this.TokenViewModel.Equals(other.TokenViewModel)
);
}
///
/// 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.FhtExceptionCode != null)
hash = hash * 59 + this.FhtExceptionCode.GetHashCode();
if (this.FhtBaseException != null)
hash = hash * 59 + this.FhtBaseException.GetHashCode();
if (this.ExceptionViewModel != null)
hash = hash * 59 + this.ExceptionViewModel.GetHashCode();
if (this.GenericItemViewModel != null)
hash = hash * 59 + this.GenericItemViewModel.GetHashCode();
if (this.EligibilityType != null)
hash = hash * 59 + this.EligibilityType.GetHashCode();
if (this.HotSearchWordType != null)
hash = hash * 59 + this.HotSearchWordType.GetHashCode();
if (this.Notification != null)
hash = hash * 59 + this.Notification.GetHashCode();
if (this.NavigationContentView != null)
hash = hash * 59 + this.NavigationContentView.GetHashCode();
if (this.UserFriendStatusView != null)
hash = hash * 59 + this.UserFriendStatusView.GetHashCode();
if (this.OperationSingleCompanyNotification != null)
hash = hash * 59 + this.OperationSingleCompanyNotification.GetHashCode();
if (this.OperationSingleUserNotification != null)
hash = hash * 59 + this.OperationSingleUserNotification.GetHashCode();
if (this.UserRejectedNotification != null)
hash = hash * 59 + this.UserRejectedNotification.GetHashCode();
if (this.UserProfileCreatedNotification != null)
hash = hash * 59 + this.UserProfileCreatedNotification.GetHashCode();
if (this.MeetupRejectedNotification != null)
hash = hash * 59 + this.MeetupRejectedNotification.GetHashCode();
if (this.MeetupAvatarChangedNotification != null)
hash = hash * 59 + this.MeetupAvatarChangedNotification.GetHashCode();
if (this.CompanyRejectedNotification != null)
hash = hash * 59 + this.CompanyRejectedNotification.GetHashCode();
if (this.CompanyActivatedNotification != null)
hash = hash * 59 + this.CompanyActivatedNotification.GetHashCode();
if (this.FeedBackDealedNotification != null)
hash = hash * 59 + this.FeedBackDealedNotification.GetHashCode();
if (this.PersonalChatTransferedNotification != null)
hash = hash * 59 + this.PersonalChatTransferedNotification.GetHashCode();
if (this.TouristChatTransferedNotification != null)
hash = hash * 59 + this.TouristChatTransferedNotification.GetHashCode();
if (this.ImageSizeView != null)
hash = hash * 59 + this.ImageSizeView.GetHashCode();
if (this.StatRangeInput != null)
hash = hash * 59 + this.StatRangeInput.GetHashCode();
if (this.StatInputModel != null)
hash = hash * 59 + this.StatInputModel.GetHashCode();
if (this.ViewUser != null)
hash = hash * 59 + this.ViewUser.GetHashCode();
if (this.ViewSingleProduct != null)
hash = hash * 59 + this.ViewSingleProduct.GetHashCode();
if (this.ViewSingleTopicPost != null)
hash = hash * 59 + this.ViewSingleTopicPost.GetHashCode();
if (this.ProductImpression != null)
hash = hash * 59 + this.ProductImpression.GetHashCode();
if (this.TopicPostImpression != null)
hash = hash * 59 + this.TopicPostImpression.GetHashCode();
if (this.ChatWithUser != null)
hash = hash * 59 + this.ChatWithUser.GetHashCode();
if (this.ChatWithCustomerService != null)
hash = hash * 59 + this.ChatWithCustomerService.GetHashCode();
if (this.TokenViewModel != null)
hash = hash * 59 + this.TokenViewModel.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'
}