public override string ToString() { var sb = new StringBuilder("JoinSquareResponse("); bool __first = true; if (Square != null && __isset.square) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Square: "); Square.ToString(sb); } if (SquareAuthority != null && __isset.squareAuthority) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareAuthority: "); SquareAuthority.ToString(sb); } if (SquareStatus != null && __isset.squareStatus) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareStatus: "); SquareStatus.ToString(sb); } if (SquareMember != null && __isset.squareMember) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareMember: "); SquareMember.ToString(sb); } if (SquareFeatureSet != null && __isset.squareFeatureSet) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("SquareFeatureSet: "); SquareFeatureSet.ToString(sb); } if (NoteStatus != null && __isset.noteStatus) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("NoteStatus: "); NoteStatus.ToString(sb); } sb.Append(")"); return(sb.ToString()); }
public override string ToString() { StringBuilder __sb = new StringBuilder("GetSquareResponse("); bool __first = true; if (Square != null && __isset.square) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Square: "); __sb.Append(Square == null ? "<null>" : Square.ToString()); } if (MyMembership != null && __isset.myMembership) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("MyMembership: "); __sb.Append(MyMembership == null ? "<null>" : MyMembership.ToString()); } if (SquareAuthority != null && __isset.squareAuthority) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SquareAuthority: "); __sb.Append(SquareAuthority == null ? "<null>" : SquareAuthority.ToString()); } if (SquareStatus != null && __isset.squareStatus) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SquareStatus: "); __sb.Append(SquareStatus == null ? "<null>" : SquareStatus.ToString()); } if (SquareFeatureSet != null && __isset.squareFeatureSet) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("SquareFeatureSet: "); __sb.Append(SquareFeatureSet == null ? "<null>" : SquareFeatureSet.ToString()); } if (NoteStatus != null && __isset.noteStatus) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("NoteStatus: "); __sb.Append(NoteStatus == null ? "<null>" : NoteStatus.ToString()); } __sb.Append(")"); return(__sb.ToString()); }