public override string ToString()
    {
        var  sb      = new StringBuilder("ChannelSyncDatas(");
        bool __first = true;

        if (ChannelInfos != null && __isset.channelInfos)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ChannelInfos: ");
            ChannelInfos.ToString(sb);
        }
        if (ChannelDomains != null && __isset.channelDomains)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ChannelDomains: ");
            ChannelDomains.ToString(sb);
        }
        if (__isset.revision)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Revision: ");
            Revision.ToString(sb);
        }
        if (__isset.expires)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Expires: ");
            Expires.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #2
0
    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());
    }