com.linkedin.restli.common.multiplexer.IndividualBody Maven / Gradle / Ivy
package com.linkedin.restli.common.multiplexer;
import java.util.List;
import javax.annotation.Generated;
import com.linkedin.data.DataMap;
import com.linkedin.data.schema.PathSpec;
import com.linkedin.data.schema.RecordDataSchema;
import com.linkedin.data.template.DataTemplateUtil;
import com.linkedin.data.template.RecordTemplate;
/**
* Represents content that may be in the body of an individual request / response
*
*/
@Generated(value = "com.linkedin.pegasus.generator.JavaCodeUtil", comments = "Rest.li Data Template. Generated from /Users/mnchen/dev/pegasus_trunk/pegasus/restli-common/src/main/pegasus/com/linkedin/restli/common/multiplexer/IndividualBody.pdsc.", date = "Tue Oct 03 15:15:24 PDT 2017")
public class IndividualBody
extends RecordTemplate
{
private final static IndividualBody.Fields _fields = new IndividualBody.Fields();
private final static RecordDataSchema SCHEMA = ((RecordDataSchema) DataTemplateUtil.parseSchema("{\"type\":\"record\",\"name\":\"IndividualBody\",\"namespace\":\"com.linkedin.restli.common.multiplexer\",\"doc\":\"Represents content that may be in the body of an individual request / response\",\"fields\":[]}"));
public IndividualBody() {
super(new DataMap(), SCHEMA);
}
public IndividualBody(DataMap data) {
super(data, SCHEMA);
}
public static IndividualBody.Fields fields() {
return _fields;
}
@Override
public IndividualBody clone()
throws CloneNotSupportedException
{
return ((IndividualBody) super.clone());
}
@Override
public IndividualBody copy()
throws CloneNotSupportedException
{
return ((IndividualBody) super.copy());
}
public static class Fields
extends PathSpec
{
public Fields(List path, String name) {
super(path, name);
}
public Fields() {
super();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy