Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TagCursor ¶
type TagCursor[T any] struct { Tags []T `json:"tags"` NextCursor string `json:"nextCursor" api:"nullable"` // JSON contains metadata for fields, check presence with [respjson.Field.Valid]. JSON struct { Tags respjson.Field NextCursor respjson.Field ExtraFields map[string]respjson.Field // contains filtered or unexported fields } `json:"-"` // contains filtered or unexported fields }
func (*TagCursor[T]) GetNextPage ¶
GetNextPage returns the next page as defined by this pagination style. When there is no next page, this function will return a 'nil' for the page value, but will not return an error
func (*TagCursor[T]) SetPageConfig ¶
func (r *TagCursor[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*TagCursor[T]) UnmarshalJSON ¶
type TagCursorAutoPager ¶
type TagCursorAutoPager[T any] struct { // contains filtered or unexported fields }
func NewTagCursorAutoPager ¶
func NewTagCursorAutoPager[T any](page *TagCursor[T], err error) *TagCursorAutoPager[T]
func (*TagCursorAutoPager[T]) Current ¶
func (r *TagCursorAutoPager[T]) Current() T
func (*TagCursorAutoPager[T]) Err ¶
func (r *TagCursorAutoPager[T]) Err() error
func (*TagCursorAutoPager[T]) Index ¶
func (r *TagCursorAutoPager[T]) Index() int
func (*TagCursorAutoPager[T]) Next ¶
func (r *TagCursorAutoPager[T]) Next() bool
Click to show internal directories.
Click to hide internal directories.