public class PaginationDocs extends Object
Constructor and Description |
---|
PaginationDocs(IntermediateModel intermediateModel,
OperationModel operationModel) |
Modifier and Type | Method and Description |
---|---|
String |
getDocsForSyncOperation()
Constructs additional documentation on the client operation that is appended to the service documentation.
|
String |
getDocsForSyncResponseClass(com.squareup.javapoet.ClassName clientInterface)
Constructs javadocs for the generated response classes in a paginated operation.
|
com.squareup.javapoet.ClassName |
syncPaginatedResponseType() |
public PaginationDocs(IntermediateModel intermediateModel, OperationModel operationModel)
public String getDocsForSyncOperation()
public String getDocsForSyncResponseClass(com.squareup.javapoet.ClassName clientInterface)
clientInterface
- A java poet ClassName
type of the sync client interfacepublic com.squareup.javapoet.ClassName syncPaginatedResponseType()
ClassName
for the return type of sync paginated operation.Copyright © 2018. All rights reserved.