types

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 4 Imported by: 1

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
	// contains filtered or unexported fields
}

func (*UpdateInput) AccessToken

func (p *UpdateInput) AccessToken() string

func (*UpdateInput) Body

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

func (*UpdateInput) ParameterMap

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

func (*UpdateInput) ResolveEndpoint

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

func (*UpdateInput) SetAccessToken

func (p *UpdateInput) SetAccessToken(token string)

type UpdateOutput

type UpdateOutput struct {
	Data struct {
		Hidden bool `json:"hidden"`
	} `json:"data"`
}

func (*UpdateOutput) HasPartialError

func (r *UpdateOutput) HasPartialError() bool