@AVClassName("Form")
public class Form extends AVObject {
public Form() {
super();
}
public void putTypeName(String value) {
this.put("typeName", value);
}
public void putContent(String value) {
this.put("content", value);
}
public void putUserId(String value) {
this.put("user", value);
}
public void putFormTypeId(String value) {
this.put("type", value);
}
}
D/===AVOS Cloud===: LogUtil$avlog->d->43: curl -X POST -H "X-LC-Id: xxx" -H "X-LC-Key: YourAppKey" -H "X-LC-Session: xxx" -H "Content-Type: application/json" -d '{"requests":[{"body":{"startCity":null,"remark":"","city":null,"forms":{"objects":[{"type":"Pointer","className":"Form"}],"op":"Add"},"date":"","children":[],"user":"5c02b20467f3560066f8a9f2","internalId":"8a71e98d-6ae7-498d-a1e2-8751a27c242b"},"path":"/1.1/classes/Test_Android_Travel","new":true,"method":"POST"}]}' https://izm5frc6.api.lncld.net/1.1/batch/save
D/===AVOS Cloud===: LogUtil$avlog->d->43: {"code":106,"error":"Malformed pointer. Pointers must be arrays of a classname and an object id."}