Beispiel #1
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("Group(");
        bool __first = true;

        if (Id != null && __isset.id)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Id: ");
            Id.ToString(sb);
        }
        if (__isset.createdTime)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("CreatedTime: ");
            CreatedTime.ToString(sb);
        }
        if (Name != null && __isset.name)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Name: ");
            Name.ToString(sb);
        }
        if (PictureStatus != null && __isset.pictureStatus)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("PictureStatus: ");
            PictureStatus.ToString(sb);
        }
        if (__isset.preventedJoinByTicket)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("PreventedJoinByTicket: ");
            PreventedJoinByTicket.ToString(sb);
        }
        if (GroupPreference != null && __isset.groupPreference)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("GroupPreference: ");
            GroupPreference.ToString(sb);
        }
        if (Members != null && __isset.members)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Members: ");
            Members.ToString(sb);
        }
        if (Creator != null && __isset.creator)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Creator: ");
            Creator.ToString(sb);
        }
        if (Invitee != null && __isset.invitee)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Invitee: ");
            Invitee.ToString(sb);
        }
        if (__isset.notificationDisabled)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("NotificationDisabled: ");
            NotificationDisabled.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }