public class QueryMarshallerSpec extends Object implements MarshallerProtocolSpec
Modifier and Type | Field and Description |
---|---|
protected ShapeModel |
shapeModel |
Constructor and Description |
---|
QueryMarshallerSpec(IntermediateModel model,
ShapeModel shapeModel) |
Modifier and Type | Method and Description |
---|---|
Optional<com.squareup.javapoet.MethodSpec> |
constructor() |
com.squareup.javapoet.CodeBlock |
marshalCodeBlock(com.squareup.javapoet.ClassName requestClassName) |
List<com.squareup.javapoet.FieldSpec> |
memberVariables() |
com.squareup.javapoet.FieldSpec |
protocolFactory() |
protected Class<?> |
protocolFactoryClass() |
com.squareup.javapoet.ParameterSpec |
protocolFactoryParameter() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalFields, additionalMethods
protected final ShapeModel shapeModel
public QueryMarshallerSpec(IntermediateModel model, ShapeModel shapeModel)
public com.squareup.javapoet.ParameterSpec protocolFactoryParameter()
protocolFactoryParameter
in interface MarshallerProtocolSpec
protected Class<?> protocolFactoryClass()
public com.squareup.javapoet.CodeBlock marshalCodeBlock(com.squareup.javapoet.ClassName requestClassName)
marshalCodeBlock
in interface MarshallerProtocolSpec
public com.squareup.javapoet.FieldSpec protocolFactory()
protocolFactory
in interface MarshallerProtocolSpec
public Optional<com.squareup.javapoet.MethodSpec> constructor()
constructor
in interface MarshallerProtocolSpec
public List<com.squareup.javapoet.FieldSpec> memberVariables()
memberVariables
in interface MarshallerProtocolSpec
Copyright © 2020. All rights reserved.