Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TemplatePageList<out T : Template> @ApiResultType constructor(val meta: TemplatePageMeta, val items: List<T>)
Link copied to clipboard
data class TemplatePageMeta @ApiResultType constructor(val currentPage: Int, val pageCount: Int, val perPage: Int, val totalCount: Int)
Link copied to clipboard
Link copied to clipboard
Inherited functions
Link copied to clipboard
inline fun GetTemplateListApi.Factory.createFlow(crossinline block: suspend GetTemplateListApi.Factory.(page: Int) -> TemplatePageList<Template>): Flow<TemplatePageList<Template>>
批次量的通过 GetTemplateListApi 查询所有结果直至最后一次响应的 meta.page >= meta.pageTotal。
Link copied to clipboard
inline fun GetTemplateListApi.Factory.createItemFlow(crossinline block: suspend GetTemplateListApi.Factory.(page: Int) -> TemplatePageList<Template>): Flow<Template>
批次量的通过 GetTemplateListApi 查询所有结果直至最后一次响应的 meta.page >= meta.pageTotal。