types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 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
	// 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

Jump to

Keyboard shortcuts

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