/** * Create a new Empty ServiceRequest based on the given JSON object. Any * missing values will be set to their defaults. * * @param jsonObject * The JSON object to parse. * @return A Empty ServiceRequest based on the given JSON object. */ public static Request fromJsonObject(JsonObject jsonObject) { return new Empty.Request(); } }
/** * Create a new Empty ServiceRequest based on the given ServiceRequest. * Any missing values will be set to their defaults. * * @param req the req * @return A Empty ServiceRequest based on the given Message. */ public static Request fromServiceRequest(ServiceRequest req) { // get it from the JSON object return Empty.Request.fromJsonObject(req.toJsonObject()); }
/** * Create a new Empty ServiceRequest based on the given JSON string. Any * missing values will be set to their defaults. * * @param jsonString * The JSON string to parse. * @return A Empty ServiceRequest based on the given JSON string. */ public static Request fromJsonString(String jsonString) { // convert to a ServiceRequest return Empty.Request.fromServiceRequest(new ServiceRequest( jsonString)); }
/** * Create a new Empty ServiceRequest based on the given JSON string. Any * missing values will be set to their defaults. * * @param jsonString * The JSON string to parse. * @return A Empty ServiceRequest based on the given JSON string. */ public static Request fromJsonString(String jsonString) { // convert to a ServiceRequest return Empty.Request.fromServiceRequest(new ServiceRequest( jsonString)); }
/** * Create a clone of this Empty ServiceRequest. */ @Override public Request clone() { return new Empty.Request(); }
/** * Create a new Empty ServiceRequest based on the given ServiceRequest. * Any missing values will be set to their defaults. * * @param m * The ServiceRequest to parse. * @return A Empty ServiceRequest based on the given Message. */ public static Request fromServiceRequest(ServiceRequest req) { // get it from the JSON object return Empty.Request.fromJsonObject(req.toJsonObject()); }
/** * Create a clone of this Empty ServiceRequest. * * @return the request */ @Override public Request clone() { return new Empty.Request(); }
/** * Create a new Empty ServiceRequest based on the given JSON object. Any * missing values will be set to their defaults. * * @param jsonObject * The JSON object to parse. * @return A Empty ServiceRequest based on the given JSON object. */ public static Request fromJsonObject(JsonObject jsonObject) { return new Empty.Request(); } }