public ResponseWrapper crossDeleteFriends(string username, CrossFriendPayload payload) { Preconditions.checkArgument(payload != null, "Payload should not be empty"); String payloadJson = this.ToString(payload); return(crossDeleteFriends(username, payloadJson)); }
public string ToString(CrossFriendPayload payload) { return(JsonConvert.SerializeObject(payload, Newtonsoft.Json.Formatting.None, new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore })); }