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 UpdateInput

type UpdateInput struct {
	// Path parameter
	ID string `json:"-"` // The tweet ID to hide or unhide

	// JSON body parameter
	Hidden bool `json:"hidden"` // required
}

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 {
		Hidden bool `json:"hidden"`
	} `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