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: 4 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 {
	// JSON body parameter
	Name        string  `json:"name,"` // required
	Description *string `json:"description,omitempty"`
	Private     *bool   `json:"private,omitempty"`
}

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 {
		ID   string `json:"id"`
		Name string `json:"name"`
	} `json:"data"`
}

func (*CreateOutput) HasPartialError

func (r *CreateOutput) HasPartialError() bool

type DeleteInput

type DeleteInput struct {
	// Path parameter
	ID string // List ID
}

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 {
		Deleted bool `json:"deleted"`
	} `json:"data"`
}

func (*DeleteOutput) HasPartialError

func (r *DeleteOutput) HasPartialError() bool

type UpdateInput

type UpdateInput struct {
	// Path parameter
	ID string `json:"-"` // List ID

	// JSON body parameter
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Private     *bool   `json:"private,omitempty"`
}

func (*UpdateInput) Body

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

func (*UpdateInput) ContentType

func (p *UpdateInput) ContentType() string

func (*UpdateInput) ParameterMap

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

func (*UpdateInput) ResolveEndpoint

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

type UpdateOutput

type UpdateOutput struct {
	Data struct {
		Updated bool `json:"updated"`
	} `json:"data"`
}

func (*UpdateOutput) HasPartialError

func (r *UpdateOutput) HasPartialError() bool

Jump to

Keyboard shortcuts

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