public class PaginationDocs extends Object
Constructor and Description |
---|
PaginationDocs(IntermediateModel intermediateModel,
OperationModel operationModel,
PaginatorDefinition paginatorDefinition) |
Modifier and Type | Method and Description |
---|---|
String |
getDocsForAsyncOperation()
Constructs additional documentation on the async client operation that is appended to the service documentation.
|
String |
getDocsForAsyncResponseClass(com.squareup.javapoet.ClassName clientInterface)
Constructs javadocs for the generated response classes of a paginated operation in Async client.
|
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.
|
public PaginationDocs(IntermediateModel intermediateModel, OperationModel operationModel, PaginatorDefinition paginatorDefinition)
public String getDocsForSyncOperation()
public String getDocsForSyncResponseClass(com.squareup.javapoet.ClassName clientInterface)
clientInterface
- A java poet ClassName
type of the sync client interfacepublic String getDocsForAsyncOperation()
public String getDocsForAsyncResponseClass(com.squareup.javapoet.ClassName clientInterface)
clientInterface
- A java poet ClassName
type of the Async client interfaceCopyright © 2021. All rights reserved.