コード例 #1
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder("Notebook(");

            sb.Append("Guid: ");
            sb.Append(Guid);
            sb.Append(",Name: ");
            sb.Append(Name);
            sb.Append(",UpdateSequenceNum: ");
            sb.Append(UpdateSequenceNum);
            sb.Append(",DefaultNotebook: ");
            sb.Append(DefaultNotebook);
            sb.Append(",ServiceCreated: ");
            sb.Append(ServiceCreated);
            sb.Append(",ServiceUpdated: ");
            sb.Append(ServiceUpdated);
            sb.Append(",Publishing: ");
            sb.Append(Publishing == null ? "<null>" : Publishing.ToString());
            sb.Append(",Published: ");
            sb.Append(Published);
            sb.Append(",Stack: ");
            sb.Append(Stack);
            sb.Append(",SharedNotebookIds: ");
            sb.Append(SharedNotebookIds);
            sb.Append(",SharedNotebooks: ");
            sb.Append(SharedNotebooks);
            sb.Append(",BusinessNotebook: ");
            sb.Append(BusinessNotebook == null ? "<null>" : BusinessNotebook.ToString());
            sb.Append(",Contact: ");
            sb.Append(Contact == null ? "<null>" : Contact.ToString());
            sb.Append(",Restrictions: ");
            sb.Append(Restrictions == null ? "<null>" : Restrictions.ToString());
            sb.Append(")");
            return(sb.ToString());
        }
コード例 #2
0
        public override string ToString()
        {
            StringBuilder __sb = new StringBuilder("Identity(");

            __sb.Append(", Id: ");
            __sb.Append(Id);
            if (Contact != null && __isset.contact)
            {
                __sb.Append(", Contact: ");
                __sb.Append(Contact == null ? "<null>" : Contact.ToString());
            }
            if (__isset.userId)
            {
                __sb.Append(", UserId: ");
                __sb.Append(UserId);
            }
            if (__isset.deactivated)
            {
                __sb.Append(", Deactivated: ");
                __sb.Append(Deactivated);
            }
            if (__isset.sameBusiness)
            {
                __sb.Append(", SameBusiness: ");
                __sb.Append(SameBusiness);
            }
            if (__isset.blocked)
            {
                __sb.Append(", Blocked: ");
                __sb.Append(Blocked);
            }
            if (__isset.userConnected)
            {
                __sb.Append(", UserConnected: ");
                __sb.Append(UserConnected);
            }
            if (__isset.eventId)
            {
                __sb.Append(", EventId: ");
                __sb.Append(EventId);
            }
            __sb.Append(")");
            return(__sb.ToString());
        }
コード例 #3
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("RelatedContent(");
            bool          __first = true;

            if (ContentId != null && __isset.contentId)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ContentId: ");
                __sb.Append(ContentId);
            }
            if (Title != null && __isset.title)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Title: ");
                __sb.Append(Title);
            }
            if (Url != null && __isset.url)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Url: ");
                __sb.Append(Url);
            }
            if (SourceId != null && __isset.sourceId)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("SourceId: ");
                __sb.Append(SourceId);
            }
            if (SourceUrl != null && __isset.sourceUrl)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("SourceUrl: ");
                __sb.Append(SourceUrl);
            }
            if (SourceFaviconUrl != null && __isset.sourceFaviconUrl)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("SourceFaviconUrl: ");
                __sb.Append(SourceFaviconUrl);
            }
            if (SourceName != null && __isset.sourceName)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("SourceName: ");
                __sb.Append(SourceName);
            }
            if (__isset.date)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Date: ");
                __sb.Append(Date);
            }
            if (Teaser != null && __isset.teaser)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Teaser: ");
                __sb.Append(Teaser);
            }
            if (Thumbnails != null && __isset.thumbnails)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Thumbnails: ");
                __sb.Append(Thumbnails);
            }
            if (__isset.contentType)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ContentType: ");
                __sb.Append(ContentType);
            }
            if (__isset.accessType)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("AccessType: ");
                __sb.Append(AccessType);
            }
            if (VisibleUrl != null && __isset.visibleUrl)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("VisibleUrl: ");
                __sb.Append(VisibleUrl);
            }
            if (ClipUrl != null && __isset.clipUrl)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ClipUrl: ");
                __sb.Append(ClipUrl);
            }
            if (Contact != null && __isset.contact)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Contact: ");
                __sb.Append(Contact == null ? "<null>" : Contact.ToString());
            }
            if (Authors != null && __isset.authors)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Authors: ");
                __sb.Append(Authors);
            }
            __sb.Append(")");
            return(__sb.ToString());
        }
コード例 #4
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("Notebook(");
            bool          __first = true;

            if (Guid != null && __isset.guid)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Guid: ");
                __sb.Append(Guid);
            }
            if (Name != null && __isset.name)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Name: ");
                __sb.Append(Name);
            }
            if (__isset.updateSequenceNum)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("UpdateSequenceNum: ");
                __sb.Append(UpdateSequenceNum);
            }
            if (__isset.defaultNotebook)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("DefaultNotebook: ");
                __sb.Append(DefaultNotebook);
            }
            if (__isset.serviceCreated)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ServiceCreated: ");
                __sb.Append(ServiceCreated);
            }
            if (__isset.serviceUpdated)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("ServiceUpdated: ");
                __sb.Append(ServiceUpdated);
            }
            if (Publishing != null && __isset.publishing)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Publishing: ");
                __sb.Append(Publishing == null ? "<null>" : Publishing.ToString());
            }
            if (__isset.published)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Published: ");
                __sb.Append(Published);
            }
            if (Stack != null && __isset.stack)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Stack: ");
                __sb.Append(Stack);
            }
            if (SharedNotebookIds != null && __isset.sharedNotebookIds)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("SharedNotebookIds: ");
                __sb.Append(SharedNotebookIds);
            }
            if (SharedNotebooks != null && __isset.sharedNotebooks)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("SharedNotebooks: ");
                __sb.Append(SharedNotebooks);
            }
            if (BusinessNotebook != null && __isset.businessNotebook)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("BusinessNotebook: ");
                __sb.Append(BusinessNotebook == null ? "<null>" : BusinessNotebook.ToString());
            }
            if (Contact != null && __isset.contact)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Contact: ");
                __sb.Append(Contact == null ? "<null>" : Contact.ToString());
            }
            if (Restrictions != null && __isset.restrictions)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Restrictions: ");
                __sb.Append(Restrictions == null ? "<null>" : Restrictions.ToString());
            }
            if (RecipientSettings != null && __isset.recipientSettings)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("RecipientSettings: ");
                __sb.Append(RecipientSettings == null ? "<null>" : RecipientSettings.ToString());
            }
            __sb.Append(")");
            return(__sb.ToString());
        }