public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.channelId) { hashcode = (hashcode * 397) + ChannelId.GetHashCode(); } if (__isset.name) { hashcode = (hashcode * 397) + Name.GetHashCode(); } if (__isset.entryPageUrl) { hashcode = (hashcode * 397) + EntryPageUrl.GetHashCode(); } if (__isset.descriptionText) { hashcode = (hashcode * 397) + DescriptionText.GetHashCode(); } if (__isset.provider) { hashcode = (hashcode * 397) + Provider.GetHashCode(); } if (__isset.publicType) { hashcode = (hashcode * 397) + PublicType.GetHashCode(); } if (__isset.iconImage) { hashcode = (hashcode * 397) + IconImage.GetHashCode(); } if (__isset.permissions) { hashcode = (hashcode * 397) + TCollections.GetHashCode(Permissions); } if (__isset.iconThumbnailImage) { hashcode = (hashcode * 397) + IconThumbnailImage.GetHashCode(); } if (__isset.channelConfigurations) { hashcode = (hashcode * 397) + TCollections.GetHashCode(ChannelConfigurations); } if (__isset.lcsAllApiUsable) { hashcode = (hashcode * 397) + LcsAllApiUsable.GetHashCode(); } if (__isset.allowedPermissions) { hashcode = (hashcode * 397) + TCollections.GetHashCode(AllowedPermissions); } if (__isset.channelDomains) { hashcode = (hashcode * 397) + TCollections.GetHashCode(ChannelDomains); } if (__isset.updatedTimestamp) { hashcode = (hashcode * 397) + UpdatedTimestamp.GetHashCode(); } } return(hashcode); }
public override string ToString() { var sb = new StringBuilder("ChannelInfo("); bool __first = true; if (ChannelId != null && __isset.channelId) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ChannelId: "); ChannelId.ToString(sb); } if (Name != null && __isset.name) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Name: "); Name.ToString(sb); } if (EntryPageUrl != null && __isset.entryPageUrl) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("EntryPageUrl: "); EntryPageUrl.ToString(sb); } if (DescriptionText != null && __isset.descriptionText) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("DescriptionText: "); DescriptionText.ToString(sb); } if (Provider != null && __isset.provider) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Provider: "); Provider.ToString(sb); } if (__isset.publicType) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("PublicType: "); PublicType.ToString(sb); } if (IconImage != null && __isset.iconImage) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("IconImage: "); IconImage.ToString(sb); } if (Permissions != null && __isset.permissions) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Permissions: "); Permissions.ToString(sb); } if (IconThumbnailImage != null && __isset.iconThumbnailImage) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("IconThumbnailImage: "); IconThumbnailImage.ToString(sb); } if (ChannelConfigurations != null && __isset.channelConfigurations) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ChannelConfigurations: "); ChannelConfigurations.ToString(sb); } if (__isset.lcsAllApiUsable) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("LcsAllApiUsable: "); LcsAllApiUsable.ToString(sb); } if (AllowedPermissions != null && __isset.allowedPermissions) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("AllowedPermissions: "); AllowedPermissions.ToString(sb); } if (ChannelDomains != null && __isset.channelDomains) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ChannelDomains: "); ChannelDomains.ToString(sb); } if (__isset.updatedTimestamp) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("UpdatedTimestamp: "); UpdatedTimestamp.ToString(sb); } sb.Append(")"); return(sb.ToString()); }