Documentation ¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationXML(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StatusBookmark(params *StatusBookmarkParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusBookmarkOK, error)
- func (a *Client) StatusBoostedBy(params *StatusBoostedByParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusBoostedByOK, error)
- func (a *Client) StatusCreate(params *StatusCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusCreateOK, error)
- func (a *Client) StatusDelete(params *StatusDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusDeleteOK, error)
- func (a *Client) StatusFave(params *StatusFaveParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusFaveOK, error)
- func (a *Client) StatusFavedBy(params *StatusFavedByParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusFavedByOK, error)
- func (a *Client) StatusGet(params *StatusGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusGetOK, error)
- func (a *Client) StatusHistoryGet(params *StatusHistoryGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusHistoryGetOK, error)
- func (a *Client) StatusMute(params *StatusMuteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusMuteOK, error)
- func (a *Client) StatusPin(params *StatusPinParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusPinOK, error)
- func (a *Client) StatusReblog(params *StatusReblogParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusReblogOK, error)
- func (a *Client) StatusSourceGet(params *StatusSourceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusSourceGetOK, error)
- func (a *Client) StatusUnbookmark(params *StatusUnbookmarkParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusUnbookmarkOK, error)
- func (a *Client) StatusUnfave(params *StatusUnfaveParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusUnfaveOK, error)
- func (a *Client) StatusUnmute(params *StatusUnmuteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusUnmuteOK, error)
- func (a *Client) StatusUnpin(params *StatusUnpinParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusUnpinOK, error)
- func (a *Client) StatusUnreblog(params *StatusUnreblogParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StatusUnreblogOK, error)
- func (a *Client) ThreadContext(params *ThreadContextParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ThreadContextOK, error)
- type ClientOption
- type ClientService
- type StatusBookmarkBadRequest
- func (o *StatusBookmarkBadRequest) Code() int
- func (o *StatusBookmarkBadRequest) Error() string
- func (o *StatusBookmarkBadRequest) IsClientError() bool
- func (o *StatusBookmarkBadRequest) IsCode(code int) bool
- func (o *StatusBookmarkBadRequest) IsRedirect() bool
- func (o *StatusBookmarkBadRequest) IsServerError() bool
- func (o *StatusBookmarkBadRequest) IsSuccess() bool
- func (o *StatusBookmarkBadRequest) String() string
- type StatusBookmarkForbidden
- func (o *StatusBookmarkForbidden) Code() int
- func (o *StatusBookmarkForbidden) Error() string
- func (o *StatusBookmarkForbidden) IsClientError() bool
- func (o *StatusBookmarkForbidden) IsCode(code int) bool
- func (o *StatusBookmarkForbidden) IsRedirect() bool
- func (o *StatusBookmarkForbidden) IsServerError() bool
- func (o *StatusBookmarkForbidden) IsSuccess() bool
- func (o *StatusBookmarkForbidden) String() string
- type StatusBookmarkInternalServerError
- func (o *StatusBookmarkInternalServerError) Code() int
- func (o *StatusBookmarkInternalServerError) Error() string
- func (o *StatusBookmarkInternalServerError) IsClientError() bool
- func (o *StatusBookmarkInternalServerError) IsCode(code int) bool
- func (o *StatusBookmarkInternalServerError) IsRedirect() bool
- func (o *StatusBookmarkInternalServerError) IsServerError() bool
- func (o *StatusBookmarkInternalServerError) IsSuccess() bool
- func (o *StatusBookmarkInternalServerError) String() string
- type StatusBookmarkNotAcceptable
- func (o *StatusBookmarkNotAcceptable) Code() int
- func (o *StatusBookmarkNotAcceptable) Error() string
- func (o *StatusBookmarkNotAcceptable) IsClientError() bool
- func (o *StatusBookmarkNotAcceptable) IsCode(code int) bool
- func (o *StatusBookmarkNotAcceptable) IsRedirect() bool
- func (o *StatusBookmarkNotAcceptable) IsServerError() bool
- func (o *StatusBookmarkNotAcceptable) IsSuccess() bool
- func (o *StatusBookmarkNotAcceptable) String() string
- type StatusBookmarkNotFound
- func (o *StatusBookmarkNotFound) Code() int
- func (o *StatusBookmarkNotFound) Error() string
- func (o *StatusBookmarkNotFound) IsClientError() bool
- func (o *StatusBookmarkNotFound) IsCode(code int) bool
- func (o *StatusBookmarkNotFound) IsRedirect() bool
- func (o *StatusBookmarkNotFound) IsServerError() bool
- func (o *StatusBookmarkNotFound) IsSuccess() bool
- func (o *StatusBookmarkNotFound) String() string
- type StatusBookmarkOK
- func (o *StatusBookmarkOK) Code() int
- func (o *StatusBookmarkOK) Error() string
- func (o *StatusBookmarkOK) GetPayload() *models.Status
- func (o *StatusBookmarkOK) IsClientError() bool
- func (o *StatusBookmarkOK) IsCode(code int) bool
- func (o *StatusBookmarkOK) IsRedirect() bool
- func (o *StatusBookmarkOK) IsServerError() bool
- func (o *StatusBookmarkOK) IsSuccess() bool
- func (o *StatusBookmarkOK) String() string
- type StatusBookmarkParams
- func NewStatusBookmarkParams() *StatusBookmarkParams
- func NewStatusBookmarkParamsWithContext(ctx context.Context) *StatusBookmarkParams
- func NewStatusBookmarkParamsWithHTTPClient(client *http.Client) *StatusBookmarkParams
- func NewStatusBookmarkParamsWithTimeout(timeout time.Duration) *StatusBookmarkParams
- func (o *StatusBookmarkParams) SetContext(ctx context.Context)
- func (o *StatusBookmarkParams) SetDefaults()
- func (o *StatusBookmarkParams) SetHTTPClient(client *http.Client)
- func (o *StatusBookmarkParams) SetID(id string)
- func (o *StatusBookmarkParams) SetTimeout(timeout time.Duration)
- func (o *StatusBookmarkParams) WithContext(ctx context.Context) *StatusBookmarkParams
- func (o *StatusBookmarkParams) WithDefaults() *StatusBookmarkParams
- func (o *StatusBookmarkParams) WithHTTPClient(client *http.Client) *StatusBookmarkParams
- func (o *StatusBookmarkParams) WithID(id string) *StatusBookmarkParams
- func (o *StatusBookmarkParams) WithTimeout(timeout time.Duration) *StatusBookmarkParams
- func (o *StatusBookmarkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusBookmarkReader
- type StatusBookmarkUnauthorized
- func (o *StatusBookmarkUnauthorized) Code() int
- func (o *StatusBookmarkUnauthorized) Error() string
- func (o *StatusBookmarkUnauthorized) IsClientError() bool
- func (o *StatusBookmarkUnauthorized) IsCode(code int) bool
- func (o *StatusBookmarkUnauthorized) IsRedirect() bool
- func (o *StatusBookmarkUnauthorized) IsServerError() bool
- func (o *StatusBookmarkUnauthorized) IsSuccess() bool
- func (o *StatusBookmarkUnauthorized) String() string
- type StatusBoostedByBadRequest
- func (o *StatusBoostedByBadRequest) Code() int
- func (o *StatusBoostedByBadRequest) Error() string
- func (o *StatusBoostedByBadRequest) IsClientError() bool
- func (o *StatusBoostedByBadRequest) IsCode(code int) bool
- func (o *StatusBoostedByBadRequest) IsRedirect() bool
- func (o *StatusBoostedByBadRequest) IsServerError() bool
- func (o *StatusBoostedByBadRequest) IsSuccess() bool
- func (o *StatusBoostedByBadRequest) String() string
- type StatusBoostedByForbidden
- func (o *StatusBoostedByForbidden) Code() int
- func (o *StatusBoostedByForbidden) Error() string
- func (o *StatusBoostedByForbidden) IsClientError() bool
- func (o *StatusBoostedByForbidden) IsCode(code int) bool
- func (o *StatusBoostedByForbidden) IsRedirect() bool
- func (o *StatusBoostedByForbidden) IsServerError() bool
- func (o *StatusBoostedByForbidden) IsSuccess() bool
- func (o *StatusBoostedByForbidden) String() string
- type StatusBoostedByNotFound
- func (o *StatusBoostedByNotFound) Code() int
- func (o *StatusBoostedByNotFound) Error() string
- func (o *StatusBoostedByNotFound) IsClientError() bool
- func (o *StatusBoostedByNotFound) IsCode(code int) bool
- func (o *StatusBoostedByNotFound) IsRedirect() bool
- func (o *StatusBoostedByNotFound) IsServerError() bool
- func (o *StatusBoostedByNotFound) IsSuccess() bool
- func (o *StatusBoostedByNotFound) String() string
- type StatusBoostedByOK
- func (o *StatusBoostedByOK) Code() int
- func (o *StatusBoostedByOK) Error() string
- func (o *StatusBoostedByOK) GetPayload() []*models.Account
- func (o *StatusBoostedByOK) IsClientError() bool
- func (o *StatusBoostedByOK) IsCode(code int) bool
- func (o *StatusBoostedByOK) IsRedirect() bool
- func (o *StatusBoostedByOK) IsServerError() bool
- func (o *StatusBoostedByOK) IsSuccess() bool
- func (o *StatusBoostedByOK) String() string
- type StatusBoostedByParams
- func NewStatusBoostedByParams() *StatusBoostedByParams
- func NewStatusBoostedByParamsWithContext(ctx context.Context) *StatusBoostedByParams
- func NewStatusBoostedByParamsWithHTTPClient(client *http.Client) *StatusBoostedByParams
- func NewStatusBoostedByParamsWithTimeout(timeout time.Duration) *StatusBoostedByParams
- func (o *StatusBoostedByParams) SetContext(ctx context.Context)
- func (o *StatusBoostedByParams) SetDefaults()
- func (o *StatusBoostedByParams) SetHTTPClient(client *http.Client)
- func (o *StatusBoostedByParams) SetID(id string)
- func (o *StatusBoostedByParams) SetTimeout(timeout time.Duration)
- func (o *StatusBoostedByParams) WithContext(ctx context.Context) *StatusBoostedByParams
- func (o *StatusBoostedByParams) WithDefaults() *StatusBoostedByParams
- func (o *StatusBoostedByParams) WithHTTPClient(client *http.Client) *StatusBoostedByParams
- func (o *StatusBoostedByParams) WithID(id string) *StatusBoostedByParams
- func (o *StatusBoostedByParams) WithTimeout(timeout time.Duration) *StatusBoostedByParams
- func (o *StatusBoostedByParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusBoostedByReader
- type StatusBoostedByUnauthorized
- func (o *StatusBoostedByUnauthorized) Code() int
- func (o *StatusBoostedByUnauthorized) Error() string
- func (o *StatusBoostedByUnauthorized) IsClientError() bool
- func (o *StatusBoostedByUnauthorized) IsCode(code int) bool
- func (o *StatusBoostedByUnauthorized) IsRedirect() bool
- func (o *StatusBoostedByUnauthorized) IsServerError() bool
- func (o *StatusBoostedByUnauthorized) IsSuccess() bool
- func (o *StatusBoostedByUnauthorized) String() string
- type StatusCreateBadRequest
- func (o *StatusCreateBadRequest) Code() int
- func (o *StatusCreateBadRequest) Error() string
- func (o *StatusCreateBadRequest) IsClientError() bool
- func (o *StatusCreateBadRequest) IsCode(code int) bool
- func (o *StatusCreateBadRequest) IsRedirect() bool
- func (o *StatusCreateBadRequest) IsServerError() bool
- func (o *StatusCreateBadRequest) IsSuccess() bool
- func (o *StatusCreateBadRequest) String() string
- type StatusCreateForbidden
- func (o *StatusCreateForbidden) Code() int
- func (o *StatusCreateForbidden) Error() string
- func (o *StatusCreateForbidden) IsClientError() bool
- func (o *StatusCreateForbidden) IsCode(code int) bool
- func (o *StatusCreateForbidden) IsRedirect() bool
- func (o *StatusCreateForbidden) IsServerError() bool
- func (o *StatusCreateForbidden) IsSuccess() bool
- func (o *StatusCreateForbidden) String() string
- type StatusCreateInternalServerError
- func (o *StatusCreateInternalServerError) Code() int
- func (o *StatusCreateInternalServerError) Error() string
- func (o *StatusCreateInternalServerError) IsClientError() bool
- func (o *StatusCreateInternalServerError) IsCode(code int) bool
- func (o *StatusCreateInternalServerError) IsRedirect() bool
- func (o *StatusCreateInternalServerError) IsServerError() bool
- func (o *StatusCreateInternalServerError) IsSuccess() bool
- func (o *StatusCreateInternalServerError) String() string
- type StatusCreateNotAcceptable
- func (o *StatusCreateNotAcceptable) Code() int
- func (o *StatusCreateNotAcceptable) Error() string
- func (o *StatusCreateNotAcceptable) IsClientError() bool
- func (o *StatusCreateNotAcceptable) IsCode(code int) bool
- func (o *StatusCreateNotAcceptable) IsRedirect() bool
- func (o *StatusCreateNotAcceptable) IsServerError() bool
- func (o *StatusCreateNotAcceptable) IsSuccess() bool
- func (o *StatusCreateNotAcceptable) String() string
- type StatusCreateNotFound
- func (o *StatusCreateNotFound) Code() int
- func (o *StatusCreateNotFound) Error() string
- func (o *StatusCreateNotFound) IsClientError() bool
- func (o *StatusCreateNotFound) IsCode(code int) bool
- func (o *StatusCreateNotFound) IsRedirect() bool
- func (o *StatusCreateNotFound) IsServerError() bool
- func (o *StatusCreateNotFound) IsSuccess() bool
- func (o *StatusCreateNotFound) String() string
- type StatusCreateOK
- func (o *StatusCreateOK) Code() int
- func (o *StatusCreateOK) Error() string
- func (o *StatusCreateOK) GetPayload() *models.Status
- func (o *StatusCreateOK) IsClientError() bool
- func (o *StatusCreateOK) IsCode(code int) bool
- func (o *StatusCreateOK) IsRedirect() bool
- func (o *StatusCreateOK) IsServerError() bool
- func (o *StatusCreateOK) IsSuccess() bool
- func (o *StatusCreateOK) String() string
- type StatusCreateParams
- func (o *StatusCreateParams) SetContentType(contentType *string)
- func (o *StatusCreateParams) SetContext(ctx context.Context)
- func (o *StatusCreateParams) SetDefaults()
- func (o *StatusCreateParams) SetFederated(federated *bool)
- func (o *StatusCreateParams) SetHTTPClient(client *http.Client)
- func (o *StatusCreateParams) SetInReplyToID(inReplyToID *string)
- func (o *StatusCreateParams) SetLanguage(language *string)
- func (o *StatusCreateParams) SetMediaIDs(mediaIds []string)
- func (o *StatusCreateParams) SetPollExpiresIn(pollExpiresIn *int64)
- func (o *StatusCreateParams) SetPollHideTotals(pollHideTotals *bool)
- func (o *StatusCreateParams) SetPollMultiple(pollMultiple *bool)
- func (o *StatusCreateParams) SetPollOptions(pollOptions []string)
- func (o *StatusCreateParams) SetScheduledAt(scheduledAt *string)
- func (o *StatusCreateParams) SetSensitive(sensitive *bool)
- func (o *StatusCreateParams) SetSpoilerText(spoilerText *string)
- func (o *StatusCreateParams) SetStatus(status *string)
- func (o *StatusCreateParams) SetTimeout(timeout time.Duration)
- func (o *StatusCreateParams) SetVisibility(visibility *string)
- func (o *StatusCreateParams) WithContentType(contentType *string) *StatusCreateParams
- func (o *StatusCreateParams) WithContext(ctx context.Context) *StatusCreateParams
- func (o *StatusCreateParams) WithDefaults() *StatusCreateParams
- func (o *StatusCreateParams) WithFederated(federated *bool) *StatusCreateParams
- func (o *StatusCreateParams) WithHTTPClient(client *http.Client) *StatusCreateParams
- func (o *StatusCreateParams) WithInReplyToID(inReplyToID *string) *StatusCreateParams
- func (o *StatusCreateParams) WithLanguage(language *string) *StatusCreateParams
- func (o *StatusCreateParams) WithMediaIDs(mediaIds []string) *StatusCreateParams
- func (o *StatusCreateParams) WithPollExpiresIn(pollExpiresIn *int64) *StatusCreateParams
- func (o *StatusCreateParams) WithPollHideTotals(pollHideTotals *bool) *StatusCreateParams
- func (o *StatusCreateParams) WithPollMultiple(pollMultiple *bool) *StatusCreateParams
- func (o *StatusCreateParams) WithPollOptions(pollOptions []string) *StatusCreateParams
- func (o *StatusCreateParams) WithScheduledAt(scheduledAt *string) *StatusCreateParams
- func (o *StatusCreateParams) WithSensitive(sensitive *bool) *StatusCreateParams
- func (o *StatusCreateParams) WithSpoilerText(spoilerText *string) *StatusCreateParams
- func (o *StatusCreateParams) WithStatus(status *string) *StatusCreateParams
- func (o *StatusCreateParams) WithTimeout(timeout time.Duration) *StatusCreateParams
- func (o *StatusCreateParams) WithVisibility(visibility *string) *StatusCreateParams
- func (o *StatusCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusCreateReader
- type StatusCreateUnauthorized
- func (o *StatusCreateUnauthorized) Code() int
- func (o *StatusCreateUnauthorized) Error() string
- func (o *StatusCreateUnauthorized) IsClientError() bool
- func (o *StatusCreateUnauthorized) IsCode(code int) bool
- func (o *StatusCreateUnauthorized) IsRedirect() bool
- func (o *StatusCreateUnauthorized) IsServerError() bool
- func (o *StatusCreateUnauthorized) IsSuccess() bool
- func (o *StatusCreateUnauthorized) String() string
- type StatusDeleteBadRequest
- func (o *StatusDeleteBadRequest) Code() int
- func (o *StatusDeleteBadRequest) Error() string
- func (o *StatusDeleteBadRequest) IsClientError() bool
- func (o *StatusDeleteBadRequest) IsCode(code int) bool
- func (o *StatusDeleteBadRequest) IsRedirect() bool
- func (o *StatusDeleteBadRequest) IsServerError() bool
- func (o *StatusDeleteBadRequest) IsSuccess() bool
- func (o *StatusDeleteBadRequest) String() string
- type StatusDeleteForbidden
- func (o *StatusDeleteForbidden) Code() int
- func (o *StatusDeleteForbidden) Error() string
- func (o *StatusDeleteForbidden) IsClientError() bool
- func (o *StatusDeleteForbidden) IsCode(code int) bool
- func (o *StatusDeleteForbidden) IsRedirect() bool
- func (o *StatusDeleteForbidden) IsServerError() bool
- func (o *StatusDeleteForbidden) IsSuccess() bool
- func (o *StatusDeleteForbidden) String() string
- type StatusDeleteInternalServerError
- func (o *StatusDeleteInternalServerError) Code() int
- func (o *StatusDeleteInternalServerError) Error() string
- func (o *StatusDeleteInternalServerError) IsClientError() bool
- func (o *StatusDeleteInternalServerError) IsCode(code int) bool
- func (o *StatusDeleteInternalServerError) IsRedirect() bool
- func (o *StatusDeleteInternalServerError) IsServerError() bool
- func (o *StatusDeleteInternalServerError) IsSuccess() bool
- func (o *StatusDeleteInternalServerError) String() string
- type StatusDeleteNotAcceptable
- func (o *StatusDeleteNotAcceptable) Code() int
- func (o *StatusDeleteNotAcceptable) Error() string
- func (o *StatusDeleteNotAcceptable) IsClientError() bool
- func (o *StatusDeleteNotAcceptable) IsCode(code int) bool
- func (o *StatusDeleteNotAcceptable) IsRedirect() bool
- func (o *StatusDeleteNotAcceptable) IsServerError() bool
- func (o *StatusDeleteNotAcceptable) IsSuccess() bool
- func (o *StatusDeleteNotAcceptable) String() string
- type StatusDeleteNotFound
- func (o *StatusDeleteNotFound) Code() int
- func (o *StatusDeleteNotFound) Error() string
- func (o *StatusDeleteNotFound) IsClientError() bool
- func (o *StatusDeleteNotFound) IsCode(code int) bool
- func (o *StatusDeleteNotFound) IsRedirect() bool
- func (o *StatusDeleteNotFound) IsServerError() bool
- func (o *StatusDeleteNotFound) IsSuccess() bool
- func (o *StatusDeleteNotFound) String() string
- type StatusDeleteOK
- func (o *StatusDeleteOK) Code() int
- func (o *StatusDeleteOK) Error() string
- func (o *StatusDeleteOK) GetPayload() *models.Status
- func (o *StatusDeleteOK) IsClientError() bool
- func (o *StatusDeleteOK) IsCode(code int) bool
- func (o *StatusDeleteOK) IsRedirect() bool
- func (o *StatusDeleteOK) IsServerError() bool
- func (o *StatusDeleteOK) IsSuccess() bool
- func (o *StatusDeleteOK) String() string
- type StatusDeleteParams
- func (o *StatusDeleteParams) SetContext(ctx context.Context)
- func (o *StatusDeleteParams) SetDefaults()
- func (o *StatusDeleteParams) SetHTTPClient(client *http.Client)
- func (o *StatusDeleteParams) SetID(id string)
- func (o *StatusDeleteParams) SetTimeout(timeout time.Duration)
- func (o *StatusDeleteParams) WithContext(ctx context.Context) *StatusDeleteParams
- func (o *StatusDeleteParams) WithDefaults() *StatusDeleteParams
- func (o *StatusDeleteParams) WithHTTPClient(client *http.Client) *StatusDeleteParams
- func (o *StatusDeleteParams) WithID(id string) *StatusDeleteParams
- func (o *StatusDeleteParams) WithTimeout(timeout time.Duration) *StatusDeleteParams
- func (o *StatusDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusDeleteReader
- type StatusDeleteUnauthorized
- func (o *StatusDeleteUnauthorized) Code() int
- func (o *StatusDeleteUnauthorized) Error() string
- func (o *StatusDeleteUnauthorized) IsClientError() bool
- func (o *StatusDeleteUnauthorized) IsCode(code int) bool
- func (o *StatusDeleteUnauthorized) IsRedirect() bool
- func (o *StatusDeleteUnauthorized) IsServerError() bool
- func (o *StatusDeleteUnauthorized) IsSuccess() bool
- func (o *StatusDeleteUnauthorized) String() string
- type StatusFaveBadRequest
- func (o *StatusFaveBadRequest) Code() int
- func (o *StatusFaveBadRequest) Error() string
- func (o *StatusFaveBadRequest) IsClientError() bool
- func (o *StatusFaveBadRequest) IsCode(code int) bool
- func (o *StatusFaveBadRequest) IsRedirect() bool
- func (o *StatusFaveBadRequest) IsServerError() bool
- func (o *StatusFaveBadRequest) IsSuccess() bool
- func (o *StatusFaveBadRequest) String() string
- type StatusFaveForbidden
- func (o *StatusFaveForbidden) Code() int
- func (o *StatusFaveForbidden) Error() string
- func (o *StatusFaveForbidden) IsClientError() bool
- func (o *StatusFaveForbidden) IsCode(code int) bool
- func (o *StatusFaveForbidden) IsRedirect() bool
- func (o *StatusFaveForbidden) IsServerError() bool
- func (o *StatusFaveForbidden) IsSuccess() bool
- func (o *StatusFaveForbidden) String() string
- type StatusFaveInternalServerError
- func (o *StatusFaveInternalServerError) Code() int
- func (o *StatusFaveInternalServerError) Error() string
- func (o *StatusFaveInternalServerError) IsClientError() bool
- func (o *StatusFaveInternalServerError) IsCode(code int) bool
- func (o *StatusFaveInternalServerError) IsRedirect() bool
- func (o *StatusFaveInternalServerError) IsServerError() bool
- func (o *StatusFaveInternalServerError) IsSuccess() bool
- func (o *StatusFaveInternalServerError) String() string
- type StatusFaveNotAcceptable
- func (o *StatusFaveNotAcceptable) Code() int
- func (o *StatusFaveNotAcceptable) Error() string
- func (o *StatusFaveNotAcceptable) IsClientError() bool
- func (o *StatusFaveNotAcceptable) IsCode(code int) bool
- func (o *StatusFaveNotAcceptable) IsRedirect() bool
- func (o *StatusFaveNotAcceptable) IsServerError() bool
- func (o *StatusFaveNotAcceptable) IsSuccess() bool
- func (o *StatusFaveNotAcceptable) String() string
- type StatusFaveNotFound
- func (o *StatusFaveNotFound) Code() int
- func (o *StatusFaveNotFound) Error() string
- func (o *StatusFaveNotFound) IsClientError() bool
- func (o *StatusFaveNotFound) IsCode(code int) bool
- func (o *StatusFaveNotFound) IsRedirect() bool
- func (o *StatusFaveNotFound) IsServerError() bool
- func (o *StatusFaveNotFound) IsSuccess() bool
- func (o *StatusFaveNotFound) String() string
- type StatusFaveOK
- func (o *StatusFaveOK) Code() int
- func (o *StatusFaveOK) Error() string
- func (o *StatusFaveOK) GetPayload() *models.Status
- func (o *StatusFaveOK) IsClientError() bool
- func (o *StatusFaveOK) IsCode(code int) bool
- func (o *StatusFaveOK) IsRedirect() bool
- func (o *StatusFaveOK) IsServerError() bool
- func (o *StatusFaveOK) IsSuccess() bool
- func (o *StatusFaveOK) String() string
- type StatusFaveParams
- func (o *StatusFaveParams) SetContext(ctx context.Context)
- func (o *StatusFaveParams) SetDefaults()
- func (o *StatusFaveParams) SetHTTPClient(client *http.Client)
- func (o *StatusFaveParams) SetID(id string)
- func (o *StatusFaveParams) SetTimeout(timeout time.Duration)
- func (o *StatusFaveParams) WithContext(ctx context.Context) *StatusFaveParams
- func (o *StatusFaveParams) WithDefaults() *StatusFaveParams
- func (o *StatusFaveParams) WithHTTPClient(client *http.Client) *StatusFaveParams
- func (o *StatusFaveParams) WithID(id string) *StatusFaveParams
- func (o *StatusFaveParams) WithTimeout(timeout time.Duration) *StatusFaveParams
- func (o *StatusFaveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusFaveReader
- type StatusFaveUnauthorized
- func (o *StatusFaveUnauthorized) Code() int
- func (o *StatusFaveUnauthorized) Error() string
- func (o *StatusFaveUnauthorized) IsClientError() bool
- func (o *StatusFaveUnauthorized) IsCode(code int) bool
- func (o *StatusFaveUnauthorized) IsRedirect() bool
- func (o *StatusFaveUnauthorized) IsServerError() bool
- func (o *StatusFaveUnauthorized) IsSuccess() bool
- func (o *StatusFaveUnauthorized) String() string
- type StatusFavedByBadRequest
- func (o *StatusFavedByBadRequest) Code() int
- func (o *StatusFavedByBadRequest) Error() string
- func (o *StatusFavedByBadRequest) IsClientError() bool
- func (o *StatusFavedByBadRequest) IsCode(code int) bool
- func (o *StatusFavedByBadRequest) IsRedirect() bool
- func (o *StatusFavedByBadRequest) IsServerError() bool
- func (o *StatusFavedByBadRequest) IsSuccess() bool
- func (o *StatusFavedByBadRequest) String() string
- type StatusFavedByForbidden
- func (o *StatusFavedByForbidden) Code() int
- func (o *StatusFavedByForbidden) Error() string
- func (o *StatusFavedByForbidden) IsClientError() bool
- func (o *StatusFavedByForbidden) IsCode(code int) bool
- func (o *StatusFavedByForbidden) IsRedirect() bool
- func (o *StatusFavedByForbidden) IsServerError() bool
- func (o *StatusFavedByForbidden) IsSuccess() bool
- func (o *StatusFavedByForbidden) String() string
- type StatusFavedByInternalServerError
- func (o *StatusFavedByInternalServerError) Code() int
- func (o *StatusFavedByInternalServerError) Error() string
- func (o *StatusFavedByInternalServerError) IsClientError() bool
- func (o *StatusFavedByInternalServerError) IsCode(code int) bool
- func (o *StatusFavedByInternalServerError) IsRedirect() bool
- func (o *StatusFavedByInternalServerError) IsServerError() bool
- func (o *StatusFavedByInternalServerError) IsSuccess() bool
- func (o *StatusFavedByInternalServerError) String() string
- type StatusFavedByNotAcceptable
- func (o *StatusFavedByNotAcceptable) Code() int
- func (o *StatusFavedByNotAcceptable) Error() string
- func (o *StatusFavedByNotAcceptable) IsClientError() bool
- func (o *StatusFavedByNotAcceptable) IsCode(code int) bool
- func (o *StatusFavedByNotAcceptable) IsRedirect() bool
- func (o *StatusFavedByNotAcceptable) IsServerError() bool
- func (o *StatusFavedByNotAcceptable) IsSuccess() bool
- func (o *StatusFavedByNotAcceptable) String() string
- type StatusFavedByNotFound
- func (o *StatusFavedByNotFound) Code() int
- func (o *StatusFavedByNotFound) Error() string
- func (o *StatusFavedByNotFound) IsClientError() bool
- func (o *StatusFavedByNotFound) IsCode(code int) bool
- func (o *StatusFavedByNotFound) IsRedirect() bool
- func (o *StatusFavedByNotFound) IsServerError() bool
- func (o *StatusFavedByNotFound) IsSuccess() bool
- func (o *StatusFavedByNotFound) String() string
- type StatusFavedByOK
- func (o *StatusFavedByOK) Code() int
- func (o *StatusFavedByOK) Error() string
- func (o *StatusFavedByOK) GetPayload() []*models.Account
- func (o *StatusFavedByOK) IsClientError() bool
- func (o *StatusFavedByOK) IsCode(code int) bool
- func (o *StatusFavedByOK) IsRedirect() bool
- func (o *StatusFavedByOK) IsServerError() bool
- func (o *StatusFavedByOK) IsSuccess() bool
- func (o *StatusFavedByOK) String() string
- type StatusFavedByParams
- func (o *StatusFavedByParams) SetContext(ctx context.Context)
- func (o *StatusFavedByParams) SetDefaults()
- func (o *StatusFavedByParams) SetHTTPClient(client *http.Client)
- func (o *StatusFavedByParams) SetID(id string)
- func (o *StatusFavedByParams) SetTimeout(timeout time.Duration)
- func (o *StatusFavedByParams) WithContext(ctx context.Context) *StatusFavedByParams
- func (o *StatusFavedByParams) WithDefaults() *StatusFavedByParams
- func (o *StatusFavedByParams) WithHTTPClient(client *http.Client) *StatusFavedByParams
- func (o *StatusFavedByParams) WithID(id string) *StatusFavedByParams
- func (o *StatusFavedByParams) WithTimeout(timeout time.Duration) *StatusFavedByParams
- func (o *StatusFavedByParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusFavedByReader
- type StatusFavedByUnauthorized
- func (o *StatusFavedByUnauthorized) Code() int
- func (o *StatusFavedByUnauthorized) Error() string
- func (o *StatusFavedByUnauthorized) IsClientError() bool
- func (o *StatusFavedByUnauthorized) IsCode(code int) bool
- func (o *StatusFavedByUnauthorized) IsRedirect() bool
- func (o *StatusFavedByUnauthorized) IsServerError() bool
- func (o *StatusFavedByUnauthorized) IsSuccess() bool
- func (o *StatusFavedByUnauthorized) String() string
- type StatusGetBadRequest
- func (o *StatusGetBadRequest) Code() int
- func (o *StatusGetBadRequest) Error() string
- func (o *StatusGetBadRequest) IsClientError() bool
- func (o *StatusGetBadRequest) IsCode(code int) bool
- func (o *StatusGetBadRequest) IsRedirect() bool
- func (o *StatusGetBadRequest) IsServerError() bool
- func (o *StatusGetBadRequest) IsSuccess() bool
- func (o *StatusGetBadRequest) String() string
- type StatusGetForbidden
- func (o *StatusGetForbidden) Code() int
- func (o *StatusGetForbidden) Error() string
- func (o *StatusGetForbidden) IsClientError() bool
- func (o *StatusGetForbidden) IsCode(code int) bool
- func (o *StatusGetForbidden) IsRedirect() bool
- func (o *StatusGetForbidden) IsServerError() bool
- func (o *StatusGetForbidden) IsSuccess() bool
- func (o *StatusGetForbidden) String() string
- type StatusGetInternalServerError
- func (o *StatusGetInternalServerError) Code() int
- func (o *StatusGetInternalServerError) Error() string
- func (o *StatusGetInternalServerError) IsClientError() bool
- func (o *StatusGetInternalServerError) IsCode(code int) bool
- func (o *StatusGetInternalServerError) IsRedirect() bool
- func (o *StatusGetInternalServerError) IsServerError() bool
- func (o *StatusGetInternalServerError) IsSuccess() bool
- func (o *StatusGetInternalServerError) String() string
- type StatusGetNotAcceptable
- func (o *StatusGetNotAcceptable) Code() int
- func (o *StatusGetNotAcceptable) Error() string
- func (o *StatusGetNotAcceptable) IsClientError() bool
- func (o *StatusGetNotAcceptable) IsCode(code int) bool
- func (o *StatusGetNotAcceptable) IsRedirect() bool
- func (o *StatusGetNotAcceptable) IsServerError() bool
- func (o *StatusGetNotAcceptable) IsSuccess() bool
- func (o *StatusGetNotAcceptable) String() string
- type StatusGetNotFound
- func (o *StatusGetNotFound) Code() int
- func (o *StatusGetNotFound) Error() string
- func (o *StatusGetNotFound) IsClientError() bool
- func (o *StatusGetNotFound) IsCode(code int) bool
- func (o *StatusGetNotFound) IsRedirect() bool
- func (o *StatusGetNotFound) IsServerError() bool
- func (o *StatusGetNotFound) IsSuccess() bool
- func (o *StatusGetNotFound) String() string
- type StatusGetOK
- func (o *StatusGetOK) Code() int
- func (o *StatusGetOK) Error() string
- func (o *StatusGetOK) GetPayload() *models.Status
- func (o *StatusGetOK) IsClientError() bool
- func (o *StatusGetOK) IsCode(code int) bool
- func (o *StatusGetOK) IsRedirect() bool
- func (o *StatusGetOK) IsServerError() bool
- func (o *StatusGetOK) IsSuccess() bool
- func (o *StatusGetOK) String() string
- type StatusGetParams
- func (o *StatusGetParams) SetContext(ctx context.Context)
- func (o *StatusGetParams) SetDefaults()
- func (o *StatusGetParams) SetHTTPClient(client *http.Client)
- func (o *StatusGetParams) SetID(id string)
- func (o *StatusGetParams) SetTimeout(timeout time.Duration)
- func (o *StatusGetParams) WithContext(ctx context.Context) *StatusGetParams
- func (o *StatusGetParams) WithDefaults() *StatusGetParams
- func (o *StatusGetParams) WithHTTPClient(client *http.Client) *StatusGetParams
- func (o *StatusGetParams) WithID(id string) *StatusGetParams
- func (o *StatusGetParams) WithTimeout(timeout time.Duration) *StatusGetParams
- func (o *StatusGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusGetReader
- type StatusGetUnauthorized
- func (o *StatusGetUnauthorized) Code() int
- func (o *StatusGetUnauthorized) Error() string
- func (o *StatusGetUnauthorized) IsClientError() bool
- func (o *StatusGetUnauthorized) IsCode(code int) bool
- func (o *StatusGetUnauthorized) IsRedirect() bool
- func (o *StatusGetUnauthorized) IsServerError() bool
- func (o *StatusGetUnauthorized) IsSuccess() bool
- func (o *StatusGetUnauthorized) String() string
- type StatusHistoryGetBadRequest
- func (o *StatusHistoryGetBadRequest) Code() int
- func (o *StatusHistoryGetBadRequest) Error() string
- func (o *StatusHistoryGetBadRequest) IsClientError() bool
- func (o *StatusHistoryGetBadRequest) IsCode(code int) bool
- func (o *StatusHistoryGetBadRequest) IsRedirect() bool
- func (o *StatusHistoryGetBadRequest) IsServerError() bool
- func (o *StatusHistoryGetBadRequest) IsSuccess() bool
- func (o *StatusHistoryGetBadRequest) String() string
- type StatusHistoryGetForbidden
- func (o *StatusHistoryGetForbidden) Code() int
- func (o *StatusHistoryGetForbidden) Error() string
- func (o *StatusHistoryGetForbidden) IsClientError() bool
- func (o *StatusHistoryGetForbidden) IsCode(code int) bool
- func (o *StatusHistoryGetForbidden) IsRedirect() bool
- func (o *StatusHistoryGetForbidden) IsServerError() bool
- func (o *StatusHistoryGetForbidden) IsSuccess() bool
- func (o *StatusHistoryGetForbidden) String() string
- type StatusHistoryGetInternalServerError
- func (o *StatusHistoryGetInternalServerError) Code() int
- func (o *StatusHistoryGetInternalServerError) Error() string
- func (o *StatusHistoryGetInternalServerError) IsClientError() bool
- func (o *StatusHistoryGetInternalServerError) IsCode(code int) bool
- func (o *StatusHistoryGetInternalServerError) IsRedirect() bool
- func (o *StatusHistoryGetInternalServerError) IsServerError() bool
- func (o *StatusHistoryGetInternalServerError) IsSuccess() bool
- func (o *StatusHistoryGetInternalServerError) String() string
- type StatusHistoryGetNotAcceptable
- func (o *StatusHistoryGetNotAcceptable) Code() int
- func (o *StatusHistoryGetNotAcceptable) Error() string
- func (o *StatusHistoryGetNotAcceptable) IsClientError() bool
- func (o *StatusHistoryGetNotAcceptable) IsCode(code int) bool
- func (o *StatusHistoryGetNotAcceptable) IsRedirect() bool
- func (o *StatusHistoryGetNotAcceptable) IsServerError() bool
- func (o *StatusHistoryGetNotAcceptable) IsSuccess() bool
- func (o *StatusHistoryGetNotAcceptable) String() string
- type StatusHistoryGetNotFound
- func (o *StatusHistoryGetNotFound) Code() int
- func (o *StatusHistoryGetNotFound) Error() string
- func (o *StatusHistoryGetNotFound) IsClientError() bool
- func (o *StatusHistoryGetNotFound) IsCode(code int) bool
- func (o *StatusHistoryGetNotFound) IsRedirect() bool
- func (o *StatusHistoryGetNotFound) IsServerError() bool
- func (o *StatusHistoryGetNotFound) IsSuccess() bool
- func (o *StatusHistoryGetNotFound) String() string
- type StatusHistoryGetOK
- func (o *StatusHistoryGetOK) Code() int
- func (o *StatusHistoryGetOK) Error() string
- func (o *StatusHistoryGetOK) GetPayload() []*models.StatusEdit
- func (o *StatusHistoryGetOK) IsClientError() bool
- func (o *StatusHistoryGetOK) IsCode(code int) bool
- func (o *StatusHistoryGetOK) IsRedirect() bool
- func (o *StatusHistoryGetOK) IsServerError() bool
- func (o *StatusHistoryGetOK) IsSuccess() bool
- func (o *StatusHistoryGetOK) String() string
- type StatusHistoryGetParams
- func NewStatusHistoryGetParams() *StatusHistoryGetParams
- func NewStatusHistoryGetParamsWithContext(ctx context.Context) *StatusHistoryGetParams
- func NewStatusHistoryGetParamsWithHTTPClient(client *http.Client) *StatusHistoryGetParams
- func NewStatusHistoryGetParamsWithTimeout(timeout time.Duration) *StatusHistoryGetParams
- func (o *StatusHistoryGetParams) SetContext(ctx context.Context)
- func (o *StatusHistoryGetParams) SetDefaults()
- func (o *StatusHistoryGetParams) SetHTTPClient(client *http.Client)
- func (o *StatusHistoryGetParams) SetID(id string)
- func (o *StatusHistoryGetParams) SetTimeout(timeout time.Duration)
- func (o *StatusHistoryGetParams) WithContext(ctx context.Context) *StatusHistoryGetParams
- func (o *StatusHistoryGetParams) WithDefaults() *StatusHistoryGetParams
- func (o *StatusHistoryGetParams) WithHTTPClient(client *http.Client) *StatusHistoryGetParams
- func (o *StatusHistoryGetParams) WithID(id string) *StatusHistoryGetParams
- func (o *StatusHistoryGetParams) WithTimeout(timeout time.Duration) *StatusHistoryGetParams
- func (o *StatusHistoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusHistoryGetReader
- type StatusHistoryGetUnauthorized
- func (o *StatusHistoryGetUnauthorized) Code() int
- func (o *StatusHistoryGetUnauthorized) Error() string
- func (o *StatusHistoryGetUnauthorized) IsClientError() bool
- func (o *StatusHistoryGetUnauthorized) IsCode(code int) bool
- func (o *StatusHistoryGetUnauthorized) IsRedirect() bool
- func (o *StatusHistoryGetUnauthorized) IsServerError() bool
- func (o *StatusHistoryGetUnauthorized) IsSuccess() bool
- func (o *StatusHistoryGetUnauthorized) String() string
- type StatusMuteBadRequest
- func (o *StatusMuteBadRequest) Code() int
- func (o *StatusMuteBadRequest) Error() string
- func (o *StatusMuteBadRequest) IsClientError() bool
- func (o *StatusMuteBadRequest) IsCode(code int) bool
- func (o *StatusMuteBadRequest) IsRedirect() bool
- func (o *StatusMuteBadRequest) IsServerError() bool
- func (o *StatusMuteBadRequest) IsSuccess() bool
- func (o *StatusMuteBadRequest) String() string
- type StatusMuteForbidden
- func (o *StatusMuteForbidden) Code() int
- func (o *StatusMuteForbidden) Error() string
- func (o *StatusMuteForbidden) IsClientError() bool
- func (o *StatusMuteForbidden) IsCode(code int) bool
- func (o *StatusMuteForbidden) IsRedirect() bool
- func (o *StatusMuteForbidden) IsServerError() bool
- func (o *StatusMuteForbidden) IsSuccess() bool
- func (o *StatusMuteForbidden) String() string
- type StatusMuteInternalServerError
- func (o *StatusMuteInternalServerError) Code() int
- func (o *StatusMuteInternalServerError) Error() string
- func (o *StatusMuteInternalServerError) IsClientError() bool
- func (o *StatusMuteInternalServerError) IsCode(code int) bool
- func (o *StatusMuteInternalServerError) IsRedirect() bool
- func (o *StatusMuteInternalServerError) IsServerError() bool
- func (o *StatusMuteInternalServerError) IsSuccess() bool
- func (o *StatusMuteInternalServerError) String() string
- type StatusMuteNotAcceptable
- func (o *StatusMuteNotAcceptable) Code() int
- func (o *StatusMuteNotAcceptable) Error() string
- func (o *StatusMuteNotAcceptable) IsClientError() bool
- func (o *StatusMuteNotAcceptable) IsCode(code int) bool
- func (o *StatusMuteNotAcceptable) IsRedirect() bool
- func (o *StatusMuteNotAcceptable) IsServerError() bool
- func (o *StatusMuteNotAcceptable) IsSuccess() bool
- func (o *StatusMuteNotAcceptable) String() string
- type StatusMuteNotFound
- func (o *StatusMuteNotFound) Code() int
- func (o *StatusMuteNotFound) Error() string
- func (o *StatusMuteNotFound) IsClientError() bool
- func (o *StatusMuteNotFound) IsCode(code int) bool
- func (o *StatusMuteNotFound) IsRedirect() bool
- func (o *StatusMuteNotFound) IsServerError() bool
- func (o *StatusMuteNotFound) IsSuccess() bool
- func (o *StatusMuteNotFound) String() string
- type StatusMuteOK
- func (o *StatusMuteOK) Code() int
- func (o *StatusMuteOK) Error() string
- func (o *StatusMuteOK) GetPayload() *models.Status
- func (o *StatusMuteOK) IsClientError() bool
- func (o *StatusMuteOK) IsCode(code int) bool
- func (o *StatusMuteOK) IsRedirect() bool
- func (o *StatusMuteOK) IsServerError() bool
- func (o *StatusMuteOK) IsSuccess() bool
- func (o *StatusMuteOK) String() string
- type StatusMuteParams
- func (o *StatusMuteParams) SetContext(ctx context.Context)
- func (o *StatusMuteParams) SetDefaults()
- func (o *StatusMuteParams) SetHTTPClient(client *http.Client)
- func (o *StatusMuteParams) SetID(id string)
- func (o *StatusMuteParams) SetTimeout(timeout time.Duration)
- func (o *StatusMuteParams) WithContext(ctx context.Context) *StatusMuteParams
- func (o *StatusMuteParams) WithDefaults() *StatusMuteParams
- func (o *StatusMuteParams) WithHTTPClient(client *http.Client) *StatusMuteParams
- func (o *StatusMuteParams) WithID(id string) *StatusMuteParams
- func (o *StatusMuteParams) WithTimeout(timeout time.Duration) *StatusMuteParams
- func (o *StatusMuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusMuteReader
- type StatusMuteUnauthorized
- func (o *StatusMuteUnauthorized) Code() int
- func (o *StatusMuteUnauthorized) Error() string
- func (o *StatusMuteUnauthorized) IsClientError() bool
- func (o *StatusMuteUnauthorized) IsCode(code int) bool
- func (o *StatusMuteUnauthorized) IsRedirect() bool
- func (o *StatusMuteUnauthorized) IsServerError() bool
- func (o *StatusMuteUnauthorized) IsSuccess() bool
- func (o *StatusMuteUnauthorized) String() string
- type StatusPinBadRequest
- func (o *StatusPinBadRequest) Code() int
- func (o *StatusPinBadRequest) Error() string
- func (o *StatusPinBadRequest) IsClientError() bool
- func (o *StatusPinBadRequest) IsCode(code int) bool
- func (o *StatusPinBadRequest) IsRedirect() bool
- func (o *StatusPinBadRequest) IsServerError() bool
- func (o *StatusPinBadRequest) IsSuccess() bool
- func (o *StatusPinBadRequest) String() string
- type StatusPinForbidden
- func (o *StatusPinForbidden) Code() int
- func (o *StatusPinForbidden) Error() string
- func (o *StatusPinForbidden) IsClientError() bool
- func (o *StatusPinForbidden) IsCode(code int) bool
- func (o *StatusPinForbidden) IsRedirect() bool
- func (o *StatusPinForbidden) IsServerError() bool
- func (o *StatusPinForbidden) IsSuccess() bool
- func (o *StatusPinForbidden) String() string
- type StatusPinInternalServerError
- func (o *StatusPinInternalServerError) Code() int
- func (o *StatusPinInternalServerError) Error() string
- func (o *StatusPinInternalServerError) IsClientError() bool
- func (o *StatusPinInternalServerError) IsCode(code int) bool
- func (o *StatusPinInternalServerError) IsRedirect() bool
- func (o *StatusPinInternalServerError) IsServerError() bool
- func (o *StatusPinInternalServerError) IsSuccess() bool
- func (o *StatusPinInternalServerError) String() string
- type StatusPinNotAcceptable
- func (o *StatusPinNotAcceptable) Code() int
- func (o *StatusPinNotAcceptable) Error() string
- func (o *StatusPinNotAcceptable) IsClientError() bool
- func (o *StatusPinNotAcceptable) IsCode(code int) bool
- func (o *StatusPinNotAcceptable) IsRedirect() bool
- func (o *StatusPinNotAcceptable) IsServerError() bool
- func (o *StatusPinNotAcceptable) IsSuccess() bool
- func (o *StatusPinNotAcceptable) String() string
- type StatusPinNotFound
- func (o *StatusPinNotFound) Code() int
- func (o *StatusPinNotFound) Error() string
- func (o *StatusPinNotFound) IsClientError() bool
- func (o *StatusPinNotFound) IsCode(code int) bool
- func (o *StatusPinNotFound) IsRedirect() bool
- func (o *StatusPinNotFound) IsServerError() bool
- func (o *StatusPinNotFound) IsSuccess() bool
- func (o *StatusPinNotFound) String() string
- type StatusPinOK
- func (o *StatusPinOK) Code() int
- func (o *StatusPinOK) Error() string
- func (o *StatusPinOK) GetPayload() *models.Status
- func (o *StatusPinOK) IsClientError() bool
- func (o *StatusPinOK) IsCode(code int) bool
- func (o *StatusPinOK) IsRedirect() bool
- func (o *StatusPinOK) IsServerError() bool
- func (o *StatusPinOK) IsSuccess() bool
- func (o *StatusPinOK) String() string
- type StatusPinParams
- func (o *StatusPinParams) SetContext(ctx context.Context)
- func (o *StatusPinParams) SetDefaults()
- func (o *StatusPinParams) SetHTTPClient(client *http.Client)
- func (o *StatusPinParams) SetID(id string)
- func (o *StatusPinParams) SetTimeout(timeout time.Duration)
- func (o *StatusPinParams) WithContext(ctx context.Context) *StatusPinParams
- func (o *StatusPinParams) WithDefaults() *StatusPinParams
- func (o *StatusPinParams) WithHTTPClient(client *http.Client) *StatusPinParams
- func (o *StatusPinParams) WithID(id string) *StatusPinParams
- func (o *StatusPinParams) WithTimeout(timeout time.Duration) *StatusPinParams
- func (o *StatusPinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusPinReader
- type StatusPinUnauthorized
- func (o *StatusPinUnauthorized) Code() int
- func (o *StatusPinUnauthorized) Error() string
- func (o *StatusPinUnauthorized) IsClientError() bool
- func (o *StatusPinUnauthorized) IsCode(code int) bool
- func (o *StatusPinUnauthorized) IsRedirect() bool
- func (o *StatusPinUnauthorized) IsServerError() bool
- func (o *StatusPinUnauthorized) IsSuccess() bool
- func (o *StatusPinUnauthorized) String() string
- type StatusReblogBadRequest
- func (o *StatusReblogBadRequest) Code() int
- func (o *StatusReblogBadRequest) Error() string
- func (o *StatusReblogBadRequest) IsClientError() bool
- func (o *StatusReblogBadRequest) IsCode(code int) bool
- func (o *StatusReblogBadRequest) IsRedirect() bool
- func (o *StatusReblogBadRequest) IsServerError() bool
- func (o *StatusReblogBadRequest) IsSuccess() bool
- func (o *StatusReblogBadRequest) String() string
- type StatusReblogForbidden
- func (o *StatusReblogForbidden) Code() int
- func (o *StatusReblogForbidden) Error() string
- func (o *StatusReblogForbidden) IsClientError() bool
- func (o *StatusReblogForbidden) IsCode(code int) bool
- func (o *StatusReblogForbidden) IsRedirect() bool
- func (o *StatusReblogForbidden) IsServerError() bool
- func (o *StatusReblogForbidden) IsSuccess() bool
- func (o *StatusReblogForbidden) String() string
- type StatusReblogInternalServerError
- func (o *StatusReblogInternalServerError) Code() int
- func (o *StatusReblogInternalServerError) Error() string
- func (o *StatusReblogInternalServerError) IsClientError() bool
- func (o *StatusReblogInternalServerError) IsCode(code int) bool
- func (o *StatusReblogInternalServerError) IsRedirect() bool
- func (o *StatusReblogInternalServerError) IsServerError() bool
- func (o *StatusReblogInternalServerError) IsSuccess() bool
- func (o *StatusReblogInternalServerError) String() string
- type StatusReblogNotAcceptable
- func (o *StatusReblogNotAcceptable) Code() int
- func (o *StatusReblogNotAcceptable) Error() string
- func (o *StatusReblogNotAcceptable) IsClientError() bool
- func (o *StatusReblogNotAcceptable) IsCode(code int) bool
- func (o *StatusReblogNotAcceptable) IsRedirect() bool
- func (o *StatusReblogNotAcceptable) IsServerError() bool
- func (o *StatusReblogNotAcceptable) IsSuccess() bool
- func (o *StatusReblogNotAcceptable) String() string
- type StatusReblogNotFound
- func (o *StatusReblogNotFound) Code() int
- func (o *StatusReblogNotFound) Error() string
- func (o *StatusReblogNotFound) IsClientError() bool
- func (o *StatusReblogNotFound) IsCode(code int) bool
- func (o *StatusReblogNotFound) IsRedirect() bool
- func (o *StatusReblogNotFound) IsServerError() bool
- func (o *StatusReblogNotFound) IsSuccess() bool
- func (o *StatusReblogNotFound) String() string
- type StatusReblogOK
- func (o *StatusReblogOK) Code() int
- func (o *StatusReblogOK) Error() string
- func (o *StatusReblogOK) GetPayload() *models.Status
- func (o *StatusReblogOK) IsClientError() bool
- func (o *StatusReblogOK) IsCode(code int) bool
- func (o *StatusReblogOK) IsRedirect() bool
- func (o *StatusReblogOK) IsServerError() bool
- func (o *StatusReblogOK) IsSuccess() bool
- func (o *StatusReblogOK) String() string
- type StatusReblogParams
- func (o *StatusReblogParams) SetContext(ctx context.Context)
- func (o *StatusReblogParams) SetDefaults()
- func (o *StatusReblogParams) SetHTTPClient(client *http.Client)
- func (o *StatusReblogParams) SetID(id string)
- func (o *StatusReblogParams) SetTimeout(timeout time.Duration)
- func (o *StatusReblogParams) WithContext(ctx context.Context) *StatusReblogParams
- func (o *StatusReblogParams) WithDefaults() *StatusReblogParams
- func (o *StatusReblogParams) WithHTTPClient(client *http.Client) *StatusReblogParams
- func (o *StatusReblogParams) WithID(id string) *StatusReblogParams
- func (o *StatusReblogParams) WithTimeout(timeout time.Duration) *StatusReblogParams
- func (o *StatusReblogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusReblogReader
- type StatusReblogUnauthorized
- func (o *StatusReblogUnauthorized) Code() int
- func (o *StatusReblogUnauthorized) Error() string
- func (o *StatusReblogUnauthorized) IsClientError() bool
- func (o *StatusReblogUnauthorized) IsCode(code int) bool
- func (o *StatusReblogUnauthorized) IsRedirect() bool
- func (o *StatusReblogUnauthorized) IsServerError() bool
- func (o *StatusReblogUnauthorized) IsSuccess() bool
- func (o *StatusReblogUnauthorized) String() string
- type StatusSourceGetBadRequest
- func (o *StatusSourceGetBadRequest) Code() int
- func (o *StatusSourceGetBadRequest) Error() string
- func (o *StatusSourceGetBadRequest) IsClientError() bool
- func (o *StatusSourceGetBadRequest) IsCode(code int) bool
- func (o *StatusSourceGetBadRequest) IsRedirect() bool
- func (o *StatusSourceGetBadRequest) IsServerError() bool
- func (o *StatusSourceGetBadRequest) IsSuccess() bool
- func (o *StatusSourceGetBadRequest) String() string
- type StatusSourceGetForbidden
- func (o *StatusSourceGetForbidden) Code() int
- func (o *StatusSourceGetForbidden) Error() string
- func (o *StatusSourceGetForbidden) IsClientError() bool
- func (o *StatusSourceGetForbidden) IsCode(code int) bool
- func (o *StatusSourceGetForbidden) IsRedirect() bool
- func (o *StatusSourceGetForbidden) IsServerError() bool
- func (o *StatusSourceGetForbidden) IsSuccess() bool
- func (o *StatusSourceGetForbidden) String() string
- type StatusSourceGetInternalServerError
- func (o *StatusSourceGetInternalServerError) Code() int
- func (o *StatusSourceGetInternalServerError) Error() string
- func (o *StatusSourceGetInternalServerError) IsClientError() bool
- func (o *StatusSourceGetInternalServerError) IsCode(code int) bool
- func (o *StatusSourceGetInternalServerError) IsRedirect() bool
- func (o *StatusSourceGetInternalServerError) IsServerError() bool
- func (o *StatusSourceGetInternalServerError) IsSuccess() bool
- func (o *StatusSourceGetInternalServerError) String() string
- type StatusSourceGetNotAcceptable
- func (o *StatusSourceGetNotAcceptable) Code() int
- func (o *StatusSourceGetNotAcceptable) Error() string
- func (o *StatusSourceGetNotAcceptable) IsClientError() bool
- func (o *StatusSourceGetNotAcceptable) IsCode(code int) bool
- func (o *StatusSourceGetNotAcceptable) IsRedirect() bool
- func (o *StatusSourceGetNotAcceptable) IsServerError() bool
- func (o *StatusSourceGetNotAcceptable) IsSuccess() bool
- func (o *StatusSourceGetNotAcceptable) String() string
- type StatusSourceGetNotFound
- func (o *StatusSourceGetNotFound) Code() int
- func (o *StatusSourceGetNotFound) Error() string
- func (o *StatusSourceGetNotFound) IsClientError() bool
- func (o *StatusSourceGetNotFound) IsCode(code int) bool
- func (o *StatusSourceGetNotFound) IsRedirect() bool
- func (o *StatusSourceGetNotFound) IsServerError() bool
- func (o *StatusSourceGetNotFound) IsSuccess() bool
- func (o *StatusSourceGetNotFound) String() string
- type StatusSourceGetOK
- func (o *StatusSourceGetOK) Code() int
- func (o *StatusSourceGetOK) Error() string
- func (o *StatusSourceGetOK) GetPayload() []*models.StatusSource
- func (o *StatusSourceGetOK) IsClientError() bool
- func (o *StatusSourceGetOK) IsCode(code int) bool
- func (o *StatusSourceGetOK) IsRedirect() bool
- func (o *StatusSourceGetOK) IsServerError() bool
- func (o *StatusSourceGetOK) IsSuccess() bool
- func (o *StatusSourceGetOK) String() string
- type StatusSourceGetParams
- func NewStatusSourceGetParams() *StatusSourceGetParams
- func NewStatusSourceGetParamsWithContext(ctx context.Context) *StatusSourceGetParams
- func NewStatusSourceGetParamsWithHTTPClient(client *http.Client) *StatusSourceGetParams
- func NewStatusSourceGetParamsWithTimeout(timeout time.Duration) *StatusSourceGetParams
- func (o *StatusSourceGetParams) SetContext(ctx context.Context)
- func (o *StatusSourceGetParams) SetDefaults()
- func (o *StatusSourceGetParams) SetHTTPClient(client *http.Client)
- func (o *StatusSourceGetParams) SetID(id string)
- func (o *StatusSourceGetParams) SetTimeout(timeout time.Duration)
- func (o *StatusSourceGetParams) WithContext(ctx context.Context) *StatusSourceGetParams
- func (o *StatusSourceGetParams) WithDefaults() *StatusSourceGetParams
- func (o *StatusSourceGetParams) WithHTTPClient(client *http.Client) *StatusSourceGetParams
- func (o *StatusSourceGetParams) WithID(id string) *StatusSourceGetParams
- func (o *StatusSourceGetParams) WithTimeout(timeout time.Duration) *StatusSourceGetParams
- func (o *StatusSourceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusSourceGetReader
- type StatusSourceGetUnauthorized
- func (o *StatusSourceGetUnauthorized) Code() int
- func (o *StatusSourceGetUnauthorized) Error() string
- func (o *StatusSourceGetUnauthorized) IsClientError() bool
- func (o *StatusSourceGetUnauthorized) IsCode(code int) bool
- func (o *StatusSourceGetUnauthorized) IsRedirect() bool
- func (o *StatusSourceGetUnauthorized) IsServerError() bool
- func (o *StatusSourceGetUnauthorized) IsSuccess() bool
- func (o *StatusSourceGetUnauthorized) String() string
- type StatusUnbookmarkBadRequest
- func (o *StatusUnbookmarkBadRequest) Code() int
- func (o *StatusUnbookmarkBadRequest) Error() string
- func (o *StatusUnbookmarkBadRequest) IsClientError() bool
- func (o *StatusUnbookmarkBadRequest) IsCode(code int) bool
- func (o *StatusUnbookmarkBadRequest) IsRedirect() bool
- func (o *StatusUnbookmarkBadRequest) IsServerError() bool
- func (o *StatusUnbookmarkBadRequest) IsSuccess() bool
- func (o *StatusUnbookmarkBadRequest) String() string
- type StatusUnbookmarkForbidden
- func (o *StatusUnbookmarkForbidden) Code() int
- func (o *StatusUnbookmarkForbidden) Error() string
- func (o *StatusUnbookmarkForbidden) IsClientError() bool
- func (o *StatusUnbookmarkForbidden) IsCode(code int) bool
- func (o *StatusUnbookmarkForbidden) IsRedirect() bool
- func (o *StatusUnbookmarkForbidden) IsServerError() bool
- func (o *StatusUnbookmarkForbidden) IsSuccess() bool
- func (o *StatusUnbookmarkForbidden) String() string
- type StatusUnbookmarkInternalServerError
- func (o *StatusUnbookmarkInternalServerError) Code() int
- func (o *StatusUnbookmarkInternalServerError) Error() string
- func (o *StatusUnbookmarkInternalServerError) IsClientError() bool
- func (o *StatusUnbookmarkInternalServerError) IsCode(code int) bool
- func (o *StatusUnbookmarkInternalServerError) IsRedirect() bool
- func (o *StatusUnbookmarkInternalServerError) IsServerError() bool
- func (o *StatusUnbookmarkInternalServerError) IsSuccess() bool
- func (o *StatusUnbookmarkInternalServerError) String() string
- type StatusUnbookmarkNotAcceptable
- func (o *StatusUnbookmarkNotAcceptable) Code() int
- func (o *StatusUnbookmarkNotAcceptable) Error() string
- func (o *StatusUnbookmarkNotAcceptable) IsClientError() bool
- func (o *StatusUnbookmarkNotAcceptable) IsCode(code int) bool
- func (o *StatusUnbookmarkNotAcceptable) IsRedirect() bool
- func (o *StatusUnbookmarkNotAcceptable) IsServerError() bool
- func (o *StatusUnbookmarkNotAcceptable) IsSuccess() bool
- func (o *StatusUnbookmarkNotAcceptable) String() string
- type StatusUnbookmarkNotFound
- func (o *StatusUnbookmarkNotFound) Code() int
- func (o *StatusUnbookmarkNotFound) Error() string
- func (o *StatusUnbookmarkNotFound) IsClientError() bool
- func (o *StatusUnbookmarkNotFound) IsCode(code int) bool
- func (o *StatusUnbookmarkNotFound) IsRedirect() bool
- func (o *StatusUnbookmarkNotFound) IsServerError() bool
- func (o *StatusUnbookmarkNotFound) IsSuccess() bool
- func (o *StatusUnbookmarkNotFound) String() string
- type StatusUnbookmarkOK
- func (o *StatusUnbookmarkOK) Code() int
- func (o *StatusUnbookmarkOK) Error() string
- func (o *StatusUnbookmarkOK) GetPayload() *models.Status
- func (o *StatusUnbookmarkOK) IsClientError() bool
- func (o *StatusUnbookmarkOK) IsCode(code int) bool
- func (o *StatusUnbookmarkOK) IsRedirect() bool
- func (o *StatusUnbookmarkOK) IsServerError() bool
- func (o *StatusUnbookmarkOK) IsSuccess() bool
- func (o *StatusUnbookmarkOK) String() string
- type StatusUnbookmarkParams
- func NewStatusUnbookmarkParams() *StatusUnbookmarkParams
- func NewStatusUnbookmarkParamsWithContext(ctx context.Context) *StatusUnbookmarkParams
- func NewStatusUnbookmarkParamsWithHTTPClient(client *http.Client) *StatusUnbookmarkParams
- func NewStatusUnbookmarkParamsWithTimeout(timeout time.Duration) *StatusUnbookmarkParams
- func (o *StatusUnbookmarkParams) SetContext(ctx context.Context)
- func (o *StatusUnbookmarkParams) SetDefaults()
- func (o *StatusUnbookmarkParams) SetHTTPClient(client *http.Client)
- func (o *StatusUnbookmarkParams) SetID(id string)
- func (o *StatusUnbookmarkParams) SetTimeout(timeout time.Duration)
- func (o *StatusUnbookmarkParams) WithContext(ctx context.Context) *StatusUnbookmarkParams
- func (o *StatusUnbookmarkParams) WithDefaults() *StatusUnbookmarkParams
- func (o *StatusUnbookmarkParams) WithHTTPClient(client *http.Client) *StatusUnbookmarkParams
- func (o *StatusUnbookmarkParams) WithID(id string) *StatusUnbookmarkParams
- func (o *StatusUnbookmarkParams) WithTimeout(timeout time.Duration) *StatusUnbookmarkParams
- func (o *StatusUnbookmarkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusUnbookmarkReader
- type StatusUnbookmarkUnauthorized
- func (o *StatusUnbookmarkUnauthorized) Code() int
- func (o *StatusUnbookmarkUnauthorized) Error() string
- func (o *StatusUnbookmarkUnauthorized) IsClientError() bool
- func (o *StatusUnbookmarkUnauthorized) IsCode(code int) bool
- func (o *StatusUnbookmarkUnauthorized) IsRedirect() bool
- func (o *StatusUnbookmarkUnauthorized) IsServerError() bool
- func (o *StatusUnbookmarkUnauthorized) IsSuccess() bool
- func (o *StatusUnbookmarkUnauthorized) String() string
- type StatusUnfaveBadRequest
- func (o *StatusUnfaveBadRequest) Code() int
- func (o *StatusUnfaveBadRequest) Error() string
- func (o *StatusUnfaveBadRequest) IsClientError() bool
- func (o *StatusUnfaveBadRequest) IsCode(code int) bool
- func (o *StatusUnfaveBadRequest) IsRedirect() bool
- func (o *StatusUnfaveBadRequest) IsServerError() bool
- func (o *StatusUnfaveBadRequest) IsSuccess() bool
- func (o *StatusUnfaveBadRequest) String() string
- type StatusUnfaveForbidden
- func (o *StatusUnfaveForbidden) Code() int
- func (o *StatusUnfaveForbidden) Error() string
- func (o *StatusUnfaveForbidden) IsClientError() bool
- func (o *StatusUnfaveForbidden) IsCode(code int) bool
- func (o *StatusUnfaveForbidden) IsRedirect() bool
- func (o *StatusUnfaveForbidden) IsServerError() bool
- func (o *StatusUnfaveForbidden) IsSuccess() bool
- func (o *StatusUnfaveForbidden) String() string
- type StatusUnfaveInternalServerError
- func (o *StatusUnfaveInternalServerError) Code() int
- func (o *StatusUnfaveInternalServerError) Error() string
- func (o *StatusUnfaveInternalServerError) IsClientError() bool
- func (o *StatusUnfaveInternalServerError) IsCode(code int) bool
- func (o *StatusUnfaveInternalServerError) IsRedirect() bool
- func (o *StatusUnfaveInternalServerError) IsServerError() bool
- func (o *StatusUnfaveInternalServerError) IsSuccess() bool
- func (o *StatusUnfaveInternalServerError) String() string
- type StatusUnfaveNotAcceptable
- func (o *StatusUnfaveNotAcceptable) Code() int
- func (o *StatusUnfaveNotAcceptable) Error() string
- func (o *StatusUnfaveNotAcceptable) IsClientError() bool
- func (o *StatusUnfaveNotAcceptable) IsCode(code int) bool
- func (o *StatusUnfaveNotAcceptable) IsRedirect() bool
- func (o *StatusUnfaveNotAcceptable) IsServerError() bool
- func (o *StatusUnfaveNotAcceptable) IsSuccess() bool
- func (o *StatusUnfaveNotAcceptable) String() string
- type StatusUnfaveNotFound
- func (o *StatusUnfaveNotFound) Code() int
- func (o *StatusUnfaveNotFound) Error() string
- func (o *StatusUnfaveNotFound) IsClientError() bool
- func (o *StatusUnfaveNotFound) IsCode(code int) bool
- func (o *StatusUnfaveNotFound) IsRedirect() bool
- func (o *StatusUnfaveNotFound) IsServerError() bool
- func (o *StatusUnfaveNotFound) IsSuccess() bool
- func (o *StatusUnfaveNotFound) String() string
- type StatusUnfaveOK
- func (o *StatusUnfaveOK) Code() int
- func (o *StatusUnfaveOK) Error() string
- func (o *StatusUnfaveOK) GetPayload() *models.Status
- func (o *StatusUnfaveOK) IsClientError() bool
- func (o *StatusUnfaveOK) IsCode(code int) bool
- func (o *StatusUnfaveOK) IsRedirect() bool
- func (o *StatusUnfaveOK) IsServerError() bool
- func (o *StatusUnfaveOK) IsSuccess() bool
- func (o *StatusUnfaveOK) String() string
- type StatusUnfaveParams
- func (o *StatusUnfaveParams) SetContext(ctx context.Context)
- func (o *StatusUnfaveParams) SetDefaults()
- func (o *StatusUnfaveParams) SetHTTPClient(client *http.Client)
- func (o *StatusUnfaveParams) SetID(id string)
- func (o *StatusUnfaveParams) SetTimeout(timeout time.Duration)
- func (o *StatusUnfaveParams) WithContext(ctx context.Context) *StatusUnfaveParams
- func (o *StatusUnfaveParams) WithDefaults() *StatusUnfaveParams
- func (o *StatusUnfaveParams) WithHTTPClient(client *http.Client) *StatusUnfaveParams
- func (o *StatusUnfaveParams) WithID(id string) *StatusUnfaveParams
- func (o *StatusUnfaveParams) WithTimeout(timeout time.Duration) *StatusUnfaveParams
- func (o *StatusUnfaveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusUnfaveReader
- type StatusUnfaveUnauthorized
- func (o *StatusUnfaveUnauthorized) Code() int
- func (o *StatusUnfaveUnauthorized) Error() string
- func (o *StatusUnfaveUnauthorized) IsClientError() bool
- func (o *StatusUnfaveUnauthorized) IsCode(code int) bool
- func (o *StatusUnfaveUnauthorized) IsRedirect() bool
- func (o *StatusUnfaveUnauthorized) IsServerError() bool
- func (o *StatusUnfaveUnauthorized) IsSuccess() bool
- func (o *StatusUnfaveUnauthorized) String() string
- type StatusUnmuteBadRequest
- func (o *StatusUnmuteBadRequest) Code() int
- func (o *StatusUnmuteBadRequest) Error() string
- func (o *StatusUnmuteBadRequest) IsClientError() bool
- func (o *StatusUnmuteBadRequest) IsCode(code int) bool
- func (o *StatusUnmuteBadRequest) IsRedirect() bool
- func (o *StatusUnmuteBadRequest) IsServerError() bool
- func (o *StatusUnmuteBadRequest) IsSuccess() bool
- func (o *StatusUnmuteBadRequest) String() string
- type StatusUnmuteForbidden
- func (o *StatusUnmuteForbidden) Code() int
- func (o *StatusUnmuteForbidden) Error() string
- func (o *StatusUnmuteForbidden) IsClientError() bool
- func (o *StatusUnmuteForbidden) IsCode(code int) bool
- func (o *StatusUnmuteForbidden) IsRedirect() bool
- func (o *StatusUnmuteForbidden) IsServerError() bool
- func (o *StatusUnmuteForbidden) IsSuccess() bool
- func (o *StatusUnmuteForbidden) String() string
- type StatusUnmuteInternalServerError
- func (o *StatusUnmuteInternalServerError) Code() int
- func (o *StatusUnmuteInternalServerError) Error() string
- func (o *StatusUnmuteInternalServerError) IsClientError() bool
- func (o *StatusUnmuteInternalServerError) IsCode(code int) bool
- func (o *StatusUnmuteInternalServerError) IsRedirect() bool
- func (o *StatusUnmuteInternalServerError) IsServerError() bool
- func (o *StatusUnmuteInternalServerError) IsSuccess() bool
- func (o *StatusUnmuteInternalServerError) String() string
- type StatusUnmuteNotAcceptable
- func (o *StatusUnmuteNotAcceptable) Code() int
- func (o *StatusUnmuteNotAcceptable) Error() string
- func (o *StatusUnmuteNotAcceptable) IsClientError() bool
- func (o *StatusUnmuteNotAcceptable) IsCode(code int) bool
- func (o *StatusUnmuteNotAcceptable) IsRedirect() bool
- func (o *StatusUnmuteNotAcceptable) IsServerError() bool
- func (o *StatusUnmuteNotAcceptable) IsSuccess() bool
- func (o *StatusUnmuteNotAcceptable) String() string
- type StatusUnmuteNotFound
- func (o *StatusUnmuteNotFound) Code() int
- func (o *StatusUnmuteNotFound) Error() string
- func (o *StatusUnmuteNotFound) IsClientError() bool
- func (o *StatusUnmuteNotFound) IsCode(code int) bool
- func (o *StatusUnmuteNotFound) IsRedirect() bool
- func (o *StatusUnmuteNotFound) IsServerError() bool
- func (o *StatusUnmuteNotFound) IsSuccess() bool
- func (o *StatusUnmuteNotFound) String() string
- type StatusUnmuteOK
- func (o *StatusUnmuteOK) Code() int
- func (o *StatusUnmuteOK) Error() string
- func (o *StatusUnmuteOK) GetPayload() *models.Status
- func (o *StatusUnmuteOK) IsClientError() bool
- func (o *StatusUnmuteOK) IsCode(code int) bool
- func (o *StatusUnmuteOK) IsRedirect() bool
- func (o *StatusUnmuteOK) IsServerError() bool
- func (o *StatusUnmuteOK) IsSuccess() bool
- func (o *StatusUnmuteOK) String() string
- type StatusUnmuteParams
- func (o *StatusUnmuteParams) SetContext(ctx context.Context)
- func (o *StatusUnmuteParams) SetDefaults()
- func (o *StatusUnmuteParams) SetHTTPClient(client *http.Client)
- func (o *StatusUnmuteParams) SetID(id string)
- func (o *StatusUnmuteParams) SetTimeout(timeout time.Duration)
- func (o *StatusUnmuteParams) WithContext(ctx context.Context) *StatusUnmuteParams
- func (o *StatusUnmuteParams) WithDefaults() *StatusUnmuteParams
- func (o *StatusUnmuteParams) WithHTTPClient(client *http.Client) *StatusUnmuteParams
- func (o *StatusUnmuteParams) WithID(id string) *StatusUnmuteParams
- func (o *StatusUnmuteParams) WithTimeout(timeout time.Duration) *StatusUnmuteParams
- func (o *StatusUnmuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusUnmuteReader
- type StatusUnmuteUnauthorized
- func (o *StatusUnmuteUnauthorized) Code() int
- func (o *StatusUnmuteUnauthorized) Error() string
- func (o *StatusUnmuteUnauthorized) IsClientError() bool
- func (o *StatusUnmuteUnauthorized) IsCode(code int) bool
- func (o *StatusUnmuteUnauthorized) IsRedirect() bool
- func (o *StatusUnmuteUnauthorized) IsServerError() bool
- func (o *StatusUnmuteUnauthorized) IsSuccess() bool
- func (o *StatusUnmuteUnauthorized) String() string
- type StatusUnpinBadRequest
- func (o *StatusUnpinBadRequest) Code() int
- func (o *StatusUnpinBadRequest) Error() string
- func (o *StatusUnpinBadRequest) IsClientError() bool
- func (o *StatusUnpinBadRequest) IsCode(code int) bool
- func (o *StatusUnpinBadRequest) IsRedirect() bool
- func (o *StatusUnpinBadRequest) IsServerError() bool
- func (o *StatusUnpinBadRequest) IsSuccess() bool
- func (o *StatusUnpinBadRequest) String() string
- type StatusUnpinForbidden
- func (o *StatusUnpinForbidden) Code() int
- func (o *StatusUnpinForbidden) Error() string
- func (o *StatusUnpinForbidden) IsClientError() bool
- func (o *StatusUnpinForbidden) IsCode(code int) bool
- func (o *StatusUnpinForbidden) IsRedirect() bool
- func (o *StatusUnpinForbidden) IsServerError() bool
- func (o *StatusUnpinForbidden) IsSuccess() bool
- func (o *StatusUnpinForbidden) String() string
- type StatusUnpinInternalServerError
- func (o *StatusUnpinInternalServerError) Code() int
- func (o *StatusUnpinInternalServerError) Error() string
- func (o *StatusUnpinInternalServerError) IsClientError() bool
- func (o *StatusUnpinInternalServerError) IsCode(code int) bool
- func (o *StatusUnpinInternalServerError) IsRedirect() bool
- func (o *StatusUnpinInternalServerError) IsServerError() bool
- func (o *StatusUnpinInternalServerError) IsSuccess() bool
- func (o *StatusUnpinInternalServerError) String() string
- type StatusUnpinNotAcceptable
- func (o *StatusUnpinNotAcceptable) Code() int
- func (o *StatusUnpinNotAcceptable) Error() string
- func (o *StatusUnpinNotAcceptable) IsClientError() bool
- func (o *StatusUnpinNotAcceptable) IsCode(code int) bool
- func (o *StatusUnpinNotAcceptable) IsRedirect() bool
- func (o *StatusUnpinNotAcceptable) IsServerError() bool
- func (o *StatusUnpinNotAcceptable) IsSuccess() bool
- func (o *StatusUnpinNotAcceptable) String() string
- type StatusUnpinNotFound
- func (o *StatusUnpinNotFound) Code() int
- func (o *StatusUnpinNotFound) Error() string
- func (o *StatusUnpinNotFound) IsClientError() bool
- func (o *StatusUnpinNotFound) IsCode(code int) bool
- func (o *StatusUnpinNotFound) IsRedirect() bool
- func (o *StatusUnpinNotFound) IsServerError() bool
- func (o *StatusUnpinNotFound) IsSuccess() bool
- func (o *StatusUnpinNotFound) String() string
- type StatusUnpinOK
- func (o *StatusUnpinOK) Code() int
- func (o *StatusUnpinOK) Error() string
- func (o *StatusUnpinOK) GetPayload() *models.Status
- func (o *StatusUnpinOK) IsClientError() bool
- func (o *StatusUnpinOK) IsCode(code int) bool
- func (o *StatusUnpinOK) IsRedirect() bool
- func (o *StatusUnpinOK) IsServerError() bool
- func (o *StatusUnpinOK) IsSuccess() bool
- func (o *StatusUnpinOK) String() string
- type StatusUnpinParams
- func (o *StatusUnpinParams) SetContext(ctx context.Context)
- func (o *StatusUnpinParams) SetDefaults()
- func (o *StatusUnpinParams) SetHTTPClient(client *http.Client)
- func (o *StatusUnpinParams) SetID(id string)
- func (o *StatusUnpinParams) SetTimeout(timeout time.Duration)
- func (o *StatusUnpinParams) WithContext(ctx context.Context) *StatusUnpinParams
- func (o *StatusUnpinParams) WithDefaults() *StatusUnpinParams
- func (o *StatusUnpinParams) WithHTTPClient(client *http.Client) *StatusUnpinParams
- func (o *StatusUnpinParams) WithID(id string) *StatusUnpinParams
- func (o *StatusUnpinParams) WithTimeout(timeout time.Duration) *StatusUnpinParams
- func (o *StatusUnpinParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusUnpinReader
- type StatusUnpinUnauthorized
- func (o *StatusUnpinUnauthorized) Code() int
- func (o *StatusUnpinUnauthorized) Error() string
- func (o *StatusUnpinUnauthorized) IsClientError() bool
- func (o *StatusUnpinUnauthorized) IsCode(code int) bool
- func (o *StatusUnpinUnauthorized) IsRedirect() bool
- func (o *StatusUnpinUnauthorized) IsServerError() bool
- func (o *StatusUnpinUnauthorized) IsSuccess() bool
- func (o *StatusUnpinUnauthorized) String() string
- type StatusUnreblogBadRequest
- func (o *StatusUnreblogBadRequest) Code() int
- func (o *StatusUnreblogBadRequest) Error() string
- func (o *StatusUnreblogBadRequest) IsClientError() bool
- func (o *StatusUnreblogBadRequest) IsCode(code int) bool
- func (o *StatusUnreblogBadRequest) IsRedirect() bool
- func (o *StatusUnreblogBadRequest) IsServerError() bool
- func (o *StatusUnreblogBadRequest) IsSuccess() bool
- func (o *StatusUnreblogBadRequest) String() string
- type StatusUnreblogForbidden
- func (o *StatusUnreblogForbidden) Code() int
- func (o *StatusUnreblogForbidden) Error() string
- func (o *StatusUnreblogForbidden) IsClientError() bool
- func (o *StatusUnreblogForbidden) IsCode(code int) bool
- func (o *StatusUnreblogForbidden) IsRedirect() bool
- func (o *StatusUnreblogForbidden) IsServerError() bool
- func (o *StatusUnreblogForbidden) IsSuccess() bool
- func (o *StatusUnreblogForbidden) String() string
- type StatusUnreblogInternalServerError
- func (o *StatusUnreblogInternalServerError) Code() int
- func (o *StatusUnreblogInternalServerError) Error() string
- func (o *StatusUnreblogInternalServerError) IsClientError() bool
- func (o *StatusUnreblogInternalServerError) IsCode(code int) bool
- func (o *StatusUnreblogInternalServerError) IsRedirect() bool
- func (o *StatusUnreblogInternalServerError) IsServerError() bool
- func (o *StatusUnreblogInternalServerError) IsSuccess() bool
- func (o *StatusUnreblogInternalServerError) String() string
- type StatusUnreblogNotAcceptable
- func (o *StatusUnreblogNotAcceptable) Code() int
- func (o *StatusUnreblogNotAcceptable) Error() string
- func (o *StatusUnreblogNotAcceptable) IsClientError() bool
- func (o *StatusUnreblogNotAcceptable) IsCode(code int) bool
- func (o *StatusUnreblogNotAcceptable) IsRedirect() bool
- func (o *StatusUnreblogNotAcceptable) IsServerError() bool
- func (o *StatusUnreblogNotAcceptable) IsSuccess() bool
- func (o *StatusUnreblogNotAcceptable) String() string
- type StatusUnreblogNotFound
- func (o *StatusUnreblogNotFound) Code() int
- func (o *StatusUnreblogNotFound) Error() string
- func (o *StatusUnreblogNotFound) IsClientError() bool
- func (o *StatusUnreblogNotFound) IsCode(code int) bool
- func (o *StatusUnreblogNotFound) IsRedirect() bool
- func (o *StatusUnreblogNotFound) IsServerError() bool
- func (o *StatusUnreblogNotFound) IsSuccess() bool
- func (o *StatusUnreblogNotFound) String() string
- type StatusUnreblogOK
- func (o *StatusUnreblogOK) Code() int
- func (o *StatusUnreblogOK) Error() string
- func (o *StatusUnreblogOK) GetPayload() *models.Status
- func (o *StatusUnreblogOK) IsClientError() bool
- func (o *StatusUnreblogOK) IsCode(code int) bool
- func (o *StatusUnreblogOK) IsRedirect() bool
- func (o *StatusUnreblogOK) IsServerError() bool
- func (o *StatusUnreblogOK) IsSuccess() bool
- func (o *StatusUnreblogOK) String() string
- type StatusUnreblogParams
- func NewStatusUnreblogParams() *StatusUnreblogParams
- func NewStatusUnreblogParamsWithContext(ctx context.Context) *StatusUnreblogParams
- func NewStatusUnreblogParamsWithHTTPClient(client *http.Client) *StatusUnreblogParams
- func NewStatusUnreblogParamsWithTimeout(timeout time.Duration) *StatusUnreblogParams
- func (o *StatusUnreblogParams) SetContext(ctx context.Context)
- func (o *StatusUnreblogParams) SetDefaults()
- func (o *StatusUnreblogParams) SetHTTPClient(client *http.Client)
- func (o *StatusUnreblogParams) SetID(id string)
- func (o *StatusUnreblogParams) SetTimeout(timeout time.Duration)
- func (o *StatusUnreblogParams) WithContext(ctx context.Context) *StatusUnreblogParams
- func (o *StatusUnreblogParams) WithDefaults() *StatusUnreblogParams
- func (o *StatusUnreblogParams) WithHTTPClient(client *http.Client) *StatusUnreblogParams
- func (o *StatusUnreblogParams) WithID(id string) *StatusUnreblogParams
- func (o *StatusUnreblogParams) WithTimeout(timeout time.Duration) *StatusUnreblogParams
- func (o *StatusUnreblogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatusUnreblogReader
- type StatusUnreblogUnauthorized
- func (o *StatusUnreblogUnauthorized) Code() int
- func (o *StatusUnreblogUnauthorized) Error() string
- func (o *StatusUnreblogUnauthorized) IsClientError() bool
- func (o *StatusUnreblogUnauthorized) IsCode(code int) bool
- func (o *StatusUnreblogUnauthorized) IsRedirect() bool
- func (o *StatusUnreblogUnauthorized) IsServerError() bool
- func (o *StatusUnreblogUnauthorized) IsSuccess() bool
- func (o *StatusUnreblogUnauthorized) String() string
- type ThreadContextBadRequest
- func (o *ThreadContextBadRequest) Code() int
- func (o *ThreadContextBadRequest) Error() string
- func (o *ThreadContextBadRequest) IsClientError() bool
- func (o *ThreadContextBadRequest) IsCode(code int) bool
- func (o *ThreadContextBadRequest) IsRedirect() bool
- func (o *ThreadContextBadRequest) IsServerError() bool
- func (o *ThreadContextBadRequest) IsSuccess() bool
- func (o *ThreadContextBadRequest) String() string
- type ThreadContextForbidden
- func (o *ThreadContextForbidden) Code() int
- func (o *ThreadContextForbidden) Error() string
- func (o *ThreadContextForbidden) IsClientError() bool
- func (o *ThreadContextForbidden) IsCode(code int) bool
- func (o *ThreadContextForbidden) IsRedirect() bool
- func (o *ThreadContextForbidden) IsServerError() bool
- func (o *ThreadContextForbidden) IsSuccess() bool
- func (o *ThreadContextForbidden) String() string
- type ThreadContextInternalServerError
- func (o *ThreadContextInternalServerError) Code() int
- func (o *ThreadContextInternalServerError) Error() string
- func (o *ThreadContextInternalServerError) IsClientError() bool
- func (o *ThreadContextInternalServerError) IsCode(code int) bool
- func (o *ThreadContextInternalServerError) IsRedirect() bool
- func (o *ThreadContextInternalServerError) IsServerError() bool
- func (o *ThreadContextInternalServerError) IsSuccess() bool
- func (o *ThreadContextInternalServerError) String() string
- type ThreadContextNotAcceptable
- func (o *ThreadContextNotAcceptable) Code() int
- func (o *ThreadContextNotAcceptable) Error() string
- func (o *ThreadContextNotAcceptable) IsClientError() bool
- func (o *ThreadContextNotAcceptable) IsCode(code int) bool
- func (o *ThreadContextNotAcceptable) IsRedirect() bool
- func (o *ThreadContextNotAcceptable) IsServerError() bool
- func (o *ThreadContextNotAcceptable) IsSuccess() bool
- func (o *ThreadContextNotAcceptable) String() string
- type ThreadContextNotFound
- func (o *ThreadContextNotFound) Code() int
- func (o *ThreadContextNotFound) Error() string
- func (o *ThreadContextNotFound) IsClientError() bool
- func (o *ThreadContextNotFound) IsCode(code int) bool
- func (o *ThreadContextNotFound) IsRedirect() bool
- func (o *ThreadContextNotFound) IsServerError() bool
- func (o *ThreadContextNotFound) IsSuccess() bool
- func (o *ThreadContextNotFound) String() string
- type ThreadContextOK
- func (o *ThreadContextOK) Code() int
- func (o *ThreadContextOK) Error() string
- func (o *ThreadContextOK) GetPayload() *models.ThreadContext
- func (o *ThreadContextOK) IsClientError() bool
- func (o *ThreadContextOK) IsCode(code int) bool
- func (o *ThreadContextOK) IsRedirect() bool
- func (o *ThreadContextOK) IsServerError() bool
- func (o *ThreadContextOK) IsSuccess() bool
- func (o *ThreadContextOK) String() string
- type ThreadContextParams
- func (o *ThreadContextParams) SetContext(ctx context.Context)
- func (o *ThreadContextParams) SetDefaults()
- func (o *ThreadContextParams) SetHTTPClient(client *http.Client)
- func (o *ThreadContextParams) SetID(id string)
- func (o *ThreadContextParams) SetTimeout(timeout time.Duration)
- func (o *ThreadContextParams) WithContext(ctx context.Context) *ThreadContextParams
- func (o *ThreadContextParams) WithDefaults() *ThreadContextParams
- func (o *ThreadContextParams) WithHTTPClient(client *http.Client) *ThreadContextParams
- func (o *ThreadContextParams) WithID(id string) *ThreadContextParams
- func (o *ThreadContextParams) WithTimeout(timeout time.Duration) *ThreadContextParams
- func (o *ThreadContextParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ThreadContextReader
- type ThreadContextUnauthorized
- func (o *ThreadContextUnauthorized) Code() int
- func (o *ThreadContextUnauthorized) Error() string
- func (o *ThreadContextUnauthorized) IsClientError() bool
- func (o *ThreadContextUnauthorized) IsCode(code int) bool
- func (o *ThreadContextUnauthorized) IsRedirect() bool
- func (o *ThreadContextUnauthorized) IsServerError() bool
- func (o *ThreadContextUnauthorized) IsSuccess() bool
- func (o *ThreadContextUnauthorized) String() string
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 ¶
func (o *StatusBookmarkInternalServerError) Code() int
Code gets the status code for the status bookmark internal server error response
func (*StatusBookmarkInternalServerError) Error ¶
func (o *StatusBookmarkInternalServerError) Error() string
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 ¶
func (o *StatusBookmarkInternalServerError) String() 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 (o *StatusBookmarkNotAcceptable) Error() string
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 ¶
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 ¶
func (o *StatusBookmarkParams) WithContext(ctx context.Context) *StatusBookmarkParams
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 ¶
func (o *StatusBookmarkParams) WithID(id string) *StatusBookmarkParams
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 (o *StatusBookmarkUnauthorized) Error() string
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 ¶
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 ¶
func (o *StatusBoostedByParams) WithContext(ctx context.Context) *StatusBoostedByParams
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 ¶
func (o *StatusBoostedByParams) WithID(id string) *StatusBoostedByParams
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 (o *StatusBoostedByUnauthorized) Error() string
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 ¶
func (o *StatusCreateInternalServerError) Code() int
Code gets the status code for the status create internal server error response
func (*StatusCreateInternalServerError) Error ¶
func (o *StatusCreateInternalServerError) Error() string
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 ¶
func (o *StatusCreateInternalServerError) String() 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 ¶
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 ¶
func (o *StatusCreateParams) WithContext(ctx context.Context) *StatusCreateParams
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 ¶
func (o *StatusDeleteInternalServerError) Code() int
Code gets the status code for the status delete internal server error response
func (*StatusDeleteInternalServerError) Error ¶
func (o *StatusDeleteInternalServerError) Error() string
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 ¶
func (o *StatusDeleteInternalServerError) String() 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 ¶
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 ¶
func (o *StatusDeleteParams) WithContext(ctx context.Context) *StatusDeleteParams
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 ¶
func (o *StatusDeleteParams) WithID(id string) *StatusDeleteParams
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 ¶
func (o *StatusFaveInternalServerError) Code() int
Code gets the status code for the status fave internal server error response
func (*StatusFaveInternalServerError) Error ¶
func (o *StatusFaveInternalServerError) Error() string
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 ¶
func (o *StatusFaveInternalServerError) String() 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 ¶
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 ¶
func (o *StatusFavedByInternalServerError) Code() int
Code gets the status code for the status faved by internal server error response
func (*StatusFavedByInternalServerError) Error ¶
func (o *StatusFavedByInternalServerError) Error() string
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 ¶
func (o *StatusFavedByInternalServerError) String() 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 (o *StatusFavedByNotAcceptable) Error() string
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 ¶
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 ¶
func (o *StatusFavedByParams) WithContext(ctx context.Context) *StatusFavedByParams
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 ¶
func (o *StatusFavedByParams) WithID(id string) *StatusFavedByParams
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 ¶
func (o *StatusGetInternalServerError) Code() int
Code gets the status code for the status get internal server error response
func (*StatusGetInternalServerError) Error ¶
func (o *StatusGetInternalServerError) Error() string
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 ¶
func (o *StatusGetInternalServerError) String() 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 ¶
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 (o *StatusHistoryGetBadRequest) Error() string
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 ¶
func (o *StatusHistoryGetInternalServerError) Code() int
Code gets the status code for the status history get internal server error response
func (*StatusHistoryGetInternalServerError) Error ¶
func (o *StatusHistoryGetInternalServerError) Error() string
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 ¶
func (o *StatusHistoryGetInternalServerError) IsCode(code int) bool
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 ¶
func (o *StatusHistoryGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this status history get internal server error response has a 2xx status code
func (*StatusHistoryGetInternalServerError) String ¶
func (o *StatusHistoryGetInternalServerError) String() 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 ¶
func (o *StatusHistoryGetNotAcceptable) Code() int
Code gets the status code for the status history get not acceptable response
func (*StatusHistoryGetNotAcceptable) Error ¶
func (o *StatusHistoryGetNotAcceptable) Error() string
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 ¶
func (o *StatusHistoryGetNotAcceptable) String() 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 ¶
func (o *StatusHistoryGetParams) WithContext(ctx context.Context) *StatusHistoryGetParams
WithContext adds the context to the status history get params
func (*StatusHistoryGetParams) WithDefaults ¶
func (o *StatusHistoryGetParams) WithDefaults() *StatusHistoryGetParams
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 ¶
func (o *StatusHistoryGetParams) WithID(id string) *StatusHistoryGetParams
WithID adds the id to the status history get params
func (*StatusHistoryGetParams) WithTimeout ¶
func (o *StatusHistoryGetParams) WithTimeout(timeout time.Duration) *StatusHistoryGetParams
WithTimeout adds the timeout to the status history get params
func (*StatusHistoryGetParams) WriteToRequest ¶
func (o *StatusHistoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StatusHistoryGetUnauthorized) Code() int
Code gets the status code for the status history get unauthorized response
func (*StatusHistoryGetUnauthorized) Error ¶
func (o *StatusHistoryGetUnauthorized) Error() string
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 ¶
func (o *StatusHistoryGetUnauthorized) String() 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 ¶
func (o *StatusMuteInternalServerError) Code() int
Code gets the status code for the status mute internal server error response
func (*StatusMuteInternalServerError) Error ¶
func (o *StatusMuteInternalServerError) Error() string
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 ¶
func (o *StatusMuteInternalServerError) String() 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 ¶
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 ¶
func (o *StatusPinInternalServerError) Code() int
Code gets the status code for the status pin internal server error response
func (*StatusPinInternalServerError) Error ¶
func (o *StatusPinInternalServerError) Error() string
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 ¶
func (o *StatusPinInternalServerError) String() 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 ¶
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 ¶
func (o *StatusReblogInternalServerError) Code() int
Code gets the status code for the status reblog internal server error response
func (*StatusReblogInternalServerError) Error ¶
func (o *StatusReblogInternalServerError) Error() string
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 ¶
func (o *StatusReblogInternalServerError) String() 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 ¶
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 ¶
func (o *StatusReblogParams) WithContext(ctx context.Context) *StatusReblogParams
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 ¶
func (o *StatusReblogParams) WithID(id string) *StatusReblogParams
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 ¶
func (o *StatusSourceGetInternalServerError) Code() int
Code gets the status code for the status source get internal server error response
func (*StatusSourceGetInternalServerError) Error ¶
func (o *StatusSourceGetInternalServerError) Error() string
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 ¶
func (o *StatusSourceGetInternalServerError) IsCode(code int) bool
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 ¶
func (o *StatusSourceGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this status source get internal server error response has a 2xx status code
func (*StatusSourceGetInternalServerError) String ¶
func (o *StatusSourceGetInternalServerError) String() 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 ¶
func (o *StatusSourceGetNotAcceptable) Code() int
Code gets the status code for the status source get not acceptable response
func (*StatusSourceGetNotAcceptable) Error ¶
func (o *StatusSourceGetNotAcceptable) Error() string
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 ¶
func (o *StatusSourceGetNotAcceptable) String() 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 ¶
func (o *StatusSourceGetParams) WithContext(ctx context.Context) *StatusSourceGetParams
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 ¶
func (o *StatusSourceGetParams) WithID(id string) *StatusSourceGetParams
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 (o *StatusSourceGetUnauthorized) Error() string
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 (o *StatusUnbookmarkBadRequest) Error() string
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 ¶
func (o *StatusUnbookmarkInternalServerError) Code() int
Code gets the status code for the status unbookmark internal server error response
func (*StatusUnbookmarkInternalServerError) Error ¶
func (o *StatusUnbookmarkInternalServerError) Error() string
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 ¶
func (o *StatusUnbookmarkInternalServerError) IsCode(code int) bool
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 ¶
func (o *StatusUnbookmarkInternalServerError) IsSuccess() bool
IsSuccess returns true when this status unbookmark internal server error response has a 2xx status code
func (*StatusUnbookmarkInternalServerError) String ¶
func (o *StatusUnbookmarkInternalServerError) String() 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 ¶
func (o *StatusUnbookmarkNotAcceptable) Code() int
Code gets the status code for the status unbookmark not acceptable response
func (*StatusUnbookmarkNotAcceptable) Error ¶
func (o *StatusUnbookmarkNotAcceptable) Error() string
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 ¶
func (o *StatusUnbookmarkNotAcceptable) String() 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 ¶
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 ¶
func (o *StatusUnbookmarkParams) WithContext(ctx context.Context) *StatusUnbookmarkParams
WithContext adds the context to the status unbookmark params
func (*StatusUnbookmarkParams) WithDefaults ¶
func (o *StatusUnbookmarkParams) WithDefaults() *StatusUnbookmarkParams
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 ¶
func (o *StatusUnbookmarkParams) WithID(id string) *StatusUnbookmarkParams
WithID adds the id to the status unbookmark params
func (*StatusUnbookmarkParams) WithTimeout ¶
func (o *StatusUnbookmarkParams) WithTimeout(timeout time.Duration) *StatusUnbookmarkParams
WithTimeout adds the timeout to the status unbookmark params
func (*StatusUnbookmarkParams) WriteToRequest ¶
func (o *StatusUnbookmarkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StatusUnbookmarkUnauthorized) Code() int
Code gets the status code for the status unbookmark unauthorized response
func (*StatusUnbookmarkUnauthorized) Error ¶
func (o *StatusUnbookmarkUnauthorized) Error() string
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 ¶
func (o *StatusUnbookmarkUnauthorized) String() 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 ¶
func (o *StatusUnfaveInternalServerError) Code() int
Code gets the status code for the status unfave internal server error response
func (*StatusUnfaveInternalServerError) Error ¶
func (o *StatusUnfaveInternalServerError) Error() string
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 ¶
func (o *StatusUnfaveInternalServerError) String() 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 ¶
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 ¶
func (o *StatusUnfaveParams) WithContext(ctx context.Context) *StatusUnfaveParams
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 ¶
func (o *StatusUnfaveParams) WithID(id string) *StatusUnfaveParams
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 ¶
func (o *StatusUnmuteInternalServerError) Code() int
Code gets the status code for the status unmute internal server error response
func (*StatusUnmuteInternalServerError) Error ¶
func (o *StatusUnmuteInternalServerError) Error() string
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 ¶
func (o *StatusUnmuteInternalServerError) String() 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 ¶
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 ¶
func (o *StatusUnmuteParams) WithContext(ctx context.Context) *StatusUnmuteParams
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 ¶
func (o *StatusUnmuteParams) WithID(id string) *StatusUnmuteParams
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 ¶
func (o *StatusUnpinInternalServerError) Code() int
Code gets the status code for the status unpin internal server error response
func (*StatusUnpinInternalServerError) Error ¶
func (o *StatusUnpinInternalServerError) Error() string
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 ¶
func (o *StatusUnpinInternalServerError) String() 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 ¶
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 ¶
func (o *StatusUnpinParams) WithID(id string) *StatusUnpinParams
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 ¶
func (o *StatusUnreblogInternalServerError) Code() int
Code gets the status code for the status unreblog internal server error response
func (*StatusUnreblogInternalServerError) Error ¶
func (o *StatusUnreblogInternalServerError) Error() string
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 ¶
func (o *StatusUnreblogInternalServerError) String() 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 (o *StatusUnreblogNotAcceptable) Error() string
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 ¶
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 ¶
func (o *StatusUnreblogParams) WithContext(ctx context.Context) *StatusUnreblogParams
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 ¶
func (o *StatusUnreblogParams) WithID(id string) *StatusUnreblogParams
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 (o *StatusUnreblogUnauthorized) Error() string
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 ¶
func (o *ThreadContextInternalServerError) Code() int
Code gets the status code for the thread context internal server error response
func (*ThreadContextInternalServerError) Error ¶
func (o *ThreadContextInternalServerError) Error() string
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 ¶
func (o *ThreadContextInternalServerError) String() 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 (o *ThreadContextNotAcceptable) Error() string
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 ¶
func (o *ThreadContextParams) WithContext(ctx context.Context) *ThreadContextParams
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 ¶
func (o *ThreadContextParams) WithID(id string) *ThreadContextParams
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
Source Files ¶
- status_bookmark_parameters.go
- status_bookmark_responses.go
- status_boosted_by_parameters.go
- status_boosted_by_responses.go
- status_create_parameters.go
- status_create_responses.go
- status_delete_parameters.go
- status_delete_responses.go
- status_fave_parameters.go
- status_fave_responses.go
- status_faved_by_parameters.go
- status_faved_by_responses.go
- status_get_parameters.go
- status_get_responses.go
- status_history_get_parameters.go
- status_history_get_responses.go
- status_mute_parameters.go
- status_mute_responses.go
- status_pin_parameters.go
- status_pin_responses.go
- status_reblog_parameters.go
- status_reblog_responses.go
- status_source_get_parameters.go
- status_source_get_responses.go
- status_unbookmark_parameters.go
- status_unbookmark_responses.go
- status_unfave_parameters.go
- status_unfave_responses.go
- status_unmute_parameters.go
- status_unmute_responses.go
- status_unpin_parameters.go
- status_unpin_responses.go
- status_unreblog_parameters.go
- status_unreblog_responses.go
- statuses_client.go
- thread_context_parameters.go
- thread_context_responses.go