types

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetInput

type GetInput struct {
	// Path parameter
	ID string

	// Query parameters
	Expansions fields.ExpansionList
	ListFields fields.ListFieldList
	UserFields fields.UserFieldList
}

func (*GetInput) Body

func (p *GetInput) Body() io.Reader

func (*GetInput) ContentType

func (p *GetInput) ContentType() string

func (*GetInput) ParameterMap

func (p *GetInput) ParameterMap() map[string]string

func (*GetInput) ResolveEndpoint

func (p *GetInput) ResolveEndpoint(endpointBase string) string

type GetOutput

type GetOutput struct {
	Data     resources.List `json:"data"`
	Includes struct {
		Users []resources.User `json:"users"`
	} `json:"includes,omitempty"`
	Errors []resources.PartialError `json:"errors,omitempty"`
}

func (*GetOutput) HasPartialError

func (r *GetOutput) HasPartialError() bool

type ListOwnedInput

type ListOwnedInput struct {
	// Path parameter
	ID string // User ID

	// Query parameters
	Expansions      fields.ExpansionList
	ListFields      fields.ListFieldList
	UserFields      fields.UserFieldList
	MaxResults      ListOwnedMaxResults
	PaginationToken string
}

func (*ListOwnedInput) Body

func (p *ListOwnedInput) Body() io.Reader

func (*ListOwnedInput) ContentType

func (p *ListOwnedInput) ContentType() string

func (*ListOwnedInput) ParameterMap

func (p *ListOwnedInput) ParameterMap() map[string]string

func (*ListOwnedInput) ResolveEndpoint

func (p *ListOwnedInput) ResolveEndpoint(endpointBase string) string

type ListOwnedMaxResults

type ListOwnedMaxResults int

func (ListOwnedMaxResults) String

func (m ListOwnedMaxResults) String() string

func (ListOwnedMaxResults) Valid

func (m ListOwnedMaxResults) Valid() bool

type ListOwnedOutput

type ListOwnedOutput struct {
	Data     []resources.List `json:"data"`
	Includes struct {
		Users []resources.User `json:"users"`
	} `json:"includes,omitempty"`
	Meta   resources.ListLookupOwnedListsMeta
	Errors []resources.PartialError `json:"errors,omitempty"`
}

func (*ListOwnedOutput) HasPartialError

func (r *ListOwnedOutput) HasPartialError() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL