Example #1
0
        public ResponseWrapper updateGroupMembers(int groupId, MemberPayload payload)
        {
            Preconditions.checkArgument(payload != null, "Payload should not be empty");
            String payloadJson = this.ToString(payload);

            return(updateGroupMembers(groupId, payloadJson));
        }
Example #2
0
 public string ToString(MemberPayload payload)
 {
     return(JsonConvert.SerializeObject(payload,
                                        Newtonsoft.Json.Formatting.None,
                                        new JsonSerializerSettings
     {
         NullValueHandling = NullValueHandling.Ignore
     }));
 }