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
Click to show internal directories.
Click to hide internal directories.