public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("DDCreateGroupRequest(");
            bool          __first = true;

            if (SessionId != null && __isset.sessionId)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("SessionId: ");
                __sb.Append(SessionId);
            }
            if (AppId != null && __isset.appId)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("AppId: ");
                __sb.Append(AppId);
            }
            if (Id != null && __isset.id)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Id: ");
                __sb.Append(Id);
            }
            if (Title != null && __isset.title)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Title: ");
                __sb.Append(Title.ToDebugString());
            }
            if (GroupDescription != null && __isset.groupDescription)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("GroupDescription: ");
                __sb.Append(GroupDescription.ToDebugString());
            }
            if (AvatarUrl != null && __isset.avatarUrl)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("AvatarUrl: ");
                __sb.Append(AvatarUrl);
            }
            if (Permissions != null && __isset.permissions)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Permissions: ");
                __sb.Append(Permissions.ToDebugString());
            }
            if (Properties != null && __isset.properties)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Properties: ");
                __sb.Append(Properties.ToDebugString());
            }
            if (__isset.isDiscoverable)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("IsDiscoverable: ");
                __sb.Append(IsDiscoverable);
            }
            if (__isset.isPrivate)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("IsPrivate: ");
                __sb.Append(IsPrivate);
            }
            __sb.Append(")");
            return(__sb.ToString());
        }
Exemplo n.º 2
0
        public override string ToString()
        {
            StringBuilder __sb    = new StringBuilder("SGGroup(");
            bool          __first = true;

            if (Id != null && __isset.id)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Id: ");
                __sb.Append(Id);
            }
            if (Title != null && __isset.title)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Title: ");
                __sb.Append(Title.ToDebugString());
            }
            if (GroupDescription != null && __isset.groupDescription)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("GroupDescription: ");
                __sb.Append(GroupDescription.ToDebugString());
            }
            if (AvatarUrl != null && __isset.avatarUrl)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("AvatarUrl: ");
                __sb.Append(AvatarUrl);
            }
            if (__isset.createdAt)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("CreatedAt: ");
                __sb.Append(CreatedAt);
            }
            if (__isset.updatedAt)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("UpdatedAt: ");
                __sb.Append(UpdatedAt);
            }
            if (CreatedBy != null && __isset.createdBy)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("CreatedBy: ");
                __sb.Append(CreatedBy);
            }
            if (Settings != null && __isset.settings)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Settings: ");
                __sb.Append(Settings == null ? "<null>" : Settings.ToString());
            }
            if (__isset.followersCount)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("FollowersCount: ");
                __sb.Append(FollowersCount);
            }
            if (__isset.isFollower)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("IsFollower: ");
                __sb.Append(IsFollower);
            }
            if (__isset.membersCount)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("MembersCount: ");
                __sb.Append(MembersCount);
            }
            if (Membership != null && __isset.membership)
            {
                if (!__first)
                {
                    __sb.Append(", ");
                }
                __first = false;
                __sb.Append("Membership: ");
                __sb.Append(Membership == null ? "<null>" : Membership.ToString());
            }
            __sb.Append(")");
            return(__sb.ToString());
        }