Documentation
¶
Index ¶
- type AgentsCursorPage
- type AgentsCursorPageAutoPager
- type ApprovalRequestsCursorPage
- type ApprovalRequestsCursorPageAutoPager
- type ConnectionsCursorPage
- type ConnectionsCursorPageAutoPager
- type EntriesCursorPage
- type EntriesCursorPageAutoPager
- type EventsCursorPage
- type EventsCursorPageAutoPager
- type FleetsCursorPage
- type FleetsCursorPageAutoPager
- type GrantsCursorPage
- type GrantsCursorPageAutoPager
- type ResultsCursorPage
- type ResultsCursorPageAutoPager
- type SourcesCursorPage
- type SourcesCursorPageAutoPager
- type SubscriptionsCursorPage
- type SubscriptionsCursorPageAutoPager
- type ThreadMessagesCursorPage
- type ThreadMessagesCursorPageAutoPager
- type ThreadsCursorPage
- type ThreadsCursorPageAutoPager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentsCursorPage ¶
type AgentsCursorPage[T any] struct { Agents []T `json:"agents"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON agentsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*AgentsCursorPage[T]) GetNextPage ¶
func (r *AgentsCursorPage[T]) GetNextPage() (res *AgentsCursorPage[T], err error)
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 (*AgentsCursorPage[T]) SetPageConfig ¶
func (r *AgentsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*AgentsCursorPage[T]) UnmarshalJSON ¶
func (r *AgentsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type AgentsCursorPageAutoPager ¶
type AgentsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewAgentsCursorPageAutoPager ¶
func NewAgentsCursorPageAutoPager[T any](page *AgentsCursorPage[T], err error) *AgentsCursorPageAutoPager[T]
func (*AgentsCursorPageAutoPager[T]) Current ¶
func (r *AgentsCursorPageAutoPager[T]) Current() T
func (*AgentsCursorPageAutoPager[T]) Err ¶
func (r *AgentsCursorPageAutoPager[T]) Err() error
func (*AgentsCursorPageAutoPager[T]) Index ¶
func (r *AgentsCursorPageAutoPager[T]) Index() int
func (*AgentsCursorPageAutoPager[T]) Next ¶
func (r *AgentsCursorPageAutoPager[T]) Next() bool
type ApprovalRequestsCursorPage ¶
type ApprovalRequestsCursorPage[T any] struct { Approvals []T `json:"approvals"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON approvalRequestsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*ApprovalRequestsCursorPage[T]) GetNextPage ¶
func (r *ApprovalRequestsCursorPage[T]) GetNextPage() (res *ApprovalRequestsCursorPage[T], err error)
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 (*ApprovalRequestsCursorPage[T]) SetPageConfig ¶
func (r *ApprovalRequestsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*ApprovalRequestsCursorPage[T]) UnmarshalJSON ¶
func (r *ApprovalRequestsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type ApprovalRequestsCursorPageAutoPager ¶
type ApprovalRequestsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewApprovalRequestsCursorPageAutoPager ¶
func NewApprovalRequestsCursorPageAutoPager[T any](page *ApprovalRequestsCursorPage[T], err error) *ApprovalRequestsCursorPageAutoPager[T]
func (*ApprovalRequestsCursorPageAutoPager[T]) Current ¶
func (r *ApprovalRequestsCursorPageAutoPager[T]) Current() T
func (*ApprovalRequestsCursorPageAutoPager[T]) Err ¶
func (r *ApprovalRequestsCursorPageAutoPager[T]) Err() error
func (*ApprovalRequestsCursorPageAutoPager[T]) Index ¶
func (r *ApprovalRequestsCursorPageAutoPager[T]) Index() int
func (*ApprovalRequestsCursorPageAutoPager[T]) Next ¶
func (r *ApprovalRequestsCursorPageAutoPager[T]) Next() bool
type ConnectionsCursorPage ¶
type ConnectionsCursorPage[T any] struct { Connections []T `json:"connections"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON connectionsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*ConnectionsCursorPage[T]) GetNextPage ¶
func (r *ConnectionsCursorPage[T]) GetNextPage() (res *ConnectionsCursorPage[T], err error)
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 (*ConnectionsCursorPage[T]) SetPageConfig ¶
func (r *ConnectionsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*ConnectionsCursorPage[T]) UnmarshalJSON ¶
func (r *ConnectionsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type ConnectionsCursorPageAutoPager ¶
type ConnectionsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewConnectionsCursorPageAutoPager ¶
func NewConnectionsCursorPageAutoPager[T any](page *ConnectionsCursorPage[T], err error) *ConnectionsCursorPageAutoPager[T]
func (*ConnectionsCursorPageAutoPager[T]) Current ¶
func (r *ConnectionsCursorPageAutoPager[T]) Current() T
func (*ConnectionsCursorPageAutoPager[T]) Err ¶
func (r *ConnectionsCursorPageAutoPager[T]) Err() error
func (*ConnectionsCursorPageAutoPager[T]) Index ¶
func (r *ConnectionsCursorPageAutoPager[T]) Index() int
func (*ConnectionsCursorPageAutoPager[T]) Next ¶
func (r *ConnectionsCursorPageAutoPager[T]) Next() bool
type EntriesCursorPage ¶
type EntriesCursorPage[T any] struct { Entries []T `json:"entries"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON entriesCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*EntriesCursorPage[T]) GetNextPage ¶
func (r *EntriesCursorPage[T]) GetNextPage() (res *EntriesCursorPage[T], err error)
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 (*EntriesCursorPage[T]) SetPageConfig ¶
func (r *EntriesCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*EntriesCursorPage[T]) UnmarshalJSON ¶
func (r *EntriesCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type EntriesCursorPageAutoPager ¶
type EntriesCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewEntriesCursorPageAutoPager ¶
func NewEntriesCursorPageAutoPager[T any](page *EntriesCursorPage[T], err error) *EntriesCursorPageAutoPager[T]
func (*EntriesCursorPageAutoPager[T]) Current ¶
func (r *EntriesCursorPageAutoPager[T]) Current() T
func (*EntriesCursorPageAutoPager[T]) Err ¶
func (r *EntriesCursorPageAutoPager[T]) Err() error
func (*EntriesCursorPageAutoPager[T]) Index ¶
func (r *EntriesCursorPageAutoPager[T]) Index() int
func (*EntriesCursorPageAutoPager[T]) Next ¶
func (r *EntriesCursorPageAutoPager[T]) Next() bool
type EventsCursorPage ¶
type EventsCursorPage[T any] struct { Events []T `json:"events"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON eventsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*EventsCursorPage[T]) GetNextPage ¶
func (r *EventsCursorPage[T]) GetNextPage() (res *EventsCursorPage[T], err error)
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 (*EventsCursorPage[T]) SetPageConfig ¶
func (r *EventsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*EventsCursorPage[T]) UnmarshalJSON ¶
func (r *EventsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type EventsCursorPageAutoPager ¶
type EventsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewEventsCursorPageAutoPager ¶
func NewEventsCursorPageAutoPager[T any](page *EventsCursorPage[T], err error) *EventsCursorPageAutoPager[T]
func (*EventsCursorPageAutoPager[T]) Current ¶
func (r *EventsCursorPageAutoPager[T]) Current() T
func (*EventsCursorPageAutoPager[T]) Err ¶
func (r *EventsCursorPageAutoPager[T]) Err() error
func (*EventsCursorPageAutoPager[T]) Index ¶
func (r *EventsCursorPageAutoPager[T]) Index() int
func (*EventsCursorPageAutoPager[T]) Next ¶
func (r *EventsCursorPageAutoPager[T]) Next() bool
type FleetsCursorPage ¶
type FleetsCursorPage[T any] struct { Fleets []T `json:"fleets"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON fleetsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*FleetsCursorPage[T]) GetNextPage ¶
func (r *FleetsCursorPage[T]) GetNextPage() (res *FleetsCursorPage[T], err error)
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 (*FleetsCursorPage[T]) SetPageConfig ¶
func (r *FleetsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*FleetsCursorPage[T]) UnmarshalJSON ¶
func (r *FleetsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type FleetsCursorPageAutoPager ¶
type FleetsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewFleetsCursorPageAutoPager ¶
func NewFleetsCursorPageAutoPager[T any](page *FleetsCursorPage[T], err error) *FleetsCursorPageAutoPager[T]
func (*FleetsCursorPageAutoPager[T]) Current ¶
func (r *FleetsCursorPageAutoPager[T]) Current() T
func (*FleetsCursorPageAutoPager[T]) Err ¶
func (r *FleetsCursorPageAutoPager[T]) Err() error
func (*FleetsCursorPageAutoPager[T]) Index ¶
func (r *FleetsCursorPageAutoPager[T]) Index() int
func (*FleetsCursorPageAutoPager[T]) Next ¶
func (r *FleetsCursorPageAutoPager[T]) Next() bool
type GrantsCursorPage ¶
type GrantsCursorPage[T any] struct { Grants []T `json:"grants"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON grantsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*GrantsCursorPage[T]) GetNextPage ¶
func (r *GrantsCursorPage[T]) GetNextPage() (res *GrantsCursorPage[T], err error)
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 (*GrantsCursorPage[T]) SetPageConfig ¶
func (r *GrantsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*GrantsCursorPage[T]) UnmarshalJSON ¶
func (r *GrantsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type GrantsCursorPageAutoPager ¶
type GrantsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewGrantsCursorPageAutoPager ¶
func NewGrantsCursorPageAutoPager[T any](page *GrantsCursorPage[T], err error) *GrantsCursorPageAutoPager[T]
func (*GrantsCursorPageAutoPager[T]) Current ¶
func (r *GrantsCursorPageAutoPager[T]) Current() T
func (*GrantsCursorPageAutoPager[T]) Err ¶
func (r *GrantsCursorPageAutoPager[T]) Err() error
func (*GrantsCursorPageAutoPager[T]) Index ¶
func (r *GrantsCursorPageAutoPager[T]) Index() int
func (*GrantsCursorPageAutoPager[T]) Next ¶
func (r *GrantsCursorPageAutoPager[T]) Next() bool
type ResultsCursorPage ¶
type ResultsCursorPage[T any] struct { Results []T `json:"results"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON resultsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*ResultsCursorPage[T]) GetNextPage ¶
func (r *ResultsCursorPage[T]) GetNextPage() (res *ResultsCursorPage[T], err error)
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 (*ResultsCursorPage[T]) SetPageConfig ¶
func (r *ResultsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*ResultsCursorPage[T]) UnmarshalJSON ¶
func (r *ResultsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type ResultsCursorPageAutoPager ¶
type ResultsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewResultsCursorPageAutoPager ¶
func NewResultsCursorPageAutoPager[T any](page *ResultsCursorPage[T], err error) *ResultsCursorPageAutoPager[T]
func (*ResultsCursorPageAutoPager[T]) Current ¶
func (r *ResultsCursorPageAutoPager[T]) Current() T
func (*ResultsCursorPageAutoPager[T]) Err ¶
func (r *ResultsCursorPageAutoPager[T]) Err() error
func (*ResultsCursorPageAutoPager[T]) Index ¶
func (r *ResultsCursorPageAutoPager[T]) Index() int
func (*ResultsCursorPageAutoPager[T]) Next ¶
func (r *ResultsCursorPageAutoPager[T]) Next() bool
type SourcesCursorPage ¶
type SourcesCursorPage[T any] struct { Sources []T `json:"sources"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON sourcesCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*SourcesCursorPage[T]) GetNextPage ¶
func (r *SourcesCursorPage[T]) GetNextPage() (res *SourcesCursorPage[T], err error)
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 (*SourcesCursorPage[T]) SetPageConfig ¶
func (r *SourcesCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*SourcesCursorPage[T]) UnmarshalJSON ¶
func (r *SourcesCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type SourcesCursorPageAutoPager ¶
type SourcesCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewSourcesCursorPageAutoPager ¶
func NewSourcesCursorPageAutoPager[T any](page *SourcesCursorPage[T], err error) *SourcesCursorPageAutoPager[T]
func (*SourcesCursorPageAutoPager[T]) Current ¶
func (r *SourcesCursorPageAutoPager[T]) Current() T
func (*SourcesCursorPageAutoPager[T]) Err ¶
func (r *SourcesCursorPageAutoPager[T]) Err() error
func (*SourcesCursorPageAutoPager[T]) Index ¶
func (r *SourcesCursorPageAutoPager[T]) Index() int
func (*SourcesCursorPageAutoPager[T]) Next ¶
func (r *SourcesCursorPageAutoPager[T]) Next() bool
type SubscriptionsCursorPage ¶
type SubscriptionsCursorPage[T any] struct { Subscriptions []T `json:"subscriptions"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON subscriptionsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*SubscriptionsCursorPage[T]) GetNextPage ¶
func (r *SubscriptionsCursorPage[T]) GetNextPage() (res *SubscriptionsCursorPage[T], err error)
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 (*SubscriptionsCursorPage[T]) SetPageConfig ¶
func (r *SubscriptionsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*SubscriptionsCursorPage[T]) UnmarshalJSON ¶
func (r *SubscriptionsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type SubscriptionsCursorPageAutoPager ¶
type SubscriptionsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewSubscriptionsCursorPageAutoPager ¶
func NewSubscriptionsCursorPageAutoPager[T any](page *SubscriptionsCursorPage[T], err error) *SubscriptionsCursorPageAutoPager[T]
func (*SubscriptionsCursorPageAutoPager[T]) Current ¶
func (r *SubscriptionsCursorPageAutoPager[T]) Current() T
func (*SubscriptionsCursorPageAutoPager[T]) Err ¶
func (r *SubscriptionsCursorPageAutoPager[T]) Err() error
func (*SubscriptionsCursorPageAutoPager[T]) Index ¶
func (r *SubscriptionsCursorPageAutoPager[T]) Index() int
func (*SubscriptionsCursorPageAutoPager[T]) Next ¶
func (r *SubscriptionsCursorPageAutoPager[T]) Next() bool
type ThreadMessagesCursorPage ¶ added in v0.2.0
type ThreadMessagesCursorPage[T any] struct { Messages []T `json:"messages"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON threadMessagesCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*ThreadMessagesCursorPage[T]) GetNextPage ¶ added in v0.2.0
func (r *ThreadMessagesCursorPage[T]) GetNextPage() (res *ThreadMessagesCursorPage[T], err error)
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 (*ThreadMessagesCursorPage[T]) SetPageConfig ¶ added in v0.2.0
func (r *ThreadMessagesCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*ThreadMessagesCursorPage[T]) UnmarshalJSON ¶ added in v0.2.0
func (r *ThreadMessagesCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type ThreadMessagesCursorPageAutoPager ¶ added in v0.2.0
type ThreadMessagesCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewThreadMessagesCursorPageAutoPager ¶ added in v0.2.0
func NewThreadMessagesCursorPageAutoPager[T any](page *ThreadMessagesCursorPage[T], err error) *ThreadMessagesCursorPageAutoPager[T]
func (*ThreadMessagesCursorPageAutoPager[T]) Current ¶ added in v0.2.0
func (r *ThreadMessagesCursorPageAutoPager[T]) Current() T
func (*ThreadMessagesCursorPageAutoPager[T]) Err ¶ added in v0.2.0
func (r *ThreadMessagesCursorPageAutoPager[T]) Err() error
func (*ThreadMessagesCursorPageAutoPager[T]) Index ¶ added in v0.2.0
func (r *ThreadMessagesCursorPageAutoPager[T]) Index() int
func (*ThreadMessagesCursorPageAutoPager[T]) Next ¶ added in v0.2.0
func (r *ThreadMessagesCursorPageAutoPager[T]) Next() bool
type ThreadsCursorPage ¶
type ThreadsCursorPage[T any] struct { Threads []T `json:"threads"` Cursor string `json:"cursor" api:"nullable"` HasMore bool `json:"hasMore"` JSON threadsCursorPageJSON `json:"-"` // contains filtered or unexported fields }
func (*ThreadsCursorPage[T]) GetNextPage ¶
func (r *ThreadsCursorPage[T]) GetNextPage() (res *ThreadsCursorPage[T], err error)
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 (*ThreadsCursorPage[T]) SetPageConfig ¶
func (r *ThreadsCursorPage[T]) SetPageConfig(cfg *requestconfig.RequestConfig, res *http.Response)
func (*ThreadsCursorPage[T]) UnmarshalJSON ¶
func (r *ThreadsCursorPage[T]) UnmarshalJSON(data []byte) (err error)
type ThreadsCursorPageAutoPager ¶
type ThreadsCursorPageAutoPager[T any] struct { // contains filtered or unexported fields }
func NewThreadsCursorPageAutoPager ¶
func NewThreadsCursorPageAutoPager[T any](page *ThreadsCursorPage[T], err error) *ThreadsCursorPageAutoPager[T]
func (*ThreadsCursorPageAutoPager[T]) Current ¶
func (r *ThreadsCursorPageAutoPager[T]) Current() T
func (*ThreadsCursorPageAutoPager[T]) Err ¶
func (r *ThreadsCursorPageAutoPager[T]) Err() error
func (*ThreadsCursorPageAutoPager[T]) Index ¶
func (r *ThreadsCursorPageAutoPager[T]) Index() int
func (*ThreadsCursorPageAutoPager[T]) Next ¶
func (r *ThreadsCursorPageAutoPager[T]) Next() bool