statuses

package
v0.0.0-...-6bd88e3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: AGPL-3.0-or-later Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

func WithContentTypeApplicationXML

func WithContentTypeApplicationXML(r *runtime.ClientOperation)

WithContentTypeApplicationXML sets the Content-Type header to "application/xml".

func WithContentTypeApplicationxWwwFormUrlencoded

func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)

WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for statuses API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) StatusBookmark

func (a *Client) StatusBookmark(params *StatusBookmarkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusBookmarkOK, error)

StatusBookmark bookmarks status with the given ID

func (*Client) StatusBoostedBy

func (a *Client) StatusBoostedBy(params *StatusBoostedByParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusBoostedByOK, error)

StatusBoostedBy views accounts that have reblogged boosted the target status

func (*Client) StatusCreate

func (a *Client) StatusCreate(params *StatusCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusCreateOK, error)
StatusCreate creates a new status

The parameters can also be given in the body of the request, as JSON, if the content-type is set to 'application/json'.

The parameters can also be given in the body of the request, as XML, if the content-type is set to 'application/xml'.

func (*Client) StatusDelete

func (a *Client) StatusDelete(params *StatusDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusDeleteOK, error)
StatusDelete deletes status with the given ID the status must belong to you

The deleted status will be returned in the response. The `text` field will contain the original text of the status as it was submitted.

This is useful when doing a 'delete and redraft' type operation.

func (*Client) StatusFave

func (a *Client) StatusFave(params *StatusFaveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusFaveOK, error)

StatusFave stars like favourite the given status if permitted

func (*Client) StatusFavedBy

func (a *Client) StatusFavedBy(params *StatusFavedByParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusFavedByOK, error)

StatusFavedBy views accounts that have faved starred liked the target status

func (*Client) StatusGet

func (a *Client) StatusGet(params *StatusGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusGetOK, error)

StatusGet views status with the given ID

func (*Client) StatusHistoryGet

func (a *Client) StatusHistoryGet(params *StatusHistoryGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusHistoryGetOK, error)

StatusHistoryGet views edit history of status with the given ID

UNIMPLEMENTED: Currently this endpoint will always return an array of length 1, containing only the latest/current version of the status.

func (*Client) StatusMute

func (a *Client) StatusMute(params *StatusMuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusMuteOK, error)
StatusMute mutes a status s thread this prevents notifications from being created for future replies likes boosts etc in the thread of which the target status is a part

Target status must belong to you or mention you.

Status thread mutes and unmutes are idempotent. If you already mute a thread, muting it again just means it stays muted and you'll get 200 OK back.

func (*Client) StatusPin

func (a *Client) StatusPin(params *StatusPinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusPinOK, error)
StatusPin pins a status to the top of your profile and add it to your featured activity pub collection

You can only pin original posts (not reblogs) that you authored yourself.

Supported privacy levels for pinned posts are public, unlisted, and private/followers-only, but only public posts will appear on the web version of your profile.

func (*Client) StatusReblog

func (a *Client) StatusReblog(params *StatusReblogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusReblogOK, error)
StatusReblog reblogs boost status with the given ID

If the target status is rebloggable/boostable, it will be shared with your followers.

This is equivalent to an ActivityPub 'Announce' activity.

func (*Client) StatusSourceGet

func (a *Client) StatusSourceGet(params *StatusSourceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusSourceGetOK, error)

StatusSourceGet views source text of status with the given ID requester must own the status

func (*Client) StatusUnbookmark

func (a *Client) StatusUnbookmark(params *StatusUnbookmarkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnbookmarkOK, error)

StatusUnbookmark unbookmarks status with the given ID

func (*Client) StatusUnfave

func (a *Client) StatusUnfave(params *StatusUnfaveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnfaveOK, error)

StatusUnfave unstars unlike unfavourite the given status

func (*Client) StatusUnmute

func (a *Client) StatusUnmute(params *StatusUnmuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnmuteOK, error)
StatusUnmute unmutes a status s thread this reenables notifications for future replies likes boosts etc in the thread of which the target status is a part

Target status must belong to you or mention you.

Status thread mutes and unmutes are idempotent. If you already unmuted a thread, unmuting it again just means it stays unmuted and you'll get 200 OK back.

func (*Client) StatusUnpin

func (a *Client) StatusUnpin(params *StatusUnpinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnpinOK, error)

StatusUnpin unpins one of your pinned statuses

func (*Client) StatusUnreblog

func (a *Client) StatusUnreblog(params *StatusUnreblogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnreblogOK, error)

StatusUnreblog unreblogs unboost status with the given ID

func (*Client) ThreadContext

func (a *Client) ThreadContext(params *ThreadContextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ThreadContextOK, error)

ThreadContext returns ancestors and descendants of the given status

The returned statuses will be ordered in a thread structure, so they are suitable to be displayed in the order in which they were returned.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	StatusBookmark(params *StatusBookmarkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusBookmarkOK, error)

	StatusBoostedBy(params *StatusBoostedByParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusBoostedByOK, error)

	StatusCreate(params *StatusCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusCreateOK, error)

	StatusDelete(params *StatusDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusDeleteOK, error)

	StatusFave(params *StatusFaveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusFaveOK, error)

	StatusFavedBy(params *StatusFavedByParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusFavedByOK, error)

	StatusGet(params *StatusGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusGetOK, error)

	StatusHistoryGet(params *StatusHistoryGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusHistoryGetOK, error)

	StatusMute(params *StatusMuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusMuteOK, error)

	StatusPin(params *StatusPinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusPinOK, error)

	StatusReblog(params *StatusReblogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusReblogOK, error)

	StatusSourceGet(params *StatusSourceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusSourceGetOK, error)

	StatusUnbookmark(params *StatusUnbookmarkParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnbookmarkOK, error)

	StatusUnfave(params *StatusUnfaveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnfaveOK, error)

	StatusUnmute(params *StatusUnmuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnmuteOK, error)

	StatusUnpin(params *StatusUnpinParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnpinOK, error)

	StatusUnreblog(params *StatusUnreblogParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatusUnreblogOK, error)

	ThreadContext(params *ThreadContextParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ThreadContextOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new statuses API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new statuses API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new statuses API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type StatusBookmarkBadRequest

type StatusBookmarkBadRequest struct {
}

StatusBookmarkBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusBookmarkBadRequest

func NewStatusBookmarkBadRequest() *StatusBookmarkBadRequest

NewStatusBookmarkBadRequest creates a StatusBookmarkBadRequest with default headers values

func (*StatusBookmarkBadRequest) Code

func (o *StatusBookmarkBadRequest) Code() int

Code gets the status code for the status bookmark bad request response

func (*StatusBookmarkBadRequest) Error

func (o *StatusBookmarkBadRequest) Error() string

func (*StatusBookmarkBadRequest) IsClientError

func (o *StatusBookmarkBadRequest) IsClientError() bool

IsClientError returns true when this status bookmark bad request response has a 4xx status code

func (*StatusBookmarkBadRequest) IsCode

func (o *StatusBookmarkBadRequest) IsCode(code int) bool

IsCode returns true when this status bookmark bad request response a status code equal to that given

func (*StatusBookmarkBadRequest) IsRedirect

func (o *StatusBookmarkBadRequest) IsRedirect() bool

IsRedirect returns true when this status bookmark bad request response has a 3xx status code

func (*StatusBookmarkBadRequest) IsServerError

func (o *StatusBookmarkBadRequest) IsServerError() bool

IsServerError returns true when this status bookmark bad request response has a 5xx status code

func (*StatusBookmarkBadRequest) IsSuccess

func (o *StatusBookmarkBadRequest) IsSuccess() bool

IsSuccess returns true when this status bookmark bad request response has a 2xx status code

func (*StatusBookmarkBadRequest) String

func (o *StatusBookmarkBadRequest) String() string

type StatusBookmarkForbidden

type StatusBookmarkForbidden struct {
}

StatusBookmarkForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusBookmarkForbidden

func NewStatusBookmarkForbidden() *StatusBookmarkForbidden

NewStatusBookmarkForbidden creates a StatusBookmarkForbidden with default headers values

func (*StatusBookmarkForbidden) Code

func (o *StatusBookmarkForbidden) Code() int

Code gets the status code for the status bookmark forbidden response

func (*StatusBookmarkForbidden) Error

func (o *StatusBookmarkForbidden) Error() string

func (*StatusBookmarkForbidden) IsClientError

func (o *StatusBookmarkForbidden) IsClientError() bool

IsClientError returns true when this status bookmark forbidden response has a 4xx status code

func (*StatusBookmarkForbidden) IsCode

func (o *StatusBookmarkForbidden) IsCode(code int) bool

IsCode returns true when this status bookmark forbidden response a status code equal to that given

func (*StatusBookmarkForbidden) IsRedirect

func (o *StatusBookmarkForbidden) IsRedirect() bool

IsRedirect returns true when this status bookmark forbidden response has a 3xx status code

func (*StatusBookmarkForbidden) IsServerError

func (o *StatusBookmarkForbidden) IsServerError() bool

IsServerError returns true when this status bookmark forbidden response has a 5xx status code

func (*StatusBookmarkForbidden) IsSuccess

func (o *StatusBookmarkForbidden) IsSuccess() bool

IsSuccess returns true when this status bookmark forbidden response has a 2xx status code

func (*StatusBookmarkForbidden) String

func (o *StatusBookmarkForbidden) String() string

type StatusBookmarkInternalServerError

type StatusBookmarkInternalServerError struct {
}

StatusBookmarkInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusBookmarkInternalServerError

func NewStatusBookmarkInternalServerError() *StatusBookmarkInternalServerError

NewStatusBookmarkInternalServerError creates a StatusBookmarkInternalServerError with default headers values

func (*StatusBookmarkInternalServerError) Code

Code gets the status code for the status bookmark internal server error response

func (*StatusBookmarkInternalServerError) Error

func (*StatusBookmarkInternalServerError) IsClientError

func (o *StatusBookmarkInternalServerError) IsClientError() bool

IsClientError returns true when this status bookmark internal server error response has a 4xx status code

func (*StatusBookmarkInternalServerError) IsCode

func (o *StatusBookmarkInternalServerError) IsCode(code int) bool

IsCode returns true when this status bookmark internal server error response a status code equal to that given

func (*StatusBookmarkInternalServerError) IsRedirect

func (o *StatusBookmarkInternalServerError) IsRedirect() bool

IsRedirect returns true when this status bookmark internal server error response has a 3xx status code

func (*StatusBookmarkInternalServerError) IsServerError

func (o *StatusBookmarkInternalServerError) IsServerError() bool

IsServerError returns true when this status bookmark internal server error response has a 5xx status code

func (*StatusBookmarkInternalServerError) IsSuccess

func (o *StatusBookmarkInternalServerError) IsSuccess() bool

IsSuccess returns true when this status bookmark internal server error response has a 2xx status code

func (*StatusBookmarkInternalServerError) String

type StatusBookmarkNotAcceptable

type StatusBookmarkNotAcceptable struct {
}

StatusBookmarkNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusBookmarkNotAcceptable

func NewStatusBookmarkNotAcceptable() *StatusBookmarkNotAcceptable

NewStatusBookmarkNotAcceptable creates a StatusBookmarkNotAcceptable with default headers values

func (*StatusBookmarkNotAcceptable) Code

func (o *StatusBookmarkNotAcceptable) Code() int

Code gets the status code for the status bookmark not acceptable response

func (*StatusBookmarkNotAcceptable) Error

func (*StatusBookmarkNotAcceptable) IsClientError

func (o *StatusBookmarkNotAcceptable) IsClientError() bool

IsClientError returns true when this status bookmark not acceptable response has a 4xx status code

func (*StatusBookmarkNotAcceptable) IsCode

func (o *StatusBookmarkNotAcceptable) IsCode(code int) bool

IsCode returns true when this status bookmark not acceptable response a status code equal to that given

func (*StatusBookmarkNotAcceptable) IsRedirect

func (o *StatusBookmarkNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status bookmark not acceptable response has a 3xx status code

func (*StatusBookmarkNotAcceptable) IsServerError

func (o *StatusBookmarkNotAcceptable) IsServerError() bool

IsServerError returns true when this status bookmark not acceptable response has a 5xx status code

func (*StatusBookmarkNotAcceptable) IsSuccess

func (o *StatusBookmarkNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status bookmark not acceptable response has a 2xx status code

func (*StatusBookmarkNotAcceptable) String

func (o *StatusBookmarkNotAcceptable) String() string

type StatusBookmarkNotFound

type StatusBookmarkNotFound struct {
}

StatusBookmarkNotFound describes a response with status code 404, with default header values.

not found

func NewStatusBookmarkNotFound

func NewStatusBookmarkNotFound() *StatusBookmarkNotFound

NewStatusBookmarkNotFound creates a StatusBookmarkNotFound with default headers values

func (*StatusBookmarkNotFound) Code

func (o *StatusBookmarkNotFound) Code() int

Code gets the status code for the status bookmark not found response

func (*StatusBookmarkNotFound) Error

func (o *StatusBookmarkNotFound) Error() string

func (*StatusBookmarkNotFound) IsClientError

func (o *StatusBookmarkNotFound) IsClientError() bool

IsClientError returns true when this status bookmark not found response has a 4xx status code

func (*StatusBookmarkNotFound) IsCode

func (o *StatusBookmarkNotFound) IsCode(code int) bool

IsCode returns true when this status bookmark not found response a status code equal to that given

func (*StatusBookmarkNotFound) IsRedirect

func (o *StatusBookmarkNotFound) IsRedirect() bool

IsRedirect returns true when this status bookmark not found response has a 3xx status code

func (*StatusBookmarkNotFound) IsServerError

func (o *StatusBookmarkNotFound) IsServerError() bool

IsServerError returns true when this status bookmark not found response has a 5xx status code

func (*StatusBookmarkNotFound) IsSuccess

func (o *StatusBookmarkNotFound) IsSuccess() bool

IsSuccess returns true when this status bookmark not found response has a 2xx status code

func (*StatusBookmarkNotFound) String

func (o *StatusBookmarkNotFound) String() string

type StatusBookmarkOK

type StatusBookmarkOK struct {
	Payload *models.Status
}

StatusBookmarkOK describes a response with status code 200, with default header values.

The status.

func NewStatusBookmarkOK

func NewStatusBookmarkOK() *StatusBookmarkOK

NewStatusBookmarkOK creates a StatusBookmarkOK with default headers values

func (*StatusBookmarkOK) Code

func (o *StatusBookmarkOK) Code() int

Code gets the status code for the status bookmark o k response

func (*StatusBookmarkOK) Error

func (o *StatusBookmarkOK) Error() string

func (*StatusBookmarkOK) GetPayload

func (o *StatusBookmarkOK) GetPayload() *models.Status

func (*StatusBookmarkOK) IsClientError

func (o *StatusBookmarkOK) IsClientError() bool

IsClientError returns true when this status bookmark o k response has a 4xx status code

func (*StatusBookmarkOK) IsCode

func (o *StatusBookmarkOK) IsCode(code int) bool

IsCode returns true when this status bookmark o k response a status code equal to that given

func (*StatusBookmarkOK) IsRedirect

func (o *StatusBookmarkOK) IsRedirect() bool

IsRedirect returns true when this status bookmark o k response has a 3xx status code

func (*StatusBookmarkOK) IsServerError

func (o *StatusBookmarkOK) IsServerError() bool

IsServerError returns true when this status bookmark o k response has a 5xx status code

func (*StatusBookmarkOK) IsSuccess

func (o *StatusBookmarkOK) IsSuccess() bool

IsSuccess returns true when this status bookmark o k response has a 2xx status code

func (*StatusBookmarkOK) String

func (o *StatusBookmarkOK) String() string

type StatusBookmarkParams

type StatusBookmarkParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusBookmarkParams contains all the parameters to send to the API endpoint

for the status bookmark operation.

Typically these are written to a http.Request.

func NewStatusBookmarkParams

func NewStatusBookmarkParams() *StatusBookmarkParams

NewStatusBookmarkParams creates a new StatusBookmarkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusBookmarkParamsWithContext

func NewStatusBookmarkParamsWithContext(ctx context.Context) *StatusBookmarkParams

NewStatusBookmarkParamsWithContext creates a new StatusBookmarkParams object with the ability to set a context for a request.

func NewStatusBookmarkParamsWithHTTPClient

func NewStatusBookmarkParamsWithHTTPClient(client *http.Client) *StatusBookmarkParams

NewStatusBookmarkParamsWithHTTPClient creates a new StatusBookmarkParams object with the ability to set a custom HTTPClient for a request.

func NewStatusBookmarkParamsWithTimeout

func NewStatusBookmarkParamsWithTimeout(timeout time.Duration) *StatusBookmarkParams

NewStatusBookmarkParamsWithTimeout creates a new StatusBookmarkParams object with the ability to set a timeout on a request.

func (*StatusBookmarkParams) SetContext

func (o *StatusBookmarkParams) SetContext(ctx context.Context)

SetContext adds the context to the status bookmark params

func (*StatusBookmarkParams) SetDefaults

func (o *StatusBookmarkParams) SetDefaults()

SetDefaults hydrates default values in the status bookmark params (not the query body).

All values with no default are reset to their zero value.

func (*StatusBookmarkParams) SetHTTPClient

func (o *StatusBookmarkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status bookmark params

func (*StatusBookmarkParams) SetID

func (o *StatusBookmarkParams) SetID(id string)

SetID adds the id to the status bookmark params

func (*StatusBookmarkParams) SetTimeout

func (o *StatusBookmarkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status bookmark params

func (*StatusBookmarkParams) WithContext

WithContext adds the context to the status bookmark params

func (*StatusBookmarkParams) WithDefaults

func (o *StatusBookmarkParams) WithDefaults() *StatusBookmarkParams

WithDefaults hydrates default values in the status bookmark params (not the query body).

All values with no default are reset to their zero value.

func (*StatusBookmarkParams) WithHTTPClient

func (o *StatusBookmarkParams) WithHTTPClient(client *http.Client) *StatusBookmarkParams

WithHTTPClient adds the HTTPClient to the status bookmark params

func (*StatusBookmarkParams) WithID

WithID adds the id to the status bookmark params

func (*StatusBookmarkParams) WithTimeout

func (o *StatusBookmarkParams) WithTimeout(timeout time.Duration) *StatusBookmarkParams

WithTimeout adds the timeout to the status bookmark params

func (*StatusBookmarkParams) WriteToRequest

func (o *StatusBookmarkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusBookmarkReader

type StatusBookmarkReader struct {
	// contains filtered or unexported fields
}

StatusBookmarkReader is a Reader for the StatusBookmark structure.

func (*StatusBookmarkReader) ReadResponse

func (o *StatusBookmarkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusBookmarkUnauthorized

type StatusBookmarkUnauthorized struct {
}

StatusBookmarkUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusBookmarkUnauthorized

func NewStatusBookmarkUnauthorized() *StatusBookmarkUnauthorized

NewStatusBookmarkUnauthorized creates a StatusBookmarkUnauthorized with default headers values

func (*StatusBookmarkUnauthorized) Code

func (o *StatusBookmarkUnauthorized) Code() int

Code gets the status code for the status bookmark unauthorized response

func (*StatusBookmarkUnauthorized) Error

func (*StatusBookmarkUnauthorized) IsClientError

func (o *StatusBookmarkUnauthorized) IsClientError() bool

IsClientError returns true when this status bookmark unauthorized response has a 4xx status code

func (*StatusBookmarkUnauthorized) IsCode

func (o *StatusBookmarkUnauthorized) IsCode(code int) bool

IsCode returns true when this status bookmark unauthorized response a status code equal to that given

func (*StatusBookmarkUnauthorized) IsRedirect

func (o *StatusBookmarkUnauthorized) IsRedirect() bool

IsRedirect returns true when this status bookmark unauthorized response has a 3xx status code

func (*StatusBookmarkUnauthorized) IsServerError

func (o *StatusBookmarkUnauthorized) IsServerError() bool

IsServerError returns true when this status bookmark unauthorized response has a 5xx status code

func (*StatusBookmarkUnauthorized) IsSuccess

func (o *StatusBookmarkUnauthorized) IsSuccess() bool

IsSuccess returns true when this status bookmark unauthorized response has a 2xx status code

func (*StatusBookmarkUnauthorized) String

func (o *StatusBookmarkUnauthorized) String() string

type StatusBoostedByBadRequest

type StatusBoostedByBadRequest struct {
}

StatusBoostedByBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusBoostedByBadRequest

func NewStatusBoostedByBadRequest() *StatusBoostedByBadRequest

NewStatusBoostedByBadRequest creates a StatusBoostedByBadRequest with default headers values

func (*StatusBoostedByBadRequest) Code

func (o *StatusBoostedByBadRequest) Code() int

Code gets the status code for the status boosted by bad request response

func (*StatusBoostedByBadRequest) Error

func (o *StatusBoostedByBadRequest) Error() string

func (*StatusBoostedByBadRequest) IsClientError

func (o *StatusBoostedByBadRequest) IsClientError() bool

IsClientError returns true when this status boosted by bad request response has a 4xx status code

func (*StatusBoostedByBadRequest) IsCode

func (o *StatusBoostedByBadRequest) IsCode(code int) bool

IsCode returns true when this status boosted by bad request response a status code equal to that given

func (*StatusBoostedByBadRequest) IsRedirect

func (o *StatusBoostedByBadRequest) IsRedirect() bool

IsRedirect returns true when this status boosted by bad request response has a 3xx status code

func (*StatusBoostedByBadRequest) IsServerError

func (o *StatusBoostedByBadRequest) IsServerError() bool

IsServerError returns true when this status boosted by bad request response has a 5xx status code

func (*StatusBoostedByBadRequest) IsSuccess

func (o *StatusBoostedByBadRequest) IsSuccess() bool

IsSuccess returns true when this status boosted by bad request response has a 2xx status code

func (*StatusBoostedByBadRequest) String

func (o *StatusBoostedByBadRequest) String() string

type StatusBoostedByForbidden

type StatusBoostedByForbidden struct {
}

StatusBoostedByForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusBoostedByForbidden

func NewStatusBoostedByForbidden() *StatusBoostedByForbidden

NewStatusBoostedByForbidden creates a StatusBoostedByForbidden with default headers values

func (*StatusBoostedByForbidden) Code

func (o *StatusBoostedByForbidden) Code() int

Code gets the status code for the status boosted by forbidden response

func (*StatusBoostedByForbidden) Error

func (o *StatusBoostedByForbidden) Error() string

func (*StatusBoostedByForbidden) IsClientError

func (o *StatusBoostedByForbidden) IsClientError() bool

IsClientError returns true when this status boosted by forbidden response has a 4xx status code

func (*StatusBoostedByForbidden) IsCode

func (o *StatusBoostedByForbidden) IsCode(code int) bool

IsCode returns true when this status boosted by forbidden response a status code equal to that given

func (*StatusBoostedByForbidden) IsRedirect

func (o *StatusBoostedByForbidden) IsRedirect() bool

IsRedirect returns true when this status boosted by forbidden response has a 3xx status code

func (*StatusBoostedByForbidden) IsServerError

func (o *StatusBoostedByForbidden) IsServerError() bool

IsServerError returns true when this status boosted by forbidden response has a 5xx status code

func (*StatusBoostedByForbidden) IsSuccess

func (o *StatusBoostedByForbidden) IsSuccess() bool

IsSuccess returns true when this status boosted by forbidden response has a 2xx status code

func (*StatusBoostedByForbidden) String

func (o *StatusBoostedByForbidden) String() string

type StatusBoostedByNotFound

type StatusBoostedByNotFound struct {
}

StatusBoostedByNotFound describes a response with status code 404, with default header values.

not found

func NewStatusBoostedByNotFound

func NewStatusBoostedByNotFound() *StatusBoostedByNotFound

NewStatusBoostedByNotFound creates a StatusBoostedByNotFound with default headers values

func (*StatusBoostedByNotFound) Code

func (o *StatusBoostedByNotFound) Code() int

Code gets the status code for the status boosted by not found response

func (*StatusBoostedByNotFound) Error

func (o *StatusBoostedByNotFound) Error() string

func (*StatusBoostedByNotFound) IsClientError

func (o *StatusBoostedByNotFound) IsClientError() bool

IsClientError returns true when this status boosted by not found response has a 4xx status code

func (*StatusBoostedByNotFound) IsCode

func (o *StatusBoostedByNotFound) IsCode(code int) bool

IsCode returns true when this status boosted by not found response a status code equal to that given

func (*StatusBoostedByNotFound) IsRedirect

func (o *StatusBoostedByNotFound) IsRedirect() bool

IsRedirect returns true when this status boosted by not found response has a 3xx status code

func (*StatusBoostedByNotFound) IsServerError

func (o *StatusBoostedByNotFound) IsServerError() bool

IsServerError returns true when this status boosted by not found response has a 5xx status code

func (*StatusBoostedByNotFound) IsSuccess

func (o *StatusBoostedByNotFound) IsSuccess() bool

IsSuccess returns true when this status boosted by not found response has a 2xx status code

func (*StatusBoostedByNotFound) String

func (o *StatusBoostedByNotFound) String() string

type StatusBoostedByOK

type StatusBoostedByOK struct {
	Payload []*models.Account
}

StatusBoostedByOK describes a response with status code 200, with default header values.

StatusBoostedByOK status boosted by o k

func NewStatusBoostedByOK

func NewStatusBoostedByOK() *StatusBoostedByOK

NewStatusBoostedByOK creates a StatusBoostedByOK with default headers values

func (*StatusBoostedByOK) Code

func (o *StatusBoostedByOK) Code() int

Code gets the status code for the status boosted by o k response

func (*StatusBoostedByOK) Error

func (o *StatusBoostedByOK) Error() string

func (*StatusBoostedByOK) GetPayload

func (o *StatusBoostedByOK) GetPayload() []*models.Account

func (*StatusBoostedByOK) IsClientError

func (o *StatusBoostedByOK) IsClientError() bool

IsClientError returns true when this status boosted by o k response has a 4xx status code

func (*StatusBoostedByOK) IsCode

func (o *StatusBoostedByOK) IsCode(code int) bool

IsCode returns true when this status boosted by o k response a status code equal to that given

func (*StatusBoostedByOK) IsRedirect

func (o *StatusBoostedByOK) IsRedirect() bool

IsRedirect returns true when this status boosted by o k response has a 3xx status code

func (*StatusBoostedByOK) IsServerError

func (o *StatusBoostedByOK) IsServerError() bool

IsServerError returns true when this status boosted by o k response has a 5xx status code

func (*StatusBoostedByOK) IsSuccess

func (o *StatusBoostedByOK) IsSuccess() bool

IsSuccess returns true when this status boosted by o k response has a 2xx status code

func (*StatusBoostedByOK) String

func (o *StatusBoostedByOK) String() string

type StatusBoostedByParams

type StatusBoostedByParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusBoostedByParams contains all the parameters to send to the API endpoint

for the status boosted by operation.

Typically these are written to a http.Request.

func NewStatusBoostedByParams

func NewStatusBoostedByParams() *StatusBoostedByParams

NewStatusBoostedByParams creates a new StatusBoostedByParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusBoostedByParamsWithContext

func NewStatusBoostedByParamsWithContext(ctx context.Context) *StatusBoostedByParams

NewStatusBoostedByParamsWithContext creates a new StatusBoostedByParams object with the ability to set a context for a request.

func NewStatusBoostedByParamsWithHTTPClient

func NewStatusBoostedByParamsWithHTTPClient(client *http.Client) *StatusBoostedByParams

NewStatusBoostedByParamsWithHTTPClient creates a new StatusBoostedByParams object with the ability to set a custom HTTPClient for a request.

func NewStatusBoostedByParamsWithTimeout

func NewStatusBoostedByParamsWithTimeout(timeout time.Duration) *StatusBoostedByParams

NewStatusBoostedByParamsWithTimeout creates a new StatusBoostedByParams object with the ability to set a timeout on a request.

func (*StatusBoostedByParams) SetContext

func (o *StatusBoostedByParams) SetContext(ctx context.Context)

SetContext adds the context to the status boosted by params

func (*StatusBoostedByParams) SetDefaults

func (o *StatusBoostedByParams) SetDefaults()

SetDefaults hydrates default values in the status boosted by params (not the query body).

All values with no default are reset to their zero value.

func (*StatusBoostedByParams) SetHTTPClient

func (o *StatusBoostedByParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status boosted by params

func (*StatusBoostedByParams) SetID

func (o *StatusBoostedByParams) SetID(id string)

SetID adds the id to the status boosted by params

func (*StatusBoostedByParams) SetTimeout

func (o *StatusBoostedByParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status boosted by params

func (*StatusBoostedByParams) WithContext

WithContext adds the context to the status boosted by params

func (*StatusBoostedByParams) WithDefaults

func (o *StatusBoostedByParams) WithDefaults() *StatusBoostedByParams

WithDefaults hydrates default values in the status boosted by params (not the query body).

All values with no default are reset to their zero value.

func (*StatusBoostedByParams) WithHTTPClient

func (o *StatusBoostedByParams) WithHTTPClient(client *http.Client) *StatusBoostedByParams

WithHTTPClient adds the HTTPClient to the status boosted by params

func (*StatusBoostedByParams) WithID

WithID adds the id to the status boosted by params

func (*StatusBoostedByParams) WithTimeout

func (o *StatusBoostedByParams) WithTimeout(timeout time.Duration) *StatusBoostedByParams

WithTimeout adds the timeout to the status boosted by params

func (*StatusBoostedByParams) WriteToRequest

func (o *StatusBoostedByParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusBoostedByReader

type StatusBoostedByReader struct {
	// contains filtered or unexported fields
}

StatusBoostedByReader is a Reader for the StatusBoostedBy structure.

func (*StatusBoostedByReader) ReadResponse

func (o *StatusBoostedByReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusBoostedByUnauthorized

type StatusBoostedByUnauthorized struct {
}

StatusBoostedByUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusBoostedByUnauthorized

func NewStatusBoostedByUnauthorized() *StatusBoostedByUnauthorized

NewStatusBoostedByUnauthorized creates a StatusBoostedByUnauthorized with default headers values

func (*StatusBoostedByUnauthorized) Code

func (o *StatusBoostedByUnauthorized) Code() int

Code gets the status code for the status boosted by unauthorized response

func (*StatusBoostedByUnauthorized) Error

func (*StatusBoostedByUnauthorized) IsClientError

func (o *StatusBoostedByUnauthorized) IsClientError() bool

IsClientError returns true when this status boosted by unauthorized response has a 4xx status code

func (*StatusBoostedByUnauthorized) IsCode

func (o *StatusBoostedByUnauthorized) IsCode(code int) bool

IsCode returns true when this status boosted by unauthorized response a status code equal to that given

func (*StatusBoostedByUnauthorized) IsRedirect

func (o *StatusBoostedByUnauthorized) IsRedirect() bool

IsRedirect returns true when this status boosted by unauthorized response has a 3xx status code

func (*StatusBoostedByUnauthorized) IsServerError

func (o *StatusBoostedByUnauthorized) IsServerError() bool

IsServerError returns true when this status boosted by unauthorized response has a 5xx status code

func (*StatusBoostedByUnauthorized) IsSuccess

func (o *StatusBoostedByUnauthorized) IsSuccess() bool

IsSuccess returns true when this status boosted by unauthorized response has a 2xx status code

func (*StatusBoostedByUnauthorized) String

func (o *StatusBoostedByUnauthorized) String() string

type StatusCreateBadRequest

type StatusCreateBadRequest struct {
}

StatusCreateBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusCreateBadRequest

func NewStatusCreateBadRequest() *StatusCreateBadRequest

NewStatusCreateBadRequest creates a StatusCreateBadRequest with default headers values

func (*StatusCreateBadRequest) Code

func (o *StatusCreateBadRequest) Code() int

Code gets the status code for the status create bad request response

func (*StatusCreateBadRequest) Error

func (o *StatusCreateBadRequest) Error() string

func (*StatusCreateBadRequest) IsClientError

func (o *StatusCreateBadRequest) IsClientError() bool

IsClientError returns true when this status create bad request response has a 4xx status code

func (*StatusCreateBadRequest) IsCode

func (o *StatusCreateBadRequest) IsCode(code int) bool

IsCode returns true when this status create bad request response a status code equal to that given

func (*StatusCreateBadRequest) IsRedirect

func (o *StatusCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this status create bad request response has a 3xx status code

func (*StatusCreateBadRequest) IsServerError

func (o *StatusCreateBadRequest) IsServerError() bool

IsServerError returns true when this status create bad request response has a 5xx status code

func (*StatusCreateBadRequest) IsSuccess

func (o *StatusCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this status create bad request response has a 2xx status code

func (*StatusCreateBadRequest) String

func (o *StatusCreateBadRequest) String() string

type StatusCreateForbidden

type StatusCreateForbidden struct {
}

StatusCreateForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusCreateForbidden

func NewStatusCreateForbidden() *StatusCreateForbidden

NewStatusCreateForbidden creates a StatusCreateForbidden with default headers values

func (*StatusCreateForbidden) Code

func (o *StatusCreateForbidden) Code() int

Code gets the status code for the status create forbidden response

func (*StatusCreateForbidden) Error

func (o *StatusCreateForbidden) Error() string

func (*StatusCreateForbidden) IsClientError

func (o *StatusCreateForbidden) IsClientError() bool

IsClientError returns true when this status create forbidden response has a 4xx status code

func (*StatusCreateForbidden) IsCode

func (o *StatusCreateForbidden) IsCode(code int) bool

IsCode returns true when this status create forbidden response a status code equal to that given

func (*StatusCreateForbidden) IsRedirect

func (o *StatusCreateForbidden) IsRedirect() bool

IsRedirect returns true when this status create forbidden response has a 3xx status code

func (*StatusCreateForbidden) IsServerError

func (o *StatusCreateForbidden) IsServerError() bool

IsServerError returns true when this status create forbidden response has a 5xx status code

func (*StatusCreateForbidden) IsSuccess

func (o *StatusCreateForbidden) IsSuccess() bool

IsSuccess returns true when this status create forbidden response has a 2xx status code

func (*StatusCreateForbidden) String

func (o *StatusCreateForbidden) String() string

type StatusCreateInternalServerError

type StatusCreateInternalServerError struct {
}

StatusCreateInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusCreateInternalServerError

func NewStatusCreateInternalServerError() *StatusCreateInternalServerError

NewStatusCreateInternalServerError creates a StatusCreateInternalServerError with default headers values

func (*StatusCreateInternalServerError) Code

Code gets the status code for the status create internal server error response

func (*StatusCreateInternalServerError) Error

func (*StatusCreateInternalServerError) IsClientError

func (o *StatusCreateInternalServerError) IsClientError() bool

IsClientError returns true when this status create internal server error response has a 4xx status code

func (*StatusCreateInternalServerError) IsCode

func (o *StatusCreateInternalServerError) IsCode(code int) bool

IsCode returns true when this status create internal server error response a status code equal to that given

func (*StatusCreateInternalServerError) IsRedirect

func (o *StatusCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this status create internal server error response has a 3xx status code

func (*StatusCreateInternalServerError) IsServerError

func (o *StatusCreateInternalServerError) IsServerError() bool

IsServerError returns true when this status create internal server error response has a 5xx status code

func (*StatusCreateInternalServerError) IsSuccess

func (o *StatusCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this status create internal server error response has a 2xx status code

func (*StatusCreateInternalServerError) String

type StatusCreateNotAcceptable

type StatusCreateNotAcceptable struct {
}

StatusCreateNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusCreateNotAcceptable

func NewStatusCreateNotAcceptable() *StatusCreateNotAcceptable

NewStatusCreateNotAcceptable creates a StatusCreateNotAcceptable with default headers values

func (*StatusCreateNotAcceptable) Code

func (o *StatusCreateNotAcceptable) Code() int

Code gets the status code for the status create not acceptable response

func (*StatusCreateNotAcceptable) Error

func (o *StatusCreateNotAcceptable) Error() string

func (*StatusCreateNotAcceptable) IsClientError

func (o *StatusCreateNotAcceptable) IsClientError() bool

IsClientError returns true when this status create not acceptable response has a 4xx status code

func (*StatusCreateNotAcceptable) IsCode

func (o *StatusCreateNotAcceptable) IsCode(code int) bool

IsCode returns true when this status create not acceptable response a status code equal to that given

func (*StatusCreateNotAcceptable) IsRedirect

func (o *StatusCreateNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status create not acceptable response has a 3xx status code

func (*StatusCreateNotAcceptable) IsServerError

func (o *StatusCreateNotAcceptable) IsServerError() bool

IsServerError returns true when this status create not acceptable response has a 5xx status code

func (*StatusCreateNotAcceptable) IsSuccess

func (o *StatusCreateNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status create not acceptable response has a 2xx status code

func (*StatusCreateNotAcceptable) String

func (o *StatusCreateNotAcceptable) String() string

type StatusCreateNotFound

type StatusCreateNotFound struct {
}

StatusCreateNotFound describes a response with status code 404, with default header values.

not found

func NewStatusCreateNotFound

func NewStatusCreateNotFound() *StatusCreateNotFound

NewStatusCreateNotFound creates a StatusCreateNotFound with default headers values

func (*StatusCreateNotFound) Code

func (o *StatusCreateNotFound) Code() int

Code gets the status code for the status create not found response

func (*StatusCreateNotFound) Error

func (o *StatusCreateNotFound) Error() string

func (*StatusCreateNotFound) IsClientError

func (o *StatusCreateNotFound) IsClientError() bool

IsClientError returns true when this status create not found response has a 4xx status code

func (*StatusCreateNotFound) IsCode

func (o *StatusCreateNotFound) IsCode(code int) bool

IsCode returns true when this status create not found response a status code equal to that given

func (*StatusCreateNotFound) IsRedirect

func (o *StatusCreateNotFound) IsRedirect() bool

IsRedirect returns true when this status create not found response has a 3xx status code

func (*StatusCreateNotFound) IsServerError

func (o *StatusCreateNotFound) IsServerError() bool

IsServerError returns true when this status create not found response has a 5xx status code

func (*StatusCreateNotFound) IsSuccess

func (o *StatusCreateNotFound) IsSuccess() bool

IsSuccess returns true when this status create not found response has a 2xx status code

func (*StatusCreateNotFound) String

func (o *StatusCreateNotFound) String() string

type StatusCreateOK

type StatusCreateOK struct {
	Payload *models.Status
}

StatusCreateOK describes a response with status code 200, with default header values.

The newly created status.

func NewStatusCreateOK

func NewStatusCreateOK() *StatusCreateOK

NewStatusCreateOK creates a StatusCreateOK with default headers values

func (*StatusCreateOK) Code

func (o *StatusCreateOK) Code() int

Code gets the status code for the status create o k response

func (*StatusCreateOK) Error

func (o *StatusCreateOK) Error() string

func (*StatusCreateOK) GetPayload

func (o *StatusCreateOK) GetPayload() *models.Status

func (*StatusCreateOK) IsClientError

func (o *StatusCreateOK) IsClientError() bool

IsClientError returns true when this status create o k response has a 4xx status code

func (*StatusCreateOK) IsCode

func (o *StatusCreateOK) IsCode(code int) bool

IsCode returns true when this status create o k response a status code equal to that given

func (*StatusCreateOK) IsRedirect

func (o *StatusCreateOK) IsRedirect() bool

IsRedirect returns true when this status create o k response has a 3xx status code

func (*StatusCreateOK) IsServerError

func (o *StatusCreateOK) IsServerError() bool

IsServerError returns true when this status create o k response has a 5xx status code

func (*StatusCreateOK) IsSuccess

func (o *StatusCreateOK) IsSuccess() bool

IsSuccess returns true when this status create o k response has a 2xx status code

func (*StatusCreateOK) String

func (o *StatusCreateOK) String() string

type StatusCreateParams

type StatusCreateParams struct {

	/* ContentType.

	   Content type to use when parsing this status.
	*/
	ContentType *string

	/* Federated.

	   This status will be federated beyond the local timeline(s).
	*/
	Federated *bool

	/* InReplyToID.

	   ID of the status being replied to, if status is a reply.
	*/
	InReplyToID *string

	/* Language.

	   ISO 639 language code for this status.
	*/
	Language *string

	/* MediaIds.

	     Array of Attachment ids to be attached as media.
	If provided, status becomes optional, and poll cannot be used.

	If the status is being submitted as a form, the key is 'media_ids[]',
	but if it's json or xml, the key is 'media_ids'.
	*/
	MediaIDs []string

	/* PollExpiresIn.

	     Duration the poll should be open, in seconds.
	If provided, media_ids cannot be used, and poll[options] must be provided.

	     Format: int64
	*/
	PollExpiresIn *int64

	/* PollHideTotals.

	   Hide vote counts until the poll ends.

	   Default: true
	*/
	PollHideTotals *bool

	/* PollMultiple.

	   Allow multiple choices on this poll.
	*/
	PollMultiple *bool

	/* PollOptions.

	     Array of possible poll answers.
	If provided, media_ids cannot be used, and poll[expires_in] must be provided.
	*/
	PollOptions []string

	/* ScheduledAt.

	     ISO 8601 Datetime at which to schedule a status.
	Providing this parameter will cause ScheduledStatus to be returned instead of Status.
	Must be at least 5 minutes in the future.

	This feature isn't implemented yet.
	*/
	ScheduledAt *string

	/* Sensitive.

	   Status and attached media should be marked as sensitive.
	*/
	Sensitive *bool

	/* SpoilerText.

	     Text to be shown as a warning or subject before the actual content.
	Statuses are generally collapsed behind this field.
	*/
	SpoilerText *string

	/* Status.

	     Text content of the status.
	If media_ids is provided, this becomes optional.
	Attaching a poll is optional while status is provided.
	*/
	Status *string

	/* Visibility.

	   Visibility of the posted status.
	*/
	Visibility *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusCreateParams contains all the parameters to send to the API endpoint

for the status create operation.

Typically these are written to a http.Request.

func NewStatusCreateParams

func NewStatusCreateParams() *StatusCreateParams

NewStatusCreateParams creates a new StatusCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusCreateParamsWithContext

func NewStatusCreateParamsWithContext(ctx context.Context) *StatusCreateParams

NewStatusCreateParamsWithContext creates a new StatusCreateParams object with the ability to set a context for a request.

func NewStatusCreateParamsWithHTTPClient

func NewStatusCreateParamsWithHTTPClient(client *http.Client) *StatusCreateParams

NewStatusCreateParamsWithHTTPClient creates a new StatusCreateParams object with the ability to set a custom HTTPClient for a request.

func NewStatusCreateParamsWithTimeout

func NewStatusCreateParamsWithTimeout(timeout time.Duration) *StatusCreateParams

NewStatusCreateParamsWithTimeout creates a new StatusCreateParams object with the ability to set a timeout on a request.

func (*StatusCreateParams) SetContentType

func (o *StatusCreateParams) SetContentType(contentType *string)

SetContentType adds the contentType to the status create params

func (*StatusCreateParams) SetContext

func (o *StatusCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the status create params

func (*StatusCreateParams) SetDefaults

func (o *StatusCreateParams) SetDefaults()

SetDefaults hydrates default values in the status create params (not the query body).

All values with no default are reset to their zero value.

func (*StatusCreateParams) SetFederated

func (o *StatusCreateParams) SetFederated(federated *bool)

SetFederated adds the federated to the status create params

func (*StatusCreateParams) SetHTTPClient

func (o *StatusCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status create params

func (*StatusCreateParams) SetInReplyToID

func (o *StatusCreateParams) SetInReplyToID(inReplyToID *string)

SetInReplyToID adds the inReplyToId to the status create params

func (*StatusCreateParams) SetLanguage

func (o *StatusCreateParams) SetLanguage(language *string)

SetLanguage adds the language to the status create params

func (*StatusCreateParams) SetMediaIDs

func (o *StatusCreateParams) SetMediaIDs(mediaIds []string)

SetMediaIDs adds the mediaIds to the status create params

func (*StatusCreateParams) SetPollExpiresIn

func (o *StatusCreateParams) SetPollExpiresIn(pollExpiresIn *int64)

SetPollExpiresIn adds the pollExpiresIn to the status create params

func (*StatusCreateParams) SetPollHideTotals

func (o *StatusCreateParams) SetPollHideTotals(pollHideTotals *bool)

SetPollHideTotals adds the pollHideTotals to the status create params

func (*StatusCreateParams) SetPollMultiple

func (o *StatusCreateParams) SetPollMultiple(pollMultiple *bool)

SetPollMultiple adds the pollMultiple to the status create params

func (*StatusCreateParams) SetPollOptions

func (o *StatusCreateParams) SetPollOptions(pollOptions []string)

SetPollOptions adds the pollOptions to the status create params

func (*StatusCreateParams) SetScheduledAt

func (o *StatusCreateParams) SetScheduledAt(scheduledAt *string)

SetScheduledAt adds the scheduledAt to the status create params

func (*StatusCreateParams) SetSensitive

func (o *StatusCreateParams) SetSensitive(sensitive *bool)

SetSensitive adds the sensitive to the status create params

func (*StatusCreateParams) SetSpoilerText

func (o *StatusCreateParams) SetSpoilerText(spoilerText *string)

SetSpoilerText adds the spoilerText to the status create params

func (*StatusCreateParams) SetStatus

func (o *StatusCreateParams) SetStatus(status *string)

SetStatus adds the status to the status create params

func (*StatusCreateParams) SetTimeout

func (o *StatusCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status create params

func (*StatusCreateParams) SetVisibility

func (o *StatusCreateParams) SetVisibility(visibility *string)

SetVisibility adds the visibility to the status create params

func (*StatusCreateParams) WithContentType

func (o *StatusCreateParams) WithContentType(contentType *string) *StatusCreateParams

WithContentType adds the contentType to the status create params

func (*StatusCreateParams) WithContext

WithContext adds the context to the status create params

func (*StatusCreateParams) WithDefaults

func (o *StatusCreateParams) WithDefaults() *StatusCreateParams

WithDefaults hydrates default values in the status create params (not the query body).

All values with no default are reset to their zero value.

func (*StatusCreateParams) WithFederated

func (o *StatusCreateParams) WithFederated(federated *bool) *StatusCreateParams

WithFederated adds the federated to the status create params

func (*StatusCreateParams) WithHTTPClient

func (o *StatusCreateParams) WithHTTPClient(client *http.Client) *StatusCreateParams

WithHTTPClient adds the HTTPClient to the status create params

func (*StatusCreateParams) WithInReplyToID

func (o *StatusCreateParams) WithInReplyToID(inReplyToID *string) *StatusCreateParams

WithInReplyToID adds the inReplyToID to the status create params

func (*StatusCreateParams) WithLanguage

func (o *StatusCreateParams) WithLanguage(language *string) *StatusCreateParams

WithLanguage adds the language to the status create params

func (*StatusCreateParams) WithMediaIDs

func (o *StatusCreateParams) WithMediaIDs(mediaIds []string) *StatusCreateParams

WithMediaIDs adds the mediaIds to the status create params

func (*StatusCreateParams) WithPollExpiresIn

func (o *StatusCreateParams) WithPollExpiresIn(pollExpiresIn *int64) *StatusCreateParams

WithPollExpiresIn adds the pollExpiresIn to the status create params

func (*StatusCreateParams) WithPollHideTotals

func (o *StatusCreateParams) WithPollHideTotals(pollHideTotals *bool) *StatusCreateParams

WithPollHideTotals adds the pollHideTotals to the status create params

func (*StatusCreateParams) WithPollMultiple

func (o *StatusCreateParams) WithPollMultiple(pollMultiple *bool) *StatusCreateParams

WithPollMultiple adds the pollMultiple to the status create params

func (*StatusCreateParams) WithPollOptions

func (o *StatusCreateParams) WithPollOptions(pollOptions []string) *StatusCreateParams

WithPollOptions adds the pollOptions to the status create params

func (*StatusCreateParams) WithScheduledAt

func (o *StatusCreateParams) WithScheduledAt(scheduledAt *string) *StatusCreateParams

WithScheduledAt adds the scheduledAt to the status create params

func (*StatusCreateParams) WithSensitive

func (o *StatusCreateParams) WithSensitive(sensitive *bool) *StatusCreateParams

WithSensitive adds the sensitive to the status create params

func (*StatusCreateParams) WithSpoilerText

func (o *StatusCreateParams) WithSpoilerText(spoilerText *string) *StatusCreateParams

WithSpoilerText adds the spoilerText to the status create params

func (*StatusCreateParams) WithStatus

func (o *StatusCreateParams) WithStatus(status *string) *StatusCreateParams

WithStatus adds the status to the status create params

func (*StatusCreateParams) WithTimeout

func (o *StatusCreateParams) WithTimeout(timeout time.Duration) *StatusCreateParams

WithTimeout adds the timeout to the status create params

func (*StatusCreateParams) WithVisibility

func (o *StatusCreateParams) WithVisibility(visibility *string) *StatusCreateParams

WithVisibility adds the visibility to the status create params

func (*StatusCreateParams) WriteToRequest

func (o *StatusCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusCreateReader

type StatusCreateReader struct {
	// contains filtered or unexported fields
}

StatusCreateReader is a Reader for the StatusCreate structure.

func (*StatusCreateReader) ReadResponse

func (o *StatusCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusCreateUnauthorized

type StatusCreateUnauthorized struct {
}

StatusCreateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusCreateUnauthorized

func NewStatusCreateUnauthorized() *StatusCreateUnauthorized

NewStatusCreateUnauthorized creates a StatusCreateUnauthorized with default headers values

func (*StatusCreateUnauthorized) Code

func (o *StatusCreateUnauthorized) Code() int

Code gets the status code for the status create unauthorized response

func (*StatusCreateUnauthorized) Error

func (o *StatusCreateUnauthorized) Error() string

func (*StatusCreateUnauthorized) IsClientError

func (o *StatusCreateUnauthorized) IsClientError() bool

IsClientError returns true when this status create unauthorized response has a 4xx status code

func (*StatusCreateUnauthorized) IsCode

func (o *StatusCreateUnauthorized) IsCode(code int) bool

IsCode returns true when this status create unauthorized response a status code equal to that given

func (*StatusCreateUnauthorized) IsRedirect

func (o *StatusCreateUnauthorized) IsRedirect() bool

IsRedirect returns true when this status create unauthorized response has a 3xx status code

func (*StatusCreateUnauthorized) IsServerError

func (o *StatusCreateUnauthorized) IsServerError() bool

IsServerError returns true when this status create unauthorized response has a 5xx status code

func (*StatusCreateUnauthorized) IsSuccess

func (o *StatusCreateUnauthorized) IsSuccess() bool

IsSuccess returns true when this status create unauthorized response has a 2xx status code

func (*StatusCreateUnauthorized) String

func (o *StatusCreateUnauthorized) String() string

type StatusDeleteBadRequest

type StatusDeleteBadRequest struct {
}

StatusDeleteBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusDeleteBadRequest

func NewStatusDeleteBadRequest() *StatusDeleteBadRequest

NewStatusDeleteBadRequest creates a StatusDeleteBadRequest with default headers values

func (*StatusDeleteBadRequest) Code

func (o *StatusDeleteBadRequest) Code() int

Code gets the status code for the status delete bad request response

func (*StatusDeleteBadRequest) Error

func (o *StatusDeleteBadRequest) Error() string

func (*StatusDeleteBadRequest) IsClientError

func (o *StatusDeleteBadRequest) IsClientError() bool

IsClientError returns true when this status delete bad request response has a 4xx status code

func (*StatusDeleteBadRequest) IsCode

func (o *StatusDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this status delete bad request response a status code equal to that given

func (*StatusDeleteBadRequest) IsRedirect

func (o *StatusDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this status delete bad request response has a 3xx status code

func (*StatusDeleteBadRequest) IsServerError

func (o *StatusDeleteBadRequest) IsServerError() bool

IsServerError returns true when this status delete bad request response has a 5xx status code

func (*StatusDeleteBadRequest) IsSuccess

func (o *StatusDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this status delete bad request response has a 2xx status code

func (*StatusDeleteBadRequest) String

func (o *StatusDeleteBadRequest) String() string

type StatusDeleteForbidden

type StatusDeleteForbidden struct {
}

StatusDeleteForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusDeleteForbidden

func NewStatusDeleteForbidden() *StatusDeleteForbidden

NewStatusDeleteForbidden creates a StatusDeleteForbidden with default headers values

func (*StatusDeleteForbidden) Code

func (o *StatusDeleteForbidden) Code() int

Code gets the status code for the status delete forbidden response

func (*StatusDeleteForbidden) Error

func (o *StatusDeleteForbidden) Error() string

func (*StatusDeleteForbidden) IsClientError

func (o *StatusDeleteForbidden) IsClientError() bool

IsClientError returns true when this status delete forbidden response has a 4xx status code

func (*StatusDeleteForbidden) IsCode

func (o *StatusDeleteForbidden) IsCode(code int) bool

IsCode returns true when this status delete forbidden response a status code equal to that given

func (*StatusDeleteForbidden) IsRedirect

func (o *StatusDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this status delete forbidden response has a 3xx status code

func (*StatusDeleteForbidden) IsServerError

func (o *StatusDeleteForbidden) IsServerError() bool

IsServerError returns true when this status delete forbidden response has a 5xx status code

func (*StatusDeleteForbidden) IsSuccess

func (o *StatusDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this status delete forbidden response has a 2xx status code

func (*StatusDeleteForbidden) String

func (o *StatusDeleteForbidden) String() string

type StatusDeleteInternalServerError

type StatusDeleteInternalServerError struct {
}

StatusDeleteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusDeleteInternalServerError

func NewStatusDeleteInternalServerError() *StatusDeleteInternalServerError

NewStatusDeleteInternalServerError creates a StatusDeleteInternalServerError with default headers values

func (*StatusDeleteInternalServerError) Code

Code gets the status code for the status delete internal server error response

func (*StatusDeleteInternalServerError) Error

func (*StatusDeleteInternalServerError) IsClientError

func (o *StatusDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this status delete internal server error response has a 4xx status code

func (*StatusDeleteInternalServerError) IsCode

func (o *StatusDeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this status delete internal server error response a status code equal to that given

func (*StatusDeleteInternalServerError) IsRedirect

func (o *StatusDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this status delete internal server error response has a 3xx status code

func (*StatusDeleteInternalServerError) IsServerError

func (o *StatusDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this status delete internal server error response has a 5xx status code

func (*StatusDeleteInternalServerError) IsSuccess

func (o *StatusDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this status delete internal server error response has a 2xx status code

func (*StatusDeleteInternalServerError) String

type StatusDeleteNotAcceptable

type StatusDeleteNotAcceptable struct {
}

StatusDeleteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusDeleteNotAcceptable

func NewStatusDeleteNotAcceptable() *StatusDeleteNotAcceptable

NewStatusDeleteNotAcceptable creates a StatusDeleteNotAcceptable with default headers values

func (*StatusDeleteNotAcceptable) Code

func (o *StatusDeleteNotAcceptable) Code() int

Code gets the status code for the status delete not acceptable response

func (*StatusDeleteNotAcceptable) Error

func (o *StatusDeleteNotAcceptable) Error() string

func (*StatusDeleteNotAcceptable) IsClientError

func (o *StatusDeleteNotAcceptable) IsClientError() bool

IsClientError returns true when this status delete not acceptable response has a 4xx status code

func (*StatusDeleteNotAcceptable) IsCode

func (o *StatusDeleteNotAcceptable) IsCode(code int) bool

IsCode returns true when this status delete not acceptable response a status code equal to that given

func (*StatusDeleteNotAcceptable) IsRedirect

func (o *StatusDeleteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status delete not acceptable response has a 3xx status code

func (*StatusDeleteNotAcceptable) IsServerError

func (o *StatusDeleteNotAcceptable) IsServerError() bool

IsServerError returns true when this status delete not acceptable response has a 5xx status code

func (*StatusDeleteNotAcceptable) IsSuccess

func (o *StatusDeleteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status delete not acceptable response has a 2xx status code

func (*StatusDeleteNotAcceptable) String

func (o *StatusDeleteNotAcceptable) String() string

type StatusDeleteNotFound

type StatusDeleteNotFound struct {
}

StatusDeleteNotFound describes a response with status code 404, with default header values.

not found

func NewStatusDeleteNotFound

func NewStatusDeleteNotFound() *StatusDeleteNotFound

NewStatusDeleteNotFound creates a StatusDeleteNotFound with default headers values

func (*StatusDeleteNotFound) Code

func (o *StatusDeleteNotFound) Code() int

Code gets the status code for the status delete not found response

func (*StatusDeleteNotFound) Error

func (o *StatusDeleteNotFound) Error() string

func (*StatusDeleteNotFound) IsClientError

func (o *StatusDeleteNotFound) IsClientError() bool

IsClientError returns true when this status delete not found response has a 4xx status code

func (*StatusDeleteNotFound) IsCode

func (o *StatusDeleteNotFound) IsCode(code int) bool

IsCode returns true when this status delete not found response a status code equal to that given

func (*StatusDeleteNotFound) IsRedirect

func (o *StatusDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this status delete not found response has a 3xx status code

func (*StatusDeleteNotFound) IsServerError

func (o *StatusDeleteNotFound) IsServerError() bool

IsServerError returns true when this status delete not found response has a 5xx status code

func (*StatusDeleteNotFound) IsSuccess

func (o *StatusDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this status delete not found response has a 2xx status code

func (*StatusDeleteNotFound) String

func (o *StatusDeleteNotFound) String() string

type StatusDeleteOK

type StatusDeleteOK struct {
	Payload *models.Status
}

StatusDeleteOK describes a response with status code 200, with default header values.

The status that was just deleted.

func NewStatusDeleteOK

func NewStatusDeleteOK() *StatusDeleteOK

NewStatusDeleteOK creates a StatusDeleteOK with default headers values

func (*StatusDeleteOK) Code

func (o *StatusDeleteOK) Code() int

Code gets the status code for the status delete o k response

func (*StatusDeleteOK) Error

func (o *StatusDeleteOK) Error() string

func (*StatusDeleteOK) GetPayload

func (o *StatusDeleteOK) GetPayload() *models.Status

func (*StatusDeleteOK) IsClientError

func (o *StatusDeleteOK) IsClientError() bool

IsClientError returns true when this status delete o k response has a 4xx status code

func (*StatusDeleteOK) IsCode

func (o *StatusDeleteOK) IsCode(code int) bool

IsCode returns true when this status delete o k response a status code equal to that given

func (*StatusDeleteOK) IsRedirect

func (o *StatusDeleteOK) IsRedirect() bool

IsRedirect returns true when this status delete o k response has a 3xx status code

func (*StatusDeleteOK) IsServerError

func (o *StatusDeleteOK) IsServerError() bool

IsServerError returns true when this status delete o k response has a 5xx status code

func (*StatusDeleteOK) IsSuccess

func (o *StatusDeleteOK) IsSuccess() bool

IsSuccess returns true when this status delete o k response has a 2xx status code

func (*StatusDeleteOK) String

func (o *StatusDeleteOK) String() string

type StatusDeleteParams

type StatusDeleteParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusDeleteParams contains all the parameters to send to the API endpoint

for the status delete operation.

Typically these are written to a http.Request.

func NewStatusDeleteParams

func NewStatusDeleteParams() *StatusDeleteParams

NewStatusDeleteParams creates a new StatusDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusDeleteParamsWithContext

func NewStatusDeleteParamsWithContext(ctx context.Context) *StatusDeleteParams

NewStatusDeleteParamsWithContext creates a new StatusDeleteParams object with the ability to set a context for a request.

func NewStatusDeleteParamsWithHTTPClient

func NewStatusDeleteParamsWithHTTPClient(client *http.Client) *StatusDeleteParams

NewStatusDeleteParamsWithHTTPClient creates a new StatusDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewStatusDeleteParamsWithTimeout

func NewStatusDeleteParamsWithTimeout(timeout time.Duration) *StatusDeleteParams

NewStatusDeleteParamsWithTimeout creates a new StatusDeleteParams object with the ability to set a timeout on a request.

func (*StatusDeleteParams) SetContext

func (o *StatusDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the status delete params

func (*StatusDeleteParams) SetDefaults

func (o *StatusDeleteParams) SetDefaults()

SetDefaults hydrates default values in the status delete params (not the query body).

All values with no default are reset to their zero value.

func (*StatusDeleteParams) SetHTTPClient

func (o *StatusDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status delete params

func (*StatusDeleteParams) SetID

func (o *StatusDeleteParams) SetID(id string)

SetID adds the id to the status delete params

func (*StatusDeleteParams) SetTimeout

func (o *StatusDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status delete params

func (*StatusDeleteParams) WithContext

WithContext adds the context to the status delete params

func (*StatusDeleteParams) WithDefaults

func (o *StatusDeleteParams) WithDefaults() *StatusDeleteParams

WithDefaults hydrates default values in the status delete params (not the query body).

All values with no default are reset to their zero value.

func (*StatusDeleteParams) WithHTTPClient

func (o *StatusDeleteParams) WithHTTPClient(client *http.Client) *StatusDeleteParams

WithHTTPClient adds the HTTPClient to the status delete params

func (*StatusDeleteParams) WithID

WithID adds the id to the status delete params

func (*StatusDeleteParams) WithTimeout

func (o *StatusDeleteParams) WithTimeout(timeout time.Duration) *StatusDeleteParams

WithTimeout adds the timeout to the status delete params

func (*StatusDeleteParams) WriteToRequest

func (o *StatusDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusDeleteReader

type StatusDeleteReader struct {
	// contains filtered or unexported fields
}

StatusDeleteReader is a Reader for the StatusDelete structure.

func (*StatusDeleteReader) ReadResponse

func (o *StatusDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusDeleteUnauthorized

type StatusDeleteUnauthorized struct {
}

StatusDeleteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusDeleteUnauthorized

func NewStatusDeleteUnauthorized() *StatusDeleteUnauthorized

NewStatusDeleteUnauthorized creates a StatusDeleteUnauthorized with default headers values

func (*StatusDeleteUnauthorized) Code

func (o *StatusDeleteUnauthorized) Code() int

Code gets the status code for the status delete unauthorized response

func (*StatusDeleteUnauthorized) Error

func (o *StatusDeleteUnauthorized) Error() string

func (*StatusDeleteUnauthorized) IsClientError

func (o *StatusDeleteUnauthorized) IsClientError() bool

IsClientError returns true when this status delete unauthorized response has a 4xx status code

func (*StatusDeleteUnauthorized) IsCode

func (o *StatusDeleteUnauthorized) IsCode(code int) bool

IsCode returns true when this status delete unauthorized response a status code equal to that given

func (*StatusDeleteUnauthorized) IsRedirect

func (o *StatusDeleteUnauthorized) IsRedirect() bool

IsRedirect returns true when this status delete unauthorized response has a 3xx status code

func (*StatusDeleteUnauthorized) IsServerError

func (o *StatusDeleteUnauthorized) IsServerError() bool

IsServerError returns true when this status delete unauthorized response has a 5xx status code

func (*StatusDeleteUnauthorized) IsSuccess

func (o *StatusDeleteUnauthorized) IsSuccess() bool

IsSuccess returns true when this status delete unauthorized response has a 2xx status code

func (*StatusDeleteUnauthorized) String

func (o *StatusDeleteUnauthorized) String() string

type StatusFaveBadRequest

type StatusFaveBadRequest struct {
}

StatusFaveBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusFaveBadRequest

func NewStatusFaveBadRequest() *StatusFaveBadRequest

NewStatusFaveBadRequest creates a StatusFaveBadRequest with default headers values

func (*StatusFaveBadRequest) Code

func (o *StatusFaveBadRequest) Code() int

Code gets the status code for the status fave bad request response

func (*StatusFaveBadRequest) Error

func (o *StatusFaveBadRequest) Error() string

func (*StatusFaveBadRequest) IsClientError

func (o *StatusFaveBadRequest) IsClientError() bool

IsClientError returns true when this status fave bad request response has a 4xx status code

func (*StatusFaveBadRequest) IsCode

func (o *StatusFaveBadRequest) IsCode(code int) bool

IsCode returns true when this status fave bad request response a status code equal to that given

func (*StatusFaveBadRequest) IsRedirect

func (o *StatusFaveBadRequest) IsRedirect() bool

IsRedirect returns true when this status fave bad request response has a 3xx status code

func (*StatusFaveBadRequest) IsServerError

func (o *StatusFaveBadRequest) IsServerError() bool

IsServerError returns true when this status fave bad request response has a 5xx status code

func (*StatusFaveBadRequest) IsSuccess

func (o *StatusFaveBadRequest) IsSuccess() bool

IsSuccess returns true when this status fave bad request response has a 2xx status code

func (*StatusFaveBadRequest) String

func (o *StatusFaveBadRequest) String() string

type StatusFaveForbidden

type StatusFaveForbidden struct {
}

StatusFaveForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusFaveForbidden

func NewStatusFaveForbidden() *StatusFaveForbidden

NewStatusFaveForbidden creates a StatusFaveForbidden with default headers values

func (*StatusFaveForbidden) Code

func (o *StatusFaveForbidden) Code() int

Code gets the status code for the status fave forbidden response

func (*StatusFaveForbidden) Error

func (o *StatusFaveForbidden) Error() string

func (*StatusFaveForbidden) IsClientError

func (o *StatusFaveForbidden) IsClientError() bool

IsClientError returns true when this status fave forbidden response has a 4xx status code

func (*StatusFaveForbidden) IsCode

func (o *StatusFaveForbidden) IsCode(code int) bool

IsCode returns true when this status fave forbidden response a status code equal to that given

func (*StatusFaveForbidden) IsRedirect

func (o *StatusFaveForbidden) IsRedirect() bool

IsRedirect returns true when this status fave forbidden response has a 3xx status code

func (*StatusFaveForbidden) IsServerError

func (o *StatusFaveForbidden) IsServerError() bool

IsServerError returns true when this status fave forbidden response has a 5xx status code

func (*StatusFaveForbidden) IsSuccess

func (o *StatusFaveForbidden) IsSuccess() bool

IsSuccess returns true when this status fave forbidden response has a 2xx status code

func (*StatusFaveForbidden) String

func (o *StatusFaveForbidden) String() string

type StatusFaveInternalServerError

type StatusFaveInternalServerError struct {
}

StatusFaveInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusFaveInternalServerError

func NewStatusFaveInternalServerError() *StatusFaveInternalServerError

NewStatusFaveInternalServerError creates a StatusFaveInternalServerError with default headers values

func (*StatusFaveInternalServerError) Code

Code gets the status code for the status fave internal server error response

func (*StatusFaveInternalServerError) Error

func (*StatusFaveInternalServerError) IsClientError

func (o *StatusFaveInternalServerError) IsClientError() bool

IsClientError returns true when this status fave internal server error response has a 4xx status code

func (*StatusFaveInternalServerError) IsCode

func (o *StatusFaveInternalServerError) IsCode(code int) bool

IsCode returns true when this status fave internal server error response a status code equal to that given

func (*StatusFaveInternalServerError) IsRedirect

func (o *StatusFaveInternalServerError) IsRedirect() bool

IsRedirect returns true when this status fave internal server error response has a 3xx status code

func (*StatusFaveInternalServerError) IsServerError

func (o *StatusFaveInternalServerError) IsServerError() bool

IsServerError returns true when this status fave internal server error response has a 5xx status code

func (*StatusFaveInternalServerError) IsSuccess

func (o *StatusFaveInternalServerError) IsSuccess() bool

IsSuccess returns true when this status fave internal server error response has a 2xx status code

func (*StatusFaveInternalServerError) String

type StatusFaveNotAcceptable

type StatusFaveNotAcceptable struct {
}

StatusFaveNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusFaveNotAcceptable

func NewStatusFaveNotAcceptable() *StatusFaveNotAcceptable

NewStatusFaveNotAcceptable creates a StatusFaveNotAcceptable with default headers values

func (*StatusFaveNotAcceptable) Code

func (o *StatusFaveNotAcceptable) Code() int

Code gets the status code for the status fave not acceptable response

func (*StatusFaveNotAcceptable) Error

func (o *StatusFaveNotAcceptable) Error() string

func (*StatusFaveNotAcceptable) IsClientError

func (o *StatusFaveNotAcceptable) IsClientError() bool

IsClientError returns true when this status fave not acceptable response has a 4xx status code

func (*StatusFaveNotAcceptable) IsCode

func (o *StatusFaveNotAcceptable) IsCode(code int) bool

IsCode returns true when this status fave not acceptable response a status code equal to that given

func (*StatusFaveNotAcceptable) IsRedirect

func (o *StatusFaveNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status fave not acceptable response has a 3xx status code

func (*StatusFaveNotAcceptable) IsServerError

func (o *StatusFaveNotAcceptable) IsServerError() bool

IsServerError returns true when this status fave not acceptable response has a 5xx status code

func (*StatusFaveNotAcceptable) IsSuccess

func (o *StatusFaveNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status fave not acceptable response has a 2xx status code

func (*StatusFaveNotAcceptable) String

func (o *StatusFaveNotAcceptable) String() string

type StatusFaveNotFound

type StatusFaveNotFound struct {
}

StatusFaveNotFound describes a response with status code 404, with default header values.

not found

func NewStatusFaveNotFound

func NewStatusFaveNotFound() *StatusFaveNotFound

NewStatusFaveNotFound creates a StatusFaveNotFound with default headers values

func (*StatusFaveNotFound) Code

func (o *StatusFaveNotFound) Code() int

Code gets the status code for the status fave not found response

func (*StatusFaveNotFound) Error

func (o *StatusFaveNotFound) Error() string

func (*StatusFaveNotFound) IsClientError

func (o *StatusFaveNotFound) IsClientError() bool

IsClientError returns true when this status fave not found response has a 4xx status code

func (*StatusFaveNotFound) IsCode

func (o *StatusFaveNotFound) IsCode(code int) bool

IsCode returns true when this status fave not found response a status code equal to that given

func (*StatusFaveNotFound) IsRedirect

func (o *StatusFaveNotFound) IsRedirect() bool

IsRedirect returns true when this status fave not found response has a 3xx status code

func (*StatusFaveNotFound) IsServerError

func (o *StatusFaveNotFound) IsServerError() bool

IsServerError returns true when this status fave not found response has a 5xx status code

func (*StatusFaveNotFound) IsSuccess

func (o *StatusFaveNotFound) IsSuccess() bool

IsSuccess returns true when this status fave not found response has a 2xx status code

func (*StatusFaveNotFound) String

func (o *StatusFaveNotFound) String() string

type StatusFaveOK

type StatusFaveOK struct {
	Payload *models.Status
}

StatusFaveOK describes a response with status code 200, with default header values.

The newly faved status.

func NewStatusFaveOK

func NewStatusFaveOK() *StatusFaveOK

NewStatusFaveOK creates a StatusFaveOK with default headers values

func (*StatusFaveOK) Code

func (o *StatusFaveOK) Code() int

Code gets the status code for the status fave o k response

func (*StatusFaveOK) Error

func (o *StatusFaveOK) Error() string

func (*StatusFaveOK) GetPayload

func (o *StatusFaveOK) GetPayload() *models.Status

func (*StatusFaveOK) IsClientError

func (o *StatusFaveOK) IsClientError() bool

IsClientError returns true when this status fave o k response has a 4xx status code

func (*StatusFaveOK) IsCode

func (o *StatusFaveOK) IsCode(code int) bool

IsCode returns true when this status fave o k response a status code equal to that given

func (*StatusFaveOK) IsRedirect

func (o *StatusFaveOK) IsRedirect() bool

IsRedirect returns true when this status fave o k response has a 3xx status code

func (*StatusFaveOK) IsServerError

func (o *StatusFaveOK) IsServerError() bool

IsServerError returns true when this status fave o k response has a 5xx status code

func (*StatusFaveOK) IsSuccess

func (o *StatusFaveOK) IsSuccess() bool

IsSuccess returns true when this status fave o k response has a 2xx status code

func (*StatusFaveOK) String

func (o *StatusFaveOK) String() string

type StatusFaveParams

type StatusFaveParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusFaveParams contains all the parameters to send to the API endpoint

for the status fave operation.

Typically these are written to a http.Request.

func NewStatusFaveParams

func NewStatusFaveParams() *StatusFaveParams

NewStatusFaveParams creates a new StatusFaveParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusFaveParamsWithContext

func NewStatusFaveParamsWithContext(ctx context.Context) *StatusFaveParams

NewStatusFaveParamsWithContext creates a new StatusFaveParams object with the ability to set a context for a request.

func NewStatusFaveParamsWithHTTPClient

func NewStatusFaveParamsWithHTTPClient(client *http.Client) *StatusFaveParams

NewStatusFaveParamsWithHTTPClient creates a new StatusFaveParams object with the ability to set a custom HTTPClient for a request.

func NewStatusFaveParamsWithTimeout

func NewStatusFaveParamsWithTimeout(timeout time.Duration) *StatusFaveParams

NewStatusFaveParamsWithTimeout creates a new StatusFaveParams object with the ability to set a timeout on a request.

func (*StatusFaveParams) SetContext

func (o *StatusFaveParams) SetContext(ctx context.Context)

SetContext adds the context to the status fave params

func (*StatusFaveParams) SetDefaults

func (o *StatusFaveParams) SetDefaults()

SetDefaults hydrates default values in the status fave params (not the query body).

All values with no default are reset to their zero value.

func (*StatusFaveParams) SetHTTPClient

func (o *StatusFaveParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status fave params

func (*StatusFaveParams) SetID

func (o *StatusFaveParams) SetID(id string)

SetID adds the id to the status fave params

func (*StatusFaveParams) SetTimeout

func (o *StatusFaveParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status fave params

func (*StatusFaveParams) WithContext

func (o *StatusFaveParams) WithContext(ctx context.Context) *StatusFaveParams

WithContext adds the context to the status fave params

func (*StatusFaveParams) WithDefaults

func (o *StatusFaveParams) WithDefaults() *StatusFaveParams

WithDefaults hydrates default values in the status fave params (not the query body).

All values with no default are reset to their zero value.

func (*StatusFaveParams) WithHTTPClient

func (o *StatusFaveParams) WithHTTPClient(client *http.Client) *StatusFaveParams

WithHTTPClient adds the HTTPClient to the status fave params

func (*StatusFaveParams) WithID

func (o *StatusFaveParams) WithID(id string) *StatusFaveParams

WithID adds the id to the status fave params

func (*StatusFaveParams) WithTimeout

func (o *StatusFaveParams) WithTimeout(timeout time.Duration) *StatusFaveParams

WithTimeout adds the timeout to the status fave params

func (*StatusFaveParams) WriteToRequest

func (o *StatusFaveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusFaveReader

type StatusFaveReader struct {
	// contains filtered or unexported fields
}

StatusFaveReader is a Reader for the StatusFave structure.

func (*StatusFaveReader) ReadResponse

func (o *StatusFaveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusFaveUnauthorized

type StatusFaveUnauthorized struct {
}

StatusFaveUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusFaveUnauthorized

func NewStatusFaveUnauthorized() *StatusFaveUnauthorized

NewStatusFaveUnauthorized creates a StatusFaveUnauthorized with default headers values

func (*StatusFaveUnauthorized) Code

func (o *StatusFaveUnauthorized) Code() int

Code gets the status code for the status fave unauthorized response

func (*StatusFaveUnauthorized) Error

func (o *StatusFaveUnauthorized) Error() string

func (*StatusFaveUnauthorized) IsClientError

func (o *StatusFaveUnauthorized) IsClientError() bool

IsClientError returns true when this status fave unauthorized response has a 4xx status code

func (*StatusFaveUnauthorized) IsCode

func (o *StatusFaveUnauthorized) IsCode(code int) bool

IsCode returns true when this status fave unauthorized response a status code equal to that given

func (*StatusFaveUnauthorized) IsRedirect

func (o *StatusFaveUnauthorized) IsRedirect() bool

IsRedirect returns true when this status fave unauthorized response has a 3xx status code

func (*StatusFaveUnauthorized) IsServerError

func (o *StatusFaveUnauthorized) IsServerError() bool

IsServerError returns true when this status fave unauthorized response has a 5xx status code

func (*StatusFaveUnauthorized) IsSuccess

func (o *StatusFaveUnauthorized) IsSuccess() bool

IsSuccess returns true when this status fave unauthorized response has a 2xx status code

func (*StatusFaveUnauthorized) String

func (o *StatusFaveUnauthorized) String() string

type StatusFavedByBadRequest

type StatusFavedByBadRequest struct {
}

StatusFavedByBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusFavedByBadRequest

func NewStatusFavedByBadRequest() *StatusFavedByBadRequest

NewStatusFavedByBadRequest creates a StatusFavedByBadRequest with default headers values

func (*StatusFavedByBadRequest) Code

func (o *StatusFavedByBadRequest) Code() int

Code gets the status code for the status faved by bad request response

func (*StatusFavedByBadRequest) Error

func (o *StatusFavedByBadRequest) Error() string

func (*StatusFavedByBadRequest) IsClientError

func (o *StatusFavedByBadRequest) IsClientError() bool

IsClientError returns true when this status faved by bad request response has a 4xx status code

func (*StatusFavedByBadRequest) IsCode

func (o *StatusFavedByBadRequest) IsCode(code int) bool

IsCode returns true when this status faved by bad request response a status code equal to that given

func (*StatusFavedByBadRequest) IsRedirect

func (o *StatusFavedByBadRequest) IsRedirect() bool

IsRedirect returns true when this status faved by bad request response has a 3xx status code

func (*StatusFavedByBadRequest) IsServerError

func (o *StatusFavedByBadRequest) IsServerError() bool

IsServerError returns true when this status faved by bad request response has a 5xx status code

func (*StatusFavedByBadRequest) IsSuccess

func (o *StatusFavedByBadRequest) IsSuccess() bool

IsSuccess returns true when this status faved by bad request response has a 2xx status code

func (*StatusFavedByBadRequest) String

func (o *StatusFavedByBadRequest) String() string

type StatusFavedByForbidden

type StatusFavedByForbidden struct {
}

StatusFavedByForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusFavedByForbidden

func NewStatusFavedByForbidden() *StatusFavedByForbidden

NewStatusFavedByForbidden creates a StatusFavedByForbidden with default headers values

func (*StatusFavedByForbidden) Code

func (o *StatusFavedByForbidden) Code() int

Code gets the status code for the status faved by forbidden response

func (*StatusFavedByForbidden) Error

func (o *StatusFavedByForbidden) Error() string

func (*StatusFavedByForbidden) IsClientError

func (o *StatusFavedByForbidden) IsClientError() bool

IsClientError returns true when this status faved by forbidden response has a 4xx status code

func (*StatusFavedByForbidden) IsCode

func (o *StatusFavedByForbidden) IsCode(code int) bool

IsCode returns true when this status faved by forbidden response a status code equal to that given

func (*StatusFavedByForbidden) IsRedirect

func (o *StatusFavedByForbidden) IsRedirect() bool

IsRedirect returns true when this status faved by forbidden response has a 3xx status code

func (*StatusFavedByForbidden) IsServerError

func (o *StatusFavedByForbidden) IsServerError() bool

IsServerError returns true when this status faved by forbidden response has a 5xx status code

func (*StatusFavedByForbidden) IsSuccess

func (o *StatusFavedByForbidden) IsSuccess() bool

IsSuccess returns true when this status faved by forbidden response has a 2xx status code

func (*StatusFavedByForbidden) String

func (o *StatusFavedByForbidden) String() string

type StatusFavedByInternalServerError

type StatusFavedByInternalServerError struct {
}

StatusFavedByInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusFavedByInternalServerError

func NewStatusFavedByInternalServerError() *StatusFavedByInternalServerError

NewStatusFavedByInternalServerError creates a StatusFavedByInternalServerError with default headers values

func (*StatusFavedByInternalServerError) Code

Code gets the status code for the status faved by internal server error response

func (*StatusFavedByInternalServerError) Error

func (*StatusFavedByInternalServerError) IsClientError

func (o *StatusFavedByInternalServerError) IsClientError() bool

IsClientError returns true when this status faved by internal server error response has a 4xx status code

func (*StatusFavedByInternalServerError) IsCode

func (o *StatusFavedByInternalServerError) IsCode(code int) bool

IsCode returns true when this status faved by internal server error response a status code equal to that given

func (*StatusFavedByInternalServerError) IsRedirect

func (o *StatusFavedByInternalServerError) IsRedirect() bool

IsRedirect returns true when this status faved by internal server error response has a 3xx status code

func (*StatusFavedByInternalServerError) IsServerError

func (o *StatusFavedByInternalServerError) IsServerError() bool

IsServerError returns true when this status faved by internal server error response has a 5xx status code

func (*StatusFavedByInternalServerError) IsSuccess

func (o *StatusFavedByInternalServerError) IsSuccess() bool

IsSuccess returns true when this status faved by internal server error response has a 2xx status code

func (*StatusFavedByInternalServerError) String

type StatusFavedByNotAcceptable

type StatusFavedByNotAcceptable struct {
}

StatusFavedByNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusFavedByNotAcceptable

func NewStatusFavedByNotAcceptable() *StatusFavedByNotAcceptable

NewStatusFavedByNotAcceptable creates a StatusFavedByNotAcceptable with default headers values

func (*StatusFavedByNotAcceptable) Code

func (o *StatusFavedByNotAcceptable) Code() int

Code gets the status code for the status faved by not acceptable response

func (*StatusFavedByNotAcceptable) Error

func (*StatusFavedByNotAcceptable) IsClientError

func (o *StatusFavedByNotAcceptable) IsClientError() bool

IsClientError returns true when this status faved by not acceptable response has a 4xx status code

func (*StatusFavedByNotAcceptable) IsCode

func (o *StatusFavedByNotAcceptable) IsCode(code int) bool

IsCode returns true when this status faved by not acceptable response a status code equal to that given

func (*StatusFavedByNotAcceptable) IsRedirect

func (o *StatusFavedByNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status faved by not acceptable response has a 3xx status code

func (*StatusFavedByNotAcceptable) IsServerError

func (o *StatusFavedByNotAcceptable) IsServerError() bool

IsServerError returns true when this status faved by not acceptable response has a 5xx status code

func (*StatusFavedByNotAcceptable) IsSuccess

func (o *StatusFavedByNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status faved by not acceptable response has a 2xx status code

func (*StatusFavedByNotAcceptable) String

func (o *StatusFavedByNotAcceptable) String() string

type StatusFavedByNotFound

type StatusFavedByNotFound struct {
}

StatusFavedByNotFound describes a response with status code 404, with default header values.

not found

func NewStatusFavedByNotFound

func NewStatusFavedByNotFound() *StatusFavedByNotFound

NewStatusFavedByNotFound creates a StatusFavedByNotFound with default headers values

func (*StatusFavedByNotFound) Code

func (o *StatusFavedByNotFound) Code() int

Code gets the status code for the status faved by not found response

func (*StatusFavedByNotFound) Error

func (o *StatusFavedByNotFound) Error() string

func (*StatusFavedByNotFound) IsClientError

func (o *StatusFavedByNotFound) IsClientError() bool

IsClientError returns true when this status faved by not found response has a 4xx status code

func (*StatusFavedByNotFound) IsCode

func (o *StatusFavedByNotFound) IsCode(code int) bool

IsCode returns true when this status faved by not found response a status code equal to that given

func (*StatusFavedByNotFound) IsRedirect

func (o *StatusFavedByNotFound) IsRedirect() bool

IsRedirect returns true when this status faved by not found response has a 3xx status code

func (*StatusFavedByNotFound) IsServerError

func (o *StatusFavedByNotFound) IsServerError() bool

IsServerError returns true when this status faved by not found response has a 5xx status code

func (*StatusFavedByNotFound) IsSuccess

func (o *StatusFavedByNotFound) IsSuccess() bool

IsSuccess returns true when this status faved by not found response has a 2xx status code

func (*StatusFavedByNotFound) String

func (o *StatusFavedByNotFound) String() string

type StatusFavedByOK

type StatusFavedByOK struct {
	Payload []*models.Account
}

StatusFavedByOK describes a response with status code 200, with default header values.

StatusFavedByOK status faved by o k

func NewStatusFavedByOK

func NewStatusFavedByOK() *StatusFavedByOK

NewStatusFavedByOK creates a StatusFavedByOK with default headers values

func (*StatusFavedByOK) Code

func (o *StatusFavedByOK) Code() int

Code gets the status code for the status faved by o k response

func (*StatusFavedByOK) Error

func (o *StatusFavedByOK) Error() string

func (*StatusFavedByOK) GetPayload

func (o *StatusFavedByOK) GetPayload() []*models.Account

func (*StatusFavedByOK) IsClientError

func (o *StatusFavedByOK) IsClientError() bool

IsClientError returns true when this status faved by o k response has a 4xx status code

func (*StatusFavedByOK) IsCode

func (o *StatusFavedByOK) IsCode(code int) bool

IsCode returns true when this status faved by o k response a status code equal to that given

func (*StatusFavedByOK) IsRedirect

func (o *StatusFavedByOK) IsRedirect() bool

IsRedirect returns true when this status faved by o k response has a 3xx status code

func (*StatusFavedByOK) IsServerError

func (o *StatusFavedByOK) IsServerError() bool

IsServerError returns true when this status faved by o k response has a 5xx status code

func (*StatusFavedByOK) IsSuccess

func (o *StatusFavedByOK) IsSuccess() bool

IsSuccess returns true when this status faved by o k response has a 2xx status code

func (*StatusFavedByOK) String

func (o *StatusFavedByOK) String() string

type StatusFavedByParams

type StatusFavedByParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusFavedByParams contains all the parameters to send to the API endpoint

for the status faved by operation.

Typically these are written to a http.Request.

func NewStatusFavedByParams

func NewStatusFavedByParams() *StatusFavedByParams

NewStatusFavedByParams creates a new StatusFavedByParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusFavedByParamsWithContext

func NewStatusFavedByParamsWithContext(ctx context.Context) *StatusFavedByParams

NewStatusFavedByParamsWithContext creates a new StatusFavedByParams object with the ability to set a context for a request.

func NewStatusFavedByParamsWithHTTPClient

func NewStatusFavedByParamsWithHTTPClient(client *http.Client) *StatusFavedByParams

NewStatusFavedByParamsWithHTTPClient creates a new StatusFavedByParams object with the ability to set a custom HTTPClient for a request.

func NewStatusFavedByParamsWithTimeout

func NewStatusFavedByParamsWithTimeout(timeout time.Duration) *StatusFavedByParams

NewStatusFavedByParamsWithTimeout creates a new StatusFavedByParams object with the ability to set a timeout on a request.

func (*StatusFavedByParams) SetContext

func (o *StatusFavedByParams) SetContext(ctx context.Context)

SetContext adds the context to the status faved by params

func (*StatusFavedByParams) SetDefaults

func (o *StatusFavedByParams) SetDefaults()

SetDefaults hydrates default values in the status faved by params (not the query body).

All values with no default are reset to their zero value.

func (*StatusFavedByParams) SetHTTPClient

func (o *StatusFavedByParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status faved by params

func (*StatusFavedByParams) SetID

func (o *StatusFavedByParams) SetID(id string)

SetID adds the id to the status faved by params

func (*StatusFavedByParams) SetTimeout

func (o *StatusFavedByParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status faved by params

func (*StatusFavedByParams) WithContext

WithContext adds the context to the status faved by params

func (*StatusFavedByParams) WithDefaults

func (o *StatusFavedByParams) WithDefaults() *StatusFavedByParams

WithDefaults hydrates default values in the status faved by params (not the query body).

All values with no default are reset to their zero value.

func (*StatusFavedByParams) WithHTTPClient

func (o *StatusFavedByParams) WithHTTPClient(client *http.Client) *StatusFavedByParams

WithHTTPClient adds the HTTPClient to the status faved by params

func (*StatusFavedByParams) WithID

WithID adds the id to the status faved by params

func (*StatusFavedByParams) WithTimeout

func (o *StatusFavedByParams) WithTimeout(timeout time.Duration) *StatusFavedByParams

WithTimeout adds the timeout to the status faved by params

func (*StatusFavedByParams) WriteToRequest

func (o *StatusFavedByParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusFavedByReader

type StatusFavedByReader struct {
	// contains filtered or unexported fields
}

StatusFavedByReader is a Reader for the StatusFavedBy structure.

func (*StatusFavedByReader) ReadResponse

func (o *StatusFavedByReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusFavedByUnauthorized

type StatusFavedByUnauthorized struct {
}

StatusFavedByUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusFavedByUnauthorized

func NewStatusFavedByUnauthorized() *StatusFavedByUnauthorized

NewStatusFavedByUnauthorized creates a StatusFavedByUnauthorized with default headers values

func (*StatusFavedByUnauthorized) Code

func (o *StatusFavedByUnauthorized) Code() int

Code gets the status code for the status faved by unauthorized response

func (*StatusFavedByUnauthorized) Error

func (o *StatusFavedByUnauthorized) Error() string

func (*StatusFavedByUnauthorized) IsClientError

func (o *StatusFavedByUnauthorized) IsClientError() bool

IsClientError returns true when this status faved by unauthorized response has a 4xx status code

func (*StatusFavedByUnauthorized) IsCode

func (o *StatusFavedByUnauthorized) IsCode(code int) bool

IsCode returns true when this status faved by unauthorized response a status code equal to that given

func (*StatusFavedByUnauthorized) IsRedirect

func (o *StatusFavedByUnauthorized) IsRedirect() bool

IsRedirect returns true when this status faved by unauthorized response has a 3xx status code

func (*StatusFavedByUnauthorized) IsServerError

func (o *StatusFavedByUnauthorized) IsServerError() bool

IsServerError returns true when this status faved by unauthorized response has a 5xx status code

func (*StatusFavedByUnauthorized) IsSuccess

func (o *StatusFavedByUnauthorized) IsSuccess() bool

IsSuccess returns true when this status faved by unauthorized response has a 2xx status code

func (*StatusFavedByUnauthorized) String

func (o *StatusFavedByUnauthorized) String() string

type StatusGetBadRequest

type StatusGetBadRequest struct {
}

StatusGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusGetBadRequest

func NewStatusGetBadRequest() *StatusGetBadRequest

NewStatusGetBadRequest creates a StatusGetBadRequest with default headers values

func (*StatusGetBadRequest) Code

func (o *StatusGetBadRequest) Code() int

Code gets the status code for the status get bad request response

func (*StatusGetBadRequest) Error

func (o *StatusGetBadRequest) Error() string

func (*StatusGetBadRequest) IsClientError

func (o *StatusGetBadRequest) IsClientError() bool

IsClientError returns true when this status get bad request response has a 4xx status code

func (*StatusGetBadRequest) IsCode

func (o *StatusGetBadRequest) IsCode(code int) bool

IsCode returns true when this status get bad request response a status code equal to that given

func (*StatusGetBadRequest) IsRedirect

func (o *StatusGetBadRequest) IsRedirect() bool

IsRedirect returns true when this status get bad request response has a 3xx status code

func (*StatusGetBadRequest) IsServerError

func (o *StatusGetBadRequest) IsServerError() bool

IsServerError returns true when this status get bad request response has a 5xx status code

func (*StatusGetBadRequest) IsSuccess

func (o *StatusGetBadRequest) IsSuccess() bool

IsSuccess returns true when this status get bad request response has a 2xx status code

func (*StatusGetBadRequest) String

func (o *StatusGetBadRequest) String() string

type StatusGetForbidden

type StatusGetForbidden struct {
}

StatusGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusGetForbidden

func NewStatusGetForbidden() *StatusGetForbidden

NewStatusGetForbidden creates a StatusGetForbidden with default headers values

func (*StatusGetForbidden) Code

func (o *StatusGetForbidden) Code() int

Code gets the status code for the status get forbidden response

func (*StatusGetForbidden) Error

func (o *StatusGetForbidden) Error() string

func (*StatusGetForbidden) IsClientError

func (o *StatusGetForbidden) IsClientError() bool

IsClientError returns true when this status get forbidden response has a 4xx status code

func (*StatusGetForbidden) IsCode

func (o *StatusGetForbidden) IsCode(code int) bool

IsCode returns true when this status get forbidden response a status code equal to that given

func (*StatusGetForbidden) IsRedirect

func (o *StatusGetForbidden) IsRedirect() bool

IsRedirect returns true when this status get forbidden response has a 3xx status code

func (*StatusGetForbidden) IsServerError

func (o *StatusGetForbidden) IsServerError() bool

IsServerError returns true when this status get forbidden response has a 5xx status code

func (*StatusGetForbidden) IsSuccess

func (o *StatusGetForbidden) IsSuccess() bool

IsSuccess returns true when this status get forbidden response has a 2xx status code

func (*StatusGetForbidden) String

func (o *StatusGetForbidden) String() string

type StatusGetInternalServerError

type StatusGetInternalServerError struct {
}

StatusGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusGetInternalServerError

func NewStatusGetInternalServerError() *StatusGetInternalServerError

NewStatusGetInternalServerError creates a StatusGetInternalServerError with default headers values

func (*StatusGetInternalServerError) Code

Code gets the status code for the status get internal server error response

func (*StatusGetInternalServerError) Error

func (*StatusGetInternalServerError) IsClientError

func (o *StatusGetInternalServerError) IsClientError() bool

IsClientError returns true when this status get internal server error response has a 4xx status code

func (*StatusGetInternalServerError) IsCode

func (o *StatusGetInternalServerError) IsCode(code int) bool

IsCode returns true when this status get internal server error response a status code equal to that given

func (*StatusGetInternalServerError) IsRedirect

func (o *StatusGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this status get internal server error response has a 3xx status code

func (*StatusGetInternalServerError) IsServerError

func (o *StatusGetInternalServerError) IsServerError() bool

IsServerError returns true when this status get internal server error response has a 5xx status code

func (*StatusGetInternalServerError) IsSuccess

func (o *StatusGetInternalServerError) IsSuccess() bool

IsSuccess returns true when this status get internal server error response has a 2xx status code

func (*StatusGetInternalServerError) String

type StatusGetNotAcceptable

type StatusGetNotAcceptable struct {
}

StatusGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusGetNotAcceptable

func NewStatusGetNotAcceptable() *StatusGetNotAcceptable

NewStatusGetNotAcceptable creates a StatusGetNotAcceptable with default headers values

func (*StatusGetNotAcceptable) Code

func (o *StatusGetNotAcceptable) Code() int

Code gets the status code for the status get not acceptable response

func (*StatusGetNotAcceptable) Error

func (o *StatusGetNotAcceptable) Error() string

func (*StatusGetNotAcceptable) IsClientError

func (o *StatusGetNotAcceptable) IsClientError() bool

IsClientError returns true when this status get not acceptable response has a 4xx status code

func (*StatusGetNotAcceptable) IsCode

func (o *StatusGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this status get not acceptable response a status code equal to that given

func (*StatusGetNotAcceptable) IsRedirect

func (o *StatusGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status get not acceptable response has a 3xx status code

func (*StatusGetNotAcceptable) IsServerError

func (o *StatusGetNotAcceptable) IsServerError() bool

IsServerError returns true when this status get not acceptable response has a 5xx status code

func (*StatusGetNotAcceptable) IsSuccess

func (o *StatusGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status get not acceptable response has a 2xx status code

func (*StatusGetNotAcceptable) String

func (o *StatusGetNotAcceptable) String() string

type StatusGetNotFound

type StatusGetNotFound struct {
}

StatusGetNotFound describes a response with status code 404, with default header values.

not found

func NewStatusGetNotFound

func NewStatusGetNotFound() *StatusGetNotFound

NewStatusGetNotFound creates a StatusGetNotFound with default headers values

func (*StatusGetNotFound) Code

func (o *StatusGetNotFound) Code() int

Code gets the status code for the status get not found response

func (*StatusGetNotFound) Error

func (o *StatusGetNotFound) Error() string

func (*StatusGetNotFound) IsClientError

func (o *StatusGetNotFound) IsClientError() bool

IsClientError returns true when this status get not found response has a 4xx status code

func (*StatusGetNotFound) IsCode

func (o *StatusGetNotFound) IsCode(code int) bool

IsCode returns true when this status get not found response a status code equal to that given

func (*StatusGetNotFound) IsRedirect

func (o *StatusGetNotFound) IsRedirect() bool

IsRedirect returns true when this status get not found response has a 3xx status code

func (*StatusGetNotFound) IsServerError

func (o *StatusGetNotFound) IsServerError() bool

IsServerError returns true when this status get not found response has a 5xx status code

func (*StatusGetNotFound) IsSuccess

func (o *StatusGetNotFound) IsSuccess() bool

IsSuccess returns true when this status get not found response has a 2xx status code

func (*StatusGetNotFound) String

func (o *StatusGetNotFound) String() string

type StatusGetOK

type StatusGetOK struct {
	Payload *models.Status
}

StatusGetOK describes a response with status code 200, with default header values.

The requested status.

func NewStatusGetOK

func NewStatusGetOK() *StatusGetOK

NewStatusGetOK creates a StatusGetOK with default headers values

func (*StatusGetOK) Code

func (o *StatusGetOK) Code() int

Code gets the status code for the status get o k response

func (*StatusGetOK) Error

func (o *StatusGetOK) Error() string

func (*StatusGetOK) GetPayload

func (o *StatusGetOK) GetPayload() *models.Status

func (*StatusGetOK) IsClientError

func (o *StatusGetOK) IsClientError() bool

IsClientError returns true when this status get o k response has a 4xx status code

func (*StatusGetOK) IsCode

func (o *StatusGetOK) IsCode(code int) bool

IsCode returns true when this status get o k response a status code equal to that given

func (*StatusGetOK) IsRedirect

func (o *StatusGetOK) IsRedirect() bool

IsRedirect returns true when this status get o k response has a 3xx status code

func (*StatusGetOK) IsServerError

func (o *StatusGetOK) IsServerError() bool

IsServerError returns true when this status get o k response has a 5xx status code

func (*StatusGetOK) IsSuccess

func (o *StatusGetOK) IsSuccess() bool

IsSuccess returns true when this status get o k response has a 2xx status code

func (*StatusGetOK) String

func (o *StatusGetOK) String() string

type StatusGetParams

type StatusGetParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusGetParams contains all the parameters to send to the API endpoint

for the status get operation.

Typically these are written to a http.Request.

func NewStatusGetParams

func NewStatusGetParams() *StatusGetParams

NewStatusGetParams creates a new StatusGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusGetParamsWithContext

func NewStatusGetParamsWithContext(ctx context.Context) *StatusGetParams

NewStatusGetParamsWithContext creates a new StatusGetParams object with the ability to set a context for a request.

func NewStatusGetParamsWithHTTPClient

func NewStatusGetParamsWithHTTPClient(client *http.Client) *StatusGetParams

NewStatusGetParamsWithHTTPClient creates a new StatusGetParams object with the ability to set a custom HTTPClient for a request.

func NewStatusGetParamsWithTimeout

func NewStatusGetParamsWithTimeout(timeout time.Duration) *StatusGetParams

NewStatusGetParamsWithTimeout creates a new StatusGetParams object with the ability to set a timeout on a request.

func (*StatusGetParams) SetContext

func (o *StatusGetParams) SetContext(ctx context.Context)

SetContext adds the context to the status get params

func (*StatusGetParams) SetDefaults

func (o *StatusGetParams) SetDefaults()

SetDefaults hydrates default values in the status get params (not the query body).

All values with no default are reset to their zero value.

func (*StatusGetParams) SetHTTPClient

func (o *StatusGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status get params

func (*StatusGetParams) SetID

func (o *StatusGetParams) SetID(id string)

SetID adds the id to the status get params

func (*StatusGetParams) SetTimeout

func (o *StatusGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status get params

func (*StatusGetParams) WithContext

func (o *StatusGetParams) WithContext(ctx context.Context) *StatusGetParams

WithContext adds the context to the status get params

func (*StatusGetParams) WithDefaults

func (o *StatusGetParams) WithDefaults() *StatusGetParams

WithDefaults hydrates default values in the status get params (not the query body).

All values with no default are reset to their zero value.

func (*StatusGetParams) WithHTTPClient

func (o *StatusGetParams) WithHTTPClient(client *http.Client) *StatusGetParams

WithHTTPClient adds the HTTPClient to the status get params

func (*StatusGetParams) WithID

func (o *StatusGetParams) WithID(id string) *StatusGetParams

WithID adds the id to the status get params

func (*StatusGetParams) WithTimeout

func (o *StatusGetParams) WithTimeout(timeout time.Duration) *StatusGetParams

WithTimeout adds the timeout to the status get params

func (*StatusGetParams) WriteToRequest

func (o *StatusGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusGetReader

type StatusGetReader struct {
	// contains filtered or unexported fields
}

StatusGetReader is a Reader for the StatusGet structure.

func (*StatusGetReader) ReadResponse

func (o *StatusGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusGetUnauthorized

type StatusGetUnauthorized struct {
}

StatusGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusGetUnauthorized

func NewStatusGetUnauthorized() *StatusGetUnauthorized

NewStatusGetUnauthorized creates a StatusGetUnauthorized with default headers values

func (*StatusGetUnauthorized) Code

func (o *StatusGetUnauthorized) Code() int

Code gets the status code for the status get unauthorized response

func (*StatusGetUnauthorized) Error

func (o *StatusGetUnauthorized) Error() string

func (*StatusGetUnauthorized) IsClientError

func (o *StatusGetUnauthorized) IsClientError() bool

IsClientError returns true when this status get unauthorized response has a 4xx status code

func (*StatusGetUnauthorized) IsCode

func (o *StatusGetUnauthorized) IsCode(code int) bool

IsCode returns true when this status get unauthorized response a status code equal to that given

func (*StatusGetUnauthorized) IsRedirect

func (o *StatusGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this status get unauthorized response has a 3xx status code

func (*StatusGetUnauthorized) IsServerError

func (o *StatusGetUnauthorized) IsServerError() bool

IsServerError returns true when this status get unauthorized response has a 5xx status code

func (*StatusGetUnauthorized) IsSuccess

func (o *StatusGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this status get unauthorized response has a 2xx status code

func (*StatusGetUnauthorized) String

func (o *StatusGetUnauthorized) String() string

type StatusHistoryGetBadRequest

type StatusHistoryGetBadRequest struct {
}

StatusHistoryGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusHistoryGetBadRequest

func NewStatusHistoryGetBadRequest() *StatusHistoryGetBadRequest

NewStatusHistoryGetBadRequest creates a StatusHistoryGetBadRequest with default headers values

func (*StatusHistoryGetBadRequest) Code

func (o *StatusHistoryGetBadRequest) Code() int

Code gets the status code for the status history get bad request response

func (*StatusHistoryGetBadRequest) Error

func (*StatusHistoryGetBadRequest) IsClientError

func (o *StatusHistoryGetBadRequest) IsClientError() bool

IsClientError returns true when this status history get bad request response has a 4xx status code

func (*StatusHistoryGetBadRequest) IsCode

func (o *StatusHistoryGetBadRequest) IsCode(code int) bool

IsCode returns true when this status history get bad request response a status code equal to that given

func (*StatusHistoryGetBadRequest) IsRedirect

func (o *StatusHistoryGetBadRequest) IsRedirect() bool

IsRedirect returns true when this status history get bad request response has a 3xx status code

func (*StatusHistoryGetBadRequest) IsServerError

func (o *StatusHistoryGetBadRequest) IsServerError() bool

IsServerError returns true when this status history get bad request response has a 5xx status code

func (*StatusHistoryGetBadRequest) IsSuccess

func (o *StatusHistoryGetBadRequest) IsSuccess() bool

IsSuccess returns true when this status history get bad request response has a 2xx status code

func (*StatusHistoryGetBadRequest) String

func (o *StatusHistoryGetBadRequest) String() string

type StatusHistoryGetForbidden

type StatusHistoryGetForbidden struct {
}

StatusHistoryGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusHistoryGetForbidden

func NewStatusHistoryGetForbidden() *StatusHistoryGetForbidden

NewStatusHistoryGetForbidden creates a StatusHistoryGetForbidden with default headers values

func (*StatusHistoryGetForbidden) Code

func (o *StatusHistoryGetForbidden) Code() int

Code gets the status code for the status history get forbidden response

func (*StatusHistoryGetForbidden) Error

func (o *StatusHistoryGetForbidden) Error() string

func (*StatusHistoryGetForbidden) IsClientError

func (o *StatusHistoryGetForbidden) IsClientError() bool

IsClientError returns true when this status history get forbidden response has a 4xx status code

func (*StatusHistoryGetForbidden) IsCode

func (o *StatusHistoryGetForbidden) IsCode(code int) bool

IsCode returns true when this status history get forbidden response a status code equal to that given

func (*StatusHistoryGetForbidden) IsRedirect

func (o *StatusHistoryGetForbidden) IsRedirect() bool

IsRedirect returns true when this status history get forbidden response has a 3xx status code

func (*StatusHistoryGetForbidden) IsServerError

func (o *StatusHistoryGetForbidden) IsServerError() bool

IsServerError returns true when this status history get forbidden response has a 5xx status code

func (*StatusHistoryGetForbidden) IsSuccess

func (o *StatusHistoryGetForbidden) IsSuccess() bool

IsSuccess returns true when this status history get forbidden response has a 2xx status code

func (*StatusHistoryGetForbidden) String

func (o *StatusHistoryGetForbidden) String() string

type StatusHistoryGetInternalServerError

type StatusHistoryGetInternalServerError struct {
}

StatusHistoryGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusHistoryGetInternalServerError

func NewStatusHistoryGetInternalServerError() *StatusHistoryGetInternalServerError

NewStatusHistoryGetInternalServerError creates a StatusHistoryGetInternalServerError with default headers values

func (*StatusHistoryGetInternalServerError) Code

Code gets the status code for the status history get internal server error response

func (*StatusHistoryGetInternalServerError) Error

func (*StatusHistoryGetInternalServerError) IsClientError

func (o *StatusHistoryGetInternalServerError) IsClientError() bool

IsClientError returns true when this status history get internal server error response has a 4xx status code

func (*StatusHistoryGetInternalServerError) IsCode

IsCode returns true when this status history get internal server error response a status code equal to that given

func (*StatusHistoryGetInternalServerError) IsRedirect

func (o *StatusHistoryGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this status history get internal server error response has a 3xx status code

func (*StatusHistoryGetInternalServerError) IsServerError

func (o *StatusHistoryGetInternalServerError) IsServerError() bool

IsServerError returns true when this status history get internal server error response has a 5xx status code

func (*StatusHistoryGetInternalServerError) IsSuccess

IsSuccess returns true when this status history get internal server error response has a 2xx status code

func (*StatusHistoryGetInternalServerError) String

type StatusHistoryGetNotAcceptable

type StatusHistoryGetNotAcceptable struct {
}

StatusHistoryGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusHistoryGetNotAcceptable

func NewStatusHistoryGetNotAcceptable() *StatusHistoryGetNotAcceptable

NewStatusHistoryGetNotAcceptable creates a StatusHistoryGetNotAcceptable with default headers values

func (*StatusHistoryGetNotAcceptable) Code

Code gets the status code for the status history get not acceptable response

func (*StatusHistoryGetNotAcceptable) Error

func (*StatusHistoryGetNotAcceptable) IsClientError

func (o *StatusHistoryGetNotAcceptable) IsClientError() bool

IsClientError returns true when this status history get not acceptable response has a 4xx status code

func (*StatusHistoryGetNotAcceptable) IsCode

func (o *StatusHistoryGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this status history get not acceptable response a status code equal to that given

func (*StatusHistoryGetNotAcceptable) IsRedirect

func (o *StatusHistoryGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status history get not acceptable response has a 3xx status code

func (*StatusHistoryGetNotAcceptable) IsServerError

func (o *StatusHistoryGetNotAcceptable) IsServerError() bool

IsServerError returns true when this status history get not acceptable response has a 5xx status code

func (*StatusHistoryGetNotAcceptable) IsSuccess

func (o *StatusHistoryGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status history get not acceptable response has a 2xx status code

func (*StatusHistoryGetNotAcceptable) String

type StatusHistoryGetNotFound

type StatusHistoryGetNotFound struct {
}

StatusHistoryGetNotFound describes a response with status code 404, with default header values.

not found

func NewStatusHistoryGetNotFound

func NewStatusHistoryGetNotFound() *StatusHistoryGetNotFound

NewStatusHistoryGetNotFound creates a StatusHistoryGetNotFound with default headers values

func (*StatusHistoryGetNotFound) Code

func (o *StatusHistoryGetNotFound) Code() int

Code gets the status code for the status history get not found response

func (*StatusHistoryGetNotFound) Error

func (o *StatusHistoryGetNotFound) Error() string

func (*StatusHistoryGetNotFound) IsClientError

func (o *StatusHistoryGetNotFound) IsClientError() bool

IsClientError returns true when this status history get not found response has a 4xx status code

func (*StatusHistoryGetNotFound) IsCode

func (o *StatusHistoryGetNotFound) IsCode(code int) bool

IsCode returns true when this status history get not found response a status code equal to that given

func (*StatusHistoryGetNotFound) IsRedirect

func (o *StatusHistoryGetNotFound) IsRedirect() bool

IsRedirect returns true when this status history get not found response has a 3xx status code

func (*StatusHistoryGetNotFound) IsServerError

func (o *StatusHistoryGetNotFound) IsServerError() bool

IsServerError returns true when this status history get not found response has a 5xx status code

func (*StatusHistoryGetNotFound) IsSuccess

func (o *StatusHistoryGetNotFound) IsSuccess() bool

IsSuccess returns true when this status history get not found response has a 2xx status code

func (*StatusHistoryGetNotFound) String

func (o *StatusHistoryGetNotFound) String() string

type StatusHistoryGetOK

type StatusHistoryGetOK struct {
	Payload []*models.StatusEdit
}

StatusHistoryGetOK describes a response with status code 200, with default header values.

StatusHistoryGetOK status history get o k

func NewStatusHistoryGetOK

func NewStatusHistoryGetOK() *StatusHistoryGetOK

NewStatusHistoryGetOK creates a StatusHistoryGetOK with default headers values

func (*StatusHistoryGetOK) Code

func (o *StatusHistoryGetOK) Code() int

Code gets the status code for the status history get o k response

func (*StatusHistoryGetOK) Error

func (o *StatusHistoryGetOK) Error() string

func (*StatusHistoryGetOK) GetPayload

func (o *StatusHistoryGetOK) GetPayload() []*models.StatusEdit

func (*StatusHistoryGetOK) IsClientError

func (o *StatusHistoryGetOK) IsClientError() bool

IsClientError returns true when this status history get o k response has a 4xx status code

func (*StatusHistoryGetOK) IsCode

func (o *StatusHistoryGetOK) IsCode(code int) bool

IsCode returns true when this status history get o k response a status code equal to that given

func (*StatusHistoryGetOK) IsRedirect

func (o *StatusHistoryGetOK) IsRedirect() bool

IsRedirect returns true when this status history get o k response has a 3xx status code

func (*StatusHistoryGetOK) IsServerError

func (o *StatusHistoryGetOK) IsServerError() bool

IsServerError returns true when this status history get o k response has a 5xx status code

func (*StatusHistoryGetOK) IsSuccess

func (o *StatusHistoryGetOK) IsSuccess() bool

IsSuccess returns true when this status history get o k response has a 2xx status code

func (*StatusHistoryGetOK) String

func (o *StatusHistoryGetOK) String() string

type StatusHistoryGetParams

type StatusHistoryGetParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusHistoryGetParams contains all the parameters to send to the API endpoint

for the status history get operation.

Typically these are written to a http.Request.

func NewStatusHistoryGetParams

func NewStatusHistoryGetParams() *StatusHistoryGetParams

NewStatusHistoryGetParams creates a new StatusHistoryGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusHistoryGetParamsWithContext

func NewStatusHistoryGetParamsWithContext(ctx context.Context) *StatusHistoryGetParams

NewStatusHistoryGetParamsWithContext creates a new StatusHistoryGetParams object with the ability to set a context for a request.

func NewStatusHistoryGetParamsWithHTTPClient

func NewStatusHistoryGetParamsWithHTTPClient(client *http.Client) *StatusHistoryGetParams

NewStatusHistoryGetParamsWithHTTPClient creates a new StatusHistoryGetParams object with the ability to set a custom HTTPClient for a request.

func NewStatusHistoryGetParamsWithTimeout

func NewStatusHistoryGetParamsWithTimeout(timeout time.Duration) *StatusHistoryGetParams

NewStatusHistoryGetParamsWithTimeout creates a new StatusHistoryGetParams object with the ability to set a timeout on a request.

func (*StatusHistoryGetParams) SetContext

func (o *StatusHistoryGetParams) SetContext(ctx context.Context)

SetContext adds the context to the status history get params

func (*StatusHistoryGetParams) SetDefaults

func (o *StatusHistoryGetParams) SetDefaults()

SetDefaults hydrates default values in the status history get params (not the query body).

All values with no default are reset to their zero value.

func (*StatusHistoryGetParams) SetHTTPClient

func (o *StatusHistoryGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status history get params

func (*StatusHistoryGetParams) SetID

func (o *StatusHistoryGetParams) SetID(id string)

SetID adds the id to the status history get params

func (*StatusHistoryGetParams) SetTimeout

func (o *StatusHistoryGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status history get params

func (*StatusHistoryGetParams) WithContext

WithContext adds the context to the status history get params

func (*StatusHistoryGetParams) WithDefaults

WithDefaults hydrates default values in the status history get params (not the query body).

All values with no default are reset to their zero value.

func (*StatusHistoryGetParams) WithHTTPClient

func (o *StatusHistoryGetParams) WithHTTPClient(client *http.Client) *StatusHistoryGetParams

WithHTTPClient adds the HTTPClient to the status history get params

func (*StatusHistoryGetParams) WithID

WithID adds the id to the status history get params

func (*StatusHistoryGetParams) WithTimeout

WithTimeout adds the timeout to the status history get params

func (*StatusHistoryGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StatusHistoryGetReader

type StatusHistoryGetReader struct {
	// contains filtered or unexported fields
}

StatusHistoryGetReader is a Reader for the StatusHistoryGet structure.

func (*StatusHistoryGetReader) ReadResponse

func (o *StatusHistoryGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusHistoryGetUnauthorized

type StatusHistoryGetUnauthorized struct {
}

StatusHistoryGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusHistoryGetUnauthorized

func NewStatusHistoryGetUnauthorized() *StatusHistoryGetUnauthorized

NewStatusHistoryGetUnauthorized creates a StatusHistoryGetUnauthorized with default headers values

func (*StatusHistoryGetUnauthorized) Code

Code gets the status code for the status history get unauthorized response

func (*StatusHistoryGetUnauthorized) Error

func (*StatusHistoryGetUnauthorized) IsClientError

func (o *StatusHistoryGetUnauthorized) IsClientError() bool

IsClientError returns true when this status history get unauthorized response has a 4xx status code

func (*StatusHistoryGetUnauthorized) IsCode

func (o *StatusHistoryGetUnauthorized) IsCode(code int) bool

IsCode returns true when this status history get unauthorized response a status code equal to that given

func (*StatusHistoryGetUnauthorized) IsRedirect

func (o *StatusHistoryGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this status history get unauthorized response has a 3xx status code

func (*StatusHistoryGetUnauthorized) IsServerError

func (o *StatusHistoryGetUnauthorized) IsServerError() bool

IsServerError returns true when this status history get unauthorized response has a 5xx status code

func (*StatusHistoryGetUnauthorized) IsSuccess

func (o *StatusHistoryGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this status history get unauthorized response has a 2xx status code

func (*StatusHistoryGetUnauthorized) String

type StatusMuteBadRequest

type StatusMuteBadRequest struct {
}

StatusMuteBadRequest describes a response with status code 400, with default header values.

bad request; you're not part of the target status thread

func NewStatusMuteBadRequest

func NewStatusMuteBadRequest() *StatusMuteBadRequest

NewStatusMuteBadRequest creates a StatusMuteBadRequest with default headers values

func (*StatusMuteBadRequest) Code

func (o *StatusMuteBadRequest) Code() int

Code gets the status code for the status mute bad request response

func (*StatusMuteBadRequest) Error

func (o *StatusMuteBadRequest) Error() string

func (*StatusMuteBadRequest) IsClientError

func (o *StatusMuteBadRequest) IsClientError() bool

IsClientError returns true when this status mute bad request response has a 4xx status code

func (*StatusMuteBadRequest) IsCode

func (o *StatusMuteBadRequest) IsCode(code int) bool

IsCode returns true when this status mute bad request response a status code equal to that given

func (*StatusMuteBadRequest) IsRedirect

func (o *StatusMuteBadRequest) IsRedirect() bool

IsRedirect returns true when this status mute bad request response has a 3xx status code

func (*StatusMuteBadRequest) IsServerError

func (o *StatusMuteBadRequest) IsServerError() bool

IsServerError returns true when this status mute bad request response has a 5xx status code

func (*StatusMuteBadRequest) IsSuccess

func (o *StatusMuteBadRequest) IsSuccess() bool

IsSuccess returns true when this status mute bad request response has a 2xx status code

func (*StatusMuteBadRequest) String

func (o *StatusMuteBadRequest) String() string

type StatusMuteForbidden

type StatusMuteForbidden struct {
}

StatusMuteForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusMuteForbidden

func NewStatusMuteForbidden() *StatusMuteForbidden

NewStatusMuteForbidden creates a StatusMuteForbidden with default headers values

func (*StatusMuteForbidden) Code

func (o *StatusMuteForbidden) Code() int

Code gets the status code for the status mute forbidden response

func (*StatusMuteForbidden) Error

func (o *StatusMuteForbidden) Error() string

func (*StatusMuteForbidden) IsClientError

func (o *StatusMuteForbidden) IsClientError() bool

IsClientError returns true when this status mute forbidden response has a 4xx status code

func (*StatusMuteForbidden) IsCode

func (o *StatusMuteForbidden) IsCode(code int) bool

IsCode returns true when this status mute forbidden response a status code equal to that given

func (*StatusMuteForbidden) IsRedirect

func (o *StatusMuteForbidden) IsRedirect() bool

IsRedirect returns true when this status mute forbidden response has a 3xx status code

func (*StatusMuteForbidden) IsServerError

func (o *StatusMuteForbidden) IsServerError() bool

IsServerError returns true when this status mute forbidden response has a 5xx status code

func (*StatusMuteForbidden) IsSuccess

func (o *StatusMuteForbidden) IsSuccess() bool

IsSuccess returns true when this status mute forbidden response has a 2xx status code

func (*StatusMuteForbidden) String

func (o *StatusMuteForbidden) String() string

type StatusMuteInternalServerError

type StatusMuteInternalServerError struct {
}

StatusMuteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusMuteInternalServerError

func NewStatusMuteInternalServerError() *StatusMuteInternalServerError

NewStatusMuteInternalServerError creates a StatusMuteInternalServerError with default headers values

func (*StatusMuteInternalServerError) Code

Code gets the status code for the status mute internal server error response

func (*StatusMuteInternalServerError) Error

func (*StatusMuteInternalServerError) IsClientError

func (o *StatusMuteInternalServerError) IsClientError() bool

IsClientError returns true when this status mute internal server error response has a 4xx status code

func (*StatusMuteInternalServerError) IsCode

func (o *StatusMuteInternalServerError) IsCode(code int) bool

IsCode returns true when this status mute internal server error response a status code equal to that given

func (*StatusMuteInternalServerError) IsRedirect

func (o *StatusMuteInternalServerError) IsRedirect() bool

IsRedirect returns true when this status mute internal server error response has a 3xx status code

func (*StatusMuteInternalServerError) IsServerError

func (o *StatusMuteInternalServerError) IsServerError() bool

IsServerError returns true when this status mute internal server error response has a 5xx status code

func (*StatusMuteInternalServerError) IsSuccess

func (o *StatusMuteInternalServerError) IsSuccess() bool

IsSuccess returns true when this status mute internal server error response has a 2xx status code

func (*StatusMuteInternalServerError) String

type StatusMuteNotAcceptable

type StatusMuteNotAcceptable struct {
}

StatusMuteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusMuteNotAcceptable

func NewStatusMuteNotAcceptable() *StatusMuteNotAcceptable

NewStatusMuteNotAcceptable creates a StatusMuteNotAcceptable with default headers values

func (*StatusMuteNotAcceptable) Code

func (o *StatusMuteNotAcceptable) Code() int

Code gets the status code for the status mute not acceptable response

func (*StatusMuteNotAcceptable) Error

func (o *StatusMuteNotAcceptable) Error() string

func (*StatusMuteNotAcceptable) IsClientError

func (o *StatusMuteNotAcceptable) IsClientError() bool

IsClientError returns true when this status mute not acceptable response has a 4xx status code

func (*StatusMuteNotAcceptable) IsCode

func (o *StatusMuteNotAcceptable) IsCode(code int) bool

IsCode returns true when this status mute not acceptable response a status code equal to that given

func (*StatusMuteNotAcceptable) IsRedirect

func (o *StatusMuteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status mute not acceptable response has a 3xx status code

func (*StatusMuteNotAcceptable) IsServerError

func (o *StatusMuteNotAcceptable) IsServerError() bool

IsServerError returns true when this status mute not acceptable response has a 5xx status code

func (*StatusMuteNotAcceptable) IsSuccess

func (o *StatusMuteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status mute not acceptable response has a 2xx status code

func (*StatusMuteNotAcceptable) String

func (o *StatusMuteNotAcceptable) String() string

type StatusMuteNotFound

type StatusMuteNotFound struct {
}

StatusMuteNotFound describes a response with status code 404, with default header values.

not found

func NewStatusMuteNotFound

func NewStatusMuteNotFound() *StatusMuteNotFound

NewStatusMuteNotFound creates a StatusMuteNotFound with default headers values

func (*StatusMuteNotFound) Code

func (o *StatusMuteNotFound) Code() int

Code gets the status code for the status mute not found response

func (*StatusMuteNotFound) Error

func (o *StatusMuteNotFound) Error() string

func (*StatusMuteNotFound) IsClientError

func (o *StatusMuteNotFound) IsClientError() bool

IsClientError returns true when this status mute not found response has a 4xx status code

func (*StatusMuteNotFound) IsCode

func (o *StatusMuteNotFound) IsCode(code int) bool

IsCode returns true when this status mute not found response a status code equal to that given

func (*StatusMuteNotFound) IsRedirect

func (o *StatusMuteNotFound) IsRedirect() bool

IsRedirect returns true when this status mute not found response has a 3xx status code

func (*StatusMuteNotFound) IsServerError

func (o *StatusMuteNotFound) IsServerError() bool

IsServerError returns true when this status mute not found response has a 5xx status code

func (*StatusMuteNotFound) IsSuccess

func (o *StatusMuteNotFound) IsSuccess() bool

IsSuccess returns true when this status mute not found response has a 2xx status code

func (*StatusMuteNotFound) String

func (o *StatusMuteNotFound) String() string

type StatusMuteOK

type StatusMuteOK struct {
	Payload *models.Status
}

StatusMuteOK describes a response with status code 200, with default header values.

The now-muted status.

func NewStatusMuteOK

func NewStatusMuteOK() *StatusMuteOK

NewStatusMuteOK creates a StatusMuteOK with default headers values

func (*StatusMuteOK) Code

func (o *StatusMuteOK) Code() int

Code gets the status code for the status mute o k response

func (*StatusMuteOK) Error

func (o *StatusMuteOK) Error() string

func (*StatusMuteOK) GetPayload

func (o *StatusMuteOK) GetPayload() *models.Status

func (*StatusMuteOK) IsClientError

func (o *StatusMuteOK) IsClientError() bool

IsClientError returns true when this status mute o k response has a 4xx status code

func (*StatusMuteOK) IsCode

func (o *StatusMuteOK) IsCode(code int) bool

IsCode returns true when this status mute o k response a status code equal to that given

func (*StatusMuteOK) IsRedirect

func (o *StatusMuteOK) IsRedirect() bool

IsRedirect returns true when this status mute o k response has a 3xx status code

func (*StatusMuteOK) IsServerError

func (o *StatusMuteOK) IsServerError() bool

IsServerError returns true when this status mute o k response has a 5xx status code

func (*StatusMuteOK) IsSuccess

func (o *StatusMuteOK) IsSuccess() bool

IsSuccess returns true when this status mute o k response has a 2xx status code

func (*StatusMuteOK) String

func (o *StatusMuteOK) String() string

type StatusMuteParams

type StatusMuteParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusMuteParams contains all the parameters to send to the API endpoint

for the status mute operation.

Typically these are written to a http.Request.

func NewStatusMuteParams

func NewStatusMuteParams() *StatusMuteParams

NewStatusMuteParams creates a new StatusMuteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusMuteParamsWithContext

func NewStatusMuteParamsWithContext(ctx context.Context) *StatusMuteParams

NewStatusMuteParamsWithContext creates a new StatusMuteParams object with the ability to set a context for a request.

func NewStatusMuteParamsWithHTTPClient

func NewStatusMuteParamsWithHTTPClient(client *http.Client) *StatusMuteParams

NewStatusMuteParamsWithHTTPClient creates a new StatusMuteParams object with the ability to set a custom HTTPClient for a request.

func NewStatusMuteParamsWithTimeout

func NewStatusMuteParamsWithTimeout(timeout time.Duration) *StatusMuteParams

NewStatusMuteParamsWithTimeout creates a new StatusMuteParams object with the ability to set a timeout on a request.

func (*StatusMuteParams) SetContext

func (o *StatusMuteParams) SetContext(ctx context.Context)

SetContext adds the context to the status mute params

func (*StatusMuteParams) SetDefaults

func (o *StatusMuteParams) SetDefaults()

SetDefaults hydrates default values in the status mute params (not the query body).

All values with no default are reset to their zero value.

func (*StatusMuteParams) SetHTTPClient

func (o *StatusMuteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status mute params

func (*StatusMuteParams) SetID

func (o *StatusMuteParams) SetID(id string)

SetID adds the id to the status mute params

func (*StatusMuteParams) SetTimeout

func (o *StatusMuteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status mute params

func (*StatusMuteParams) WithContext

func (o *StatusMuteParams) WithContext(ctx context.Context) *StatusMuteParams

WithContext adds the context to the status mute params

func (*StatusMuteParams) WithDefaults

func (o *StatusMuteParams) WithDefaults() *StatusMuteParams

WithDefaults hydrates default values in the status mute params (not the query body).

All values with no default are reset to their zero value.

func (*StatusMuteParams) WithHTTPClient

func (o *StatusMuteParams) WithHTTPClient(client *http.Client) *StatusMuteParams

WithHTTPClient adds the HTTPClient to the status mute params

func (*StatusMuteParams) WithID

func (o *StatusMuteParams) WithID(id string) *StatusMuteParams

WithID adds the id to the status mute params

func (*StatusMuteParams) WithTimeout

func (o *StatusMuteParams) WithTimeout(timeout time.Duration) *StatusMuteParams

WithTimeout adds the timeout to the status mute params

func (*StatusMuteParams) WriteToRequest

func (o *StatusMuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusMuteReader

type StatusMuteReader struct {
	// contains filtered or unexported fields
}

StatusMuteReader is a Reader for the StatusMute structure.

func (*StatusMuteReader) ReadResponse

func (o *StatusMuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusMuteUnauthorized

type StatusMuteUnauthorized struct {
}

StatusMuteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusMuteUnauthorized

func NewStatusMuteUnauthorized() *StatusMuteUnauthorized

NewStatusMuteUnauthorized creates a StatusMuteUnauthorized with default headers values

func (*StatusMuteUnauthorized) Code

func (o *StatusMuteUnauthorized) Code() int

Code gets the status code for the status mute unauthorized response

func (*StatusMuteUnauthorized) Error

func (o *StatusMuteUnauthorized) Error() string

func (*StatusMuteUnauthorized) IsClientError

func (o *StatusMuteUnauthorized) IsClientError() bool

IsClientError returns true when this status mute unauthorized response has a 4xx status code

func (*StatusMuteUnauthorized) IsCode

func (o *StatusMuteUnauthorized) IsCode(code int) bool

IsCode returns true when this status mute unauthorized response a status code equal to that given

func (*StatusMuteUnauthorized) IsRedirect

func (o *StatusMuteUnauthorized) IsRedirect() bool

IsRedirect returns true when this status mute unauthorized response has a 3xx status code

func (*StatusMuteUnauthorized) IsServerError

func (o *StatusMuteUnauthorized) IsServerError() bool

IsServerError returns true when this status mute unauthorized response has a 5xx status code

func (*StatusMuteUnauthorized) IsSuccess

func (o *StatusMuteUnauthorized) IsSuccess() bool

IsSuccess returns true when this status mute unauthorized response has a 2xx status code

func (*StatusMuteUnauthorized) String

func (o *StatusMuteUnauthorized) String() string

type StatusPinBadRequest

type StatusPinBadRequest struct {
}

StatusPinBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusPinBadRequest

func NewStatusPinBadRequest() *StatusPinBadRequest

NewStatusPinBadRequest creates a StatusPinBadRequest with default headers values

func (*StatusPinBadRequest) Code

func (o *StatusPinBadRequest) Code() int

Code gets the status code for the status pin bad request response

func (*StatusPinBadRequest) Error

func (o *StatusPinBadRequest) Error() string

func (*StatusPinBadRequest) IsClientError

func (o *StatusPinBadRequest) IsClientError() bool

IsClientError returns true when this status pin bad request response has a 4xx status code

func (*StatusPinBadRequest) IsCode

func (o *StatusPinBadRequest) IsCode(code int) bool

IsCode returns true when this status pin bad request response a status code equal to that given

func (*StatusPinBadRequest) IsRedirect

func (o *StatusPinBadRequest) IsRedirect() bool

IsRedirect returns true when this status pin bad request response has a 3xx status code

func (*StatusPinBadRequest) IsServerError

func (o *StatusPinBadRequest) IsServerError() bool

IsServerError returns true when this status pin bad request response has a 5xx status code

func (*StatusPinBadRequest) IsSuccess

func (o *StatusPinBadRequest) IsSuccess() bool

IsSuccess returns true when this status pin bad request response has a 2xx status code

func (*StatusPinBadRequest) String

func (o *StatusPinBadRequest) String() string

type StatusPinForbidden

type StatusPinForbidden struct {
}

StatusPinForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusPinForbidden

func NewStatusPinForbidden() *StatusPinForbidden

NewStatusPinForbidden creates a StatusPinForbidden with default headers values

func (*StatusPinForbidden) Code

func (o *StatusPinForbidden) Code() int

Code gets the status code for the status pin forbidden response

func (*StatusPinForbidden) Error

func (o *StatusPinForbidden) Error() string

func (*StatusPinForbidden) IsClientError

func (o *StatusPinForbidden) IsClientError() bool

IsClientError returns true when this status pin forbidden response has a 4xx status code

func (*StatusPinForbidden) IsCode

func (o *StatusPinForbidden) IsCode(code int) bool

IsCode returns true when this status pin forbidden response a status code equal to that given

func (*StatusPinForbidden) IsRedirect

func (o *StatusPinForbidden) IsRedirect() bool

IsRedirect returns true when this status pin forbidden response has a 3xx status code

func (*StatusPinForbidden) IsServerError

func (o *StatusPinForbidden) IsServerError() bool

IsServerError returns true when this status pin forbidden response has a 5xx status code

func (*StatusPinForbidden) IsSuccess

func (o *StatusPinForbidden) IsSuccess() bool

IsSuccess returns true when this status pin forbidden response has a 2xx status code

func (*StatusPinForbidden) String

func (o *StatusPinForbidden) String() string

type StatusPinInternalServerError

type StatusPinInternalServerError struct {
}

StatusPinInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusPinInternalServerError

func NewStatusPinInternalServerError() *StatusPinInternalServerError

NewStatusPinInternalServerError creates a StatusPinInternalServerError with default headers values

func (*StatusPinInternalServerError) Code

Code gets the status code for the status pin internal server error response

func (*StatusPinInternalServerError) Error

func (*StatusPinInternalServerError) IsClientError

func (o *StatusPinInternalServerError) IsClientError() bool

IsClientError returns true when this status pin internal server error response has a 4xx status code

func (*StatusPinInternalServerError) IsCode

func (o *StatusPinInternalServerError) IsCode(code int) bool

IsCode returns true when this status pin internal server error response a status code equal to that given

func (*StatusPinInternalServerError) IsRedirect

func (o *StatusPinInternalServerError) IsRedirect() bool

IsRedirect returns true when this status pin internal server error response has a 3xx status code

func (*StatusPinInternalServerError) IsServerError

func (o *StatusPinInternalServerError) IsServerError() bool

IsServerError returns true when this status pin internal server error response has a 5xx status code

func (*StatusPinInternalServerError) IsSuccess

func (o *StatusPinInternalServerError) IsSuccess() bool

IsSuccess returns true when this status pin internal server error response has a 2xx status code

func (*StatusPinInternalServerError) String

type StatusPinNotAcceptable

type StatusPinNotAcceptable struct {
}

StatusPinNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusPinNotAcceptable

func NewStatusPinNotAcceptable() *StatusPinNotAcceptable

NewStatusPinNotAcceptable creates a StatusPinNotAcceptable with default headers values

func (*StatusPinNotAcceptable) Code

func (o *StatusPinNotAcceptable) Code() int

Code gets the status code for the status pin not acceptable response

func (*StatusPinNotAcceptable) Error

func (o *StatusPinNotAcceptable) Error() string

func (*StatusPinNotAcceptable) IsClientError

func (o *StatusPinNotAcceptable) IsClientError() bool

IsClientError returns true when this status pin not acceptable response has a 4xx status code

func (*StatusPinNotAcceptable) IsCode

func (o *StatusPinNotAcceptable) IsCode(code int) bool

IsCode returns true when this status pin not acceptable response a status code equal to that given

func (*StatusPinNotAcceptable) IsRedirect

func (o *StatusPinNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status pin not acceptable response has a 3xx status code

func (*StatusPinNotAcceptable) IsServerError

func (o *StatusPinNotAcceptable) IsServerError() bool

IsServerError returns true when this status pin not acceptable response has a 5xx status code

func (*StatusPinNotAcceptable) IsSuccess

func (o *StatusPinNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status pin not acceptable response has a 2xx status code

func (*StatusPinNotAcceptable) String

func (o *StatusPinNotAcceptable) String() string

type StatusPinNotFound

type StatusPinNotFound struct {
}

StatusPinNotFound describes a response with status code 404, with default header values.

not found

func NewStatusPinNotFound

func NewStatusPinNotFound() *StatusPinNotFound

NewStatusPinNotFound creates a StatusPinNotFound with default headers values

func (*StatusPinNotFound) Code

func (o *StatusPinNotFound) Code() int

Code gets the status code for the status pin not found response

func (*StatusPinNotFound) Error

func (o *StatusPinNotFound) Error() string

func (*StatusPinNotFound) IsClientError

func (o *StatusPinNotFound) IsClientError() bool

IsClientError returns true when this status pin not found response has a 4xx status code

func (*StatusPinNotFound) IsCode

func (o *StatusPinNotFound) IsCode(code int) bool

IsCode returns true when this status pin not found response a status code equal to that given

func (*StatusPinNotFound) IsRedirect

func (o *StatusPinNotFound) IsRedirect() bool

IsRedirect returns true when this status pin not found response has a 3xx status code

func (*StatusPinNotFound) IsServerError

func (o *StatusPinNotFound) IsServerError() bool

IsServerError returns true when this status pin not found response has a 5xx status code

func (*StatusPinNotFound) IsSuccess

func (o *StatusPinNotFound) IsSuccess() bool

IsSuccess returns true when this status pin not found response has a 2xx status code

func (*StatusPinNotFound) String

func (o *StatusPinNotFound) String() string

type StatusPinOK

type StatusPinOK struct {
	Payload *models.Status
}

StatusPinOK describes a response with status code 200, with default header values.

The status.

func NewStatusPinOK

func NewStatusPinOK() *StatusPinOK

NewStatusPinOK creates a StatusPinOK with default headers values

func (*StatusPinOK) Code

func (o *StatusPinOK) Code() int

Code gets the status code for the status pin o k response

func (*StatusPinOK) Error

func (o *StatusPinOK) Error() string

func (*StatusPinOK) GetPayload

func (o *StatusPinOK) GetPayload() *models.Status

func (*StatusPinOK) IsClientError

func (o *StatusPinOK) IsClientError() bool

IsClientError returns true when this status pin o k response has a 4xx status code

func (*StatusPinOK) IsCode

func (o *StatusPinOK) IsCode(code int) bool

IsCode returns true when this status pin o k response a status code equal to that given

func (*StatusPinOK) IsRedirect

func (o *StatusPinOK) IsRedirect() bool

IsRedirect returns true when this status pin o k response has a 3xx status code

func (*StatusPinOK) IsServerError

func (o *StatusPinOK) IsServerError() bool

IsServerError returns true when this status pin o k response has a 5xx status code

func (*StatusPinOK) IsSuccess

func (o *StatusPinOK) IsSuccess() bool

IsSuccess returns true when this status pin o k response has a 2xx status code

func (*StatusPinOK) String

func (o *StatusPinOK) String() string

type StatusPinParams

type StatusPinParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusPinParams contains all the parameters to send to the API endpoint

for the status pin operation.

Typically these are written to a http.Request.

func NewStatusPinParams

func NewStatusPinParams() *StatusPinParams

NewStatusPinParams creates a new StatusPinParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusPinParamsWithContext

func NewStatusPinParamsWithContext(ctx context.Context) *StatusPinParams

NewStatusPinParamsWithContext creates a new StatusPinParams object with the ability to set a context for a request.

func NewStatusPinParamsWithHTTPClient

func NewStatusPinParamsWithHTTPClient(client *http.Client) *StatusPinParams

NewStatusPinParamsWithHTTPClient creates a new StatusPinParams object with the ability to set a custom HTTPClient for a request.

func NewStatusPinParamsWithTimeout

func NewStatusPinParamsWithTimeout(timeout time.Duration) *StatusPinParams

NewStatusPinParamsWithTimeout creates a new StatusPinParams object with the ability to set a timeout on a request.

func (*StatusPinParams) SetContext

func (o *StatusPinParams) SetContext(ctx context.Context)

SetContext adds the context to the status pin params

func (*StatusPinParams) SetDefaults

func (o *StatusPinParams) SetDefaults()

SetDefaults hydrates default values in the status pin params (not the query body).

All values with no default are reset to their zero value.

func (*StatusPinParams) SetHTTPClient

func (o *StatusPinParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status pin params

func (*StatusPinParams) SetID

func (o *StatusPinParams) SetID(id string)

SetID adds the id to the status pin params

func (*StatusPinParams) SetTimeout

func (o *StatusPinParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status pin params

func (*StatusPinParams) WithContext

func (o *StatusPinParams) WithContext(ctx context.Context) *StatusPinParams

WithContext adds the context to the status pin params

func (*StatusPinParams) WithDefaults

func (o *StatusPinParams) WithDefaults() *StatusPinParams

WithDefaults hydrates default values in the status pin params (not the query body).

All values with no default are reset to their zero value.

func (*StatusPinParams) WithHTTPClient

func (o *StatusPinParams) WithHTTPClient(client *http.Client) *StatusPinParams

WithHTTPClient adds the HTTPClient to the status pin params

func (*StatusPinParams) WithID

func (o *StatusPinParams) WithID(id string) *StatusPinParams

WithID adds the id to the status pin params

func (*StatusPinParams) WithTimeout

func (o *StatusPinParams) WithTimeout(timeout time.Duration) *StatusPinParams

WithTimeout adds the timeout to the status pin params

func (*StatusPinParams) WriteToRequest

func (o *StatusPinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusPinReader

type StatusPinReader struct {
	// contains filtered or unexported fields
}

StatusPinReader is a Reader for the StatusPin structure.

func (*StatusPinReader) ReadResponse

func (o *StatusPinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusPinUnauthorized

type StatusPinUnauthorized struct {
}

StatusPinUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusPinUnauthorized

func NewStatusPinUnauthorized() *StatusPinUnauthorized

NewStatusPinUnauthorized creates a StatusPinUnauthorized with default headers values

func (*StatusPinUnauthorized) Code

func (o *StatusPinUnauthorized) Code() int

Code gets the status code for the status pin unauthorized response

func (*StatusPinUnauthorized) Error

func (o *StatusPinUnauthorized) Error() string

func (*StatusPinUnauthorized) IsClientError

func (o *StatusPinUnauthorized) IsClientError() bool

IsClientError returns true when this status pin unauthorized response has a 4xx status code

func (*StatusPinUnauthorized) IsCode

func (o *StatusPinUnauthorized) IsCode(code int) bool

IsCode returns true when this status pin unauthorized response a status code equal to that given

func (*StatusPinUnauthorized) IsRedirect

func (o *StatusPinUnauthorized) IsRedirect() bool

IsRedirect returns true when this status pin unauthorized response has a 3xx status code

func (*StatusPinUnauthorized) IsServerError

func (o *StatusPinUnauthorized) IsServerError() bool

IsServerError returns true when this status pin unauthorized response has a 5xx status code

func (*StatusPinUnauthorized) IsSuccess

func (o *StatusPinUnauthorized) IsSuccess() bool

IsSuccess returns true when this status pin unauthorized response has a 2xx status code

func (*StatusPinUnauthorized) String

func (o *StatusPinUnauthorized) String() string

type StatusReblogBadRequest

type StatusReblogBadRequest struct {
}

StatusReblogBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusReblogBadRequest

func NewStatusReblogBadRequest() *StatusReblogBadRequest

NewStatusReblogBadRequest creates a StatusReblogBadRequest with default headers values

func (*StatusReblogBadRequest) Code

func (o *StatusReblogBadRequest) Code() int

Code gets the status code for the status reblog bad request response

func (*StatusReblogBadRequest) Error

func (o *StatusReblogBadRequest) Error() string

func (*StatusReblogBadRequest) IsClientError

func (o *StatusReblogBadRequest) IsClientError() bool

IsClientError returns true when this status reblog bad request response has a 4xx status code

func (*StatusReblogBadRequest) IsCode

func (o *StatusReblogBadRequest) IsCode(code int) bool

IsCode returns true when this status reblog bad request response a status code equal to that given

func (*StatusReblogBadRequest) IsRedirect

func (o *StatusReblogBadRequest) IsRedirect() bool

IsRedirect returns true when this status reblog bad request response has a 3xx status code

func (*StatusReblogBadRequest) IsServerError

func (o *StatusReblogBadRequest) IsServerError() bool

IsServerError returns true when this status reblog bad request response has a 5xx status code

func (*StatusReblogBadRequest) IsSuccess

func (o *StatusReblogBadRequest) IsSuccess() bool

IsSuccess returns true when this status reblog bad request response has a 2xx status code

func (*StatusReblogBadRequest) String

func (o *StatusReblogBadRequest) String() string

type StatusReblogForbidden

type StatusReblogForbidden struct {
}

StatusReblogForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusReblogForbidden

func NewStatusReblogForbidden() *StatusReblogForbidden

NewStatusReblogForbidden creates a StatusReblogForbidden with default headers values

func (*StatusReblogForbidden) Code

func (o *StatusReblogForbidden) Code() int

Code gets the status code for the status reblog forbidden response

func (*StatusReblogForbidden) Error

func (o *StatusReblogForbidden) Error() string

func (*StatusReblogForbidden) IsClientError

func (o *StatusReblogForbidden) IsClientError() bool

IsClientError returns true when this status reblog forbidden response has a 4xx status code

func (*StatusReblogForbidden) IsCode

func (o *StatusReblogForbidden) IsCode(code int) bool

IsCode returns true when this status reblog forbidden response a status code equal to that given

func (*StatusReblogForbidden) IsRedirect

func (o *StatusReblogForbidden) IsRedirect() bool

IsRedirect returns true when this status reblog forbidden response has a 3xx status code

func (*StatusReblogForbidden) IsServerError

func (o *StatusReblogForbidden) IsServerError() bool

IsServerError returns true when this status reblog forbidden response has a 5xx status code

func (*StatusReblogForbidden) IsSuccess

func (o *StatusReblogForbidden) IsSuccess() bool

IsSuccess returns true when this status reblog forbidden response has a 2xx status code

func (*StatusReblogForbidden) String

func (o *StatusReblogForbidden) String() string

type StatusReblogInternalServerError

type StatusReblogInternalServerError struct {
}

StatusReblogInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusReblogInternalServerError

func NewStatusReblogInternalServerError() *StatusReblogInternalServerError

NewStatusReblogInternalServerError creates a StatusReblogInternalServerError with default headers values

func (*StatusReblogInternalServerError) Code

Code gets the status code for the status reblog internal server error response

func (*StatusReblogInternalServerError) Error

func (*StatusReblogInternalServerError) IsClientError

func (o *StatusReblogInternalServerError) IsClientError() bool

IsClientError returns true when this status reblog internal server error response has a 4xx status code

func (*StatusReblogInternalServerError) IsCode

func (o *StatusReblogInternalServerError) IsCode(code int) bool

IsCode returns true when this status reblog internal server error response a status code equal to that given

func (*StatusReblogInternalServerError) IsRedirect

func (o *StatusReblogInternalServerError) IsRedirect() bool

IsRedirect returns true when this status reblog internal server error response has a 3xx status code

func (*StatusReblogInternalServerError) IsServerError

func (o *StatusReblogInternalServerError) IsServerError() bool

IsServerError returns true when this status reblog internal server error response has a 5xx status code

func (*StatusReblogInternalServerError) IsSuccess

func (o *StatusReblogInternalServerError) IsSuccess() bool

IsSuccess returns true when this status reblog internal server error response has a 2xx status code

func (*StatusReblogInternalServerError) String

type StatusReblogNotAcceptable

type StatusReblogNotAcceptable struct {
}

StatusReblogNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusReblogNotAcceptable

func NewStatusReblogNotAcceptable() *StatusReblogNotAcceptable

NewStatusReblogNotAcceptable creates a StatusReblogNotAcceptable with default headers values

func (*StatusReblogNotAcceptable) Code

func (o *StatusReblogNotAcceptable) Code() int

Code gets the status code for the status reblog not acceptable response

func (*StatusReblogNotAcceptable) Error

func (o *StatusReblogNotAcceptable) Error() string

func (*StatusReblogNotAcceptable) IsClientError

func (o *StatusReblogNotAcceptable) IsClientError() bool

IsClientError returns true when this status reblog not acceptable response has a 4xx status code

func (*StatusReblogNotAcceptable) IsCode

func (o *StatusReblogNotAcceptable) IsCode(code int) bool

IsCode returns true when this status reblog not acceptable response a status code equal to that given

func (*StatusReblogNotAcceptable) IsRedirect

func (o *StatusReblogNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status reblog not acceptable response has a 3xx status code

func (*StatusReblogNotAcceptable) IsServerError

func (o *StatusReblogNotAcceptable) IsServerError() bool

IsServerError returns true when this status reblog not acceptable response has a 5xx status code

func (*StatusReblogNotAcceptable) IsSuccess

func (o *StatusReblogNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status reblog not acceptable response has a 2xx status code

func (*StatusReblogNotAcceptable) String

func (o *StatusReblogNotAcceptable) String() string

type StatusReblogNotFound

type StatusReblogNotFound struct {
}

StatusReblogNotFound describes a response with status code 404, with default header values.

not found

func NewStatusReblogNotFound

func NewStatusReblogNotFound() *StatusReblogNotFound

NewStatusReblogNotFound creates a StatusReblogNotFound with default headers values

func (*StatusReblogNotFound) Code

func (o *StatusReblogNotFound) Code() int

Code gets the status code for the status reblog not found response

func (*StatusReblogNotFound) Error

func (o *StatusReblogNotFound) Error() string

func (*StatusReblogNotFound) IsClientError

func (o *StatusReblogNotFound) IsClientError() bool

IsClientError returns true when this status reblog not found response has a 4xx status code

func (*StatusReblogNotFound) IsCode

func (o *StatusReblogNotFound) IsCode(code int) bool

IsCode returns true when this status reblog not found response a status code equal to that given

func (*StatusReblogNotFound) IsRedirect

func (o *StatusReblogNotFound) IsRedirect() bool

IsRedirect returns true when this status reblog not found response has a 3xx status code

func (*StatusReblogNotFound) IsServerError

func (o *StatusReblogNotFound) IsServerError() bool

IsServerError returns true when this status reblog not found response has a 5xx status code

func (*StatusReblogNotFound) IsSuccess

func (o *StatusReblogNotFound) IsSuccess() bool

IsSuccess returns true when this status reblog not found response has a 2xx status code

func (*StatusReblogNotFound) String

func (o *StatusReblogNotFound) String() string

type StatusReblogOK

type StatusReblogOK struct {
	Payload *models.Status
}

StatusReblogOK describes a response with status code 200, with default header values.

The boost of the status.

func NewStatusReblogOK

func NewStatusReblogOK() *StatusReblogOK

NewStatusReblogOK creates a StatusReblogOK with default headers values

func (*StatusReblogOK) Code

func (o *StatusReblogOK) Code() int

Code gets the status code for the status reblog o k response

func (*StatusReblogOK) Error

func (o *StatusReblogOK) Error() string

func (*StatusReblogOK) GetPayload

func (o *StatusReblogOK) GetPayload() *models.Status

func (*StatusReblogOK) IsClientError

func (o *StatusReblogOK) IsClientError() bool

IsClientError returns true when this status reblog o k response has a 4xx status code

func (*StatusReblogOK) IsCode

func (o *StatusReblogOK) IsCode(code int) bool

IsCode returns true when this status reblog o k response a status code equal to that given

func (*StatusReblogOK) IsRedirect

func (o *StatusReblogOK) IsRedirect() bool

IsRedirect returns true when this status reblog o k response has a 3xx status code

func (*StatusReblogOK) IsServerError

func (o *StatusReblogOK) IsServerError() bool

IsServerError returns true when this status reblog o k response has a 5xx status code

func (*StatusReblogOK) IsSuccess

func (o *StatusReblogOK) IsSuccess() bool

IsSuccess returns true when this status reblog o k response has a 2xx status code

func (*StatusReblogOK) String

func (o *StatusReblogOK) String() string

type StatusReblogParams

type StatusReblogParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusReblogParams contains all the parameters to send to the API endpoint

for the status reblog operation.

Typically these are written to a http.Request.

func NewStatusReblogParams

func NewStatusReblogParams() *StatusReblogParams

NewStatusReblogParams creates a new StatusReblogParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusReblogParamsWithContext

func NewStatusReblogParamsWithContext(ctx context.Context) *StatusReblogParams

NewStatusReblogParamsWithContext creates a new StatusReblogParams object with the ability to set a context for a request.

func NewStatusReblogParamsWithHTTPClient

func NewStatusReblogParamsWithHTTPClient(client *http.Client) *StatusReblogParams

NewStatusReblogParamsWithHTTPClient creates a new StatusReblogParams object with the ability to set a custom HTTPClient for a request.

func NewStatusReblogParamsWithTimeout

func NewStatusReblogParamsWithTimeout(timeout time.Duration) *StatusReblogParams

NewStatusReblogParamsWithTimeout creates a new StatusReblogParams object with the ability to set a timeout on a request.

func (*StatusReblogParams) SetContext

func (o *StatusReblogParams) SetContext(ctx context.Context)

SetContext adds the context to the status reblog params

func (*StatusReblogParams) SetDefaults

func (o *StatusReblogParams) SetDefaults()

SetDefaults hydrates default values in the status reblog params (not the query body).

All values with no default are reset to their zero value.

func (*StatusReblogParams) SetHTTPClient

func (o *StatusReblogParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status reblog params

func (*StatusReblogParams) SetID

func (o *StatusReblogParams) SetID(id string)

SetID adds the id to the status reblog params

func (*StatusReblogParams) SetTimeout

func (o *StatusReblogParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status reblog params

func (*StatusReblogParams) WithContext

WithContext adds the context to the status reblog params

func (*StatusReblogParams) WithDefaults

func (o *StatusReblogParams) WithDefaults() *StatusReblogParams

WithDefaults hydrates default values in the status reblog params (not the query body).

All values with no default are reset to their zero value.

func (*StatusReblogParams) WithHTTPClient

func (o *StatusReblogParams) WithHTTPClient(client *http.Client) *StatusReblogParams

WithHTTPClient adds the HTTPClient to the status reblog params

func (*StatusReblogParams) WithID

WithID adds the id to the status reblog params

func (*StatusReblogParams) WithTimeout

func (o *StatusReblogParams) WithTimeout(timeout time.Duration) *StatusReblogParams

WithTimeout adds the timeout to the status reblog params

func (*StatusReblogParams) WriteToRequest

func (o *StatusReblogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusReblogReader

type StatusReblogReader struct {
	// contains filtered or unexported fields
}

StatusReblogReader is a Reader for the StatusReblog structure.

func (*StatusReblogReader) ReadResponse

func (o *StatusReblogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusReblogUnauthorized

type StatusReblogUnauthorized struct {
}

StatusReblogUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusReblogUnauthorized

func NewStatusReblogUnauthorized() *StatusReblogUnauthorized

NewStatusReblogUnauthorized creates a StatusReblogUnauthorized with default headers values

func (*StatusReblogUnauthorized) Code

func (o *StatusReblogUnauthorized) Code() int

Code gets the status code for the status reblog unauthorized response

func (*StatusReblogUnauthorized) Error

func (o *StatusReblogUnauthorized) Error() string

func (*StatusReblogUnauthorized) IsClientError

func (o *StatusReblogUnauthorized) IsClientError() bool

IsClientError returns true when this status reblog unauthorized response has a 4xx status code

func (*StatusReblogUnauthorized) IsCode

func (o *StatusReblogUnauthorized) IsCode(code int) bool

IsCode returns true when this status reblog unauthorized response a status code equal to that given

func (*StatusReblogUnauthorized) IsRedirect

func (o *StatusReblogUnauthorized) IsRedirect() bool

IsRedirect returns true when this status reblog unauthorized response has a 3xx status code

func (*StatusReblogUnauthorized) IsServerError

func (o *StatusReblogUnauthorized) IsServerError() bool

IsServerError returns true when this status reblog unauthorized response has a 5xx status code

func (*StatusReblogUnauthorized) IsSuccess

func (o *StatusReblogUnauthorized) IsSuccess() bool

IsSuccess returns true when this status reblog unauthorized response has a 2xx status code

func (*StatusReblogUnauthorized) String

func (o *StatusReblogUnauthorized) String() string

type StatusSourceGetBadRequest

type StatusSourceGetBadRequest struct {
}

StatusSourceGetBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusSourceGetBadRequest

func NewStatusSourceGetBadRequest() *StatusSourceGetBadRequest

NewStatusSourceGetBadRequest creates a StatusSourceGetBadRequest with default headers values

func (*StatusSourceGetBadRequest) Code

func (o *StatusSourceGetBadRequest) Code() int

Code gets the status code for the status source get bad request response

func (*StatusSourceGetBadRequest) Error

func (o *StatusSourceGetBadRequest) Error() string

func (*StatusSourceGetBadRequest) IsClientError

func (o *StatusSourceGetBadRequest) IsClientError() bool

IsClientError returns true when this status source get bad request response has a 4xx status code

func (*StatusSourceGetBadRequest) IsCode

func (o *StatusSourceGetBadRequest) IsCode(code int) bool

IsCode returns true when this status source get bad request response a status code equal to that given

func (*StatusSourceGetBadRequest) IsRedirect

func (o *StatusSourceGetBadRequest) IsRedirect() bool

IsRedirect returns true when this status source get bad request response has a 3xx status code

func (*StatusSourceGetBadRequest) IsServerError

func (o *StatusSourceGetBadRequest) IsServerError() bool

IsServerError returns true when this status source get bad request response has a 5xx status code

func (*StatusSourceGetBadRequest) IsSuccess

func (o *StatusSourceGetBadRequest) IsSuccess() bool

IsSuccess returns true when this status source get bad request response has a 2xx status code

func (*StatusSourceGetBadRequest) String

func (o *StatusSourceGetBadRequest) String() string

type StatusSourceGetForbidden

type StatusSourceGetForbidden struct {
}

StatusSourceGetForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusSourceGetForbidden

func NewStatusSourceGetForbidden() *StatusSourceGetForbidden

NewStatusSourceGetForbidden creates a StatusSourceGetForbidden with default headers values

func (*StatusSourceGetForbidden) Code

func (o *StatusSourceGetForbidden) Code() int

Code gets the status code for the status source get forbidden response

func (*StatusSourceGetForbidden) Error

func (o *StatusSourceGetForbidden) Error() string

func (*StatusSourceGetForbidden) IsClientError

func (o *StatusSourceGetForbidden) IsClientError() bool

IsClientError returns true when this status source get forbidden response has a 4xx status code

func (*StatusSourceGetForbidden) IsCode

func (o *StatusSourceGetForbidden) IsCode(code int) bool

IsCode returns true when this status source get forbidden response a status code equal to that given

func (*StatusSourceGetForbidden) IsRedirect

func (o *StatusSourceGetForbidden) IsRedirect() bool

IsRedirect returns true when this status source get forbidden response has a 3xx status code

func (*StatusSourceGetForbidden) IsServerError

func (o *StatusSourceGetForbidden) IsServerError() bool

IsServerError returns true when this status source get forbidden response has a 5xx status code

func (*StatusSourceGetForbidden) IsSuccess

func (o *StatusSourceGetForbidden) IsSuccess() bool

IsSuccess returns true when this status source get forbidden response has a 2xx status code

func (*StatusSourceGetForbidden) String

func (o *StatusSourceGetForbidden) String() string

type StatusSourceGetInternalServerError

type StatusSourceGetInternalServerError struct {
}

StatusSourceGetInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusSourceGetInternalServerError

func NewStatusSourceGetInternalServerError() *StatusSourceGetInternalServerError

NewStatusSourceGetInternalServerError creates a StatusSourceGetInternalServerError with default headers values

func (*StatusSourceGetInternalServerError) Code

Code gets the status code for the status source get internal server error response

func (*StatusSourceGetInternalServerError) Error

func (*StatusSourceGetInternalServerError) IsClientError

func (o *StatusSourceGetInternalServerError) IsClientError() bool

IsClientError returns true when this status source get internal server error response has a 4xx status code

func (*StatusSourceGetInternalServerError) IsCode

IsCode returns true when this status source get internal server error response a status code equal to that given

func (*StatusSourceGetInternalServerError) IsRedirect

func (o *StatusSourceGetInternalServerError) IsRedirect() bool

IsRedirect returns true when this status source get internal server error response has a 3xx status code

func (*StatusSourceGetInternalServerError) IsServerError

func (o *StatusSourceGetInternalServerError) IsServerError() bool

IsServerError returns true when this status source get internal server error response has a 5xx status code

func (*StatusSourceGetInternalServerError) IsSuccess

IsSuccess returns true when this status source get internal server error response has a 2xx status code

func (*StatusSourceGetInternalServerError) String

type StatusSourceGetNotAcceptable

type StatusSourceGetNotAcceptable struct {
}

StatusSourceGetNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusSourceGetNotAcceptable

func NewStatusSourceGetNotAcceptable() *StatusSourceGetNotAcceptable

NewStatusSourceGetNotAcceptable creates a StatusSourceGetNotAcceptable with default headers values

func (*StatusSourceGetNotAcceptable) Code

Code gets the status code for the status source get not acceptable response

func (*StatusSourceGetNotAcceptable) Error

func (*StatusSourceGetNotAcceptable) IsClientError

func (o *StatusSourceGetNotAcceptable) IsClientError() bool

IsClientError returns true when this status source get not acceptable response has a 4xx status code

func (*StatusSourceGetNotAcceptable) IsCode

func (o *StatusSourceGetNotAcceptable) IsCode(code int) bool

IsCode returns true when this status source get not acceptable response a status code equal to that given

func (*StatusSourceGetNotAcceptable) IsRedirect

func (o *StatusSourceGetNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status source get not acceptable response has a 3xx status code

func (*StatusSourceGetNotAcceptable) IsServerError

func (o *StatusSourceGetNotAcceptable) IsServerError() bool

IsServerError returns true when this status source get not acceptable response has a 5xx status code

func (*StatusSourceGetNotAcceptable) IsSuccess

func (o *StatusSourceGetNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status source get not acceptable response has a 2xx status code

func (*StatusSourceGetNotAcceptable) String

type StatusSourceGetNotFound

type StatusSourceGetNotFound struct {
}

StatusSourceGetNotFound describes a response with status code 404, with default header values.

not found

func NewStatusSourceGetNotFound

func NewStatusSourceGetNotFound() *StatusSourceGetNotFound

NewStatusSourceGetNotFound creates a StatusSourceGetNotFound with default headers values

func (*StatusSourceGetNotFound) Code

func (o *StatusSourceGetNotFound) Code() int

Code gets the status code for the status source get not found response

func (*StatusSourceGetNotFound) Error

func (o *StatusSourceGetNotFound) Error() string

func (*StatusSourceGetNotFound) IsClientError

func (o *StatusSourceGetNotFound) IsClientError() bool

IsClientError returns true when this status source get not found response has a 4xx status code

func (*StatusSourceGetNotFound) IsCode

func (o *StatusSourceGetNotFound) IsCode(code int) bool

IsCode returns true when this status source get not found response a status code equal to that given

func (*StatusSourceGetNotFound) IsRedirect

func (o *StatusSourceGetNotFound) IsRedirect() bool

IsRedirect returns true when this status source get not found response has a 3xx status code

func (*StatusSourceGetNotFound) IsServerError

func (o *StatusSourceGetNotFound) IsServerError() bool

IsServerError returns true when this status source get not found response has a 5xx status code

func (*StatusSourceGetNotFound) IsSuccess

func (o *StatusSourceGetNotFound) IsSuccess() bool

IsSuccess returns true when this status source get not found response has a 2xx status code

func (*StatusSourceGetNotFound) String

func (o *StatusSourceGetNotFound) String() string

type StatusSourceGetOK

type StatusSourceGetOK struct {
	Payload []*models.StatusSource
}

StatusSourceGetOK describes a response with status code 200, with default header values.

StatusSourceGetOK status source get o k

func NewStatusSourceGetOK

func NewStatusSourceGetOK() *StatusSourceGetOK

NewStatusSourceGetOK creates a StatusSourceGetOK with default headers values

func (*StatusSourceGetOK) Code

func (o *StatusSourceGetOK) Code() int

Code gets the status code for the status source get o k response

func (*StatusSourceGetOK) Error

func (o *StatusSourceGetOK) Error() string

func (*StatusSourceGetOK) GetPayload

func (o *StatusSourceGetOK) GetPayload() []*models.StatusSource

func (*StatusSourceGetOK) IsClientError

func (o *StatusSourceGetOK) IsClientError() bool

IsClientError returns true when this status source get o k response has a 4xx status code

func (*StatusSourceGetOK) IsCode

func (o *StatusSourceGetOK) IsCode(code int) bool

IsCode returns true when this status source get o k response a status code equal to that given

func (*StatusSourceGetOK) IsRedirect

func (o *StatusSourceGetOK) IsRedirect() bool

IsRedirect returns true when this status source get o k response has a 3xx status code

func (*StatusSourceGetOK) IsServerError

func (o *StatusSourceGetOK) IsServerError() bool

IsServerError returns true when this status source get o k response has a 5xx status code

func (*StatusSourceGetOK) IsSuccess

func (o *StatusSourceGetOK) IsSuccess() bool

IsSuccess returns true when this status source get o k response has a 2xx status code

func (*StatusSourceGetOK) String

func (o *StatusSourceGetOK) String() string

type StatusSourceGetParams

type StatusSourceGetParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusSourceGetParams contains all the parameters to send to the API endpoint

for the status source get operation.

Typically these are written to a http.Request.

func NewStatusSourceGetParams

func NewStatusSourceGetParams() *StatusSourceGetParams

NewStatusSourceGetParams creates a new StatusSourceGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusSourceGetParamsWithContext

func NewStatusSourceGetParamsWithContext(ctx context.Context) *StatusSourceGetParams

NewStatusSourceGetParamsWithContext creates a new StatusSourceGetParams object with the ability to set a context for a request.

func NewStatusSourceGetParamsWithHTTPClient

func NewStatusSourceGetParamsWithHTTPClient(client *http.Client) *StatusSourceGetParams

NewStatusSourceGetParamsWithHTTPClient creates a new StatusSourceGetParams object with the ability to set a custom HTTPClient for a request.

func NewStatusSourceGetParamsWithTimeout

func NewStatusSourceGetParamsWithTimeout(timeout time.Duration) *StatusSourceGetParams

NewStatusSourceGetParamsWithTimeout creates a new StatusSourceGetParams object with the ability to set a timeout on a request.

func (*StatusSourceGetParams) SetContext

func (o *StatusSourceGetParams) SetContext(ctx context.Context)

SetContext adds the context to the status source get params

func (*StatusSourceGetParams) SetDefaults

func (o *StatusSourceGetParams) SetDefaults()

SetDefaults hydrates default values in the status source get params (not the query body).

All values with no default are reset to their zero value.

func (*StatusSourceGetParams) SetHTTPClient

func (o *StatusSourceGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status source get params

func (*StatusSourceGetParams) SetID

func (o *StatusSourceGetParams) SetID(id string)

SetID adds the id to the status source get params

func (*StatusSourceGetParams) SetTimeout

func (o *StatusSourceGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status source get params

func (*StatusSourceGetParams) WithContext

WithContext adds the context to the status source get params

func (*StatusSourceGetParams) WithDefaults

func (o *StatusSourceGetParams) WithDefaults() *StatusSourceGetParams

WithDefaults hydrates default values in the status source get params (not the query body).

All values with no default are reset to their zero value.

func (*StatusSourceGetParams) WithHTTPClient

func (o *StatusSourceGetParams) WithHTTPClient(client *http.Client) *StatusSourceGetParams

WithHTTPClient adds the HTTPClient to the status source get params

func (*StatusSourceGetParams) WithID

WithID adds the id to the status source get params

func (*StatusSourceGetParams) WithTimeout

func (o *StatusSourceGetParams) WithTimeout(timeout time.Duration) *StatusSourceGetParams

WithTimeout adds the timeout to the status source get params

func (*StatusSourceGetParams) WriteToRequest

func (o *StatusSourceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusSourceGetReader

type StatusSourceGetReader struct {
	// contains filtered or unexported fields
}

StatusSourceGetReader is a Reader for the StatusSourceGet structure.

func (*StatusSourceGetReader) ReadResponse

func (o *StatusSourceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusSourceGetUnauthorized

type StatusSourceGetUnauthorized struct {
}

StatusSourceGetUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusSourceGetUnauthorized

func NewStatusSourceGetUnauthorized() *StatusSourceGetUnauthorized

NewStatusSourceGetUnauthorized creates a StatusSourceGetUnauthorized with default headers values

func (*StatusSourceGetUnauthorized) Code

func (o *StatusSourceGetUnauthorized) Code() int

Code gets the status code for the status source get unauthorized response

func (*StatusSourceGetUnauthorized) Error

func (*StatusSourceGetUnauthorized) IsClientError

func (o *StatusSourceGetUnauthorized) IsClientError() bool

IsClientError returns true when this status source get unauthorized response has a 4xx status code

func (*StatusSourceGetUnauthorized) IsCode

func (o *StatusSourceGetUnauthorized) IsCode(code int) bool

IsCode returns true when this status source get unauthorized response a status code equal to that given

func (*StatusSourceGetUnauthorized) IsRedirect

func (o *StatusSourceGetUnauthorized) IsRedirect() bool

IsRedirect returns true when this status source get unauthorized response has a 3xx status code

func (*StatusSourceGetUnauthorized) IsServerError

func (o *StatusSourceGetUnauthorized) IsServerError() bool

IsServerError returns true when this status source get unauthorized response has a 5xx status code

func (*StatusSourceGetUnauthorized) IsSuccess

func (o *StatusSourceGetUnauthorized) IsSuccess() bool

IsSuccess returns true when this status source get unauthorized response has a 2xx status code

func (*StatusSourceGetUnauthorized) String

func (o *StatusSourceGetUnauthorized) String() string

type StatusUnbookmarkBadRequest

type StatusUnbookmarkBadRequest struct {
}

StatusUnbookmarkBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusUnbookmarkBadRequest

func NewStatusUnbookmarkBadRequest() *StatusUnbookmarkBadRequest

NewStatusUnbookmarkBadRequest creates a StatusUnbookmarkBadRequest with default headers values

func (*StatusUnbookmarkBadRequest) Code

func (o *StatusUnbookmarkBadRequest) Code() int

Code gets the status code for the status unbookmark bad request response

func (*StatusUnbookmarkBadRequest) Error

func (*StatusUnbookmarkBadRequest) IsClientError

func (o *StatusUnbookmarkBadRequest) IsClientError() bool

IsClientError returns true when this status unbookmark bad request response has a 4xx status code

func (*StatusUnbookmarkBadRequest) IsCode

func (o *StatusUnbookmarkBadRequest) IsCode(code int) bool

IsCode returns true when this status unbookmark bad request response a status code equal to that given

func (*StatusUnbookmarkBadRequest) IsRedirect

func (o *StatusUnbookmarkBadRequest) IsRedirect() bool

IsRedirect returns true when this status unbookmark bad request response has a 3xx status code

func (*StatusUnbookmarkBadRequest) IsServerError

func (o *StatusUnbookmarkBadRequest) IsServerError() bool

IsServerError returns true when this status unbookmark bad request response has a 5xx status code

func (*StatusUnbookmarkBadRequest) IsSuccess

func (o *StatusUnbookmarkBadRequest) IsSuccess() bool

IsSuccess returns true when this status unbookmark bad request response has a 2xx status code

func (*StatusUnbookmarkBadRequest) String

func (o *StatusUnbookmarkBadRequest) String() string

type StatusUnbookmarkForbidden

type StatusUnbookmarkForbidden struct {
}

StatusUnbookmarkForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusUnbookmarkForbidden

func NewStatusUnbookmarkForbidden() *StatusUnbookmarkForbidden

NewStatusUnbookmarkForbidden creates a StatusUnbookmarkForbidden with default headers values

func (*StatusUnbookmarkForbidden) Code

func (o *StatusUnbookmarkForbidden) Code() int

Code gets the status code for the status unbookmark forbidden response

func (*StatusUnbookmarkForbidden) Error

func (o *StatusUnbookmarkForbidden) Error() string

func (*StatusUnbookmarkForbidden) IsClientError

func (o *StatusUnbookmarkForbidden) IsClientError() bool

IsClientError returns true when this status unbookmark forbidden response has a 4xx status code

func (*StatusUnbookmarkForbidden) IsCode

func (o *StatusUnbookmarkForbidden) IsCode(code int) bool

IsCode returns true when this status unbookmark forbidden response a status code equal to that given

func (*StatusUnbookmarkForbidden) IsRedirect

func (o *StatusUnbookmarkForbidden) IsRedirect() bool

IsRedirect returns true when this status unbookmark forbidden response has a 3xx status code

func (*StatusUnbookmarkForbidden) IsServerError

func (o *StatusUnbookmarkForbidden) IsServerError() bool

IsServerError returns true when this status unbookmark forbidden response has a 5xx status code

func (*StatusUnbookmarkForbidden) IsSuccess

func (o *StatusUnbookmarkForbidden) IsSuccess() bool

IsSuccess returns true when this status unbookmark forbidden response has a 2xx status code

func (*StatusUnbookmarkForbidden) String

func (o *StatusUnbookmarkForbidden) String() string

type StatusUnbookmarkInternalServerError

type StatusUnbookmarkInternalServerError struct {
}

StatusUnbookmarkInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusUnbookmarkInternalServerError

func NewStatusUnbookmarkInternalServerError() *StatusUnbookmarkInternalServerError

NewStatusUnbookmarkInternalServerError creates a StatusUnbookmarkInternalServerError with default headers values

func (*StatusUnbookmarkInternalServerError) Code

Code gets the status code for the status unbookmark internal server error response

func (*StatusUnbookmarkInternalServerError) Error

func (*StatusUnbookmarkInternalServerError) IsClientError

func (o *StatusUnbookmarkInternalServerError) IsClientError() bool

IsClientError returns true when this status unbookmark internal server error response has a 4xx status code

func (*StatusUnbookmarkInternalServerError) IsCode

IsCode returns true when this status unbookmark internal server error response a status code equal to that given

func (*StatusUnbookmarkInternalServerError) IsRedirect

func (o *StatusUnbookmarkInternalServerError) IsRedirect() bool

IsRedirect returns true when this status unbookmark internal server error response has a 3xx status code

func (*StatusUnbookmarkInternalServerError) IsServerError

func (o *StatusUnbookmarkInternalServerError) IsServerError() bool

IsServerError returns true when this status unbookmark internal server error response has a 5xx status code

func (*StatusUnbookmarkInternalServerError) IsSuccess

IsSuccess returns true when this status unbookmark internal server error response has a 2xx status code

func (*StatusUnbookmarkInternalServerError) String

type StatusUnbookmarkNotAcceptable

type StatusUnbookmarkNotAcceptable struct {
}

StatusUnbookmarkNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusUnbookmarkNotAcceptable

func NewStatusUnbookmarkNotAcceptable() *StatusUnbookmarkNotAcceptable

NewStatusUnbookmarkNotAcceptable creates a StatusUnbookmarkNotAcceptable with default headers values

func (*StatusUnbookmarkNotAcceptable) Code

Code gets the status code for the status unbookmark not acceptable response

func (*StatusUnbookmarkNotAcceptable) Error

func (*StatusUnbookmarkNotAcceptable) IsClientError

func (o *StatusUnbookmarkNotAcceptable) IsClientError() bool

IsClientError returns true when this status unbookmark not acceptable response has a 4xx status code

func (*StatusUnbookmarkNotAcceptable) IsCode

func (o *StatusUnbookmarkNotAcceptable) IsCode(code int) bool

IsCode returns true when this status unbookmark not acceptable response a status code equal to that given

func (*StatusUnbookmarkNotAcceptable) IsRedirect

func (o *StatusUnbookmarkNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status unbookmark not acceptable response has a 3xx status code

func (*StatusUnbookmarkNotAcceptable) IsServerError

func (o *StatusUnbookmarkNotAcceptable) IsServerError() bool

IsServerError returns true when this status unbookmark not acceptable response has a 5xx status code

func (*StatusUnbookmarkNotAcceptable) IsSuccess

func (o *StatusUnbookmarkNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status unbookmark not acceptable response has a 2xx status code

func (*StatusUnbookmarkNotAcceptable) String

type StatusUnbookmarkNotFound

type StatusUnbookmarkNotFound struct {
}

StatusUnbookmarkNotFound describes a response with status code 404, with default header values.

not found

func NewStatusUnbookmarkNotFound

func NewStatusUnbookmarkNotFound() *StatusUnbookmarkNotFound

NewStatusUnbookmarkNotFound creates a StatusUnbookmarkNotFound with default headers values

func (*StatusUnbookmarkNotFound) Code

func (o *StatusUnbookmarkNotFound) Code() int

Code gets the status code for the status unbookmark not found response

func (*StatusUnbookmarkNotFound) Error

func (o *StatusUnbookmarkNotFound) Error() string

func (*StatusUnbookmarkNotFound) IsClientError

func (o *StatusUnbookmarkNotFound) IsClientError() bool

IsClientError returns true when this status unbookmark not found response has a 4xx status code

func (*StatusUnbookmarkNotFound) IsCode

func (o *StatusUnbookmarkNotFound) IsCode(code int) bool

IsCode returns true when this status unbookmark not found response a status code equal to that given

func (*StatusUnbookmarkNotFound) IsRedirect

func (o *StatusUnbookmarkNotFound) IsRedirect() bool

IsRedirect returns true when this status unbookmark not found response has a 3xx status code

func (*StatusUnbookmarkNotFound) IsServerError

func (o *StatusUnbookmarkNotFound) IsServerError() bool

IsServerError returns true when this status unbookmark not found response has a 5xx status code

func (*StatusUnbookmarkNotFound) IsSuccess

func (o *StatusUnbookmarkNotFound) IsSuccess() bool

IsSuccess returns true when this status unbookmark not found response has a 2xx status code

func (*StatusUnbookmarkNotFound) String

func (o *StatusUnbookmarkNotFound) String() string

type StatusUnbookmarkOK

type StatusUnbookmarkOK struct {
	Payload *models.Status
}

StatusUnbookmarkOK describes a response with status code 200, with default header values.

The status.

func NewStatusUnbookmarkOK

func NewStatusUnbookmarkOK() *StatusUnbookmarkOK

NewStatusUnbookmarkOK creates a StatusUnbookmarkOK with default headers values

func (*StatusUnbookmarkOK) Code

func (o *StatusUnbookmarkOK) Code() int

Code gets the status code for the status unbookmark o k response

func (*StatusUnbookmarkOK) Error

func (o *StatusUnbookmarkOK) Error() string

func (*StatusUnbookmarkOK) GetPayload

func (o *StatusUnbookmarkOK) GetPayload() *models.Status

func (*StatusUnbookmarkOK) IsClientError

func (o *StatusUnbookmarkOK) IsClientError() bool

IsClientError returns true when this status unbookmark o k response has a 4xx status code

func (*StatusUnbookmarkOK) IsCode

func (o *StatusUnbookmarkOK) IsCode(code int) bool

IsCode returns true when this status unbookmark o k response a status code equal to that given

func (*StatusUnbookmarkOK) IsRedirect

func (o *StatusUnbookmarkOK) IsRedirect() bool

IsRedirect returns true when this status unbookmark o k response has a 3xx status code

func (*StatusUnbookmarkOK) IsServerError

func (o *StatusUnbookmarkOK) IsServerError() bool

IsServerError returns true when this status unbookmark o k response has a 5xx status code

func (*StatusUnbookmarkOK) IsSuccess

func (o *StatusUnbookmarkOK) IsSuccess() bool

IsSuccess returns true when this status unbookmark o k response has a 2xx status code

func (*StatusUnbookmarkOK) String

func (o *StatusUnbookmarkOK) String() string

type StatusUnbookmarkParams

type StatusUnbookmarkParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusUnbookmarkParams contains all the parameters to send to the API endpoint

for the status unbookmark operation.

Typically these are written to a http.Request.

func NewStatusUnbookmarkParams

func NewStatusUnbookmarkParams() *StatusUnbookmarkParams

NewStatusUnbookmarkParams creates a new StatusUnbookmarkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusUnbookmarkParamsWithContext

func NewStatusUnbookmarkParamsWithContext(ctx context.Context) *StatusUnbookmarkParams

NewStatusUnbookmarkParamsWithContext creates a new StatusUnbookmarkParams object with the ability to set a context for a request.

func NewStatusUnbookmarkParamsWithHTTPClient

func NewStatusUnbookmarkParamsWithHTTPClient(client *http.Client) *StatusUnbookmarkParams

NewStatusUnbookmarkParamsWithHTTPClient creates a new StatusUnbookmarkParams object with the ability to set a custom HTTPClient for a request.

func NewStatusUnbookmarkParamsWithTimeout

func NewStatusUnbookmarkParamsWithTimeout(timeout time.Duration) *StatusUnbookmarkParams

NewStatusUnbookmarkParamsWithTimeout creates a new StatusUnbookmarkParams object with the ability to set a timeout on a request.

func (*StatusUnbookmarkParams) SetContext

func (o *StatusUnbookmarkParams) SetContext(ctx context.Context)

SetContext adds the context to the status unbookmark params

func (*StatusUnbookmarkParams) SetDefaults

func (o *StatusUnbookmarkParams) SetDefaults()

SetDefaults hydrates default values in the status unbookmark params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnbookmarkParams) SetHTTPClient

func (o *StatusUnbookmarkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status unbookmark params

func (*StatusUnbookmarkParams) SetID

func (o *StatusUnbookmarkParams) SetID(id string)

SetID adds the id to the status unbookmark params

func (*StatusUnbookmarkParams) SetTimeout

func (o *StatusUnbookmarkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status unbookmark params

func (*StatusUnbookmarkParams) WithContext

WithContext adds the context to the status unbookmark params

func (*StatusUnbookmarkParams) WithDefaults

WithDefaults hydrates default values in the status unbookmark params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnbookmarkParams) WithHTTPClient

func (o *StatusUnbookmarkParams) WithHTTPClient(client *http.Client) *StatusUnbookmarkParams

WithHTTPClient adds the HTTPClient to the status unbookmark params

func (*StatusUnbookmarkParams) WithID

WithID adds the id to the status unbookmark params

func (*StatusUnbookmarkParams) WithTimeout

WithTimeout adds the timeout to the status unbookmark params

func (*StatusUnbookmarkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StatusUnbookmarkReader

type StatusUnbookmarkReader struct {
	// contains filtered or unexported fields
}

StatusUnbookmarkReader is a Reader for the StatusUnbookmark structure.

func (*StatusUnbookmarkReader) ReadResponse

func (o *StatusUnbookmarkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusUnbookmarkUnauthorized

type StatusUnbookmarkUnauthorized struct {
}

StatusUnbookmarkUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusUnbookmarkUnauthorized

func NewStatusUnbookmarkUnauthorized() *StatusUnbookmarkUnauthorized

NewStatusUnbookmarkUnauthorized creates a StatusUnbookmarkUnauthorized with default headers values

func (*StatusUnbookmarkUnauthorized) Code

Code gets the status code for the status unbookmark unauthorized response

func (*StatusUnbookmarkUnauthorized) Error

func (*StatusUnbookmarkUnauthorized) IsClientError

func (o *StatusUnbookmarkUnauthorized) IsClientError() bool

IsClientError returns true when this status unbookmark unauthorized response has a 4xx status code

func (*StatusUnbookmarkUnauthorized) IsCode

func (o *StatusUnbookmarkUnauthorized) IsCode(code int) bool

IsCode returns true when this status unbookmark unauthorized response a status code equal to that given

func (*StatusUnbookmarkUnauthorized) IsRedirect

func (o *StatusUnbookmarkUnauthorized) IsRedirect() bool

IsRedirect returns true when this status unbookmark unauthorized response has a 3xx status code

func (*StatusUnbookmarkUnauthorized) IsServerError

func (o *StatusUnbookmarkUnauthorized) IsServerError() bool

IsServerError returns true when this status unbookmark unauthorized response has a 5xx status code

func (*StatusUnbookmarkUnauthorized) IsSuccess

func (o *StatusUnbookmarkUnauthorized) IsSuccess() bool

IsSuccess returns true when this status unbookmark unauthorized response has a 2xx status code

func (*StatusUnbookmarkUnauthorized) String

type StatusUnfaveBadRequest

type StatusUnfaveBadRequest struct {
}

StatusUnfaveBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusUnfaveBadRequest

func NewStatusUnfaveBadRequest() *StatusUnfaveBadRequest

NewStatusUnfaveBadRequest creates a StatusUnfaveBadRequest with default headers values

func (*StatusUnfaveBadRequest) Code

func (o *StatusUnfaveBadRequest) Code() int

Code gets the status code for the status unfave bad request response

func (*StatusUnfaveBadRequest) Error

func (o *StatusUnfaveBadRequest) Error() string

func (*StatusUnfaveBadRequest) IsClientError

func (o *StatusUnfaveBadRequest) IsClientError() bool

IsClientError returns true when this status unfave bad request response has a 4xx status code

func (*StatusUnfaveBadRequest) IsCode

func (o *StatusUnfaveBadRequest) IsCode(code int) bool

IsCode returns true when this status unfave bad request response a status code equal to that given

func (*StatusUnfaveBadRequest) IsRedirect

func (o *StatusUnfaveBadRequest) IsRedirect() bool

IsRedirect returns true when this status unfave bad request response has a 3xx status code

func (*StatusUnfaveBadRequest) IsServerError

func (o *StatusUnfaveBadRequest) IsServerError() bool

IsServerError returns true when this status unfave bad request response has a 5xx status code

func (*StatusUnfaveBadRequest) IsSuccess

func (o *StatusUnfaveBadRequest) IsSuccess() bool

IsSuccess returns true when this status unfave bad request response has a 2xx status code

func (*StatusUnfaveBadRequest) String

func (o *StatusUnfaveBadRequest) String() string

type StatusUnfaveForbidden

type StatusUnfaveForbidden struct {
}

StatusUnfaveForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusUnfaveForbidden

func NewStatusUnfaveForbidden() *StatusUnfaveForbidden

NewStatusUnfaveForbidden creates a StatusUnfaveForbidden with default headers values

func (*StatusUnfaveForbidden) Code

func (o *StatusUnfaveForbidden) Code() int

Code gets the status code for the status unfave forbidden response

func (*StatusUnfaveForbidden) Error

func (o *StatusUnfaveForbidden) Error() string

func (*StatusUnfaveForbidden) IsClientError

func (o *StatusUnfaveForbidden) IsClientError() bool

IsClientError returns true when this status unfave forbidden response has a 4xx status code

func (*StatusUnfaveForbidden) IsCode

func (o *StatusUnfaveForbidden) IsCode(code int) bool

IsCode returns true when this status unfave forbidden response a status code equal to that given

func (*StatusUnfaveForbidden) IsRedirect

func (o *StatusUnfaveForbidden) IsRedirect() bool

IsRedirect returns true when this status unfave forbidden response has a 3xx status code

func (*StatusUnfaveForbidden) IsServerError

func (o *StatusUnfaveForbidden) IsServerError() bool

IsServerError returns true when this status unfave forbidden response has a 5xx status code

func (*StatusUnfaveForbidden) IsSuccess

func (o *StatusUnfaveForbidden) IsSuccess() bool

IsSuccess returns true when this status unfave forbidden response has a 2xx status code

func (*StatusUnfaveForbidden) String

func (o *StatusUnfaveForbidden) String() string

type StatusUnfaveInternalServerError

type StatusUnfaveInternalServerError struct {
}

StatusUnfaveInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusUnfaveInternalServerError

func NewStatusUnfaveInternalServerError() *StatusUnfaveInternalServerError

NewStatusUnfaveInternalServerError creates a StatusUnfaveInternalServerError with default headers values

func (*StatusUnfaveInternalServerError) Code

Code gets the status code for the status unfave internal server error response

func (*StatusUnfaveInternalServerError) Error

func (*StatusUnfaveInternalServerError) IsClientError

func (o *StatusUnfaveInternalServerError) IsClientError() bool

IsClientError returns true when this status unfave internal server error response has a 4xx status code

func (*StatusUnfaveInternalServerError) IsCode

func (o *StatusUnfaveInternalServerError) IsCode(code int) bool

IsCode returns true when this status unfave internal server error response a status code equal to that given

func (*StatusUnfaveInternalServerError) IsRedirect

func (o *StatusUnfaveInternalServerError) IsRedirect() bool

IsRedirect returns true when this status unfave internal server error response has a 3xx status code

func (*StatusUnfaveInternalServerError) IsServerError

func (o *StatusUnfaveInternalServerError) IsServerError() bool

IsServerError returns true when this status unfave internal server error response has a 5xx status code

func (*StatusUnfaveInternalServerError) IsSuccess

func (o *StatusUnfaveInternalServerError) IsSuccess() bool

IsSuccess returns true when this status unfave internal server error response has a 2xx status code

func (*StatusUnfaveInternalServerError) String

type StatusUnfaveNotAcceptable

type StatusUnfaveNotAcceptable struct {
}

StatusUnfaveNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusUnfaveNotAcceptable

func NewStatusUnfaveNotAcceptable() *StatusUnfaveNotAcceptable

NewStatusUnfaveNotAcceptable creates a StatusUnfaveNotAcceptable with default headers values

func (*StatusUnfaveNotAcceptable) Code

func (o *StatusUnfaveNotAcceptable) Code() int

Code gets the status code for the status unfave not acceptable response

func (*StatusUnfaveNotAcceptable) Error

func (o *StatusUnfaveNotAcceptable) Error() string

func (*StatusUnfaveNotAcceptable) IsClientError

func (o *StatusUnfaveNotAcceptable) IsClientError() bool

IsClientError returns true when this status unfave not acceptable response has a 4xx status code

func (*StatusUnfaveNotAcceptable) IsCode

func (o *StatusUnfaveNotAcceptable) IsCode(code int) bool

IsCode returns true when this status unfave not acceptable response a status code equal to that given

func (*StatusUnfaveNotAcceptable) IsRedirect

func (o *StatusUnfaveNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status unfave not acceptable response has a 3xx status code

func (*StatusUnfaveNotAcceptable) IsServerError

func (o *StatusUnfaveNotAcceptable) IsServerError() bool

IsServerError returns true when this status unfave not acceptable response has a 5xx status code

func (*StatusUnfaveNotAcceptable) IsSuccess

func (o *StatusUnfaveNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status unfave not acceptable response has a 2xx status code

func (*StatusUnfaveNotAcceptable) String

func (o *StatusUnfaveNotAcceptable) String() string

type StatusUnfaveNotFound

type StatusUnfaveNotFound struct {
}

StatusUnfaveNotFound describes a response with status code 404, with default header values.

not found

func NewStatusUnfaveNotFound

func NewStatusUnfaveNotFound() *StatusUnfaveNotFound

NewStatusUnfaveNotFound creates a StatusUnfaveNotFound with default headers values

func (*StatusUnfaveNotFound) Code

func (o *StatusUnfaveNotFound) Code() int

Code gets the status code for the status unfave not found response

func (*StatusUnfaveNotFound) Error

func (o *StatusUnfaveNotFound) Error() string

func (*StatusUnfaveNotFound) IsClientError

func (o *StatusUnfaveNotFound) IsClientError() bool

IsClientError returns true when this status unfave not found response has a 4xx status code

func (*StatusUnfaveNotFound) IsCode

func (o *StatusUnfaveNotFound) IsCode(code int) bool

IsCode returns true when this status unfave not found response a status code equal to that given

func (*StatusUnfaveNotFound) IsRedirect

func (o *StatusUnfaveNotFound) IsRedirect() bool

IsRedirect returns true when this status unfave not found response has a 3xx status code

func (*StatusUnfaveNotFound) IsServerError

func (o *StatusUnfaveNotFound) IsServerError() bool

IsServerError returns true when this status unfave not found response has a 5xx status code

func (*StatusUnfaveNotFound) IsSuccess

func (o *StatusUnfaveNotFound) IsSuccess() bool

IsSuccess returns true when this status unfave not found response has a 2xx status code

func (*StatusUnfaveNotFound) String

func (o *StatusUnfaveNotFound) String() string

type StatusUnfaveOK

type StatusUnfaveOK struct {
	Payload *models.Status
}

StatusUnfaveOK describes a response with status code 200, with default header values.

The unfaved status.

func NewStatusUnfaveOK

func NewStatusUnfaveOK() *StatusUnfaveOK

NewStatusUnfaveOK creates a StatusUnfaveOK with default headers values

func (*StatusUnfaveOK) Code

func (o *StatusUnfaveOK) Code() int

Code gets the status code for the status unfave o k response

func (*StatusUnfaveOK) Error

func (o *StatusUnfaveOK) Error() string

func (*StatusUnfaveOK) GetPayload

func (o *StatusUnfaveOK) GetPayload() *models.Status

func (*StatusUnfaveOK) IsClientError

func (o *StatusUnfaveOK) IsClientError() bool

IsClientError returns true when this status unfave o k response has a 4xx status code

func (*StatusUnfaveOK) IsCode

func (o *StatusUnfaveOK) IsCode(code int) bool

IsCode returns true when this status unfave o k response a status code equal to that given

func (*StatusUnfaveOK) IsRedirect

func (o *StatusUnfaveOK) IsRedirect() bool

IsRedirect returns true when this status unfave o k response has a 3xx status code

func (*StatusUnfaveOK) IsServerError

func (o *StatusUnfaveOK) IsServerError() bool

IsServerError returns true when this status unfave o k response has a 5xx status code

func (*StatusUnfaveOK) IsSuccess

func (o *StatusUnfaveOK) IsSuccess() bool

IsSuccess returns true when this status unfave o k response has a 2xx status code

func (*StatusUnfaveOK) String

func (o *StatusUnfaveOK) String() string

type StatusUnfaveParams

type StatusUnfaveParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusUnfaveParams contains all the parameters to send to the API endpoint

for the status unfave operation.

Typically these are written to a http.Request.

func NewStatusUnfaveParams

func NewStatusUnfaveParams() *StatusUnfaveParams

NewStatusUnfaveParams creates a new StatusUnfaveParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusUnfaveParamsWithContext

func NewStatusUnfaveParamsWithContext(ctx context.Context) *StatusUnfaveParams

NewStatusUnfaveParamsWithContext creates a new StatusUnfaveParams object with the ability to set a context for a request.

func NewStatusUnfaveParamsWithHTTPClient

func NewStatusUnfaveParamsWithHTTPClient(client *http.Client) *StatusUnfaveParams

NewStatusUnfaveParamsWithHTTPClient creates a new StatusUnfaveParams object with the ability to set a custom HTTPClient for a request.

func NewStatusUnfaveParamsWithTimeout

func NewStatusUnfaveParamsWithTimeout(timeout time.Duration) *StatusUnfaveParams

NewStatusUnfaveParamsWithTimeout creates a new StatusUnfaveParams object with the ability to set a timeout on a request.

func (*StatusUnfaveParams) SetContext

func (o *StatusUnfaveParams) SetContext(ctx context.Context)

SetContext adds the context to the status unfave params

func (*StatusUnfaveParams) SetDefaults

func (o *StatusUnfaveParams) SetDefaults()

SetDefaults hydrates default values in the status unfave params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnfaveParams) SetHTTPClient

func (o *StatusUnfaveParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status unfave params

func (*StatusUnfaveParams) SetID

func (o *StatusUnfaveParams) SetID(id string)

SetID adds the id to the status unfave params

func (*StatusUnfaveParams) SetTimeout

func (o *StatusUnfaveParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status unfave params

func (*StatusUnfaveParams) WithContext

WithContext adds the context to the status unfave params

func (*StatusUnfaveParams) WithDefaults

func (o *StatusUnfaveParams) WithDefaults() *StatusUnfaveParams

WithDefaults hydrates default values in the status unfave params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnfaveParams) WithHTTPClient

func (o *StatusUnfaveParams) WithHTTPClient(client *http.Client) *StatusUnfaveParams

WithHTTPClient adds the HTTPClient to the status unfave params

func (*StatusUnfaveParams) WithID

WithID adds the id to the status unfave params

func (*StatusUnfaveParams) WithTimeout

func (o *StatusUnfaveParams) WithTimeout(timeout time.Duration) *StatusUnfaveParams

WithTimeout adds the timeout to the status unfave params

func (*StatusUnfaveParams) WriteToRequest

func (o *StatusUnfaveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusUnfaveReader

type StatusUnfaveReader struct {
	// contains filtered or unexported fields
}

StatusUnfaveReader is a Reader for the StatusUnfave structure.

func (*StatusUnfaveReader) ReadResponse

func (o *StatusUnfaveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusUnfaveUnauthorized

type StatusUnfaveUnauthorized struct {
}

StatusUnfaveUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusUnfaveUnauthorized

func NewStatusUnfaveUnauthorized() *StatusUnfaveUnauthorized

NewStatusUnfaveUnauthorized creates a StatusUnfaveUnauthorized with default headers values

func (*StatusUnfaveUnauthorized) Code

func (o *StatusUnfaveUnauthorized) Code() int

Code gets the status code for the status unfave unauthorized response

func (*StatusUnfaveUnauthorized) Error

func (o *StatusUnfaveUnauthorized) Error() string

func (*StatusUnfaveUnauthorized) IsClientError

func (o *StatusUnfaveUnauthorized) IsClientError() bool

IsClientError returns true when this status unfave unauthorized response has a 4xx status code

func (*StatusUnfaveUnauthorized) IsCode

func (o *StatusUnfaveUnauthorized) IsCode(code int) bool

IsCode returns true when this status unfave unauthorized response a status code equal to that given

func (*StatusUnfaveUnauthorized) IsRedirect

func (o *StatusUnfaveUnauthorized) IsRedirect() bool

IsRedirect returns true when this status unfave unauthorized response has a 3xx status code

func (*StatusUnfaveUnauthorized) IsServerError

func (o *StatusUnfaveUnauthorized) IsServerError() bool

IsServerError returns true when this status unfave unauthorized response has a 5xx status code

func (*StatusUnfaveUnauthorized) IsSuccess

func (o *StatusUnfaveUnauthorized) IsSuccess() bool

IsSuccess returns true when this status unfave unauthorized response has a 2xx status code

func (*StatusUnfaveUnauthorized) String

func (o *StatusUnfaveUnauthorized) String() string

type StatusUnmuteBadRequest

type StatusUnmuteBadRequest struct {
}

StatusUnmuteBadRequest describes a response with status code 400, with default header values.

bad request; you're not part of the target status thread

func NewStatusUnmuteBadRequest

func NewStatusUnmuteBadRequest() *StatusUnmuteBadRequest

NewStatusUnmuteBadRequest creates a StatusUnmuteBadRequest with default headers values

func (*StatusUnmuteBadRequest) Code

func (o *StatusUnmuteBadRequest) Code() int

Code gets the status code for the status unmute bad request response

func (*StatusUnmuteBadRequest) Error

func (o *StatusUnmuteBadRequest) Error() string

func (*StatusUnmuteBadRequest) IsClientError

func (o *StatusUnmuteBadRequest) IsClientError() bool

IsClientError returns true when this status unmute bad request response has a 4xx status code

func (*StatusUnmuteBadRequest) IsCode

func (o *StatusUnmuteBadRequest) IsCode(code int) bool

IsCode returns true when this status unmute bad request response a status code equal to that given

func (*StatusUnmuteBadRequest) IsRedirect

func (o *StatusUnmuteBadRequest) IsRedirect() bool

IsRedirect returns true when this status unmute bad request response has a 3xx status code

func (*StatusUnmuteBadRequest) IsServerError

func (o *StatusUnmuteBadRequest) IsServerError() bool

IsServerError returns true when this status unmute bad request response has a 5xx status code

func (*StatusUnmuteBadRequest) IsSuccess

func (o *StatusUnmuteBadRequest) IsSuccess() bool

IsSuccess returns true when this status unmute bad request response has a 2xx status code

func (*StatusUnmuteBadRequest) String

func (o *StatusUnmuteBadRequest) String() string

type StatusUnmuteForbidden

type StatusUnmuteForbidden struct {
}

StatusUnmuteForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusUnmuteForbidden

func NewStatusUnmuteForbidden() *StatusUnmuteForbidden

NewStatusUnmuteForbidden creates a StatusUnmuteForbidden with default headers values

func (*StatusUnmuteForbidden) Code

func (o *StatusUnmuteForbidden) Code() int

Code gets the status code for the status unmute forbidden response

func (*StatusUnmuteForbidden) Error

func (o *StatusUnmuteForbidden) Error() string

func (*StatusUnmuteForbidden) IsClientError

func (o *StatusUnmuteForbidden) IsClientError() bool

IsClientError returns true when this status unmute forbidden response has a 4xx status code

func (*StatusUnmuteForbidden) IsCode

func (o *StatusUnmuteForbidden) IsCode(code int) bool

IsCode returns true when this status unmute forbidden response a status code equal to that given

func (*StatusUnmuteForbidden) IsRedirect

func (o *StatusUnmuteForbidden) IsRedirect() bool

IsRedirect returns true when this status unmute forbidden response has a 3xx status code

func (*StatusUnmuteForbidden) IsServerError

func (o *StatusUnmuteForbidden) IsServerError() bool

IsServerError returns true when this status unmute forbidden response has a 5xx status code

func (*StatusUnmuteForbidden) IsSuccess

func (o *StatusUnmuteForbidden) IsSuccess() bool

IsSuccess returns true when this status unmute forbidden response has a 2xx status code

func (*StatusUnmuteForbidden) String

func (o *StatusUnmuteForbidden) String() string

type StatusUnmuteInternalServerError

type StatusUnmuteInternalServerError struct {
}

StatusUnmuteInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusUnmuteInternalServerError

func NewStatusUnmuteInternalServerError() *StatusUnmuteInternalServerError

NewStatusUnmuteInternalServerError creates a StatusUnmuteInternalServerError with default headers values

func (*StatusUnmuteInternalServerError) Code

Code gets the status code for the status unmute internal server error response

func (*StatusUnmuteInternalServerError) Error

func (*StatusUnmuteInternalServerError) IsClientError

func (o *StatusUnmuteInternalServerError) IsClientError() bool

IsClientError returns true when this status unmute internal server error response has a 4xx status code

func (*StatusUnmuteInternalServerError) IsCode

func (o *StatusUnmuteInternalServerError) IsCode(code int) bool

IsCode returns true when this status unmute internal server error response a status code equal to that given

func (*StatusUnmuteInternalServerError) IsRedirect

func (o *StatusUnmuteInternalServerError) IsRedirect() bool

IsRedirect returns true when this status unmute internal server error response has a 3xx status code

func (*StatusUnmuteInternalServerError) IsServerError

func (o *StatusUnmuteInternalServerError) IsServerError() bool

IsServerError returns true when this status unmute internal server error response has a 5xx status code

func (*StatusUnmuteInternalServerError) IsSuccess

func (o *StatusUnmuteInternalServerError) IsSuccess() bool

IsSuccess returns true when this status unmute internal server error response has a 2xx status code

func (*StatusUnmuteInternalServerError) String

type StatusUnmuteNotAcceptable

type StatusUnmuteNotAcceptable struct {
}

StatusUnmuteNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusUnmuteNotAcceptable

func NewStatusUnmuteNotAcceptable() *StatusUnmuteNotAcceptable

NewStatusUnmuteNotAcceptable creates a StatusUnmuteNotAcceptable with default headers values

func (*StatusUnmuteNotAcceptable) Code

func (o *StatusUnmuteNotAcceptable) Code() int

Code gets the status code for the status unmute not acceptable response

func (*StatusUnmuteNotAcceptable) Error

func (o *StatusUnmuteNotAcceptable) Error() string

func (*StatusUnmuteNotAcceptable) IsClientError

func (o *StatusUnmuteNotAcceptable) IsClientError() bool

IsClientError returns true when this status unmute not acceptable response has a 4xx status code

func (*StatusUnmuteNotAcceptable) IsCode

func (o *StatusUnmuteNotAcceptable) IsCode(code int) bool

IsCode returns true when this status unmute not acceptable response a status code equal to that given

func (*StatusUnmuteNotAcceptable) IsRedirect

func (o *StatusUnmuteNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status unmute not acceptable response has a 3xx status code

func (*StatusUnmuteNotAcceptable) IsServerError

func (o *StatusUnmuteNotAcceptable) IsServerError() bool

IsServerError returns true when this status unmute not acceptable response has a 5xx status code

func (*StatusUnmuteNotAcceptable) IsSuccess

func (o *StatusUnmuteNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status unmute not acceptable response has a 2xx status code

func (*StatusUnmuteNotAcceptable) String

func (o *StatusUnmuteNotAcceptable) String() string

type StatusUnmuteNotFound

type StatusUnmuteNotFound struct {
}

StatusUnmuteNotFound describes a response with status code 404, with default header values.

not found

func NewStatusUnmuteNotFound

func NewStatusUnmuteNotFound() *StatusUnmuteNotFound

NewStatusUnmuteNotFound creates a StatusUnmuteNotFound with default headers values

func (*StatusUnmuteNotFound) Code

func (o *StatusUnmuteNotFound) Code() int

Code gets the status code for the status unmute not found response

func (*StatusUnmuteNotFound) Error

func (o *StatusUnmuteNotFound) Error() string

func (*StatusUnmuteNotFound) IsClientError

func (o *StatusUnmuteNotFound) IsClientError() bool

IsClientError returns true when this status unmute not found response has a 4xx status code

func (*StatusUnmuteNotFound) IsCode

func (o *StatusUnmuteNotFound) IsCode(code int) bool

IsCode returns true when this status unmute not found response a status code equal to that given

func (*StatusUnmuteNotFound) IsRedirect

func (o *StatusUnmuteNotFound) IsRedirect() bool

IsRedirect returns true when this status unmute not found response has a 3xx status code

func (*StatusUnmuteNotFound) IsServerError

func (o *StatusUnmuteNotFound) IsServerError() bool

IsServerError returns true when this status unmute not found response has a 5xx status code

func (*StatusUnmuteNotFound) IsSuccess

func (o *StatusUnmuteNotFound) IsSuccess() bool

IsSuccess returns true when this status unmute not found response has a 2xx status code

func (*StatusUnmuteNotFound) String

func (o *StatusUnmuteNotFound) String() string

type StatusUnmuteOK

type StatusUnmuteOK struct {
	Payload *models.Status
}

StatusUnmuteOK describes a response with status code 200, with default header values.

The now-unmuted status.

func NewStatusUnmuteOK

func NewStatusUnmuteOK() *StatusUnmuteOK

NewStatusUnmuteOK creates a StatusUnmuteOK with default headers values

func (*StatusUnmuteOK) Code

func (o *StatusUnmuteOK) Code() int

Code gets the status code for the status unmute o k response

func (*StatusUnmuteOK) Error

func (o *StatusUnmuteOK) Error() string

func (*StatusUnmuteOK) GetPayload

func (o *StatusUnmuteOK) GetPayload() *models.Status

func (*StatusUnmuteOK) IsClientError

func (o *StatusUnmuteOK) IsClientError() bool

IsClientError returns true when this status unmute o k response has a 4xx status code

func (*StatusUnmuteOK) IsCode

func (o *StatusUnmuteOK) IsCode(code int) bool

IsCode returns true when this status unmute o k response a status code equal to that given

func (*StatusUnmuteOK) IsRedirect

func (o *StatusUnmuteOK) IsRedirect() bool

IsRedirect returns true when this status unmute o k response has a 3xx status code

func (*StatusUnmuteOK) IsServerError

func (o *StatusUnmuteOK) IsServerError() bool

IsServerError returns true when this status unmute o k response has a 5xx status code

func (*StatusUnmuteOK) IsSuccess

func (o *StatusUnmuteOK) IsSuccess() bool

IsSuccess returns true when this status unmute o k response has a 2xx status code

func (*StatusUnmuteOK) String

func (o *StatusUnmuteOK) String() string

type StatusUnmuteParams

type StatusUnmuteParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusUnmuteParams contains all the parameters to send to the API endpoint

for the status unmute operation.

Typically these are written to a http.Request.

func NewStatusUnmuteParams

func NewStatusUnmuteParams() *StatusUnmuteParams

NewStatusUnmuteParams creates a new StatusUnmuteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusUnmuteParamsWithContext

func NewStatusUnmuteParamsWithContext(ctx context.Context) *StatusUnmuteParams

NewStatusUnmuteParamsWithContext creates a new StatusUnmuteParams object with the ability to set a context for a request.

func NewStatusUnmuteParamsWithHTTPClient

func NewStatusUnmuteParamsWithHTTPClient(client *http.Client) *StatusUnmuteParams

NewStatusUnmuteParamsWithHTTPClient creates a new StatusUnmuteParams object with the ability to set a custom HTTPClient for a request.

func NewStatusUnmuteParamsWithTimeout

func NewStatusUnmuteParamsWithTimeout(timeout time.Duration) *StatusUnmuteParams

NewStatusUnmuteParamsWithTimeout creates a new StatusUnmuteParams object with the ability to set a timeout on a request.

func (*StatusUnmuteParams) SetContext

func (o *StatusUnmuteParams) SetContext(ctx context.Context)

SetContext adds the context to the status unmute params

func (*StatusUnmuteParams) SetDefaults

func (o *StatusUnmuteParams) SetDefaults()

SetDefaults hydrates default values in the status unmute params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnmuteParams) SetHTTPClient

func (o *StatusUnmuteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status unmute params

func (*StatusUnmuteParams) SetID

func (o *StatusUnmuteParams) SetID(id string)

SetID adds the id to the status unmute params

func (*StatusUnmuteParams) SetTimeout

func (o *StatusUnmuteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status unmute params

func (*StatusUnmuteParams) WithContext

WithContext adds the context to the status unmute params

func (*StatusUnmuteParams) WithDefaults

func (o *StatusUnmuteParams) WithDefaults() *StatusUnmuteParams

WithDefaults hydrates default values in the status unmute params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnmuteParams) WithHTTPClient

func (o *StatusUnmuteParams) WithHTTPClient(client *http.Client) *StatusUnmuteParams

WithHTTPClient adds the HTTPClient to the status unmute params

func (*StatusUnmuteParams) WithID

WithID adds the id to the status unmute params

func (*StatusUnmuteParams) WithTimeout

func (o *StatusUnmuteParams) WithTimeout(timeout time.Duration) *StatusUnmuteParams

WithTimeout adds the timeout to the status unmute params

func (*StatusUnmuteParams) WriteToRequest

func (o *StatusUnmuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusUnmuteReader

type StatusUnmuteReader struct {
	// contains filtered or unexported fields
}

StatusUnmuteReader is a Reader for the StatusUnmute structure.

func (*StatusUnmuteReader) ReadResponse

func (o *StatusUnmuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusUnmuteUnauthorized

type StatusUnmuteUnauthorized struct {
}

StatusUnmuteUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusUnmuteUnauthorized

func NewStatusUnmuteUnauthorized() *StatusUnmuteUnauthorized

NewStatusUnmuteUnauthorized creates a StatusUnmuteUnauthorized with default headers values

func (*StatusUnmuteUnauthorized) Code

func (o *StatusUnmuteUnauthorized) Code() int

Code gets the status code for the status unmute unauthorized response

func (*StatusUnmuteUnauthorized) Error

func (o *StatusUnmuteUnauthorized) Error() string

func (*StatusUnmuteUnauthorized) IsClientError

func (o *StatusUnmuteUnauthorized) IsClientError() bool

IsClientError returns true when this status unmute unauthorized response has a 4xx status code

func (*StatusUnmuteUnauthorized) IsCode

func (o *StatusUnmuteUnauthorized) IsCode(code int) bool

IsCode returns true when this status unmute unauthorized response a status code equal to that given

func (*StatusUnmuteUnauthorized) IsRedirect

func (o *StatusUnmuteUnauthorized) IsRedirect() bool

IsRedirect returns true when this status unmute unauthorized response has a 3xx status code

func (*StatusUnmuteUnauthorized) IsServerError

func (o *StatusUnmuteUnauthorized) IsServerError() bool

IsServerError returns true when this status unmute unauthorized response has a 5xx status code

func (*StatusUnmuteUnauthorized) IsSuccess

func (o *StatusUnmuteUnauthorized) IsSuccess() bool

IsSuccess returns true when this status unmute unauthorized response has a 2xx status code

func (*StatusUnmuteUnauthorized) String

func (o *StatusUnmuteUnauthorized) String() string

type StatusUnpinBadRequest

type StatusUnpinBadRequest struct {
}

StatusUnpinBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusUnpinBadRequest

func NewStatusUnpinBadRequest() *StatusUnpinBadRequest

NewStatusUnpinBadRequest creates a StatusUnpinBadRequest with default headers values

func (*StatusUnpinBadRequest) Code

func (o *StatusUnpinBadRequest) Code() int

Code gets the status code for the status unpin bad request response

func (*StatusUnpinBadRequest) Error

func (o *StatusUnpinBadRequest) Error() string

func (*StatusUnpinBadRequest) IsClientError

func (o *StatusUnpinBadRequest) IsClientError() bool

IsClientError returns true when this status unpin bad request response has a 4xx status code

func (*StatusUnpinBadRequest) IsCode

func (o *StatusUnpinBadRequest) IsCode(code int) bool

IsCode returns true when this status unpin bad request response a status code equal to that given

func (*StatusUnpinBadRequest) IsRedirect

func (o *StatusUnpinBadRequest) IsRedirect() bool

IsRedirect returns true when this status unpin bad request response has a 3xx status code

func (*StatusUnpinBadRequest) IsServerError

func (o *StatusUnpinBadRequest) IsServerError() bool

IsServerError returns true when this status unpin bad request response has a 5xx status code

func (*StatusUnpinBadRequest) IsSuccess

func (o *StatusUnpinBadRequest) IsSuccess() bool

IsSuccess returns true when this status unpin bad request response has a 2xx status code

func (*StatusUnpinBadRequest) String

func (o *StatusUnpinBadRequest) String() string

type StatusUnpinForbidden

type StatusUnpinForbidden struct {
}

StatusUnpinForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusUnpinForbidden

func NewStatusUnpinForbidden() *StatusUnpinForbidden

NewStatusUnpinForbidden creates a StatusUnpinForbidden with default headers values

func (*StatusUnpinForbidden) Code

func (o *StatusUnpinForbidden) Code() int

Code gets the status code for the status unpin forbidden response

func (*StatusUnpinForbidden) Error

func (o *StatusUnpinForbidden) Error() string

func (*StatusUnpinForbidden) IsClientError

func (o *StatusUnpinForbidden) IsClientError() bool

IsClientError returns true when this status unpin forbidden response has a 4xx status code

func (*StatusUnpinForbidden) IsCode

func (o *StatusUnpinForbidden) IsCode(code int) bool

IsCode returns true when this status unpin forbidden response a status code equal to that given

func (*StatusUnpinForbidden) IsRedirect

func (o *StatusUnpinForbidden) IsRedirect() bool

IsRedirect returns true when this status unpin forbidden response has a 3xx status code

func (*StatusUnpinForbidden) IsServerError

func (o *StatusUnpinForbidden) IsServerError() bool

IsServerError returns true when this status unpin forbidden response has a 5xx status code

func (*StatusUnpinForbidden) IsSuccess

func (o *StatusUnpinForbidden) IsSuccess() bool

IsSuccess returns true when this status unpin forbidden response has a 2xx status code

func (*StatusUnpinForbidden) String

func (o *StatusUnpinForbidden) String() string

type StatusUnpinInternalServerError

type StatusUnpinInternalServerError struct {
}

StatusUnpinInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusUnpinInternalServerError

func NewStatusUnpinInternalServerError() *StatusUnpinInternalServerError

NewStatusUnpinInternalServerError creates a StatusUnpinInternalServerError with default headers values

func (*StatusUnpinInternalServerError) Code

Code gets the status code for the status unpin internal server error response

func (*StatusUnpinInternalServerError) Error

func (*StatusUnpinInternalServerError) IsClientError

func (o *StatusUnpinInternalServerError) IsClientError() bool

IsClientError returns true when this status unpin internal server error response has a 4xx status code

func (*StatusUnpinInternalServerError) IsCode

func (o *StatusUnpinInternalServerError) IsCode(code int) bool

IsCode returns true when this status unpin internal server error response a status code equal to that given

func (*StatusUnpinInternalServerError) IsRedirect

func (o *StatusUnpinInternalServerError) IsRedirect() bool

IsRedirect returns true when this status unpin internal server error response has a 3xx status code

func (*StatusUnpinInternalServerError) IsServerError

func (o *StatusUnpinInternalServerError) IsServerError() bool

IsServerError returns true when this status unpin internal server error response has a 5xx status code

func (*StatusUnpinInternalServerError) IsSuccess

func (o *StatusUnpinInternalServerError) IsSuccess() bool

IsSuccess returns true when this status unpin internal server error response has a 2xx status code

func (*StatusUnpinInternalServerError) String

type StatusUnpinNotAcceptable

type StatusUnpinNotAcceptable struct {
}

StatusUnpinNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusUnpinNotAcceptable

func NewStatusUnpinNotAcceptable() *StatusUnpinNotAcceptable

NewStatusUnpinNotAcceptable creates a StatusUnpinNotAcceptable with default headers values

func (*StatusUnpinNotAcceptable) Code

func (o *StatusUnpinNotAcceptable) Code() int

Code gets the status code for the status unpin not acceptable response

func (*StatusUnpinNotAcceptable) Error

func (o *StatusUnpinNotAcceptable) Error() string

func (*StatusUnpinNotAcceptable) IsClientError

func (o *StatusUnpinNotAcceptable) IsClientError() bool

IsClientError returns true when this status unpin not acceptable response has a 4xx status code

func (*StatusUnpinNotAcceptable) IsCode

func (o *StatusUnpinNotAcceptable) IsCode(code int) bool

IsCode returns true when this status unpin not acceptable response a status code equal to that given

func (*StatusUnpinNotAcceptable) IsRedirect

func (o *StatusUnpinNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status unpin not acceptable response has a 3xx status code

func (*StatusUnpinNotAcceptable) IsServerError

func (o *StatusUnpinNotAcceptable) IsServerError() bool

IsServerError returns true when this status unpin not acceptable response has a 5xx status code

func (*StatusUnpinNotAcceptable) IsSuccess

func (o *StatusUnpinNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status unpin not acceptable response has a 2xx status code

func (*StatusUnpinNotAcceptable) String

func (o *StatusUnpinNotAcceptable) String() string

type StatusUnpinNotFound

type StatusUnpinNotFound struct {
}

StatusUnpinNotFound describes a response with status code 404, with default header values.

not found

func NewStatusUnpinNotFound

func NewStatusUnpinNotFound() *StatusUnpinNotFound

NewStatusUnpinNotFound creates a StatusUnpinNotFound with default headers values

func (*StatusUnpinNotFound) Code

func (o *StatusUnpinNotFound) Code() int

Code gets the status code for the status unpin not found response

func (*StatusUnpinNotFound) Error

func (o *StatusUnpinNotFound) Error() string

func (*StatusUnpinNotFound) IsClientError

func (o *StatusUnpinNotFound) IsClientError() bool

IsClientError returns true when this status unpin not found response has a 4xx status code

func (*StatusUnpinNotFound) IsCode

func (o *StatusUnpinNotFound) IsCode(code int) bool

IsCode returns true when this status unpin not found response a status code equal to that given

func (*StatusUnpinNotFound) IsRedirect

func (o *StatusUnpinNotFound) IsRedirect() bool

IsRedirect returns true when this status unpin not found response has a 3xx status code

func (*StatusUnpinNotFound) IsServerError

func (o *StatusUnpinNotFound) IsServerError() bool

IsServerError returns true when this status unpin not found response has a 5xx status code

func (*StatusUnpinNotFound) IsSuccess

func (o *StatusUnpinNotFound) IsSuccess() bool

IsSuccess returns true when this status unpin not found response has a 2xx status code

func (*StatusUnpinNotFound) String

func (o *StatusUnpinNotFound) String() string

type StatusUnpinOK

type StatusUnpinOK struct {
	Payload *models.Status
}

StatusUnpinOK describes a response with status code 200, with default header values.

The status.

func NewStatusUnpinOK

func NewStatusUnpinOK() *StatusUnpinOK

NewStatusUnpinOK creates a StatusUnpinOK with default headers values

func (*StatusUnpinOK) Code

func (o *StatusUnpinOK) Code() int

Code gets the status code for the status unpin o k response

func (*StatusUnpinOK) Error

func (o *StatusUnpinOK) Error() string

func (*StatusUnpinOK) GetPayload

func (o *StatusUnpinOK) GetPayload() *models.Status

func (*StatusUnpinOK) IsClientError

func (o *StatusUnpinOK) IsClientError() bool

IsClientError returns true when this status unpin o k response has a 4xx status code

func (*StatusUnpinOK) IsCode

func (o *StatusUnpinOK) IsCode(code int) bool

IsCode returns true when this status unpin o k response a status code equal to that given

func (*StatusUnpinOK) IsRedirect

func (o *StatusUnpinOK) IsRedirect() bool

IsRedirect returns true when this status unpin o k response has a 3xx status code

func (*StatusUnpinOK) IsServerError

func (o *StatusUnpinOK) IsServerError() bool

IsServerError returns true when this status unpin o k response has a 5xx status code

func (*StatusUnpinOK) IsSuccess

func (o *StatusUnpinOK) IsSuccess() bool

IsSuccess returns true when this status unpin o k response has a 2xx status code

func (*StatusUnpinOK) String

func (o *StatusUnpinOK) String() string

type StatusUnpinParams

type StatusUnpinParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusUnpinParams contains all the parameters to send to the API endpoint

for the status unpin operation.

Typically these are written to a http.Request.

func NewStatusUnpinParams

func NewStatusUnpinParams() *StatusUnpinParams

NewStatusUnpinParams creates a new StatusUnpinParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusUnpinParamsWithContext

func NewStatusUnpinParamsWithContext(ctx context.Context) *StatusUnpinParams

NewStatusUnpinParamsWithContext creates a new StatusUnpinParams object with the ability to set a context for a request.

func NewStatusUnpinParamsWithHTTPClient

func NewStatusUnpinParamsWithHTTPClient(client *http.Client) *StatusUnpinParams

NewStatusUnpinParamsWithHTTPClient creates a new StatusUnpinParams object with the ability to set a custom HTTPClient for a request.

func NewStatusUnpinParamsWithTimeout

func NewStatusUnpinParamsWithTimeout(timeout time.Duration) *StatusUnpinParams

NewStatusUnpinParamsWithTimeout creates a new StatusUnpinParams object with the ability to set a timeout on a request.

func (*StatusUnpinParams) SetContext

func (o *StatusUnpinParams) SetContext(ctx context.Context)

SetContext adds the context to the status unpin params

func (*StatusUnpinParams) SetDefaults

func (o *StatusUnpinParams) SetDefaults()

SetDefaults hydrates default values in the status unpin params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnpinParams) SetHTTPClient

func (o *StatusUnpinParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status unpin params

func (*StatusUnpinParams) SetID

func (o *StatusUnpinParams) SetID(id string)

SetID adds the id to the status unpin params

func (*StatusUnpinParams) SetTimeout

func (o *StatusUnpinParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status unpin params

func (*StatusUnpinParams) WithContext

func (o *StatusUnpinParams) WithContext(ctx context.Context) *StatusUnpinParams

WithContext adds the context to the status unpin params

func (*StatusUnpinParams) WithDefaults

func (o *StatusUnpinParams) WithDefaults() *StatusUnpinParams

WithDefaults hydrates default values in the status unpin params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnpinParams) WithHTTPClient

func (o *StatusUnpinParams) WithHTTPClient(client *http.Client) *StatusUnpinParams

WithHTTPClient adds the HTTPClient to the status unpin params

func (*StatusUnpinParams) WithID

WithID adds the id to the status unpin params

func (*StatusUnpinParams) WithTimeout

func (o *StatusUnpinParams) WithTimeout(timeout time.Duration) *StatusUnpinParams

WithTimeout adds the timeout to the status unpin params

func (*StatusUnpinParams) WriteToRequest

func (o *StatusUnpinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusUnpinReader

type StatusUnpinReader struct {
	// contains filtered or unexported fields
}

StatusUnpinReader is a Reader for the StatusUnpin structure.

func (*StatusUnpinReader) ReadResponse

func (o *StatusUnpinReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusUnpinUnauthorized

type StatusUnpinUnauthorized struct {
}

StatusUnpinUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusUnpinUnauthorized

func NewStatusUnpinUnauthorized() *StatusUnpinUnauthorized

NewStatusUnpinUnauthorized creates a StatusUnpinUnauthorized with default headers values

func (*StatusUnpinUnauthorized) Code

func (o *StatusUnpinUnauthorized) Code() int

Code gets the status code for the status unpin unauthorized response

func (*StatusUnpinUnauthorized) Error

func (o *StatusUnpinUnauthorized) Error() string

func (*StatusUnpinUnauthorized) IsClientError

func (o *StatusUnpinUnauthorized) IsClientError() bool

IsClientError returns true when this status unpin unauthorized response has a 4xx status code

func (*StatusUnpinUnauthorized) IsCode

func (o *StatusUnpinUnauthorized) IsCode(code int) bool

IsCode returns true when this status unpin unauthorized response a status code equal to that given

func (*StatusUnpinUnauthorized) IsRedirect

func (o *StatusUnpinUnauthorized) IsRedirect() bool

IsRedirect returns true when this status unpin unauthorized response has a 3xx status code

func (*StatusUnpinUnauthorized) IsServerError

func (o *StatusUnpinUnauthorized) IsServerError() bool

IsServerError returns true when this status unpin unauthorized response has a 5xx status code

func (*StatusUnpinUnauthorized) IsSuccess

func (o *StatusUnpinUnauthorized) IsSuccess() bool

IsSuccess returns true when this status unpin unauthorized response has a 2xx status code

func (*StatusUnpinUnauthorized) String

func (o *StatusUnpinUnauthorized) String() string

type StatusUnreblogBadRequest

type StatusUnreblogBadRequest struct {
}

StatusUnreblogBadRequest describes a response with status code 400, with default header values.

bad request

func NewStatusUnreblogBadRequest

func NewStatusUnreblogBadRequest() *StatusUnreblogBadRequest

NewStatusUnreblogBadRequest creates a StatusUnreblogBadRequest with default headers values

func (*StatusUnreblogBadRequest) Code

func (o *StatusUnreblogBadRequest) Code() int

Code gets the status code for the status unreblog bad request response

func (*StatusUnreblogBadRequest) Error

func (o *StatusUnreblogBadRequest) Error() string

func (*StatusUnreblogBadRequest) IsClientError

func (o *StatusUnreblogBadRequest) IsClientError() bool

IsClientError returns true when this status unreblog bad request response has a 4xx status code

func (*StatusUnreblogBadRequest) IsCode

func (o *StatusUnreblogBadRequest) IsCode(code int) bool

IsCode returns true when this status unreblog bad request response a status code equal to that given

func (*StatusUnreblogBadRequest) IsRedirect

func (o *StatusUnreblogBadRequest) IsRedirect() bool

IsRedirect returns true when this status unreblog bad request response has a 3xx status code

func (*StatusUnreblogBadRequest) IsServerError

func (o *StatusUnreblogBadRequest) IsServerError() bool

IsServerError returns true when this status unreblog bad request response has a 5xx status code

func (*StatusUnreblogBadRequest) IsSuccess

func (o *StatusUnreblogBadRequest) IsSuccess() bool

IsSuccess returns true when this status unreblog bad request response has a 2xx status code

func (*StatusUnreblogBadRequest) String

func (o *StatusUnreblogBadRequest) String() string

type StatusUnreblogForbidden

type StatusUnreblogForbidden struct {
}

StatusUnreblogForbidden describes a response with status code 403, with default header values.

forbidden

func NewStatusUnreblogForbidden

func NewStatusUnreblogForbidden() *StatusUnreblogForbidden

NewStatusUnreblogForbidden creates a StatusUnreblogForbidden with default headers values

func (*StatusUnreblogForbidden) Code

func (o *StatusUnreblogForbidden) Code() int

Code gets the status code for the status unreblog forbidden response

func (*StatusUnreblogForbidden) Error

func (o *StatusUnreblogForbidden) Error() string

func (*StatusUnreblogForbidden) IsClientError

func (o *StatusUnreblogForbidden) IsClientError() bool

IsClientError returns true when this status unreblog forbidden response has a 4xx status code

func (*StatusUnreblogForbidden) IsCode

func (o *StatusUnreblogForbidden) IsCode(code int) bool

IsCode returns true when this status unreblog forbidden response a status code equal to that given

func (*StatusUnreblogForbidden) IsRedirect

func (o *StatusUnreblogForbidden) IsRedirect() bool

IsRedirect returns true when this status unreblog forbidden response has a 3xx status code

func (*StatusUnreblogForbidden) IsServerError

func (o *StatusUnreblogForbidden) IsServerError() bool

IsServerError returns true when this status unreblog forbidden response has a 5xx status code

func (*StatusUnreblogForbidden) IsSuccess

func (o *StatusUnreblogForbidden) IsSuccess() bool

IsSuccess returns true when this status unreblog forbidden response has a 2xx status code

func (*StatusUnreblogForbidden) String

func (o *StatusUnreblogForbidden) String() string

type StatusUnreblogInternalServerError

type StatusUnreblogInternalServerError struct {
}

StatusUnreblogInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewStatusUnreblogInternalServerError

func NewStatusUnreblogInternalServerError() *StatusUnreblogInternalServerError

NewStatusUnreblogInternalServerError creates a StatusUnreblogInternalServerError with default headers values

func (*StatusUnreblogInternalServerError) Code

Code gets the status code for the status unreblog internal server error response

func (*StatusUnreblogInternalServerError) Error

func (*StatusUnreblogInternalServerError) IsClientError

func (o *StatusUnreblogInternalServerError) IsClientError() bool

IsClientError returns true when this status unreblog internal server error response has a 4xx status code

func (*StatusUnreblogInternalServerError) IsCode

func (o *StatusUnreblogInternalServerError) IsCode(code int) bool

IsCode returns true when this status unreblog internal server error response a status code equal to that given

func (*StatusUnreblogInternalServerError) IsRedirect

func (o *StatusUnreblogInternalServerError) IsRedirect() bool

IsRedirect returns true when this status unreblog internal server error response has a 3xx status code

func (*StatusUnreblogInternalServerError) IsServerError

func (o *StatusUnreblogInternalServerError) IsServerError() bool

IsServerError returns true when this status unreblog internal server error response has a 5xx status code

func (*StatusUnreblogInternalServerError) IsSuccess

func (o *StatusUnreblogInternalServerError) IsSuccess() bool

IsSuccess returns true when this status unreblog internal server error response has a 2xx status code

func (*StatusUnreblogInternalServerError) String

type StatusUnreblogNotAcceptable

type StatusUnreblogNotAcceptable struct {
}

StatusUnreblogNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewStatusUnreblogNotAcceptable

func NewStatusUnreblogNotAcceptable() *StatusUnreblogNotAcceptable

NewStatusUnreblogNotAcceptable creates a StatusUnreblogNotAcceptable with default headers values

func (*StatusUnreblogNotAcceptable) Code

func (o *StatusUnreblogNotAcceptable) Code() int

Code gets the status code for the status unreblog not acceptable response

func (*StatusUnreblogNotAcceptable) Error

func (*StatusUnreblogNotAcceptable) IsClientError

func (o *StatusUnreblogNotAcceptable) IsClientError() bool

IsClientError returns true when this status unreblog not acceptable response has a 4xx status code

func (*StatusUnreblogNotAcceptable) IsCode

func (o *StatusUnreblogNotAcceptable) IsCode(code int) bool

IsCode returns true when this status unreblog not acceptable response a status code equal to that given

func (*StatusUnreblogNotAcceptable) IsRedirect

func (o *StatusUnreblogNotAcceptable) IsRedirect() bool

IsRedirect returns true when this status unreblog not acceptable response has a 3xx status code

func (*StatusUnreblogNotAcceptable) IsServerError

func (o *StatusUnreblogNotAcceptable) IsServerError() bool

IsServerError returns true when this status unreblog not acceptable response has a 5xx status code

func (*StatusUnreblogNotAcceptable) IsSuccess

func (o *StatusUnreblogNotAcceptable) IsSuccess() bool

IsSuccess returns true when this status unreblog not acceptable response has a 2xx status code

func (*StatusUnreblogNotAcceptable) String

func (o *StatusUnreblogNotAcceptable) String() string

type StatusUnreblogNotFound

type StatusUnreblogNotFound struct {
}

StatusUnreblogNotFound describes a response with status code 404, with default header values.

not found

func NewStatusUnreblogNotFound

func NewStatusUnreblogNotFound() *StatusUnreblogNotFound

NewStatusUnreblogNotFound creates a StatusUnreblogNotFound with default headers values

func (*StatusUnreblogNotFound) Code

func (o *StatusUnreblogNotFound) Code() int

Code gets the status code for the status unreblog not found response

func (*StatusUnreblogNotFound) Error

func (o *StatusUnreblogNotFound) Error() string

func (*StatusUnreblogNotFound) IsClientError

func (o *StatusUnreblogNotFound) IsClientError() bool

IsClientError returns true when this status unreblog not found response has a 4xx status code

func (*StatusUnreblogNotFound) IsCode

func (o *StatusUnreblogNotFound) IsCode(code int) bool

IsCode returns true when this status unreblog not found response a status code equal to that given

func (*StatusUnreblogNotFound) IsRedirect

func (o *StatusUnreblogNotFound) IsRedirect() bool

IsRedirect returns true when this status unreblog not found response has a 3xx status code

func (*StatusUnreblogNotFound) IsServerError

func (o *StatusUnreblogNotFound) IsServerError() bool

IsServerError returns true when this status unreblog not found response has a 5xx status code

func (*StatusUnreblogNotFound) IsSuccess

func (o *StatusUnreblogNotFound) IsSuccess() bool

IsSuccess returns true when this status unreblog not found response has a 2xx status code

func (*StatusUnreblogNotFound) String

func (o *StatusUnreblogNotFound) String() string

type StatusUnreblogOK

type StatusUnreblogOK struct {
	Payload *models.Status
}

StatusUnreblogOK describes a response with status code 200, with default header values.

The unboosted status.

func NewStatusUnreblogOK

func NewStatusUnreblogOK() *StatusUnreblogOK

NewStatusUnreblogOK creates a StatusUnreblogOK with default headers values

func (*StatusUnreblogOK) Code

func (o *StatusUnreblogOK) Code() int

Code gets the status code for the status unreblog o k response

func (*StatusUnreblogOK) Error

func (o *StatusUnreblogOK) Error() string

func (*StatusUnreblogOK) GetPayload

func (o *StatusUnreblogOK) GetPayload() *models.Status

func (*StatusUnreblogOK) IsClientError

func (o *StatusUnreblogOK) IsClientError() bool

IsClientError returns true when this status unreblog o k response has a 4xx status code

func (*StatusUnreblogOK) IsCode

func (o *StatusUnreblogOK) IsCode(code int) bool

IsCode returns true when this status unreblog o k response a status code equal to that given

func (*StatusUnreblogOK) IsRedirect

func (o *StatusUnreblogOK) IsRedirect() bool

IsRedirect returns true when this status unreblog o k response has a 3xx status code

func (*StatusUnreblogOK) IsServerError

func (o *StatusUnreblogOK) IsServerError() bool

IsServerError returns true when this status unreblog o k response has a 5xx status code

func (*StatusUnreblogOK) IsSuccess

func (o *StatusUnreblogOK) IsSuccess() bool

IsSuccess returns true when this status unreblog o k response has a 2xx status code

func (*StatusUnreblogOK) String

func (o *StatusUnreblogOK) String() string

type StatusUnreblogParams

type StatusUnreblogParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StatusUnreblogParams contains all the parameters to send to the API endpoint

for the status unreblog operation.

Typically these are written to a http.Request.

func NewStatusUnreblogParams

func NewStatusUnreblogParams() *StatusUnreblogParams

NewStatusUnreblogParams creates a new StatusUnreblogParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStatusUnreblogParamsWithContext

func NewStatusUnreblogParamsWithContext(ctx context.Context) *StatusUnreblogParams

NewStatusUnreblogParamsWithContext creates a new StatusUnreblogParams object with the ability to set a context for a request.

func NewStatusUnreblogParamsWithHTTPClient

func NewStatusUnreblogParamsWithHTTPClient(client *http.Client) *StatusUnreblogParams

NewStatusUnreblogParamsWithHTTPClient creates a new StatusUnreblogParams object with the ability to set a custom HTTPClient for a request.

func NewStatusUnreblogParamsWithTimeout

func NewStatusUnreblogParamsWithTimeout(timeout time.Duration) *StatusUnreblogParams

NewStatusUnreblogParamsWithTimeout creates a new StatusUnreblogParams object with the ability to set a timeout on a request.

func (*StatusUnreblogParams) SetContext

func (o *StatusUnreblogParams) SetContext(ctx context.Context)

SetContext adds the context to the status unreblog params

func (*StatusUnreblogParams) SetDefaults

func (o *StatusUnreblogParams) SetDefaults()

SetDefaults hydrates default values in the status unreblog params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnreblogParams) SetHTTPClient

func (o *StatusUnreblogParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the status unreblog params

func (*StatusUnreblogParams) SetID

func (o *StatusUnreblogParams) SetID(id string)

SetID adds the id to the status unreblog params

func (*StatusUnreblogParams) SetTimeout

func (o *StatusUnreblogParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the status unreblog params

func (*StatusUnreblogParams) WithContext

WithContext adds the context to the status unreblog params

func (*StatusUnreblogParams) WithDefaults

func (o *StatusUnreblogParams) WithDefaults() *StatusUnreblogParams

WithDefaults hydrates default values in the status unreblog params (not the query body).

All values with no default are reset to their zero value.

func (*StatusUnreblogParams) WithHTTPClient

func (o *StatusUnreblogParams) WithHTTPClient(client *http.Client) *StatusUnreblogParams

WithHTTPClient adds the HTTPClient to the status unreblog params

func (*StatusUnreblogParams) WithID

WithID adds the id to the status unreblog params

func (*StatusUnreblogParams) WithTimeout

func (o *StatusUnreblogParams) WithTimeout(timeout time.Duration) *StatusUnreblogParams

WithTimeout adds the timeout to the status unreblog params

func (*StatusUnreblogParams) WriteToRequest

func (o *StatusUnreblogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StatusUnreblogReader

type StatusUnreblogReader struct {
	// contains filtered or unexported fields
}

StatusUnreblogReader is a Reader for the StatusUnreblog structure.

func (*StatusUnreblogReader) ReadResponse

func (o *StatusUnreblogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StatusUnreblogUnauthorized

type StatusUnreblogUnauthorized struct {
}

StatusUnreblogUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewStatusUnreblogUnauthorized

func NewStatusUnreblogUnauthorized() *StatusUnreblogUnauthorized

NewStatusUnreblogUnauthorized creates a StatusUnreblogUnauthorized with default headers values

func (*StatusUnreblogUnauthorized) Code

func (o *StatusUnreblogUnauthorized) Code() int

Code gets the status code for the status unreblog unauthorized response

func (*StatusUnreblogUnauthorized) Error

func (*StatusUnreblogUnauthorized) IsClientError

func (o *StatusUnreblogUnauthorized) IsClientError() bool

IsClientError returns true when this status unreblog unauthorized response has a 4xx status code

func (*StatusUnreblogUnauthorized) IsCode

func (o *StatusUnreblogUnauthorized) IsCode(code int) bool

IsCode returns true when this status unreblog unauthorized response a status code equal to that given

func (*StatusUnreblogUnauthorized) IsRedirect

func (o *StatusUnreblogUnauthorized) IsRedirect() bool

IsRedirect returns true when this status unreblog unauthorized response has a 3xx status code

func (*StatusUnreblogUnauthorized) IsServerError

func (o *StatusUnreblogUnauthorized) IsServerError() bool

IsServerError returns true when this status unreblog unauthorized response has a 5xx status code

func (*StatusUnreblogUnauthorized) IsSuccess

func (o *StatusUnreblogUnauthorized) IsSuccess() bool

IsSuccess returns true when this status unreblog unauthorized response has a 2xx status code

func (*StatusUnreblogUnauthorized) String

func (o *StatusUnreblogUnauthorized) String() string

type ThreadContextBadRequest

type ThreadContextBadRequest struct {
}

ThreadContextBadRequest describes a response with status code 400, with default header values.

bad request

func NewThreadContextBadRequest

func NewThreadContextBadRequest() *ThreadContextBadRequest

NewThreadContextBadRequest creates a ThreadContextBadRequest with default headers values

func (*ThreadContextBadRequest) Code

func (o *ThreadContextBadRequest) Code() int

Code gets the status code for the thread context bad request response

func (*ThreadContextBadRequest) Error

func (o *ThreadContextBadRequest) Error() string

func (*ThreadContextBadRequest) IsClientError

func (o *ThreadContextBadRequest) IsClientError() bool

IsClientError returns true when this thread context bad request response has a 4xx status code

func (*ThreadContextBadRequest) IsCode

func (o *ThreadContextBadRequest) IsCode(code int) bool

IsCode returns true when this thread context bad request response a status code equal to that given

func (*ThreadContextBadRequest) IsRedirect

func (o *ThreadContextBadRequest) IsRedirect() bool

IsRedirect returns true when this thread context bad request response has a 3xx status code

func (*ThreadContextBadRequest) IsServerError

func (o *ThreadContextBadRequest) IsServerError() bool

IsServerError returns true when this thread context bad request response has a 5xx status code

func (*ThreadContextBadRequest) IsSuccess

func (o *ThreadContextBadRequest) IsSuccess() bool

IsSuccess returns true when this thread context bad request response has a 2xx status code

func (*ThreadContextBadRequest) String

func (o *ThreadContextBadRequest) String() string

type ThreadContextForbidden

type ThreadContextForbidden struct {
}

ThreadContextForbidden describes a response with status code 403, with default header values.

forbidden

func NewThreadContextForbidden

func NewThreadContextForbidden() *ThreadContextForbidden

NewThreadContextForbidden creates a ThreadContextForbidden with default headers values

func (*ThreadContextForbidden) Code

func (o *ThreadContextForbidden) Code() int

Code gets the status code for the thread context forbidden response

func (*ThreadContextForbidden) Error

func (o *ThreadContextForbidden) Error() string

func (*ThreadContextForbidden) IsClientError

func (o *ThreadContextForbidden) IsClientError() bool

IsClientError returns true when this thread context forbidden response has a 4xx status code

func (*ThreadContextForbidden) IsCode

func (o *ThreadContextForbidden) IsCode(code int) bool

IsCode returns true when this thread context forbidden response a status code equal to that given

func (*ThreadContextForbidden) IsRedirect

func (o *ThreadContextForbidden) IsRedirect() bool

IsRedirect returns true when this thread context forbidden response has a 3xx status code

func (*ThreadContextForbidden) IsServerError

func (o *ThreadContextForbidden) IsServerError() bool

IsServerError returns true when this thread context forbidden response has a 5xx status code

func (*ThreadContextForbidden) IsSuccess

func (o *ThreadContextForbidden) IsSuccess() bool

IsSuccess returns true when this thread context forbidden response has a 2xx status code

func (*ThreadContextForbidden) String

func (o *ThreadContextForbidden) String() string

type ThreadContextInternalServerError

type ThreadContextInternalServerError struct {
}

ThreadContextInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewThreadContextInternalServerError

func NewThreadContextInternalServerError() *ThreadContextInternalServerError

NewThreadContextInternalServerError creates a ThreadContextInternalServerError with default headers values

func (*ThreadContextInternalServerError) Code

Code gets the status code for the thread context internal server error response

func (*ThreadContextInternalServerError) Error

func (*ThreadContextInternalServerError) IsClientError

func (o *ThreadContextInternalServerError) IsClientError() bool

IsClientError returns true when this thread context internal server error response has a 4xx status code

func (*ThreadContextInternalServerError) IsCode

func (o *ThreadContextInternalServerError) IsCode(code int) bool

IsCode returns true when this thread context internal server error response a status code equal to that given

func (*ThreadContextInternalServerError) IsRedirect

func (o *ThreadContextInternalServerError) IsRedirect() bool

IsRedirect returns true when this thread context internal server error response has a 3xx status code

func (*ThreadContextInternalServerError) IsServerError

func (o *ThreadContextInternalServerError) IsServerError() bool

IsServerError returns true when this thread context internal server error response has a 5xx status code

func (*ThreadContextInternalServerError) IsSuccess

func (o *ThreadContextInternalServerError) IsSuccess() bool

IsSuccess returns true when this thread context internal server error response has a 2xx status code

func (*ThreadContextInternalServerError) String

type ThreadContextNotAcceptable

type ThreadContextNotAcceptable struct {
}

ThreadContextNotAcceptable describes a response with status code 406, with default header values.

not acceptable

func NewThreadContextNotAcceptable

func NewThreadContextNotAcceptable() *ThreadContextNotAcceptable

NewThreadContextNotAcceptable creates a ThreadContextNotAcceptable with default headers values

func (*ThreadContextNotAcceptable) Code

func (o *ThreadContextNotAcceptable) Code() int

Code gets the status code for the thread context not acceptable response

func (*ThreadContextNotAcceptable) Error

func (*ThreadContextNotAcceptable) IsClientError

func (o *ThreadContextNotAcceptable) IsClientError() bool

IsClientError returns true when this thread context not acceptable response has a 4xx status code

func (*ThreadContextNotAcceptable) IsCode

func (o *ThreadContextNotAcceptable) IsCode(code int) bool

IsCode returns true when this thread context not acceptable response a status code equal to that given

func (*ThreadContextNotAcceptable) IsRedirect

func (o *ThreadContextNotAcceptable) IsRedirect() bool

IsRedirect returns true when this thread context not acceptable response has a 3xx status code

func (*ThreadContextNotAcceptable) IsServerError

func (o *ThreadContextNotAcceptable) IsServerError() bool

IsServerError returns true when this thread context not acceptable response has a 5xx status code

func (*ThreadContextNotAcceptable) IsSuccess

func (o *ThreadContextNotAcceptable) IsSuccess() bool

IsSuccess returns true when this thread context not acceptable response has a 2xx status code

func (*ThreadContextNotAcceptable) String

func (o *ThreadContextNotAcceptable) String() string

type ThreadContextNotFound

type ThreadContextNotFound struct {
}

ThreadContextNotFound describes a response with status code 404, with default header values.

not found

func NewThreadContextNotFound

func NewThreadContextNotFound() *ThreadContextNotFound

NewThreadContextNotFound creates a ThreadContextNotFound with default headers values

func (*ThreadContextNotFound) Code

func (o *ThreadContextNotFound) Code() int

Code gets the status code for the thread context not found response

func (*ThreadContextNotFound) Error

func (o *ThreadContextNotFound) Error() string

func (*ThreadContextNotFound) IsClientError

func (o *ThreadContextNotFound) IsClientError() bool

IsClientError returns true when this thread context not found response has a 4xx status code

func (*ThreadContextNotFound) IsCode

func (o *ThreadContextNotFound) IsCode(code int) bool

IsCode returns true when this thread context not found response a status code equal to that given

func (*ThreadContextNotFound) IsRedirect

func (o *ThreadContextNotFound) IsRedirect() bool

IsRedirect returns true when this thread context not found response has a 3xx status code

func (*ThreadContextNotFound) IsServerError

func (o *ThreadContextNotFound) IsServerError() bool

IsServerError returns true when this thread context not found response has a 5xx status code

func (*ThreadContextNotFound) IsSuccess

func (o *ThreadContextNotFound) IsSuccess() bool

IsSuccess returns true when this thread context not found response has a 2xx status code

func (*ThreadContextNotFound) String

func (o *ThreadContextNotFound) String() string

type ThreadContextOK

type ThreadContextOK struct {
	Payload *models.ThreadContext
}

ThreadContextOK describes a response with status code 200, with default header values.

Thread context object.

func NewThreadContextOK

func NewThreadContextOK() *ThreadContextOK

NewThreadContextOK creates a ThreadContextOK with default headers values

func (*ThreadContextOK) Code

func (o *ThreadContextOK) Code() int

Code gets the status code for the thread context o k response

func (*ThreadContextOK) Error

func (o *ThreadContextOK) Error() string

func (*ThreadContextOK) GetPayload

func (o *ThreadContextOK) GetPayload() *models.ThreadContext

func (*ThreadContextOK) IsClientError

func (o *ThreadContextOK) IsClientError() bool

IsClientError returns true when this thread context o k response has a 4xx status code

func (*ThreadContextOK) IsCode

func (o *ThreadContextOK) IsCode(code int) bool

IsCode returns true when this thread context o k response a status code equal to that given

func (*ThreadContextOK) IsRedirect

func (o *ThreadContextOK) IsRedirect() bool

IsRedirect returns true when this thread context o k response has a 3xx status code

func (*ThreadContextOK) IsServerError

func (o *ThreadContextOK) IsServerError() bool

IsServerError returns true when this thread context o k response has a 5xx status code

func (*ThreadContextOK) IsSuccess

func (o *ThreadContextOK) IsSuccess() bool

IsSuccess returns true when this thread context o k response has a 2xx status code

func (*ThreadContextOK) String

func (o *ThreadContextOK) String() string

type ThreadContextParams

type ThreadContextParams struct {

	/* ID.

	   Target status ID.
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ThreadContextParams contains all the parameters to send to the API endpoint

for the thread context operation.

Typically these are written to a http.Request.

func NewThreadContextParams

func NewThreadContextParams() *ThreadContextParams

NewThreadContextParams creates a new ThreadContextParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewThreadContextParamsWithContext

func NewThreadContextParamsWithContext(ctx context.Context) *ThreadContextParams

NewThreadContextParamsWithContext creates a new ThreadContextParams object with the ability to set a context for a request.

func NewThreadContextParamsWithHTTPClient

func NewThreadContextParamsWithHTTPClient(client *http.Client) *ThreadContextParams

NewThreadContextParamsWithHTTPClient creates a new ThreadContextParams object with the ability to set a custom HTTPClient for a request.

func NewThreadContextParamsWithTimeout

func NewThreadContextParamsWithTimeout(timeout time.Duration) *ThreadContextParams

NewThreadContextParamsWithTimeout creates a new ThreadContextParams object with the ability to set a timeout on a request.

func (*ThreadContextParams) SetContext

func (o *ThreadContextParams) SetContext(ctx context.Context)

SetContext adds the context to the thread context params

func (*ThreadContextParams) SetDefaults

func (o *ThreadContextParams) SetDefaults()

SetDefaults hydrates default values in the thread context params (not the query body).

All values with no default are reset to their zero value.

func (*ThreadContextParams) SetHTTPClient

func (o *ThreadContextParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the thread context params

func (*ThreadContextParams) SetID

func (o *ThreadContextParams) SetID(id string)

SetID adds the id to the thread context params

func (*ThreadContextParams) SetTimeout

func (o *ThreadContextParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the thread context params

func (*ThreadContextParams) WithContext

WithContext adds the context to the thread context params

func (*ThreadContextParams) WithDefaults

func (o *ThreadContextParams) WithDefaults() *ThreadContextParams

WithDefaults hydrates default values in the thread context params (not the query body).

All values with no default are reset to their zero value.

func (*ThreadContextParams) WithHTTPClient

func (o *ThreadContextParams) WithHTTPClient(client *http.Client) *ThreadContextParams

WithHTTPClient adds the HTTPClient to the thread context params

func (*ThreadContextParams) WithID

WithID adds the id to the thread context params

func (*ThreadContextParams) WithTimeout

func (o *ThreadContextParams) WithTimeout(timeout time.Duration) *ThreadContextParams

WithTimeout adds the timeout to the thread context params

func (*ThreadContextParams) WriteToRequest

func (o *ThreadContextParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ThreadContextReader

type ThreadContextReader struct {
	// contains filtered or unexported fields
}

ThreadContextReader is a Reader for the ThreadContext structure.

func (*ThreadContextReader) ReadResponse

func (o *ThreadContextReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ThreadContextUnauthorized

type ThreadContextUnauthorized struct {
}

ThreadContextUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewThreadContextUnauthorized

func NewThreadContextUnauthorized() *ThreadContextUnauthorized

NewThreadContextUnauthorized creates a ThreadContextUnauthorized with default headers values

func (*ThreadContextUnauthorized) Code

func (o *ThreadContextUnauthorized) Code() int

Code gets the status code for the thread context unauthorized response

func (*ThreadContextUnauthorized) Error

func (o *ThreadContextUnauthorized) Error() string

func (*ThreadContextUnauthorized) IsClientError

func (o *ThreadContextUnauthorized) IsClientError() bool

IsClientError returns true when this thread context unauthorized response has a 4xx status code

func (*ThreadContextUnauthorized) IsCode

func (o *ThreadContextUnauthorized) IsCode(code int) bool

IsCode returns true when this thread context unauthorized response a status code equal to that given

func (*ThreadContextUnauthorized) IsRedirect

func (o *ThreadContextUnauthorized) IsRedirect() bool

IsRedirect returns true when this thread context unauthorized response has a 3xx status code

func (*ThreadContextUnauthorized) IsServerError

func (o *ThreadContextUnauthorized) IsServerError() bool

IsServerError returns true when this thread context unauthorized response has a 5xx status code

func (*ThreadContextUnauthorized) IsSuccess

func (o *ThreadContextUnauthorized) IsSuccess() bool

IsSuccess returns true when this thread context unauthorized response has a 2xx status code

func (*ThreadContextUnauthorized) String

func (o *ThreadContextUnauthorized) String() string

Jump to

Keyboard shortcuts

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