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 CreateInput

type CreateInput struct {
	// Path parameter
	ID string `json:"-"` // User ID

	// JSON body parameter
	ListID string `json:"list_id"` // required
}

func (*CreateInput) Body

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

func (*CreateInput) ContentType

func (p *CreateInput) ContentType() string

func (*CreateInput) ParameterMap

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

func (*CreateInput) ResolveEndpoint

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

type CreateOutput

type CreateOutput struct {
	Data struct {
		Pinned bool `json:"pinned"`
	} `json:"data"`
}

func (*CreateOutput) HasPartialError

func (r *CreateOutput) HasPartialError() bool

type DeleteInput

type DeleteInput struct {
	// Path parameter
	ID     string // User ID
	ListID string
}

func (*DeleteInput) Body

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

func (*DeleteInput) ContentType

func (p *DeleteInput) ContentType() string

func (*DeleteInput) ParameterMap

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

func (*DeleteInput) ResolveEndpoint

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

type DeleteOutput

type DeleteOutput struct {
	Data struct {
		Pinned bool `json:"pinned"`
	} `json:"data"`
}

func (*DeleteOutput) HasPartialError

func (r *DeleteOutput) HasPartialError() bool

type ListInput

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

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

func (*ListInput) Body

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

func (*ListInput) ContentType

func (p *ListInput) ContentType() string

func (*ListInput) ParameterMap

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

func (*ListInput) ResolveEndpoint

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

type ListOutput

type ListOutput struct {
	Data     []resources.List `json:"data"`
	Includes struct {
		Users []resources.User `json:"users"`
	} `json:"includes"`
}

func (*ListOutput) HasPartialError

func (r *ListOutput) HasPartialError() bool

Jump to

Keyboard shortcuts

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