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

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (Square != null && __isset.square)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Square: ");
            Square.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #2
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("GetSquareMemberRelationRequest(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (TargetSquareMemberMid != null && __isset.targetSquareMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("TargetSquareMemberMid: ");
            TargetSquareMemberMid.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #3
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("RejectSquareMembersRequest(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (RequestedMemberMids != null && __isset.requestedMemberMids)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("RequestedMemberMids: ");
            RequestedMemberMids.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #4
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("JoinSquareRequest(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (Member != null && __isset.member)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Member: ");
            Member.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #5
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("GetNoteStatusResponse(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (Status != null && __isset.status)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Status: ");
            Status.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #6
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("ReportSquareMessageRequest(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (SquareChatMid != null && __isset.squareChatMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatMid: ");
            SquareChatMid.ToString(sb);
        }
        if (SquareMessageId != null && __isset.squareMessageId)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMessageId: ");
            SquareMessageId.ToString(sb);
        }
        if (__isset.reportType)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ReportType: ");
            ReportType.ToString(sb);
        }
        if (OtherReason != null && __isset.otherReason)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("OtherReason: ");
            OtherReason.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
    public override string ToString()
    {
        var  sb      = new StringBuilder("UpdateSquareMemberRelationResponse(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (TargetSquareMemberMid != null && __isset.targetSquareMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("TargetSquareMemberMid: ");
            TargetSquareMemberMid.ToString(sb);
        }
        if (UpdatedAttrs != null && __isset.updatedAttrs)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("UpdatedAttrs: ");
            UpdatedAttrs.ToString(sb);
        }
        if (Relation != null && __isset.relation)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Relation: ");
            Relation.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareFeatureSet(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (__isset.revision)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Revision: ");
            Revision.ToString(sb);
        }
        if (CreatingSecretSquareChat != null && __isset.creatingSecretSquareChat)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("CreatingSecretSquareChat: ");
            CreatingSecretSquareChat.ToString(sb);
        }
        if (InvitingIntoOpenSquareChat != null && __isset.invitingIntoOpenSquareChat)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("InvitingIntoOpenSquareChat: ");
            InvitingIntoOpenSquareChat.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #9
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SearchSquareMembersRequest(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (SearchOption != null && __isset.searchOption)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SearchOption: ");
            SearchOption.ToString(sb);
        }
        if (ContinuationToken != null && __isset.continuationToken)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ContinuationToken: ");
            ContinuationToken.ToString(sb);
        }
        if (__isset.limit)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Limit: ");
            Limit.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #10
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareEventNotificationJoinRequest(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (SquareName != null && __isset.squareName)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareName: ");
            SquareName.ToString(sb);
        }
        if (RequestMemberName != null && __isset.requestMemberName)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("RequestMemberName: ");
            RequestMemberName.ToString(sb);
        }
        if (ProfileImageObsHash != null && __isset.profileImageObsHash)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ProfileImageObsHash: ");
            ProfileImageObsHash.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareEventNotifiedUpdateSquareMemberRelation(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (MyMemberMid != null && __isset.myMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("MyMemberMid: ");
            MyMemberMid.ToString(sb);
        }
        if (TargetSquareMemberMid != null && __isset.targetSquareMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("TargetSquareMemberMid: ");
            TargetSquareMemberMid.ToString(sb);
        }
        if (SquareMemberRelation != null && __isset.squareMemberRelation)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMemberRelation: ");
            SquareMemberRelation.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
    public override string ToString()
    {
        var  sb      = new StringBuilder("InviteToSquareRequest(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (Invitees != null && __isset.invitees)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Invitees: ");
            Invitees.ToString(sb);
        }
        if (SquareChatMid != null && __isset.squareChatMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatMid: ");
            SquareChatMid.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #13
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareMember(");
        bool __first = true;

        if (SquareMemberMid != null && __isset.squareMemberMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMemberMid: ");
            SquareMemberMid.ToString(sb);
        }
        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (DisplayName != null && __isset.displayName)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("DisplayName: ");
            DisplayName.ToString(sb);
        }
        if (ProfileImageObsHash != null && __isset.profileImageObsHash)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ProfileImageObsHash: ");
            ProfileImageObsHash.ToString(sb);
        }
        if (__isset.ableToReceiveMessage)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("AbleToReceiveMessage: ");
            AbleToReceiveMessage.ToString(sb);
        }
        if (__isset.membershipState)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("MembershipState: ");
            MembershipState.ToString(sb);
        }
        if (__isset.role)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Role: ");
            Role.ToString(sb);
        }
        if (__isset.revision)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Revision: ");
            Revision.ToString(sb);
        }
        if (Preference != null && __isset.preference)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Preference: ");
            Preference.ToString(sb);
        }
        if (JoinMessage != null && __isset.joinMessage)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("JoinMessage: ");
            JoinMessage.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #14
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareChat(");
        bool __first = true;

        if (SquareChatMid != null && __isset.squareChatMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatMid: ");
            SquareChatMid.ToString(sb);
        }
        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (__isset.type)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Type: ");
            Type.ToString(sb);
        }
        if (Name != null && __isset.name)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Name: ");
            Name.ToString(sb);
        }
        if (ChatImageObsHash != null && __isset.chatImageObsHash)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ChatImageObsHash: ");
            ChatImageObsHash.ToString(sb);
        }
        if (__isset.squareChatRevision)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareChatRevision: ");
            SquareChatRevision.ToString(sb);
        }
        if (__isset.maxMemberCount)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("MaxMemberCount: ");
            MaxMemberCount.ToString(sb);
        }
        if (__isset.state)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("State: ");
            State.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Beispiel #15
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("SquareAuthority(");
        bool __first = true;

        if (SquareMid != null && __isset.squareMid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("SquareMid: ");
            SquareMid.ToString(sb);
        }
        if (__isset.updateSquareProfile)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("UpdateSquareProfile: ");
            UpdateSquareProfile.ToString(sb);
        }
        if (__isset.inviteNewMember)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("InviteNewMember: ");
            InviteNewMember.ToString(sb);
        }
        if (__isset.approveJoinRequest)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ApproveJoinRequest: ");
            ApproveJoinRequest.ToString(sb);
        }
        if (__isset.createPost)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("CreatePost: ");
            CreatePost.ToString(sb);
        }
        if (__isset.createOpenSquareChat)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("CreateOpenSquareChat: ");
            CreateOpenSquareChat.ToString(sb);
        }
        if (__isset.deleteSquareChatOrPost)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("DeleteSquareChatOrPost: ");
            DeleteSquareChatOrPost.ToString(sb);
        }
        if (__isset.removeSquareMember)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("RemoveSquareMember: ");
            RemoveSquareMember.ToString(sb);
        }
        if (__isset.grantRole)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("GrantRole: ");
            GrantRole.ToString(sb);
        }
        if (__isset.enableInvitationTicket)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("EnableInvitationTicket: ");
            EnableInvitationTicket.ToString(sb);
        }
        if (__isset.revision)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Revision: ");
            Revision.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }