Documentation ¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationXML(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
- type AccountAliasBadRequest
- func (o *AccountAliasBadRequest) Code() int
- func (o *AccountAliasBadRequest) Error() string
- func (o *AccountAliasBadRequest) IsClientError() bool
- func (o *AccountAliasBadRequest) IsCode(code int) bool
- func (o *AccountAliasBadRequest) IsRedirect() bool
- func (o *AccountAliasBadRequest) IsServerError() bool
- func (o *AccountAliasBadRequest) IsSuccess() bool
- func (o *AccountAliasBadRequest) String() string
- type AccountAliasInternalServerError
- func (o *AccountAliasInternalServerError) Code() int
- func (o *AccountAliasInternalServerError) Error() string
- func (o *AccountAliasInternalServerError) IsClientError() bool
- func (o *AccountAliasInternalServerError) IsCode(code int) bool
- func (o *AccountAliasInternalServerError) IsRedirect() bool
- func (o *AccountAliasInternalServerError) IsServerError() bool
- func (o *AccountAliasInternalServerError) IsSuccess() bool
- func (o *AccountAliasInternalServerError) String() string
- type AccountAliasNotAcceptable
- func (o *AccountAliasNotAcceptable) Code() int
- func (o *AccountAliasNotAcceptable) Error() string
- func (o *AccountAliasNotAcceptable) IsClientError() bool
- func (o *AccountAliasNotAcceptable) IsCode(code int) bool
- func (o *AccountAliasNotAcceptable) IsRedirect() bool
- func (o *AccountAliasNotAcceptable) IsServerError() bool
- func (o *AccountAliasNotAcceptable) IsSuccess() bool
- func (o *AccountAliasNotAcceptable) String() string
- type AccountAliasNotFound
- func (o *AccountAliasNotFound) Code() int
- func (o *AccountAliasNotFound) Error() string
- func (o *AccountAliasNotFound) IsClientError() bool
- func (o *AccountAliasNotFound) IsCode(code int) bool
- func (o *AccountAliasNotFound) IsRedirect() bool
- func (o *AccountAliasNotFound) IsServerError() bool
- func (o *AccountAliasNotFound) IsSuccess() bool
- func (o *AccountAliasNotFound) String() string
- type AccountAliasOK
- func (o *AccountAliasOK) Code() int
- func (o *AccountAliasOK) Error() string
- func (o *AccountAliasOK) GetPayload() *models.Account
- func (o *AccountAliasOK) IsClientError() bool
- func (o *AccountAliasOK) IsCode(code int) bool
- func (o *AccountAliasOK) IsRedirect() bool
- func (o *AccountAliasOK) IsServerError() bool
- func (o *AccountAliasOK) IsSuccess() bool
- func (o *AccountAliasOK) String() string
- type AccountAliasParams
- func (o *AccountAliasParams) SetAlsoKnownAsUris(alsoKnownAsUris string)
- func (o *AccountAliasParams) SetContext(ctx context.Context)
- func (o *AccountAliasParams) SetDefaults()
- func (o *AccountAliasParams) SetHTTPClient(client *http.Client)
- func (o *AccountAliasParams) SetTimeout(timeout time.Duration)
- func (o *AccountAliasParams) WithAlsoKnownAsUris(alsoKnownAsUris string) *AccountAliasParams
- func (o *AccountAliasParams) WithContext(ctx context.Context) *AccountAliasParams
- func (o *AccountAliasParams) WithDefaults() *AccountAliasParams
- func (o *AccountAliasParams) WithHTTPClient(client *http.Client) *AccountAliasParams
- func (o *AccountAliasParams) WithTimeout(timeout time.Duration) *AccountAliasParams
- func (o *AccountAliasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountAliasReader
- type AccountAliasUnauthorized
- func (o *AccountAliasUnauthorized) Code() int
- func (o *AccountAliasUnauthorized) Error() string
- func (o *AccountAliasUnauthorized) IsClientError() bool
- func (o *AccountAliasUnauthorized) IsCode(code int) bool
- func (o *AccountAliasUnauthorized) IsRedirect() bool
- func (o *AccountAliasUnauthorized) IsServerError() bool
- func (o *AccountAliasUnauthorized) IsSuccess() bool
- func (o *AccountAliasUnauthorized) String() string
- type AccountAliasUnprocessableEntity
- func (o *AccountAliasUnprocessableEntity) Code() int
- func (o *AccountAliasUnprocessableEntity) Error() string
- func (o *AccountAliasUnprocessableEntity) IsClientError() bool
- func (o *AccountAliasUnprocessableEntity) IsCode(code int) bool
- func (o *AccountAliasUnprocessableEntity) IsRedirect() bool
- func (o *AccountAliasUnprocessableEntity) IsServerError() bool
- func (o *AccountAliasUnprocessableEntity) IsSuccess() bool
- func (o *AccountAliasUnprocessableEntity) String() string
- type AccountAvatarDeleteBadRequest
- func (o *AccountAvatarDeleteBadRequest) Code() int
- func (o *AccountAvatarDeleteBadRequest) Error() string
- func (o *AccountAvatarDeleteBadRequest) IsClientError() bool
- func (o *AccountAvatarDeleteBadRequest) IsCode(code int) bool
- func (o *AccountAvatarDeleteBadRequest) IsRedirect() bool
- func (o *AccountAvatarDeleteBadRequest) IsServerError() bool
- func (o *AccountAvatarDeleteBadRequest) IsSuccess() bool
- func (o *AccountAvatarDeleteBadRequest) String() string
- type AccountAvatarDeleteForbidden
- func (o *AccountAvatarDeleteForbidden) Code() int
- func (o *AccountAvatarDeleteForbidden) Error() string
- func (o *AccountAvatarDeleteForbidden) IsClientError() bool
- func (o *AccountAvatarDeleteForbidden) IsCode(code int) bool
- func (o *AccountAvatarDeleteForbidden) IsRedirect() bool
- func (o *AccountAvatarDeleteForbidden) IsServerError() bool
- func (o *AccountAvatarDeleteForbidden) IsSuccess() bool
- func (o *AccountAvatarDeleteForbidden) String() string
- type AccountAvatarDeleteInternalServerError
- func (o *AccountAvatarDeleteInternalServerError) Code() int
- func (o *AccountAvatarDeleteInternalServerError) Error() string
- func (o *AccountAvatarDeleteInternalServerError) IsClientError() bool
- func (o *AccountAvatarDeleteInternalServerError) IsCode(code int) bool
- func (o *AccountAvatarDeleteInternalServerError) IsRedirect() bool
- func (o *AccountAvatarDeleteInternalServerError) IsServerError() bool
- func (o *AccountAvatarDeleteInternalServerError) IsSuccess() bool
- func (o *AccountAvatarDeleteInternalServerError) String() string
- type AccountAvatarDeleteNotAcceptable
- func (o *AccountAvatarDeleteNotAcceptable) Code() int
- func (o *AccountAvatarDeleteNotAcceptable) Error() string
- func (o *AccountAvatarDeleteNotAcceptable) IsClientError() bool
- func (o *AccountAvatarDeleteNotAcceptable) IsCode(code int) bool
- func (o *AccountAvatarDeleteNotAcceptable) IsRedirect() bool
- func (o *AccountAvatarDeleteNotAcceptable) IsServerError() bool
- func (o *AccountAvatarDeleteNotAcceptable) IsSuccess() bool
- func (o *AccountAvatarDeleteNotAcceptable) String() string
- type AccountAvatarDeleteOK
- func (o *AccountAvatarDeleteOK) Code() int
- func (o *AccountAvatarDeleteOK) Error() string
- func (o *AccountAvatarDeleteOK) GetPayload() *models.Account
- func (o *AccountAvatarDeleteOK) IsClientError() bool
- func (o *AccountAvatarDeleteOK) IsCode(code int) bool
- func (o *AccountAvatarDeleteOK) IsRedirect() bool
- func (o *AccountAvatarDeleteOK) IsServerError() bool
- func (o *AccountAvatarDeleteOK) IsSuccess() bool
- func (o *AccountAvatarDeleteOK) String() string
- type AccountAvatarDeleteParams
- func NewAccountAvatarDeleteParams() *AccountAvatarDeleteParams
- func NewAccountAvatarDeleteParamsWithContext(ctx context.Context) *AccountAvatarDeleteParams
- func NewAccountAvatarDeleteParamsWithHTTPClient(client *http.Client) *AccountAvatarDeleteParams
- func NewAccountAvatarDeleteParamsWithTimeout(timeout time.Duration) *AccountAvatarDeleteParams
- func (o *AccountAvatarDeleteParams) SetContext(ctx context.Context)
- func (o *AccountAvatarDeleteParams) SetDefaults()
- func (o *AccountAvatarDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AccountAvatarDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AccountAvatarDeleteParams) WithContext(ctx context.Context) *AccountAvatarDeleteParams
- func (o *AccountAvatarDeleteParams) WithDefaults() *AccountAvatarDeleteParams
- func (o *AccountAvatarDeleteParams) WithHTTPClient(client *http.Client) *AccountAvatarDeleteParams
- func (o *AccountAvatarDeleteParams) WithTimeout(timeout time.Duration) *AccountAvatarDeleteParams
- func (o *AccountAvatarDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountAvatarDeleteReader
- type AccountAvatarDeleteUnauthorized
- func (o *AccountAvatarDeleteUnauthorized) Code() int
- func (o *AccountAvatarDeleteUnauthorized) Error() string
- func (o *AccountAvatarDeleteUnauthorized) IsClientError() bool
- func (o *AccountAvatarDeleteUnauthorized) IsCode(code int) bool
- func (o *AccountAvatarDeleteUnauthorized) IsRedirect() bool
- func (o *AccountAvatarDeleteUnauthorized) IsServerError() bool
- func (o *AccountAvatarDeleteUnauthorized) IsSuccess() bool
- func (o *AccountAvatarDeleteUnauthorized) String() string
- type AccountBlockBadRequest
- func (o *AccountBlockBadRequest) Code() int
- func (o *AccountBlockBadRequest) Error() string
- func (o *AccountBlockBadRequest) IsClientError() bool
- func (o *AccountBlockBadRequest) IsCode(code int) bool
- func (o *AccountBlockBadRequest) IsRedirect() bool
- func (o *AccountBlockBadRequest) IsServerError() bool
- func (o *AccountBlockBadRequest) IsSuccess() bool
- func (o *AccountBlockBadRequest) String() string
- type AccountBlockInternalServerError
- func (o *AccountBlockInternalServerError) Code() int
- func (o *AccountBlockInternalServerError) Error() string
- func (o *AccountBlockInternalServerError) IsClientError() bool
- func (o *AccountBlockInternalServerError) IsCode(code int) bool
- func (o *AccountBlockInternalServerError) IsRedirect() bool
- func (o *AccountBlockInternalServerError) IsServerError() bool
- func (o *AccountBlockInternalServerError) IsSuccess() bool
- func (o *AccountBlockInternalServerError) String() string
- type AccountBlockNotAcceptable
- func (o *AccountBlockNotAcceptable) Code() int
- func (o *AccountBlockNotAcceptable) Error() string
- func (o *AccountBlockNotAcceptable) IsClientError() bool
- func (o *AccountBlockNotAcceptable) IsCode(code int) bool
- func (o *AccountBlockNotAcceptable) IsRedirect() bool
- func (o *AccountBlockNotAcceptable) IsServerError() bool
- func (o *AccountBlockNotAcceptable) IsSuccess() bool
- func (o *AccountBlockNotAcceptable) String() string
- type AccountBlockNotFound
- func (o *AccountBlockNotFound) Code() int
- func (o *AccountBlockNotFound) Error() string
- func (o *AccountBlockNotFound) IsClientError() bool
- func (o *AccountBlockNotFound) IsCode(code int) bool
- func (o *AccountBlockNotFound) IsRedirect() bool
- func (o *AccountBlockNotFound) IsServerError() bool
- func (o *AccountBlockNotFound) IsSuccess() bool
- func (o *AccountBlockNotFound) String() string
- type AccountBlockOK
- func (o *AccountBlockOK) Code() int
- func (o *AccountBlockOK) Error() string
- func (o *AccountBlockOK) GetPayload() *models.Relationship
- func (o *AccountBlockOK) IsClientError() bool
- func (o *AccountBlockOK) IsCode(code int) bool
- func (o *AccountBlockOK) IsRedirect() bool
- func (o *AccountBlockOK) IsServerError() bool
- func (o *AccountBlockOK) IsSuccess() bool
- func (o *AccountBlockOK) String() string
- type AccountBlockParams
- func (o *AccountBlockParams) SetContext(ctx context.Context)
- func (o *AccountBlockParams) SetDefaults()
- func (o *AccountBlockParams) SetHTTPClient(client *http.Client)
- func (o *AccountBlockParams) SetID(id string)
- func (o *AccountBlockParams) SetTimeout(timeout time.Duration)
- func (o *AccountBlockParams) WithContext(ctx context.Context) *AccountBlockParams
- func (o *AccountBlockParams) WithDefaults() *AccountBlockParams
- func (o *AccountBlockParams) WithHTTPClient(client *http.Client) *AccountBlockParams
- func (o *AccountBlockParams) WithID(id string) *AccountBlockParams
- func (o *AccountBlockParams) WithTimeout(timeout time.Duration) *AccountBlockParams
- func (o *AccountBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountBlockReader
- type AccountBlockUnauthorized
- func (o *AccountBlockUnauthorized) Code() int
- func (o *AccountBlockUnauthorized) Error() string
- func (o *AccountBlockUnauthorized) IsClientError() bool
- func (o *AccountBlockUnauthorized) IsCode(code int) bool
- func (o *AccountBlockUnauthorized) IsRedirect() bool
- func (o *AccountBlockUnauthorized) IsServerError() bool
- func (o *AccountBlockUnauthorized) IsSuccess() bool
- func (o *AccountBlockUnauthorized) String() string
- type AccountCreateBadRequest
- func (o *AccountCreateBadRequest) Code() int
- func (o *AccountCreateBadRequest) Error() string
- func (o *AccountCreateBadRequest) IsClientError() bool
- func (o *AccountCreateBadRequest) IsCode(code int) bool
- func (o *AccountCreateBadRequest) IsRedirect() bool
- func (o *AccountCreateBadRequest) IsServerError() bool
- func (o *AccountCreateBadRequest) IsSuccess() bool
- func (o *AccountCreateBadRequest) String() string
- type AccountCreateInternalServerError
- func (o *AccountCreateInternalServerError) Code() int
- func (o *AccountCreateInternalServerError) Error() string
- func (o *AccountCreateInternalServerError) IsClientError() bool
- func (o *AccountCreateInternalServerError) IsCode(code int) bool
- func (o *AccountCreateInternalServerError) IsRedirect() bool
- func (o *AccountCreateInternalServerError) IsServerError() bool
- func (o *AccountCreateInternalServerError) IsSuccess() bool
- func (o *AccountCreateInternalServerError) String() string
- type AccountCreateNotAcceptable
- func (o *AccountCreateNotAcceptable) Code() int
- func (o *AccountCreateNotAcceptable) Error() string
- func (o *AccountCreateNotAcceptable) IsClientError() bool
- func (o *AccountCreateNotAcceptable) IsCode(code int) bool
- func (o *AccountCreateNotAcceptable) IsRedirect() bool
- func (o *AccountCreateNotAcceptable) IsServerError() bool
- func (o *AccountCreateNotAcceptable) IsSuccess() bool
- func (o *AccountCreateNotAcceptable) String() string
- type AccountCreateNotFound
- func (o *AccountCreateNotFound) Code() int
- func (o *AccountCreateNotFound) Error() string
- func (o *AccountCreateNotFound) IsClientError() bool
- func (o *AccountCreateNotFound) IsCode(code int) bool
- func (o *AccountCreateNotFound) IsRedirect() bool
- func (o *AccountCreateNotFound) IsServerError() bool
- func (o *AccountCreateNotFound) IsSuccess() bool
- func (o *AccountCreateNotFound) String() string
- type AccountCreateOK
- func (o *AccountCreateOK) Code() int
- func (o *AccountCreateOK) Error() string
- func (o *AccountCreateOK) GetPayload() *models.Token
- func (o *AccountCreateOK) IsClientError() bool
- func (o *AccountCreateOK) IsCode(code int) bool
- func (o *AccountCreateOK) IsRedirect() bool
- func (o *AccountCreateOK) IsServerError() bool
- func (o *AccountCreateOK) IsSuccess() bool
- func (o *AccountCreateOK) String() string
- type AccountCreateParams
- func (o *AccountCreateParams) SetAgreement(agreement *bool)
- func (o *AccountCreateParams) SetContext(ctx context.Context)
- func (o *AccountCreateParams) SetDefaults()
- func (o *AccountCreateParams) SetEmail(email *string)
- func (o *AccountCreateParams) SetHTTPClient(client *http.Client)
- func (o *AccountCreateParams) SetLocale(locale *string)
- func (o *AccountCreateParams) SetPassword(password *string)
- func (o *AccountCreateParams) SetReason(reason *string)
- func (o *AccountCreateParams) SetTimeout(timeout time.Duration)
- func (o *AccountCreateParams) SetUsername(username *string)
- func (o *AccountCreateParams) WithAgreement(agreement *bool) *AccountCreateParams
- func (o *AccountCreateParams) WithContext(ctx context.Context) *AccountCreateParams
- func (o *AccountCreateParams) WithDefaults() *AccountCreateParams
- func (o *AccountCreateParams) WithEmail(email *string) *AccountCreateParams
- func (o *AccountCreateParams) WithHTTPClient(client *http.Client) *AccountCreateParams
- func (o *AccountCreateParams) WithLocale(locale *string) *AccountCreateParams
- func (o *AccountCreateParams) WithPassword(password *string) *AccountCreateParams
- func (o *AccountCreateParams) WithReason(reason *string) *AccountCreateParams
- func (o *AccountCreateParams) WithTimeout(timeout time.Duration) *AccountCreateParams
- func (o *AccountCreateParams) WithUsername(username *string) *AccountCreateParams
- func (o *AccountCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountCreateReader
- type AccountCreateUnauthorized
- func (o *AccountCreateUnauthorized) Code() int
- func (o *AccountCreateUnauthorized) Error() string
- func (o *AccountCreateUnauthorized) IsClientError() bool
- func (o *AccountCreateUnauthorized) IsCode(code int) bool
- func (o *AccountCreateUnauthorized) IsRedirect() bool
- func (o *AccountCreateUnauthorized) IsServerError() bool
- func (o *AccountCreateUnauthorized) IsSuccess() bool
- func (o *AccountCreateUnauthorized) String() string
- type AccountCreateUnprocessableEntity
- func (o *AccountCreateUnprocessableEntity) Code() int
- func (o *AccountCreateUnprocessableEntity) Error() string
- func (o *AccountCreateUnprocessableEntity) IsClientError() bool
- func (o *AccountCreateUnprocessableEntity) IsCode(code int) bool
- func (o *AccountCreateUnprocessableEntity) IsRedirect() bool
- func (o *AccountCreateUnprocessableEntity) IsServerError() bool
- func (o *AccountCreateUnprocessableEntity) IsSuccess() bool
- func (o *AccountCreateUnprocessableEntity) String() string
- type AccountDeleteAccepted
- func (o *AccountDeleteAccepted) Code() int
- func (o *AccountDeleteAccepted) Error() string
- func (o *AccountDeleteAccepted) IsClientError() bool
- func (o *AccountDeleteAccepted) IsCode(code int) bool
- func (o *AccountDeleteAccepted) IsRedirect() bool
- func (o *AccountDeleteAccepted) IsServerError() bool
- func (o *AccountDeleteAccepted) IsSuccess() bool
- func (o *AccountDeleteAccepted) String() string
- type AccountDeleteBadRequest
- func (o *AccountDeleteBadRequest) Code() int
- func (o *AccountDeleteBadRequest) Error() string
- func (o *AccountDeleteBadRequest) IsClientError() bool
- func (o *AccountDeleteBadRequest) IsCode(code int) bool
- func (o *AccountDeleteBadRequest) IsRedirect() bool
- func (o *AccountDeleteBadRequest) IsServerError() bool
- func (o *AccountDeleteBadRequest) IsSuccess() bool
- func (o *AccountDeleteBadRequest) String() string
- type AccountDeleteInternalServerError
- func (o *AccountDeleteInternalServerError) Code() int
- func (o *AccountDeleteInternalServerError) Error() string
- func (o *AccountDeleteInternalServerError) IsClientError() bool
- func (o *AccountDeleteInternalServerError) IsCode(code int) bool
- func (o *AccountDeleteInternalServerError) IsRedirect() bool
- func (o *AccountDeleteInternalServerError) IsServerError() bool
- func (o *AccountDeleteInternalServerError) IsSuccess() bool
- func (o *AccountDeleteInternalServerError) String() string
- type AccountDeleteNotAcceptable
- func (o *AccountDeleteNotAcceptable) Code() int
- func (o *AccountDeleteNotAcceptable) Error() string
- func (o *AccountDeleteNotAcceptable) IsClientError() bool
- func (o *AccountDeleteNotAcceptable) IsCode(code int) bool
- func (o *AccountDeleteNotAcceptable) IsRedirect() bool
- func (o *AccountDeleteNotAcceptable) IsServerError() bool
- func (o *AccountDeleteNotAcceptable) IsSuccess() bool
- func (o *AccountDeleteNotAcceptable) String() string
- type AccountDeleteNotFound
- func (o *AccountDeleteNotFound) Code() int
- func (o *AccountDeleteNotFound) Error() string
- func (o *AccountDeleteNotFound) IsClientError() bool
- func (o *AccountDeleteNotFound) IsCode(code int) bool
- func (o *AccountDeleteNotFound) IsRedirect() bool
- func (o *AccountDeleteNotFound) IsServerError() bool
- func (o *AccountDeleteNotFound) IsSuccess() bool
- func (o *AccountDeleteNotFound) String() string
- type AccountDeleteParams
- func (o *AccountDeleteParams) SetContext(ctx context.Context)
- func (o *AccountDeleteParams) SetDefaults()
- func (o *AccountDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AccountDeleteParams) SetPassword(password string)
- func (o *AccountDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AccountDeleteParams) WithContext(ctx context.Context) *AccountDeleteParams
- func (o *AccountDeleteParams) WithDefaults() *AccountDeleteParams
- func (o *AccountDeleteParams) WithHTTPClient(client *http.Client) *AccountDeleteParams
- func (o *AccountDeleteParams) WithPassword(password string) *AccountDeleteParams
- func (o *AccountDeleteParams) WithTimeout(timeout time.Duration) *AccountDeleteParams
- func (o *AccountDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountDeleteReader
- type AccountDeleteUnauthorized
- func (o *AccountDeleteUnauthorized) Code() int
- func (o *AccountDeleteUnauthorized) Error() string
- func (o *AccountDeleteUnauthorized) IsClientError() bool
- func (o *AccountDeleteUnauthorized) IsCode(code int) bool
- func (o *AccountDeleteUnauthorized) IsRedirect() bool
- func (o *AccountDeleteUnauthorized) IsServerError() bool
- func (o *AccountDeleteUnauthorized) IsSuccess() bool
- func (o *AccountDeleteUnauthorized) String() string
- type AccountFollowBadRequest
- func (o *AccountFollowBadRequest) Code() int
- func (o *AccountFollowBadRequest) Error() string
- func (o *AccountFollowBadRequest) IsClientError() bool
- func (o *AccountFollowBadRequest) IsCode(code int) bool
- func (o *AccountFollowBadRequest) IsRedirect() bool
- func (o *AccountFollowBadRequest) IsServerError() bool
- func (o *AccountFollowBadRequest) IsSuccess() bool
- func (o *AccountFollowBadRequest) String() string
- type AccountFollowInternalServerError
- func (o *AccountFollowInternalServerError) Code() int
- func (o *AccountFollowInternalServerError) Error() string
- func (o *AccountFollowInternalServerError) IsClientError() bool
- func (o *AccountFollowInternalServerError) IsCode(code int) bool
- func (o *AccountFollowInternalServerError) IsRedirect() bool
- func (o *AccountFollowInternalServerError) IsServerError() bool
- func (o *AccountFollowInternalServerError) IsSuccess() bool
- func (o *AccountFollowInternalServerError) String() string
- type AccountFollowNotAcceptable
- func (o *AccountFollowNotAcceptable) Code() int
- func (o *AccountFollowNotAcceptable) Error() string
- func (o *AccountFollowNotAcceptable) IsClientError() bool
- func (o *AccountFollowNotAcceptable) IsCode(code int) bool
- func (o *AccountFollowNotAcceptable) IsRedirect() bool
- func (o *AccountFollowNotAcceptable) IsServerError() bool
- func (o *AccountFollowNotAcceptable) IsSuccess() bool
- func (o *AccountFollowNotAcceptable) String() string
- type AccountFollowNotFound
- func (o *AccountFollowNotFound) Code() int
- func (o *AccountFollowNotFound) Error() string
- func (o *AccountFollowNotFound) IsClientError() bool
- func (o *AccountFollowNotFound) IsCode(code int) bool
- func (o *AccountFollowNotFound) IsRedirect() bool
- func (o *AccountFollowNotFound) IsServerError() bool
- func (o *AccountFollowNotFound) IsSuccess() bool
- func (o *AccountFollowNotFound) String() string
- type AccountFollowOK
- func (o *AccountFollowOK) Code() int
- func (o *AccountFollowOK) Error() string
- func (o *AccountFollowOK) GetPayload() *models.Relationship
- func (o *AccountFollowOK) IsClientError() bool
- func (o *AccountFollowOK) IsCode(code int) bool
- func (o *AccountFollowOK) IsRedirect() bool
- func (o *AccountFollowOK) IsServerError() bool
- func (o *AccountFollowOK) IsSuccess() bool
- func (o *AccountFollowOK) String() string
- type AccountFollowParams
- func (o *AccountFollowParams) SetContext(ctx context.Context)
- func (o *AccountFollowParams) SetDefaults()
- func (o *AccountFollowParams) SetHTTPClient(client *http.Client)
- func (o *AccountFollowParams) SetID(id string)
- func (o *AccountFollowParams) SetNotify(notify *bool)
- func (o *AccountFollowParams) SetReblogs(reblogs *bool)
- func (o *AccountFollowParams) SetTimeout(timeout time.Duration)
- func (o *AccountFollowParams) WithContext(ctx context.Context) *AccountFollowParams
- func (o *AccountFollowParams) WithDefaults() *AccountFollowParams
- func (o *AccountFollowParams) WithHTTPClient(client *http.Client) *AccountFollowParams
- func (o *AccountFollowParams) WithID(id string) *AccountFollowParams
- func (o *AccountFollowParams) WithNotify(notify *bool) *AccountFollowParams
- func (o *AccountFollowParams) WithReblogs(reblogs *bool) *AccountFollowParams
- func (o *AccountFollowParams) WithTimeout(timeout time.Duration) *AccountFollowParams
- func (o *AccountFollowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountFollowReader
- type AccountFollowUnauthorized
- func (o *AccountFollowUnauthorized) Code() int
- func (o *AccountFollowUnauthorized) Error() string
- func (o *AccountFollowUnauthorized) IsClientError() bool
- func (o *AccountFollowUnauthorized) IsCode(code int) bool
- func (o *AccountFollowUnauthorized) IsRedirect() bool
- func (o *AccountFollowUnauthorized) IsServerError() bool
- func (o *AccountFollowUnauthorized) IsSuccess() bool
- func (o *AccountFollowUnauthorized) String() string
- type AccountFollowersBadRequest
- func (o *AccountFollowersBadRequest) Code() int
- func (o *AccountFollowersBadRequest) Error() string
- func (o *AccountFollowersBadRequest) IsClientError() bool
- func (o *AccountFollowersBadRequest) IsCode(code int) bool
- func (o *AccountFollowersBadRequest) IsRedirect() bool
- func (o *AccountFollowersBadRequest) IsServerError() bool
- func (o *AccountFollowersBadRequest) IsSuccess() bool
- func (o *AccountFollowersBadRequest) String() string
- type AccountFollowersInternalServerError
- func (o *AccountFollowersInternalServerError) Code() int
- func (o *AccountFollowersInternalServerError) Error() string
- func (o *AccountFollowersInternalServerError) IsClientError() bool
- func (o *AccountFollowersInternalServerError) IsCode(code int) bool
- func (o *AccountFollowersInternalServerError) IsRedirect() bool
- func (o *AccountFollowersInternalServerError) IsServerError() bool
- func (o *AccountFollowersInternalServerError) IsSuccess() bool
- func (o *AccountFollowersInternalServerError) String() string
- type AccountFollowersNotAcceptable
- func (o *AccountFollowersNotAcceptable) Code() int
- func (o *AccountFollowersNotAcceptable) Error() string
- func (o *AccountFollowersNotAcceptable) IsClientError() bool
- func (o *AccountFollowersNotAcceptable) IsCode(code int) bool
- func (o *AccountFollowersNotAcceptable) IsRedirect() bool
- func (o *AccountFollowersNotAcceptable) IsServerError() bool
- func (o *AccountFollowersNotAcceptable) IsSuccess() bool
- func (o *AccountFollowersNotAcceptable) String() string
- type AccountFollowersNotFound
- func (o *AccountFollowersNotFound) Code() int
- func (o *AccountFollowersNotFound) Error() string
- func (o *AccountFollowersNotFound) IsClientError() bool
- func (o *AccountFollowersNotFound) IsCode(code int) bool
- func (o *AccountFollowersNotFound) IsRedirect() bool
- func (o *AccountFollowersNotFound) IsServerError() bool
- func (o *AccountFollowersNotFound) IsSuccess() bool
- func (o *AccountFollowersNotFound) String() string
- type AccountFollowersOK
- func (o *AccountFollowersOK) Code() int
- func (o *AccountFollowersOK) Error() string
- func (o *AccountFollowersOK) GetPayload() []*models.Account
- func (o *AccountFollowersOK) IsClientError() bool
- func (o *AccountFollowersOK) IsCode(code int) bool
- func (o *AccountFollowersOK) IsRedirect() bool
- func (o *AccountFollowersOK) IsServerError() bool
- func (o *AccountFollowersOK) IsSuccess() bool
- func (o *AccountFollowersOK) String() string
- type AccountFollowersParams
- func NewAccountFollowersParams() *AccountFollowersParams
- func NewAccountFollowersParamsWithContext(ctx context.Context) *AccountFollowersParams
- func NewAccountFollowersParamsWithHTTPClient(client *http.Client) *AccountFollowersParams
- func NewAccountFollowersParamsWithTimeout(timeout time.Duration) *AccountFollowersParams
- func (o *AccountFollowersParams) SetContext(ctx context.Context)
- func (o *AccountFollowersParams) SetDefaults()
- func (o *AccountFollowersParams) SetHTTPClient(client *http.Client)
- func (o *AccountFollowersParams) SetID(id string)
- func (o *AccountFollowersParams) SetLimit(limit *int64)
- func (o *AccountFollowersParams) SetMaxID(maxID *string)
- func (o *AccountFollowersParams) SetMinID(minID *string)
- func (o *AccountFollowersParams) SetSinceID(sinceID *string)
- func (o *AccountFollowersParams) SetTimeout(timeout time.Duration)
- func (o *AccountFollowersParams) WithContext(ctx context.Context) *AccountFollowersParams
- func (o *AccountFollowersParams) WithDefaults() *AccountFollowersParams
- func (o *AccountFollowersParams) WithHTTPClient(client *http.Client) *AccountFollowersParams
- func (o *AccountFollowersParams) WithID(id string) *AccountFollowersParams
- func (o *AccountFollowersParams) WithLimit(limit *int64) *AccountFollowersParams
- func (o *AccountFollowersParams) WithMaxID(maxID *string) *AccountFollowersParams
- func (o *AccountFollowersParams) WithMinID(minID *string) *AccountFollowersParams
- func (o *AccountFollowersParams) WithSinceID(sinceID *string) *AccountFollowersParams
- func (o *AccountFollowersParams) WithTimeout(timeout time.Duration) *AccountFollowersParams
- func (o *AccountFollowersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountFollowersReader
- type AccountFollowersUnauthorized
- func (o *AccountFollowersUnauthorized) Code() int
- func (o *AccountFollowersUnauthorized) Error() string
- func (o *AccountFollowersUnauthorized) IsClientError() bool
- func (o *AccountFollowersUnauthorized) IsCode(code int) bool
- func (o *AccountFollowersUnauthorized) IsRedirect() bool
- func (o *AccountFollowersUnauthorized) IsServerError() bool
- func (o *AccountFollowersUnauthorized) IsSuccess() bool
- func (o *AccountFollowersUnauthorized) String() string
- type AccountFollowingBadRequest
- func (o *AccountFollowingBadRequest) Code() int
- func (o *AccountFollowingBadRequest) Error() string
- func (o *AccountFollowingBadRequest) IsClientError() bool
- func (o *AccountFollowingBadRequest) IsCode(code int) bool
- func (o *AccountFollowingBadRequest) IsRedirect() bool
- func (o *AccountFollowingBadRequest) IsServerError() bool
- func (o *AccountFollowingBadRequest) IsSuccess() bool
- func (o *AccountFollowingBadRequest) String() string
- type AccountFollowingInternalServerError
- func (o *AccountFollowingInternalServerError) Code() int
- func (o *AccountFollowingInternalServerError) Error() string
- func (o *AccountFollowingInternalServerError) IsClientError() bool
- func (o *AccountFollowingInternalServerError) IsCode(code int) bool
- func (o *AccountFollowingInternalServerError) IsRedirect() bool
- func (o *AccountFollowingInternalServerError) IsServerError() bool
- func (o *AccountFollowingInternalServerError) IsSuccess() bool
- func (o *AccountFollowingInternalServerError) String() string
- type AccountFollowingNotAcceptable
- func (o *AccountFollowingNotAcceptable) Code() int
- func (o *AccountFollowingNotAcceptable) Error() string
- func (o *AccountFollowingNotAcceptable) IsClientError() bool
- func (o *AccountFollowingNotAcceptable) IsCode(code int) bool
- func (o *AccountFollowingNotAcceptable) IsRedirect() bool
- func (o *AccountFollowingNotAcceptable) IsServerError() bool
- func (o *AccountFollowingNotAcceptable) IsSuccess() bool
- func (o *AccountFollowingNotAcceptable) String() string
- type AccountFollowingNotFound
- func (o *AccountFollowingNotFound) Code() int
- func (o *AccountFollowingNotFound) Error() string
- func (o *AccountFollowingNotFound) IsClientError() bool
- func (o *AccountFollowingNotFound) IsCode(code int) bool
- func (o *AccountFollowingNotFound) IsRedirect() bool
- func (o *AccountFollowingNotFound) IsServerError() bool
- func (o *AccountFollowingNotFound) IsSuccess() bool
- func (o *AccountFollowingNotFound) String() string
- type AccountFollowingOK
- func (o *AccountFollowingOK) Code() int
- func (o *AccountFollowingOK) Error() string
- func (o *AccountFollowingOK) GetPayload() []*models.Account
- func (o *AccountFollowingOK) IsClientError() bool
- func (o *AccountFollowingOK) IsCode(code int) bool
- func (o *AccountFollowingOK) IsRedirect() bool
- func (o *AccountFollowingOK) IsServerError() bool
- func (o *AccountFollowingOK) IsSuccess() bool
- func (o *AccountFollowingOK) String() string
- type AccountFollowingParams
- func NewAccountFollowingParams() *AccountFollowingParams
- func NewAccountFollowingParamsWithContext(ctx context.Context) *AccountFollowingParams
- func NewAccountFollowingParamsWithHTTPClient(client *http.Client) *AccountFollowingParams
- func NewAccountFollowingParamsWithTimeout(timeout time.Duration) *AccountFollowingParams
- func (o *AccountFollowingParams) SetContext(ctx context.Context)
- func (o *AccountFollowingParams) SetDefaults()
- func (o *AccountFollowingParams) SetHTTPClient(client *http.Client)
- func (o *AccountFollowingParams) SetID(id string)
- func (o *AccountFollowingParams) SetLimit(limit *int64)
- func (o *AccountFollowingParams) SetMaxID(maxID *string)
- func (o *AccountFollowingParams) SetMinID(minID *string)
- func (o *AccountFollowingParams) SetSinceID(sinceID *string)
- func (o *AccountFollowingParams) SetTimeout(timeout time.Duration)
- func (o *AccountFollowingParams) WithContext(ctx context.Context) *AccountFollowingParams
- func (o *AccountFollowingParams) WithDefaults() *AccountFollowingParams
- func (o *AccountFollowingParams) WithHTTPClient(client *http.Client) *AccountFollowingParams
- func (o *AccountFollowingParams) WithID(id string) *AccountFollowingParams
- func (o *AccountFollowingParams) WithLimit(limit *int64) *AccountFollowingParams
- func (o *AccountFollowingParams) WithMaxID(maxID *string) *AccountFollowingParams
- func (o *AccountFollowingParams) WithMinID(minID *string) *AccountFollowingParams
- func (o *AccountFollowingParams) WithSinceID(sinceID *string) *AccountFollowingParams
- func (o *AccountFollowingParams) WithTimeout(timeout time.Duration) *AccountFollowingParams
- func (o *AccountFollowingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountFollowingReader
- type AccountFollowingUnauthorized
- func (o *AccountFollowingUnauthorized) Code() int
- func (o *AccountFollowingUnauthorized) Error() string
- func (o *AccountFollowingUnauthorized) IsClientError() bool
- func (o *AccountFollowingUnauthorized) IsCode(code int) bool
- func (o *AccountFollowingUnauthorized) IsRedirect() bool
- func (o *AccountFollowingUnauthorized) IsServerError() bool
- func (o *AccountFollowingUnauthorized) IsSuccess() bool
- func (o *AccountFollowingUnauthorized) String() string
- type AccountGetBadRequest
- func (o *AccountGetBadRequest) Code() int
- func (o *AccountGetBadRequest) Error() string
- func (o *AccountGetBadRequest) IsClientError() bool
- func (o *AccountGetBadRequest) IsCode(code int) bool
- func (o *AccountGetBadRequest) IsRedirect() bool
- func (o *AccountGetBadRequest) IsServerError() bool
- func (o *AccountGetBadRequest) IsSuccess() bool
- func (o *AccountGetBadRequest) String() string
- type AccountGetInternalServerError
- func (o *AccountGetInternalServerError) Code() int
- func (o *AccountGetInternalServerError) Error() string
- func (o *AccountGetInternalServerError) IsClientError() bool
- func (o *AccountGetInternalServerError) IsCode(code int) bool
- func (o *AccountGetInternalServerError) IsRedirect() bool
- func (o *AccountGetInternalServerError) IsServerError() bool
- func (o *AccountGetInternalServerError) IsSuccess() bool
- func (o *AccountGetInternalServerError) String() string
- type AccountGetNotAcceptable
- func (o *AccountGetNotAcceptable) Code() int
- func (o *AccountGetNotAcceptable) Error() string
- func (o *AccountGetNotAcceptable) IsClientError() bool
- func (o *AccountGetNotAcceptable) IsCode(code int) bool
- func (o *AccountGetNotAcceptable) IsRedirect() bool
- func (o *AccountGetNotAcceptable) IsServerError() bool
- func (o *AccountGetNotAcceptable) IsSuccess() bool
- func (o *AccountGetNotAcceptable) String() string
- type AccountGetNotFound
- func (o *AccountGetNotFound) Code() int
- func (o *AccountGetNotFound) Error() string
- func (o *AccountGetNotFound) IsClientError() bool
- func (o *AccountGetNotFound) IsCode(code int) bool
- func (o *AccountGetNotFound) IsRedirect() bool
- func (o *AccountGetNotFound) IsServerError() bool
- func (o *AccountGetNotFound) IsSuccess() bool
- func (o *AccountGetNotFound) String() string
- type AccountGetOK
- func (o *AccountGetOK) Code() int
- func (o *AccountGetOK) Error() string
- func (o *AccountGetOK) GetPayload() *models.Account
- func (o *AccountGetOK) IsClientError() bool
- func (o *AccountGetOK) IsCode(code int) bool
- func (o *AccountGetOK) IsRedirect() bool
- func (o *AccountGetOK) IsServerError() bool
- func (o *AccountGetOK) IsSuccess() bool
- func (o *AccountGetOK) String() string
- type AccountGetParams
- func (o *AccountGetParams) SetContext(ctx context.Context)
- func (o *AccountGetParams) SetDefaults()
- func (o *AccountGetParams) SetHTTPClient(client *http.Client)
- func (o *AccountGetParams) SetID(id string)
- func (o *AccountGetParams) SetTimeout(timeout time.Duration)
- func (o *AccountGetParams) WithContext(ctx context.Context) *AccountGetParams
- func (o *AccountGetParams) WithDefaults() *AccountGetParams
- func (o *AccountGetParams) WithHTTPClient(client *http.Client) *AccountGetParams
- func (o *AccountGetParams) WithID(id string) *AccountGetParams
- func (o *AccountGetParams) WithTimeout(timeout time.Duration) *AccountGetParams
- func (o *AccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountGetReader
- type AccountGetUnauthorized
- func (o *AccountGetUnauthorized) Code() int
- func (o *AccountGetUnauthorized) Error() string
- func (o *AccountGetUnauthorized) IsClientError() bool
- func (o *AccountGetUnauthorized) IsCode(code int) bool
- func (o *AccountGetUnauthorized) IsRedirect() bool
- func (o *AccountGetUnauthorized) IsServerError() bool
- func (o *AccountGetUnauthorized) IsSuccess() bool
- func (o *AccountGetUnauthorized) String() string
- type AccountHeaderDeleteBadRequest
- func (o *AccountHeaderDeleteBadRequest) Code() int
- func (o *AccountHeaderDeleteBadRequest) Error() string
- func (o *AccountHeaderDeleteBadRequest) IsClientError() bool
- func (o *AccountHeaderDeleteBadRequest) IsCode(code int) bool
- func (o *AccountHeaderDeleteBadRequest) IsRedirect() bool
- func (o *AccountHeaderDeleteBadRequest) IsServerError() bool
- func (o *AccountHeaderDeleteBadRequest) IsSuccess() bool
- func (o *AccountHeaderDeleteBadRequest) String() string
- type AccountHeaderDeleteForbidden
- func (o *AccountHeaderDeleteForbidden) Code() int
- func (o *AccountHeaderDeleteForbidden) Error() string
- func (o *AccountHeaderDeleteForbidden) IsClientError() bool
- func (o *AccountHeaderDeleteForbidden) IsCode(code int) bool
- func (o *AccountHeaderDeleteForbidden) IsRedirect() bool
- func (o *AccountHeaderDeleteForbidden) IsServerError() bool
- func (o *AccountHeaderDeleteForbidden) IsSuccess() bool
- func (o *AccountHeaderDeleteForbidden) String() string
- type AccountHeaderDeleteInternalServerError
- func (o *AccountHeaderDeleteInternalServerError) Code() int
- func (o *AccountHeaderDeleteInternalServerError) Error() string
- func (o *AccountHeaderDeleteInternalServerError) IsClientError() bool
- func (o *AccountHeaderDeleteInternalServerError) IsCode(code int) bool
- func (o *AccountHeaderDeleteInternalServerError) IsRedirect() bool
- func (o *AccountHeaderDeleteInternalServerError) IsServerError() bool
- func (o *AccountHeaderDeleteInternalServerError) IsSuccess() bool
- func (o *AccountHeaderDeleteInternalServerError) String() string
- type AccountHeaderDeleteNotAcceptable
- func (o *AccountHeaderDeleteNotAcceptable) Code() int
- func (o *AccountHeaderDeleteNotAcceptable) Error() string
- func (o *AccountHeaderDeleteNotAcceptable) IsClientError() bool
- func (o *AccountHeaderDeleteNotAcceptable) IsCode(code int) bool
- func (o *AccountHeaderDeleteNotAcceptable) IsRedirect() bool
- func (o *AccountHeaderDeleteNotAcceptable) IsServerError() bool
- func (o *AccountHeaderDeleteNotAcceptable) IsSuccess() bool
- func (o *AccountHeaderDeleteNotAcceptable) String() string
- type AccountHeaderDeleteOK
- func (o *AccountHeaderDeleteOK) Code() int
- func (o *AccountHeaderDeleteOK) Error() string
- func (o *AccountHeaderDeleteOK) GetPayload() *models.Account
- func (o *AccountHeaderDeleteOK) IsClientError() bool
- func (o *AccountHeaderDeleteOK) IsCode(code int) bool
- func (o *AccountHeaderDeleteOK) IsRedirect() bool
- func (o *AccountHeaderDeleteOK) IsServerError() bool
- func (o *AccountHeaderDeleteOK) IsSuccess() bool
- func (o *AccountHeaderDeleteOK) String() string
- type AccountHeaderDeleteParams
- func NewAccountHeaderDeleteParams() *AccountHeaderDeleteParams
- func NewAccountHeaderDeleteParamsWithContext(ctx context.Context) *AccountHeaderDeleteParams
- func NewAccountHeaderDeleteParamsWithHTTPClient(client *http.Client) *AccountHeaderDeleteParams
- func NewAccountHeaderDeleteParamsWithTimeout(timeout time.Duration) *AccountHeaderDeleteParams
- func (o *AccountHeaderDeleteParams) SetContext(ctx context.Context)
- func (o *AccountHeaderDeleteParams) SetDefaults()
- func (o *AccountHeaderDeleteParams) SetHTTPClient(client *http.Client)
- func (o *AccountHeaderDeleteParams) SetTimeout(timeout time.Duration)
- func (o *AccountHeaderDeleteParams) WithContext(ctx context.Context) *AccountHeaderDeleteParams
- func (o *AccountHeaderDeleteParams) WithDefaults() *AccountHeaderDeleteParams
- func (o *AccountHeaderDeleteParams) WithHTTPClient(client *http.Client) *AccountHeaderDeleteParams
- func (o *AccountHeaderDeleteParams) WithTimeout(timeout time.Duration) *AccountHeaderDeleteParams
- func (o *AccountHeaderDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountHeaderDeleteReader
- type AccountHeaderDeleteUnauthorized
- func (o *AccountHeaderDeleteUnauthorized) Code() int
- func (o *AccountHeaderDeleteUnauthorized) Error() string
- func (o *AccountHeaderDeleteUnauthorized) IsClientError() bool
- func (o *AccountHeaderDeleteUnauthorized) IsCode(code int) bool
- func (o *AccountHeaderDeleteUnauthorized) IsRedirect() bool
- func (o *AccountHeaderDeleteUnauthorized) IsServerError() bool
- func (o *AccountHeaderDeleteUnauthorized) IsSuccess() bool
- func (o *AccountHeaderDeleteUnauthorized) String() string
- type AccountListsBadRequest
- func (o *AccountListsBadRequest) Code() int
- func (o *AccountListsBadRequest) Error() string
- func (o *AccountListsBadRequest) IsClientError() bool
- func (o *AccountListsBadRequest) IsCode(code int) bool
- func (o *AccountListsBadRequest) IsRedirect() bool
- func (o *AccountListsBadRequest) IsServerError() bool
- func (o *AccountListsBadRequest) IsSuccess() bool
- func (o *AccountListsBadRequest) String() string
- type AccountListsInternalServerError
- func (o *AccountListsInternalServerError) Code() int
- func (o *AccountListsInternalServerError) Error() string
- func (o *AccountListsInternalServerError) IsClientError() bool
- func (o *AccountListsInternalServerError) IsCode(code int) bool
- func (o *AccountListsInternalServerError) IsRedirect() bool
- func (o *AccountListsInternalServerError) IsServerError() bool
- func (o *AccountListsInternalServerError) IsSuccess() bool
- func (o *AccountListsInternalServerError) String() string
- type AccountListsNotAcceptable
- func (o *AccountListsNotAcceptable) Code() int
- func (o *AccountListsNotAcceptable) Error() string
- func (o *AccountListsNotAcceptable) IsClientError() bool
- func (o *AccountListsNotAcceptable) IsCode(code int) bool
- func (o *AccountListsNotAcceptable) IsRedirect() bool
- func (o *AccountListsNotAcceptable) IsServerError() bool
- func (o *AccountListsNotAcceptable) IsSuccess() bool
- func (o *AccountListsNotAcceptable) String() string
- type AccountListsNotFound
- func (o *AccountListsNotFound) Code() int
- func (o *AccountListsNotFound) Error() string
- func (o *AccountListsNotFound) IsClientError() bool
- func (o *AccountListsNotFound) IsCode(code int) bool
- func (o *AccountListsNotFound) IsRedirect() bool
- func (o *AccountListsNotFound) IsServerError() bool
- func (o *AccountListsNotFound) IsSuccess() bool
- func (o *AccountListsNotFound) String() string
- type AccountListsOK
- func (o *AccountListsOK) Code() int
- func (o *AccountListsOK) Error() string
- func (o *AccountListsOK) GetPayload() []*models.List
- func (o *AccountListsOK) IsClientError() bool
- func (o *AccountListsOK) IsCode(code int) bool
- func (o *AccountListsOK) IsRedirect() bool
- func (o *AccountListsOK) IsServerError() bool
- func (o *AccountListsOK) IsSuccess() bool
- func (o *AccountListsOK) String() string
- type AccountListsParams
- func (o *AccountListsParams) SetContext(ctx context.Context)
- func (o *AccountListsParams) SetDefaults()
- func (o *AccountListsParams) SetHTTPClient(client *http.Client)
- func (o *AccountListsParams) SetID(id string)
- func (o *AccountListsParams) SetTimeout(timeout time.Duration)
- func (o *AccountListsParams) WithContext(ctx context.Context) *AccountListsParams
- func (o *AccountListsParams) WithDefaults() *AccountListsParams
- func (o *AccountListsParams) WithHTTPClient(client *http.Client) *AccountListsParams
- func (o *AccountListsParams) WithID(id string) *AccountListsParams
- func (o *AccountListsParams) WithTimeout(timeout time.Duration) *AccountListsParams
- func (o *AccountListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountListsReader
- type AccountListsUnauthorized
- func (o *AccountListsUnauthorized) Code() int
- func (o *AccountListsUnauthorized) Error() string
- func (o *AccountListsUnauthorized) IsClientError() bool
- func (o *AccountListsUnauthorized) IsCode(code int) bool
- func (o *AccountListsUnauthorized) IsRedirect() bool
- func (o *AccountListsUnauthorized) IsServerError() bool
- func (o *AccountListsUnauthorized) IsSuccess() bool
- func (o *AccountListsUnauthorized) String() string
- type AccountLookupGetBadRequest
- func (o *AccountLookupGetBadRequest) Code() int
- func (o *AccountLookupGetBadRequest) Error() string
- func (o *AccountLookupGetBadRequest) IsClientError() bool
- func (o *AccountLookupGetBadRequest) IsCode(code int) bool
- func (o *AccountLookupGetBadRequest) IsRedirect() bool
- func (o *AccountLookupGetBadRequest) IsServerError() bool
- func (o *AccountLookupGetBadRequest) IsSuccess() bool
- func (o *AccountLookupGetBadRequest) String() string
- type AccountLookupGetInternalServerError
- func (o *AccountLookupGetInternalServerError) Code() int
- func (o *AccountLookupGetInternalServerError) Error() string
- func (o *AccountLookupGetInternalServerError) IsClientError() bool
- func (o *AccountLookupGetInternalServerError) IsCode(code int) bool
- func (o *AccountLookupGetInternalServerError) IsRedirect() bool
- func (o *AccountLookupGetInternalServerError) IsServerError() bool
- func (o *AccountLookupGetInternalServerError) IsSuccess() bool
- func (o *AccountLookupGetInternalServerError) String() string
- type AccountLookupGetNotAcceptable
- func (o *AccountLookupGetNotAcceptable) Code() int
- func (o *AccountLookupGetNotAcceptable) Error() string
- func (o *AccountLookupGetNotAcceptable) IsClientError() bool
- func (o *AccountLookupGetNotAcceptable) IsCode(code int) bool
- func (o *AccountLookupGetNotAcceptable) IsRedirect() bool
- func (o *AccountLookupGetNotAcceptable) IsServerError() bool
- func (o *AccountLookupGetNotAcceptable) IsSuccess() bool
- func (o *AccountLookupGetNotAcceptable) String() string
- type AccountLookupGetNotFound
- func (o *AccountLookupGetNotFound) Code() int
- func (o *AccountLookupGetNotFound) Error() string
- func (o *AccountLookupGetNotFound) IsClientError() bool
- func (o *AccountLookupGetNotFound) IsCode(code int) bool
- func (o *AccountLookupGetNotFound) IsRedirect() bool
- func (o *AccountLookupGetNotFound) IsServerError() bool
- func (o *AccountLookupGetNotFound) IsSuccess() bool
- func (o *AccountLookupGetNotFound) String() string
- type AccountLookupGetOK
- func (o *AccountLookupGetOK) Code() int
- func (o *AccountLookupGetOK) Error() string
- func (o *AccountLookupGetOK) GetPayload() *models.Account
- func (o *AccountLookupGetOK) IsClientError() bool
- func (o *AccountLookupGetOK) IsCode(code int) bool
- func (o *AccountLookupGetOK) IsRedirect() bool
- func (o *AccountLookupGetOK) IsServerError() bool
- func (o *AccountLookupGetOK) IsSuccess() bool
- func (o *AccountLookupGetOK) String() string
- type AccountLookupGetParams
- func NewAccountLookupGetParams() *AccountLookupGetParams
- func NewAccountLookupGetParamsWithContext(ctx context.Context) *AccountLookupGetParams
- func NewAccountLookupGetParamsWithHTTPClient(client *http.Client) *AccountLookupGetParams
- func NewAccountLookupGetParamsWithTimeout(timeout time.Duration) *AccountLookupGetParams
- func (o *AccountLookupGetParams) SetAcct(acct string)
- func (o *AccountLookupGetParams) SetContext(ctx context.Context)
- func (o *AccountLookupGetParams) SetDefaults()
- func (o *AccountLookupGetParams) SetHTTPClient(client *http.Client)
- func (o *AccountLookupGetParams) SetTimeout(timeout time.Duration)
- func (o *AccountLookupGetParams) WithAcct(acct string) *AccountLookupGetParams
- func (o *AccountLookupGetParams) WithContext(ctx context.Context) *AccountLookupGetParams
- func (o *AccountLookupGetParams) WithDefaults() *AccountLookupGetParams
- func (o *AccountLookupGetParams) WithHTTPClient(client *http.Client) *AccountLookupGetParams
- func (o *AccountLookupGetParams) WithTimeout(timeout time.Duration) *AccountLookupGetParams
- func (o *AccountLookupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountLookupGetReader
- type AccountLookupGetUnauthorized
- func (o *AccountLookupGetUnauthorized) Code() int
- func (o *AccountLookupGetUnauthorized) Error() string
- func (o *AccountLookupGetUnauthorized) IsClientError() bool
- func (o *AccountLookupGetUnauthorized) IsCode(code int) bool
- func (o *AccountLookupGetUnauthorized) IsRedirect() bool
- func (o *AccountLookupGetUnauthorized) IsServerError() bool
- func (o *AccountLookupGetUnauthorized) IsSuccess() bool
- func (o *AccountLookupGetUnauthorized) String() string
- type AccountMoveAccepted
- func (o *AccountMoveAccepted) Code() int
- func (o *AccountMoveAccepted) Error() string
- func (o *AccountMoveAccepted) IsClientError() bool
- func (o *AccountMoveAccepted) IsCode(code int) bool
- func (o *AccountMoveAccepted) IsRedirect() bool
- func (o *AccountMoveAccepted) IsServerError() bool
- func (o *AccountMoveAccepted) IsSuccess() bool
- func (o *AccountMoveAccepted) String() string
- type AccountMoveBadRequest
- func (o *AccountMoveBadRequest) Code() int
- func (o *AccountMoveBadRequest) Error() string
- func (o *AccountMoveBadRequest) IsClientError() bool
- func (o *AccountMoveBadRequest) IsCode(code int) bool
- func (o *AccountMoveBadRequest) IsRedirect() bool
- func (o *AccountMoveBadRequest) IsServerError() bool
- func (o *AccountMoveBadRequest) IsSuccess() bool
- func (o *AccountMoveBadRequest) String() string
- type AccountMoveInternalServerError
- func (o *AccountMoveInternalServerError) Code() int
- func (o *AccountMoveInternalServerError) Error() string
- func (o *AccountMoveInternalServerError) IsClientError() bool
- func (o *AccountMoveInternalServerError) IsCode(code int) bool
- func (o *AccountMoveInternalServerError) IsRedirect() bool
- func (o *AccountMoveInternalServerError) IsServerError() bool
- func (o *AccountMoveInternalServerError) IsSuccess() bool
- func (o *AccountMoveInternalServerError) String() string
- type AccountMoveNotAcceptable
- func (o *AccountMoveNotAcceptable) Code() int
- func (o *AccountMoveNotAcceptable) Error() string
- func (o *AccountMoveNotAcceptable) IsClientError() bool
- func (o *AccountMoveNotAcceptable) IsCode(code int) bool
- func (o *AccountMoveNotAcceptable) IsRedirect() bool
- func (o *AccountMoveNotAcceptable) IsServerError() bool
- func (o *AccountMoveNotAcceptable) IsSuccess() bool
- func (o *AccountMoveNotAcceptable) String() string
- type AccountMoveNotFound
- func (o *AccountMoveNotFound) Code() int
- func (o *AccountMoveNotFound) Error() string
- func (o *AccountMoveNotFound) IsClientError() bool
- func (o *AccountMoveNotFound) IsCode(code int) bool
- func (o *AccountMoveNotFound) IsRedirect() bool
- func (o *AccountMoveNotFound) IsServerError() bool
- func (o *AccountMoveNotFound) IsSuccess() bool
- func (o *AccountMoveNotFound) String() string
- type AccountMoveParams
- func (o *AccountMoveParams) SetContext(ctx context.Context)
- func (o *AccountMoveParams) SetDefaults()
- func (o *AccountMoveParams) SetHTTPClient(client *http.Client)
- func (o *AccountMoveParams) SetMovedToURI(movedToURI string)
- func (o *AccountMoveParams) SetPassword(password string)
- func (o *AccountMoveParams) SetTimeout(timeout time.Duration)
- func (o *AccountMoveParams) WithContext(ctx context.Context) *AccountMoveParams
- func (o *AccountMoveParams) WithDefaults() *AccountMoveParams
- func (o *AccountMoveParams) WithHTTPClient(client *http.Client) *AccountMoveParams
- func (o *AccountMoveParams) WithMovedToURI(movedToURI string) *AccountMoveParams
- func (o *AccountMoveParams) WithPassword(password string) *AccountMoveParams
- func (o *AccountMoveParams) WithTimeout(timeout time.Duration) *AccountMoveParams
- func (o *AccountMoveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountMoveReader
- type AccountMoveUnauthorized
- func (o *AccountMoveUnauthorized) Code() int
- func (o *AccountMoveUnauthorized) Error() string
- func (o *AccountMoveUnauthorized) IsClientError() bool
- func (o *AccountMoveUnauthorized) IsCode(code int) bool
- func (o *AccountMoveUnauthorized) IsRedirect() bool
- func (o *AccountMoveUnauthorized) IsServerError() bool
- func (o *AccountMoveUnauthorized) IsSuccess() bool
- func (o *AccountMoveUnauthorized) String() string
- type AccountMoveUnprocessableEntity
- func (o *AccountMoveUnprocessableEntity) Code() int
- func (o *AccountMoveUnprocessableEntity) Error() string
- func (o *AccountMoveUnprocessableEntity) IsClientError() bool
- func (o *AccountMoveUnprocessableEntity) IsCode(code int) bool
- func (o *AccountMoveUnprocessableEntity) IsRedirect() bool
- func (o *AccountMoveUnprocessableEntity) IsServerError() bool
- func (o *AccountMoveUnprocessableEntity) IsSuccess() bool
- func (o *AccountMoveUnprocessableEntity) String() string
- type AccountMuteBadRequest
- func (o *AccountMuteBadRequest) Code() int
- func (o *AccountMuteBadRequest) Error() string
- func (o *AccountMuteBadRequest) IsClientError() bool
- func (o *AccountMuteBadRequest) IsCode(code int) bool
- func (o *AccountMuteBadRequest) IsRedirect() bool
- func (o *AccountMuteBadRequest) IsServerError() bool
- func (o *AccountMuteBadRequest) IsSuccess() bool
- func (o *AccountMuteBadRequest) String() string
- type AccountMuteForbidden
- func (o *AccountMuteForbidden) Code() int
- func (o *AccountMuteForbidden) Error() string
- func (o *AccountMuteForbidden) IsClientError() bool
- func (o *AccountMuteForbidden) IsCode(code int) bool
- func (o *AccountMuteForbidden) IsRedirect() bool
- func (o *AccountMuteForbidden) IsServerError() bool
- func (o *AccountMuteForbidden) IsSuccess() bool
- func (o *AccountMuteForbidden) String() string
- type AccountMuteInternalServerError
- func (o *AccountMuteInternalServerError) Code() int
- func (o *AccountMuteInternalServerError) Error() string
- func (o *AccountMuteInternalServerError) IsClientError() bool
- func (o *AccountMuteInternalServerError) IsCode(code int) bool
- func (o *AccountMuteInternalServerError) IsRedirect() bool
- func (o *AccountMuteInternalServerError) IsServerError() bool
- func (o *AccountMuteInternalServerError) IsSuccess() bool
- func (o *AccountMuteInternalServerError) String() string
- type AccountMuteNotAcceptable
- func (o *AccountMuteNotAcceptable) Code() int
- func (o *AccountMuteNotAcceptable) Error() string
- func (o *AccountMuteNotAcceptable) IsClientError() bool
- func (o *AccountMuteNotAcceptable) IsCode(code int) bool
- func (o *AccountMuteNotAcceptable) IsRedirect() bool
- func (o *AccountMuteNotAcceptable) IsServerError() bool
- func (o *AccountMuteNotAcceptable) IsSuccess() bool
- func (o *AccountMuteNotAcceptable) String() string
- type AccountMuteNotFound
- func (o *AccountMuteNotFound) Code() int
- func (o *AccountMuteNotFound) Error() string
- func (o *AccountMuteNotFound) IsClientError() bool
- func (o *AccountMuteNotFound) IsCode(code int) bool
- func (o *AccountMuteNotFound) IsRedirect() bool
- func (o *AccountMuteNotFound) IsServerError() bool
- func (o *AccountMuteNotFound) IsSuccess() bool
- func (o *AccountMuteNotFound) String() string
- type AccountMuteOK
- func (o *AccountMuteOK) Code() int
- func (o *AccountMuteOK) Error() string
- func (o *AccountMuteOK) GetPayload() *models.Relationship
- func (o *AccountMuteOK) IsClientError() bool
- func (o *AccountMuteOK) IsCode(code int) bool
- func (o *AccountMuteOK) IsRedirect() bool
- func (o *AccountMuteOK) IsServerError() bool
- func (o *AccountMuteOK) IsSuccess() bool
- func (o *AccountMuteOK) String() string
- type AccountMuteParams
- func (o *AccountMuteParams) SetContext(ctx context.Context)
- func (o *AccountMuteParams) SetDefaults()
- func (o *AccountMuteParams) SetDuration(duration *float64)
- func (o *AccountMuteParams) SetHTTPClient(client *http.Client)
- func (o *AccountMuteParams) SetID(id string)
- func (o *AccountMuteParams) SetNotifications(notifications *bool)
- func (o *AccountMuteParams) SetTimeout(timeout time.Duration)
- func (o *AccountMuteParams) WithContext(ctx context.Context) *AccountMuteParams
- func (o *AccountMuteParams) WithDefaults() *AccountMuteParams
- func (o *AccountMuteParams) WithDuration(duration *float64) *AccountMuteParams
- func (o *AccountMuteParams) WithHTTPClient(client *http.Client) *AccountMuteParams
- func (o *AccountMuteParams) WithID(id string) *AccountMuteParams
- func (o *AccountMuteParams) WithNotifications(notifications *bool) *AccountMuteParams
- func (o *AccountMuteParams) WithTimeout(timeout time.Duration) *AccountMuteParams
- func (o *AccountMuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountMuteReader
- type AccountMuteUnauthorized
- func (o *AccountMuteUnauthorized) Code() int
- func (o *AccountMuteUnauthorized) Error() string
- func (o *AccountMuteUnauthorized) IsClientError() bool
- func (o *AccountMuteUnauthorized) IsCode(code int) bool
- func (o *AccountMuteUnauthorized) IsRedirect() bool
- func (o *AccountMuteUnauthorized) IsServerError() bool
- func (o *AccountMuteUnauthorized) IsSuccess() bool
- func (o *AccountMuteUnauthorized) String() string
- type AccountNoteBadRequest
- func (o *AccountNoteBadRequest) Code() int
- func (o *AccountNoteBadRequest) Error() string
- func (o *AccountNoteBadRequest) IsClientError() bool
- func (o *AccountNoteBadRequest) IsCode(code int) bool
- func (o *AccountNoteBadRequest) IsRedirect() bool
- func (o *AccountNoteBadRequest) IsServerError() bool
- func (o *AccountNoteBadRequest) IsSuccess() bool
- func (o *AccountNoteBadRequest) String() string
- type AccountNoteInternalServerError
- func (o *AccountNoteInternalServerError) Code() int
- func (o *AccountNoteInternalServerError) Error() string
- func (o *AccountNoteInternalServerError) IsClientError() bool
- func (o *AccountNoteInternalServerError) IsCode(code int) bool
- func (o *AccountNoteInternalServerError) IsRedirect() bool
- func (o *AccountNoteInternalServerError) IsServerError() bool
- func (o *AccountNoteInternalServerError) IsSuccess() bool
- func (o *AccountNoteInternalServerError) String() string
- type AccountNoteNotAcceptable
- func (o *AccountNoteNotAcceptable) Code() int
- func (o *AccountNoteNotAcceptable) Error() string
- func (o *AccountNoteNotAcceptable) IsClientError() bool
- func (o *AccountNoteNotAcceptable) IsCode(code int) bool
- func (o *AccountNoteNotAcceptable) IsRedirect() bool
- func (o *AccountNoteNotAcceptable) IsServerError() bool
- func (o *AccountNoteNotAcceptable) IsSuccess() bool
- func (o *AccountNoteNotAcceptable) String() string
- type AccountNoteNotFound
- func (o *AccountNoteNotFound) Code() int
- func (o *AccountNoteNotFound) Error() string
- func (o *AccountNoteNotFound) IsClientError() bool
- func (o *AccountNoteNotFound) IsCode(code int) bool
- func (o *AccountNoteNotFound) IsRedirect() bool
- func (o *AccountNoteNotFound) IsServerError() bool
- func (o *AccountNoteNotFound) IsSuccess() bool
- func (o *AccountNoteNotFound) String() string
- type AccountNoteOK
- func (o *AccountNoteOK) Code() int
- func (o *AccountNoteOK) Error() string
- func (o *AccountNoteOK) GetPayload() *models.Relationship
- func (o *AccountNoteOK) IsClientError() bool
- func (o *AccountNoteOK) IsCode(code int) bool
- func (o *AccountNoteOK) IsRedirect() bool
- func (o *AccountNoteOK) IsServerError() bool
- func (o *AccountNoteOK) IsSuccess() bool
- func (o *AccountNoteOK) String() string
- type AccountNoteParams
- func (o *AccountNoteParams) SetComment(comment *string)
- func (o *AccountNoteParams) SetContext(ctx context.Context)
- func (o *AccountNoteParams) SetDefaults()
- func (o *AccountNoteParams) SetHTTPClient(client *http.Client)
- func (o *AccountNoteParams) SetID(id string)
- func (o *AccountNoteParams) SetTimeout(timeout time.Duration)
- func (o *AccountNoteParams) WithComment(comment *string) *AccountNoteParams
- func (o *AccountNoteParams) WithContext(ctx context.Context) *AccountNoteParams
- func (o *AccountNoteParams) WithDefaults() *AccountNoteParams
- func (o *AccountNoteParams) WithHTTPClient(client *http.Client) *AccountNoteParams
- func (o *AccountNoteParams) WithID(id string) *AccountNoteParams
- func (o *AccountNoteParams) WithTimeout(timeout time.Duration) *AccountNoteParams
- func (o *AccountNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountNoteReader
- type AccountNoteUnauthorized
- func (o *AccountNoteUnauthorized) Code() int
- func (o *AccountNoteUnauthorized) Error() string
- func (o *AccountNoteUnauthorized) IsClientError() bool
- func (o *AccountNoteUnauthorized) IsCode(code int) bool
- func (o *AccountNoteUnauthorized) IsRedirect() bool
- func (o *AccountNoteUnauthorized) IsServerError() bool
- func (o *AccountNoteUnauthorized) IsSuccess() bool
- func (o *AccountNoteUnauthorized) String() string
- type AccountRelationshipsBadRequest
- func (o *AccountRelationshipsBadRequest) Code() int
- func (o *AccountRelationshipsBadRequest) Error() string
- func (o *AccountRelationshipsBadRequest) IsClientError() bool
- func (o *AccountRelationshipsBadRequest) IsCode(code int) bool
- func (o *AccountRelationshipsBadRequest) IsRedirect() bool
- func (o *AccountRelationshipsBadRequest) IsServerError() bool
- func (o *AccountRelationshipsBadRequest) IsSuccess() bool
- func (o *AccountRelationshipsBadRequest) String() string
- type AccountRelationshipsInternalServerError
- func (o *AccountRelationshipsInternalServerError) Code() int
- func (o *AccountRelationshipsInternalServerError) Error() string
- func (o *AccountRelationshipsInternalServerError) IsClientError() bool
- func (o *AccountRelationshipsInternalServerError) IsCode(code int) bool
- func (o *AccountRelationshipsInternalServerError) IsRedirect() bool
- func (o *AccountRelationshipsInternalServerError) IsServerError() bool
- func (o *AccountRelationshipsInternalServerError) IsSuccess() bool
- func (o *AccountRelationshipsInternalServerError) String() string
- type AccountRelationshipsNotAcceptable
- func (o *AccountRelationshipsNotAcceptable) Code() int
- func (o *AccountRelationshipsNotAcceptable) Error() string
- func (o *AccountRelationshipsNotAcceptable) IsClientError() bool
- func (o *AccountRelationshipsNotAcceptable) IsCode(code int) bool
- func (o *AccountRelationshipsNotAcceptable) IsRedirect() bool
- func (o *AccountRelationshipsNotAcceptable) IsServerError() bool
- func (o *AccountRelationshipsNotAcceptable) IsSuccess() bool
- func (o *AccountRelationshipsNotAcceptable) String() string
- type AccountRelationshipsNotFound
- func (o *AccountRelationshipsNotFound) Code() int
- func (o *AccountRelationshipsNotFound) Error() string
- func (o *AccountRelationshipsNotFound) IsClientError() bool
- func (o *AccountRelationshipsNotFound) IsCode(code int) bool
- func (o *AccountRelationshipsNotFound) IsRedirect() bool
- func (o *AccountRelationshipsNotFound) IsServerError() bool
- func (o *AccountRelationshipsNotFound) IsSuccess() bool
- func (o *AccountRelationshipsNotFound) String() string
- type AccountRelationshipsOK
- func (o *AccountRelationshipsOK) Code() int
- func (o *AccountRelationshipsOK) Error() string
- func (o *AccountRelationshipsOK) GetPayload() []*models.Relationship
- func (o *AccountRelationshipsOK) IsClientError() bool
- func (o *AccountRelationshipsOK) IsCode(code int) bool
- func (o *AccountRelationshipsOK) IsRedirect() bool
- func (o *AccountRelationshipsOK) IsServerError() bool
- func (o *AccountRelationshipsOK) IsSuccess() bool
- func (o *AccountRelationshipsOK) String() string
- type AccountRelationshipsParams
- func NewAccountRelationshipsParams() *AccountRelationshipsParams
- func NewAccountRelationshipsParamsWithContext(ctx context.Context) *AccountRelationshipsParams
- func NewAccountRelationshipsParamsWithHTTPClient(client *http.Client) *AccountRelationshipsParams
- func NewAccountRelationshipsParamsWithTimeout(timeout time.Duration) *AccountRelationshipsParams
- func (o *AccountRelationshipsParams) SetContext(ctx context.Context)
- func (o *AccountRelationshipsParams) SetDefaults()
- func (o *AccountRelationshipsParams) SetHTTPClient(client *http.Client)
- func (o *AccountRelationshipsParams) SetID(id []string)
- func (o *AccountRelationshipsParams) SetTimeout(timeout time.Duration)
- func (o *AccountRelationshipsParams) WithContext(ctx context.Context) *AccountRelationshipsParams
- func (o *AccountRelationshipsParams) WithDefaults() *AccountRelationshipsParams
- func (o *AccountRelationshipsParams) WithHTTPClient(client *http.Client) *AccountRelationshipsParams
- func (o *AccountRelationshipsParams) WithID(id []string) *AccountRelationshipsParams
- func (o *AccountRelationshipsParams) WithTimeout(timeout time.Duration) *AccountRelationshipsParams
- func (o *AccountRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountRelationshipsReader
- type AccountRelationshipsUnauthorized
- func (o *AccountRelationshipsUnauthorized) Code() int
- func (o *AccountRelationshipsUnauthorized) Error() string
- func (o *AccountRelationshipsUnauthorized) IsClientError() bool
- func (o *AccountRelationshipsUnauthorized) IsCode(code int) bool
- func (o *AccountRelationshipsUnauthorized) IsRedirect() bool
- func (o *AccountRelationshipsUnauthorized) IsServerError() bool
- func (o *AccountRelationshipsUnauthorized) IsSuccess() bool
- func (o *AccountRelationshipsUnauthorized) String() string
- type AccountSearchGetBadRequest
- func (o *AccountSearchGetBadRequest) Code() int
- func (o *AccountSearchGetBadRequest) Error() string
- func (o *AccountSearchGetBadRequest) IsClientError() bool
- func (o *AccountSearchGetBadRequest) IsCode(code int) bool
- func (o *AccountSearchGetBadRequest) IsRedirect() bool
- func (o *AccountSearchGetBadRequest) IsServerError() bool
- func (o *AccountSearchGetBadRequest) IsSuccess() bool
- func (o *AccountSearchGetBadRequest) String() string
- type AccountSearchGetInternalServerError
- func (o *AccountSearchGetInternalServerError) Code() int
- func (o *AccountSearchGetInternalServerError) Error() string
- func (o *AccountSearchGetInternalServerError) IsClientError() bool
- func (o *AccountSearchGetInternalServerError) IsCode(code int) bool
- func (o *AccountSearchGetInternalServerError) IsRedirect() bool
- func (o *AccountSearchGetInternalServerError) IsServerError() bool
- func (o *AccountSearchGetInternalServerError) IsSuccess() bool
- func (o *AccountSearchGetInternalServerError) String() string
- type AccountSearchGetNotAcceptable
- func (o *AccountSearchGetNotAcceptable) Code() int
- func (o *AccountSearchGetNotAcceptable) Error() string
- func (o *AccountSearchGetNotAcceptable) IsClientError() bool
- func (o *AccountSearchGetNotAcceptable) IsCode(code int) bool
- func (o *AccountSearchGetNotAcceptable) IsRedirect() bool
- func (o *AccountSearchGetNotAcceptable) IsServerError() bool
- func (o *AccountSearchGetNotAcceptable) IsSuccess() bool
- func (o *AccountSearchGetNotAcceptable) String() string
- type AccountSearchGetNotFound
- func (o *AccountSearchGetNotFound) Code() int
- func (o *AccountSearchGetNotFound) Error() string
- func (o *AccountSearchGetNotFound) IsClientError() bool
- func (o *AccountSearchGetNotFound) IsCode(code int) bool
- func (o *AccountSearchGetNotFound) IsRedirect() bool
- func (o *AccountSearchGetNotFound) IsServerError() bool
- func (o *AccountSearchGetNotFound) IsSuccess() bool
- func (o *AccountSearchGetNotFound) String() string
- type AccountSearchGetOK
- func (o *AccountSearchGetOK) Code() int
- func (o *AccountSearchGetOK) Error() string
- func (o *AccountSearchGetOK) GetPayload() []*models.Account
- func (o *AccountSearchGetOK) IsClientError() bool
- func (o *AccountSearchGetOK) IsCode(code int) bool
- func (o *AccountSearchGetOK) IsRedirect() bool
- func (o *AccountSearchGetOK) IsServerError() bool
- func (o *AccountSearchGetOK) IsSuccess() bool
- func (o *AccountSearchGetOK) String() string
- type AccountSearchGetParams
- func NewAccountSearchGetParams() *AccountSearchGetParams
- func NewAccountSearchGetParamsWithContext(ctx context.Context) *AccountSearchGetParams
- func NewAccountSearchGetParamsWithHTTPClient(client *http.Client) *AccountSearchGetParams
- func NewAccountSearchGetParamsWithTimeout(timeout time.Duration) *AccountSearchGetParams
- func (o *AccountSearchGetParams) SetContext(ctx context.Context)
- func (o *AccountSearchGetParams) SetDefaults()
- func (o *AccountSearchGetParams) SetFollowing(following *bool)
- func (o *AccountSearchGetParams) SetHTTPClient(client *http.Client)
- func (o *AccountSearchGetParams) SetLimit(limit *int64)
- func (o *AccountSearchGetParams) SetOffset(offset *int64)
- func (o *AccountSearchGetParams) SetQ(q string)
- func (o *AccountSearchGetParams) SetResolve(resolve *bool)
- func (o *AccountSearchGetParams) SetTimeout(timeout time.Duration)
- func (o *AccountSearchGetParams) WithContext(ctx context.Context) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithDefaults() *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithFollowing(following *bool) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithHTTPClient(client *http.Client) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithLimit(limit *int64) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithOffset(offset *int64) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithQ(q string) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithResolve(resolve *bool) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WithTimeout(timeout time.Duration) *AccountSearchGetParams
- func (o *AccountSearchGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountSearchGetReader
- type AccountSearchGetUnauthorized
- func (o *AccountSearchGetUnauthorized) Code() int
- func (o *AccountSearchGetUnauthorized) Error() string
- func (o *AccountSearchGetUnauthorized) IsClientError() bool
- func (o *AccountSearchGetUnauthorized) IsCode(code int) bool
- func (o *AccountSearchGetUnauthorized) IsRedirect() bool
- func (o *AccountSearchGetUnauthorized) IsServerError() bool
- func (o *AccountSearchGetUnauthorized) IsSuccess() bool
- func (o *AccountSearchGetUnauthorized) String() string
- type AccountStatusesBadRequest
- func (o *AccountStatusesBadRequest) Code() int
- func (o *AccountStatusesBadRequest) Error() string
- func (o *AccountStatusesBadRequest) IsClientError() bool
- func (o *AccountStatusesBadRequest) IsCode(code int) bool
- func (o *AccountStatusesBadRequest) IsRedirect() bool
- func (o *AccountStatusesBadRequest) IsServerError() bool
- func (o *AccountStatusesBadRequest) IsSuccess() bool
- func (o *AccountStatusesBadRequest) String() string
- type AccountStatusesInternalServerError
- func (o *AccountStatusesInternalServerError) Code() int
- func (o *AccountStatusesInternalServerError) Error() string
- func (o *AccountStatusesInternalServerError) IsClientError() bool
- func (o *AccountStatusesInternalServerError) IsCode(code int) bool
- func (o *AccountStatusesInternalServerError) IsRedirect() bool
- func (o *AccountStatusesInternalServerError) IsServerError() bool
- func (o *AccountStatusesInternalServerError) IsSuccess() bool
- func (o *AccountStatusesInternalServerError) String() string
- type AccountStatusesNotAcceptable
- func (o *AccountStatusesNotAcceptable) Code() int
- func (o *AccountStatusesNotAcceptable) Error() string
- func (o *AccountStatusesNotAcceptable) IsClientError() bool
- func (o *AccountStatusesNotAcceptable) IsCode(code int) bool
- func (o *AccountStatusesNotAcceptable) IsRedirect() bool
- func (o *AccountStatusesNotAcceptable) IsServerError() bool
- func (o *AccountStatusesNotAcceptable) IsSuccess() bool
- func (o *AccountStatusesNotAcceptable) String() string
- type AccountStatusesNotFound
- func (o *AccountStatusesNotFound) Code() int
- func (o *AccountStatusesNotFound) Error() string
- func (o *AccountStatusesNotFound) IsClientError() bool
- func (o *AccountStatusesNotFound) IsCode(code int) bool
- func (o *AccountStatusesNotFound) IsRedirect() bool
- func (o *AccountStatusesNotFound) IsServerError() bool
- func (o *AccountStatusesNotFound) IsSuccess() bool
- func (o *AccountStatusesNotFound) String() string
- type AccountStatusesOK
- func (o *AccountStatusesOK) Code() int
- func (o *AccountStatusesOK) Error() string
- func (o *AccountStatusesOK) GetPayload() []*models.Status
- func (o *AccountStatusesOK) IsClientError() bool
- func (o *AccountStatusesOK) IsCode(code int) bool
- func (o *AccountStatusesOK) IsRedirect() bool
- func (o *AccountStatusesOK) IsServerError() bool
- func (o *AccountStatusesOK) IsSuccess() bool
- func (o *AccountStatusesOK) String() string
- type AccountStatusesParams
- func NewAccountStatusesParams() *AccountStatusesParams
- func NewAccountStatusesParamsWithContext(ctx context.Context) *AccountStatusesParams
- func NewAccountStatusesParamsWithHTTPClient(client *http.Client) *AccountStatusesParams
- func NewAccountStatusesParamsWithTimeout(timeout time.Duration) *AccountStatusesParams
- func (o *AccountStatusesParams) SetContext(ctx context.Context)
- func (o *AccountStatusesParams) SetDefaults()
- func (o *AccountStatusesParams) SetExcludeReblogs(excludeReblogs *bool)
- func (o *AccountStatusesParams) SetExcludeReplies(excludeReplies *bool)
- func (o *AccountStatusesParams) SetHTTPClient(client *http.Client)
- func (o *AccountStatusesParams) SetID(id string)
- func (o *AccountStatusesParams) SetLimit(limit *int64)
- func (o *AccountStatusesParams) SetMaxID(maxID *string)
- func (o *AccountStatusesParams) SetMinID(minID *string)
- func (o *AccountStatusesParams) SetOnlyMedia(onlyMedia *bool)
- func (o *AccountStatusesParams) SetOnlyPublic(onlyPublic *bool)
- func (o *AccountStatusesParams) SetPinned(pinned *bool)
- func (o *AccountStatusesParams) SetTimeout(timeout time.Duration)
- func (o *AccountStatusesParams) WithContext(ctx context.Context) *AccountStatusesParams
- func (o *AccountStatusesParams) WithDefaults() *AccountStatusesParams
- func (o *AccountStatusesParams) WithExcludeReblogs(excludeReblogs *bool) *AccountStatusesParams
- func (o *AccountStatusesParams) WithExcludeReplies(excludeReplies *bool) *AccountStatusesParams
- func (o *AccountStatusesParams) WithHTTPClient(client *http.Client) *AccountStatusesParams
- func (o *AccountStatusesParams) WithID(id string) *AccountStatusesParams
- func (o *AccountStatusesParams) WithLimit(limit *int64) *AccountStatusesParams
- func (o *AccountStatusesParams) WithMaxID(maxID *string) *AccountStatusesParams
- func (o *AccountStatusesParams) WithMinID(minID *string) *AccountStatusesParams
- func (o *AccountStatusesParams) WithOnlyMedia(onlyMedia *bool) *AccountStatusesParams
- func (o *AccountStatusesParams) WithOnlyPublic(onlyPublic *bool) *AccountStatusesParams
- func (o *AccountStatusesParams) WithPinned(pinned *bool) *AccountStatusesParams
- func (o *AccountStatusesParams) WithTimeout(timeout time.Duration) *AccountStatusesParams
- func (o *AccountStatusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountStatusesReader
- type AccountStatusesUnauthorized
- func (o *AccountStatusesUnauthorized) Code() int
- func (o *AccountStatusesUnauthorized) Error() string
- func (o *AccountStatusesUnauthorized) IsClientError() bool
- func (o *AccountStatusesUnauthorized) IsCode(code int) bool
- func (o *AccountStatusesUnauthorized) IsRedirect() bool
- func (o *AccountStatusesUnauthorized) IsServerError() bool
- func (o *AccountStatusesUnauthorized) IsSuccess() bool
- func (o *AccountStatusesUnauthorized) String() string
- type AccountThemesBadRequest
- func (o *AccountThemesBadRequest) Code() int
- func (o *AccountThemesBadRequest) Error() string
- func (o *AccountThemesBadRequest) IsClientError() bool
- func (o *AccountThemesBadRequest) IsCode(code int) bool
- func (o *AccountThemesBadRequest) IsRedirect() bool
- func (o *AccountThemesBadRequest) IsServerError() bool
- func (o *AccountThemesBadRequest) IsSuccess() bool
- func (o *AccountThemesBadRequest) String() string
- type AccountThemesInternalServerError
- func (o *AccountThemesInternalServerError) Code() int
- func (o *AccountThemesInternalServerError) Error() string
- func (o *AccountThemesInternalServerError) IsClientError() bool
- func (o *AccountThemesInternalServerError) IsCode(code int) bool
- func (o *AccountThemesInternalServerError) IsRedirect() bool
- func (o *AccountThemesInternalServerError) IsServerError() bool
- func (o *AccountThemesInternalServerError) IsSuccess() bool
- func (o *AccountThemesInternalServerError) String() string
- type AccountThemesNotAcceptable
- func (o *AccountThemesNotAcceptable) Code() int
- func (o *AccountThemesNotAcceptable) Error() string
- func (o *AccountThemesNotAcceptable) IsClientError() bool
- func (o *AccountThemesNotAcceptable) IsCode(code int) bool
- func (o *AccountThemesNotAcceptable) IsRedirect() bool
- func (o *AccountThemesNotAcceptable) IsServerError() bool
- func (o *AccountThemesNotAcceptable) IsSuccess() bool
- func (o *AccountThemesNotAcceptable) String() string
- type AccountThemesNotFound
- func (o *AccountThemesNotFound) Code() int
- func (o *AccountThemesNotFound) Error() string
- func (o *AccountThemesNotFound) IsClientError() bool
- func (o *AccountThemesNotFound) IsCode(code int) bool
- func (o *AccountThemesNotFound) IsRedirect() bool
- func (o *AccountThemesNotFound) IsServerError() bool
- func (o *AccountThemesNotFound) IsSuccess() bool
- func (o *AccountThemesNotFound) String() string
- type AccountThemesOK
- func (o *AccountThemesOK) Code() int
- func (o *AccountThemesOK) Error() string
- func (o *AccountThemesOK) GetPayload() []*models.Theme
- func (o *AccountThemesOK) IsClientError() bool
- func (o *AccountThemesOK) IsCode(code int) bool
- func (o *AccountThemesOK) IsRedirect() bool
- func (o *AccountThemesOK) IsServerError() bool
- func (o *AccountThemesOK) IsSuccess() bool
- func (o *AccountThemesOK) String() string
- type AccountThemesParams
- func (o *AccountThemesParams) SetContext(ctx context.Context)
- func (o *AccountThemesParams) SetDefaults()
- func (o *AccountThemesParams) SetHTTPClient(client *http.Client)
- func (o *AccountThemesParams) SetTimeout(timeout time.Duration)
- func (o *AccountThemesParams) WithContext(ctx context.Context) *AccountThemesParams
- func (o *AccountThemesParams) WithDefaults() *AccountThemesParams
- func (o *AccountThemesParams) WithHTTPClient(client *http.Client) *AccountThemesParams
- func (o *AccountThemesParams) WithTimeout(timeout time.Duration) *AccountThemesParams
- func (o *AccountThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountThemesReader
- type AccountThemesUnauthorized
- func (o *AccountThemesUnauthorized) Code() int
- func (o *AccountThemesUnauthorized) Error() string
- func (o *AccountThemesUnauthorized) IsClientError() bool
- func (o *AccountThemesUnauthorized) IsCode(code int) bool
- func (o *AccountThemesUnauthorized) IsRedirect() bool
- func (o *AccountThemesUnauthorized) IsServerError() bool
- func (o *AccountThemesUnauthorized) IsSuccess() bool
- func (o *AccountThemesUnauthorized) String() string
- type AccountUnblockBadRequest
- func (o *AccountUnblockBadRequest) Code() int
- func (o *AccountUnblockBadRequest) Error() string
- func (o *AccountUnblockBadRequest) IsClientError() bool
- func (o *AccountUnblockBadRequest) IsCode(code int) bool
- func (o *AccountUnblockBadRequest) IsRedirect() bool
- func (o *AccountUnblockBadRequest) IsServerError() bool
- func (o *AccountUnblockBadRequest) IsSuccess() bool
- func (o *AccountUnblockBadRequest) String() string
- type AccountUnblockInternalServerError
- func (o *AccountUnblockInternalServerError) Code() int
- func (o *AccountUnblockInternalServerError) Error() string
- func (o *AccountUnblockInternalServerError) IsClientError() bool
- func (o *AccountUnblockInternalServerError) IsCode(code int) bool
- func (o *AccountUnblockInternalServerError) IsRedirect() bool
- func (o *AccountUnblockInternalServerError) IsServerError() bool
- func (o *AccountUnblockInternalServerError) IsSuccess() bool
- func (o *AccountUnblockInternalServerError) String() string
- type AccountUnblockNotAcceptable
- func (o *AccountUnblockNotAcceptable) Code() int
- func (o *AccountUnblockNotAcceptable) Error() string
- func (o *AccountUnblockNotAcceptable) IsClientError() bool
- func (o *AccountUnblockNotAcceptable) IsCode(code int) bool
- func (o *AccountUnblockNotAcceptable) IsRedirect() bool
- func (o *AccountUnblockNotAcceptable) IsServerError() bool
- func (o *AccountUnblockNotAcceptable) IsSuccess() bool
- func (o *AccountUnblockNotAcceptable) String() string
- type AccountUnblockNotFound
- func (o *AccountUnblockNotFound) Code() int
- func (o *AccountUnblockNotFound) Error() string
- func (o *AccountUnblockNotFound) IsClientError() bool
- func (o *AccountUnblockNotFound) IsCode(code int) bool
- func (o *AccountUnblockNotFound) IsRedirect() bool
- func (o *AccountUnblockNotFound) IsServerError() bool
- func (o *AccountUnblockNotFound) IsSuccess() bool
- func (o *AccountUnblockNotFound) String() string
- type AccountUnblockOK
- func (o *AccountUnblockOK) Code() int
- func (o *AccountUnblockOK) Error() string
- func (o *AccountUnblockOK) GetPayload() *models.Relationship
- func (o *AccountUnblockOK) IsClientError() bool
- func (o *AccountUnblockOK) IsCode(code int) bool
- func (o *AccountUnblockOK) IsRedirect() bool
- func (o *AccountUnblockOK) IsServerError() bool
- func (o *AccountUnblockOK) IsSuccess() bool
- func (o *AccountUnblockOK) String() string
- type AccountUnblockParams
- func NewAccountUnblockParams() *AccountUnblockParams
- func NewAccountUnblockParamsWithContext(ctx context.Context) *AccountUnblockParams
- func NewAccountUnblockParamsWithHTTPClient(client *http.Client) *AccountUnblockParams
- func NewAccountUnblockParamsWithTimeout(timeout time.Duration) *AccountUnblockParams
- func (o *AccountUnblockParams) SetContext(ctx context.Context)
- func (o *AccountUnblockParams) SetDefaults()
- func (o *AccountUnblockParams) SetHTTPClient(client *http.Client)
- func (o *AccountUnblockParams) SetID(id string)
- func (o *AccountUnblockParams) SetTimeout(timeout time.Duration)
- func (o *AccountUnblockParams) WithContext(ctx context.Context) *AccountUnblockParams
- func (o *AccountUnblockParams) WithDefaults() *AccountUnblockParams
- func (o *AccountUnblockParams) WithHTTPClient(client *http.Client) *AccountUnblockParams
- func (o *AccountUnblockParams) WithID(id string) *AccountUnblockParams
- func (o *AccountUnblockParams) WithTimeout(timeout time.Duration) *AccountUnblockParams
- func (o *AccountUnblockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountUnblockReader
- type AccountUnblockUnauthorized
- func (o *AccountUnblockUnauthorized) Code() int
- func (o *AccountUnblockUnauthorized) Error() string
- func (o *AccountUnblockUnauthorized) IsClientError() bool
- func (o *AccountUnblockUnauthorized) IsCode(code int) bool
- func (o *AccountUnblockUnauthorized) IsRedirect() bool
- func (o *AccountUnblockUnauthorized) IsServerError() bool
- func (o *AccountUnblockUnauthorized) IsSuccess() bool
- func (o *AccountUnblockUnauthorized) String() string
- type AccountUnfollowBadRequest
- func (o *AccountUnfollowBadRequest) Code() int
- func (o *AccountUnfollowBadRequest) Error() string
- func (o *AccountUnfollowBadRequest) IsClientError() bool
- func (o *AccountUnfollowBadRequest) IsCode(code int) bool
- func (o *AccountUnfollowBadRequest) IsRedirect() bool
- func (o *AccountUnfollowBadRequest) IsServerError() bool
- func (o *AccountUnfollowBadRequest) IsSuccess() bool
- func (o *AccountUnfollowBadRequest) String() string
- type AccountUnfollowInternalServerError
- func (o *AccountUnfollowInternalServerError) Code() int
- func (o *AccountUnfollowInternalServerError) Error() string
- func (o *AccountUnfollowInternalServerError) IsClientError() bool
- func (o *AccountUnfollowInternalServerError) IsCode(code int) bool
- func (o *AccountUnfollowInternalServerError) IsRedirect() bool
- func (o *AccountUnfollowInternalServerError) IsServerError() bool
- func (o *AccountUnfollowInternalServerError) IsSuccess() bool
- func (o *AccountUnfollowInternalServerError) String() string
- type AccountUnfollowNotAcceptable
- func (o *AccountUnfollowNotAcceptable) Code() int
- func (o *AccountUnfollowNotAcceptable) Error() string
- func (o *AccountUnfollowNotAcceptable) IsClientError() bool
- func (o *AccountUnfollowNotAcceptable) IsCode(code int) bool
- func (o *AccountUnfollowNotAcceptable) IsRedirect() bool
- func (o *AccountUnfollowNotAcceptable) IsServerError() bool
- func (o *AccountUnfollowNotAcceptable) IsSuccess() bool
- func (o *AccountUnfollowNotAcceptable) String() string
- type AccountUnfollowNotFound
- func (o *AccountUnfollowNotFound) Code() int
- func (o *AccountUnfollowNotFound) Error() string
- func (o *AccountUnfollowNotFound) IsClientError() bool
- func (o *AccountUnfollowNotFound) IsCode(code int) bool
- func (o *AccountUnfollowNotFound) IsRedirect() bool
- func (o *AccountUnfollowNotFound) IsServerError() bool
- func (o *AccountUnfollowNotFound) IsSuccess() bool
- func (o *AccountUnfollowNotFound) String() string
- type AccountUnfollowOK
- func (o *AccountUnfollowOK) Code() int
- func (o *AccountUnfollowOK) Error() string
- func (o *AccountUnfollowOK) GetPayload() *models.Relationship
- func (o *AccountUnfollowOK) IsClientError() bool
- func (o *AccountUnfollowOK) IsCode(code int) bool
- func (o *AccountUnfollowOK) IsRedirect() bool
- func (o *AccountUnfollowOK) IsServerError() bool
- func (o *AccountUnfollowOK) IsSuccess() bool
- func (o *AccountUnfollowOK) String() string
- type AccountUnfollowParams
- func NewAccountUnfollowParams() *AccountUnfollowParams
- func NewAccountUnfollowParamsWithContext(ctx context.Context) *AccountUnfollowParams
- func NewAccountUnfollowParamsWithHTTPClient(client *http.Client) *AccountUnfollowParams
- func NewAccountUnfollowParamsWithTimeout(timeout time.Duration) *AccountUnfollowParams
- func (o *AccountUnfollowParams) SetContext(ctx context.Context)
- func (o *AccountUnfollowParams) SetDefaults()
- func (o *AccountUnfollowParams) SetHTTPClient(client *http.Client)
- func (o *AccountUnfollowParams) SetID(id string)
- func (o *AccountUnfollowParams) SetTimeout(timeout time.Duration)
- func (o *AccountUnfollowParams) WithContext(ctx context.Context) *AccountUnfollowParams
- func (o *AccountUnfollowParams) WithDefaults() *AccountUnfollowParams
- func (o *AccountUnfollowParams) WithHTTPClient(client *http.Client) *AccountUnfollowParams
- func (o *AccountUnfollowParams) WithID(id string) *AccountUnfollowParams
- func (o *AccountUnfollowParams) WithTimeout(timeout time.Duration) *AccountUnfollowParams
- func (o *AccountUnfollowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountUnfollowReader
- type AccountUnfollowUnauthorized
- func (o *AccountUnfollowUnauthorized) Code() int
- func (o *AccountUnfollowUnauthorized) Error() string
- func (o *AccountUnfollowUnauthorized) IsClientError() bool
- func (o *AccountUnfollowUnauthorized) IsCode(code int) bool
- func (o *AccountUnfollowUnauthorized) IsRedirect() bool
- func (o *AccountUnfollowUnauthorized) IsServerError() bool
- func (o *AccountUnfollowUnauthorized) IsSuccess() bool
- func (o *AccountUnfollowUnauthorized) String() string
- type AccountUnmuteBadRequest
- func (o *AccountUnmuteBadRequest) Code() int
- func (o *AccountUnmuteBadRequest) Error() string
- func (o *AccountUnmuteBadRequest) IsClientError() bool
- func (o *AccountUnmuteBadRequest) IsCode(code int) bool
- func (o *AccountUnmuteBadRequest) IsRedirect() bool
- func (o *AccountUnmuteBadRequest) IsServerError() bool
- func (o *AccountUnmuteBadRequest) IsSuccess() bool
- func (o *AccountUnmuteBadRequest) String() string
- type AccountUnmuteInternalServerError
- func (o *AccountUnmuteInternalServerError) Code() int
- func (o *AccountUnmuteInternalServerError) Error() string
- func (o *AccountUnmuteInternalServerError) IsClientError() bool
- func (o *AccountUnmuteInternalServerError) IsCode(code int) bool
- func (o *AccountUnmuteInternalServerError) IsRedirect() bool
- func (o *AccountUnmuteInternalServerError) IsServerError() bool
- func (o *AccountUnmuteInternalServerError) IsSuccess() bool
- func (o *AccountUnmuteInternalServerError) String() string
- type AccountUnmuteNotAcceptable
- func (o *AccountUnmuteNotAcceptable) Code() int
- func (o *AccountUnmuteNotAcceptable) Error() string
- func (o *AccountUnmuteNotAcceptable) IsClientError() bool
- func (o *AccountUnmuteNotAcceptable) IsCode(code int) bool
- func (o *AccountUnmuteNotAcceptable) IsRedirect() bool
- func (o *AccountUnmuteNotAcceptable) IsServerError() bool
- func (o *AccountUnmuteNotAcceptable) IsSuccess() bool
- func (o *AccountUnmuteNotAcceptable) String() string
- type AccountUnmuteNotFound
- func (o *AccountUnmuteNotFound) Code() int
- func (o *AccountUnmuteNotFound) Error() string
- func (o *AccountUnmuteNotFound) IsClientError() bool
- func (o *AccountUnmuteNotFound) IsCode(code int) bool
- func (o *AccountUnmuteNotFound) IsRedirect() bool
- func (o *AccountUnmuteNotFound) IsServerError() bool
- func (o *AccountUnmuteNotFound) IsSuccess() bool
- func (o *AccountUnmuteNotFound) String() string
- type AccountUnmuteOK
- func (o *AccountUnmuteOK) Code() int
- func (o *AccountUnmuteOK) Error() string
- func (o *AccountUnmuteOK) GetPayload() *models.Relationship
- func (o *AccountUnmuteOK) IsClientError() bool
- func (o *AccountUnmuteOK) IsCode(code int) bool
- func (o *AccountUnmuteOK) IsRedirect() bool
- func (o *AccountUnmuteOK) IsServerError() bool
- func (o *AccountUnmuteOK) IsSuccess() bool
- func (o *AccountUnmuteOK) String() string
- type AccountUnmuteParams
- func (o *AccountUnmuteParams) SetContext(ctx context.Context)
- func (o *AccountUnmuteParams) SetDefaults()
- func (o *AccountUnmuteParams) SetHTTPClient(client *http.Client)
- func (o *AccountUnmuteParams) SetID(id string)
- func (o *AccountUnmuteParams) SetTimeout(timeout time.Duration)
- func (o *AccountUnmuteParams) WithContext(ctx context.Context) *AccountUnmuteParams
- func (o *AccountUnmuteParams) WithDefaults() *AccountUnmuteParams
- func (o *AccountUnmuteParams) WithHTTPClient(client *http.Client) *AccountUnmuteParams
- func (o *AccountUnmuteParams) WithID(id string) *AccountUnmuteParams
- func (o *AccountUnmuteParams) WithTimeout(timeout time.Duration) *AccountUnmuteParams
- func (o *AccountUnmuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountUnmuteReader
- type AccountUnmuteUnauthorized
- func (o *AccountUnmuteUnauthorized) Code() int
- func (o *AccountUnmuteUnauthorized) Error() string
- func (o *AccountUnmuteUnauthorized) IsClientError() bool
- func (o *AccountUnmuteUnauthorized) IsCode(code int) bool
- func (o *AccountUnmuteUnauthorized) IsRedirect() bool
- func (o *AccountUnmuteUnauthorized) IsServerError() bool
- func (o *AccountUnmuteUnauthorized) IsSuccess() bool
- func (o *AccountUnmuteUnauthorized) String() string
- type AccountUpdateBadRequest
- func (o *AccountUpdateBadRequest) Code() int
- func (o *AccountUpdateBadRequest) Error() string
- func (o *AccountUpdateBadRequest) IsClientError() bool
- func (o *AccountUpdateBadRequest) IsCode(code int) bool
- func (o *AccountUpdateBadRequest) IsRedirect() bool
- func (o *AccountUpdateBadRequest) IsServerError() bool
- func (o *AccountUpdateBadRequest) IsSuccess() bool
- func (o *AccountUpdateBadRequest) String() string
- type AccountUpdateInternalServerError
- func (o *AccountUpdateInternalServerError) Code() int
- func (o *AccountUpdateInternalServerError) Error() string
- func (o *AccountUpdateInternalServerError) IsClientError() bool
- func (o *AccountUpdateInternalServerError) IsCode(code int) bool
- func (o *AccountUpdateInternalServerError) IsRedirect() bool
- func (o *AccountUpdateInternalServerError) IsServerError() bool
- func (o *AccountUpdateInternalServerError) IsSuccess() bool
- func (o *AccountUpdateInternalServerError) String() string
- type AccountUpdateNotAcceptable
- func (o *AccountUpdateNotAcceptable) Code() int
- func (o *AccountUpdateNotAcceptable) Error() string
- func (o *AccountUpdateNotAcceptable) IsClientError() bool
- func (o *AccountUpdateNotAcceptable) IsCode(code int) bool
- func (o *AccountUpdateNotAcceptable) IsRedirect() bool
- func (o *AccountUpdateNotAcceptable) IsServerError() bool
- func (o *AccountUpdateNotAcceptable) IsSuccess() bool
- func (o *AccountUpdateNotAcceptable) String() string
- type AccountUpdateNotFound
- func (o *AccountUpdateNotFound) Code() int
- func (o *AccountUpdateNotFound) Error() string
- func (o *AccountUpdateNotFound) IsClientError() bool
- func (o *AccountUpdateNotFound) IsCode(code int) bool
- func (o *AccountUpdateNotFound) IsRedirect() bool
- func (o *AccountUpdateNotFound) IsServerError() bool
- func (o *AccountUpdateNotFound) IsSuccess() bool
- func (o *AccountUpdateNotFound) String() string
- type AccountUpdateOK
- func (o *AccountUpdateOK) Code() int
- func (o *AccountUpdateOK) Error() string
- func (o *AccountUpdateOK) GetPayload() *models.Account
- func (o *AccountUpdateOK) IsClientError() bool
- func (o *AccountUpdateOK) IsCode(code int) bool
- func (o *AccountUpdateOK) IsRedirect() bool
- func (o *AccountUpdateOK) IsServerError() bool
- func (o *AccountUpdateOK) IsSuccess() bool
- func (o *AccountUpdateOK) String() string
- type AccountUpdateParams
- func (o *AccountUpdateParams) SetAvatar(avatar runtime.NamedReadCloser)
- func (o *AccountUpdateParams) SetAvatarDescription(avatarDescription string)
- func (o *AccountUpdateParams) SetBot(bot *bool)
- func (o *AccountUpdateParams) SetContext(ctx context.Context)
- func (o *AccountUpdateParams) SetCustomCSS(customCSS *string)
- func (o *AccountUpdateParams) SetDefaults()
- func (o *AccountUpdateParams) SetDiscoverable(discoverable *bool)
- func (o *AccountUpdateParams) SetDisplayName(displayName string)
- func (o *AccountUpdateParams) SetEnableRss(enableRss *bool)
- func (o *AccountUpdateParams) SetFieldsAttributes0Name(fieldsAttributes0Name *string)
- func (o *AccountUpdateParams) SetFieldsAttributes0Value(fieldsAttributes0Value *string)
- func (o *AccountUpdateParams) SetFieldsAttributes1Name(fieldsAttributes1Name *string)
- func (o *AccountUpdateParams) SetFieldsAttributes1Value(fieldsAttributes1Value *string)
- func (o *AccountUpdateParams) SetFieldsAttributes2Name(fieldsAttributes2Name *string)
- func (o *AccountUpdateParams) SetFieldsAttributes2Value(fieldsAttributes2Value *string)
- func (o *AccountUpdateParams) SetFieldsAttributes3Name(fieldsAttributes3Name *string)
- func (o *AccountUpdateParams) SetFieldsAttributes3Value(fieldsAttributes3Value *string)
- func (o *AccountUpdateParams) SetFieldsAttributes4Name(fieldsAttributes4Name *string)
- func (o *AccountUpdateParams) SetFieldsAttributes4Value(fieldsAttributes4Value *string)
- func (o *AccountUpdateParams) SetFieldsAttributes5Name(fieldsAttributes5Name *string)
- func (o *AccountUpdateParams) SetFieldsAttributes5Value(fieldsAttributes5Value *string)
- func (o *AccountUpdateParams) SetHTTPClient(client *http.Client)
- func (o *AccountUpdateParams) SetHeader(header runtime.NamedReadCloser)
- func (o *AccountUpdateParams) SetHeaderDescription(headerDescription string)
- func (o *AccountUpdateParams) SetHideCollections(hideCollections *bool)
- func (o *AccountUpdateParams) SetLocked(locked *bool)
- func (o *AccountUpdateParams) SetNote(note string)
- func (o *AccountUpdateParams) SetSourceLanguage(sourceLanguage *string)
- func (o *AccountUpdateParams) SetSourcePrivacy(sourcePrivacy *string)
- func (o *AccountUpdateParams) SetSourceSensitive(sourceSensitive *bool)
- func (o *AccountUpdateParams) SetSourceStatusContentType(sourceStatusContentType *string)
- func (o *AccountUpdateParams) SetTheme(theme *string)
- func (o *AccountUpdateParams) SetTimeout(timeout time.Duration)
- func (o *AccountUpdateParams) SetWebVisibility(webVisibility *string)
- func (o *AccountUpdateParams) WithAvatar(avatar runtime.NamedReadCloser) *AccountUpdateParams
- func (o *AccountUpdateParams) WithAvatarDescription(avatarDescription string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithBot(bot *bool) *AccountUpdateParams
- func (o *AccountUpdateParams) WithContext(ctx context.Context) *AccountUpdateParams
- func (o *AccountUpdateParams) WithCustomCSS(customCSS *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithDefaults() *AccountUpdateParams
- func (o *AccountUpdateParams) WithDiscoverable(discoverable *bool) *AccountUpdateParams
- func (o *AccountUpdateParams) WithDisplayName(displayName string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithEnableRss(enableRss *bool) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes0Name(fieldsAttributes0Name *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes0Value(fieldsAttributes0Value *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes1Name(fieldsAttributes1Name *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes1Value(fieldsAttributes1Value *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes2Name(fieldsAttributes2Name *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes2Value(fieldsAttributes2Value *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes3Name(fieldsAttributes3Name *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes3Value(fieldsAttributes3Value *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes4Name(fieldsAttributes4Name *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes4Value(fieldsAttributes4Value *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes5Name(fieldsAttributes5Name *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithFieldsAttributes5Value(fieldsAttributes5Value *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithHTTPClient(client *http.Client) *AccountUpdateParams
- func (o *AccountUpdateParams) WithHeader(header runtime.NamedReadCloser) *AccountUpdateParams
- func (o *AccountUpdateParams) WithHeaderDescription(headerDescription string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithHideCollections(hideCollections *bool) *AccountUpdateParams
- func (o *AccountUpdateParams) WithLocked(locked *bool) *AccountUpdateParams
- func (o *AccountUpdateParams) WithNote(note string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithSourceLanguage(sourceLanguage *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithSourcePrivacy(sourcePrivacy *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithSourceSensitive(sourceSensitive *bool) *AccountUpdateParams
- func (o *AccountUpdateParams) WithSourceStatusContentType(sourceStatusContentType *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithTheme(theme *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WithTimeout(timeout time.Duration) *AccountUpdateParams
- func (o *AccountUpdateParams) WithWebVisibility(webVisibility *string) *AccountUpdateParams
- func (o *AccountUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountUpdateReader
- type AccountUpdateUnauthorized
- func (o *AccountUpdateUnauthorized) Code() int
- func (o *AccountUpdateUnauthorized) Error() string
- func (o *AccountUpdateUnauthorized) IsClientError() bool
- func (o *AccountUpdateUnauthorized) IsCode(code int) bool
- func (o *AccountUpdateUnauthorized) IsRedirect() bool
- func (o *AccountUpdateUnauthorized) IsServerError() bool
- func (o *AccountUpdateUnauthorized) IsSuccess() bool
- func (o *AccountUpdateUnauthorized) String() string
- type AccountVerifyBadRequest
- func (o *AccountVerifyBadRequest) Code() int
- func (o *AccountVerifyBadRequest) Error() string
- func (o *AccountVerifyBadRequest) IsClientError() bool
- func (o *AccountVerifyBadRequest) IsCode(code int) bool
- func (o *AccountVerifyBadRequest) IsRedirect() bool
- func (o *AccountVerifyBadRequest) IsServerError() bool
- func (o *AccountVerifyBadRequest) IsSuccess() bool
- func (o *AccountVerifyBadRequest) String() string
- type AccountVerifyInternalServerError
- func (o *AccountVerifyInternalServerError) Code() int
- func (o *AccountVerifyInternalServerError) Error() string
- func (o *AccountVerifyInternalServerError) IsClientError() bool
- func (o *AccountVerifyInternalServerError) IsCode(code int) bool
- func (o *AccountVerifyInternalServerError) IsRedirect() bool
- func (o *AccountVerifyInternalServerError) IsServerError() bool
- func (o *AccountVerifyInternalServerError) IsSuccess() bool
- func (o *AccountVerifyInternalServerError) String() string
- type AccountVerifyNotAcceptable
- func (o *AccountVerifyNotAcceptable) Code() int
- func (o *AccountVerifyNotAcceptable) Error() string
- func (o *AccountVerifyNotAcceptable) IsClientError() bool
- func (o *AccountVerifyNotAcceptable) IsCode(code int) bool
- func (o *AccountVerifyNotAcceptable) IsRedirect() bool
- func (o *AccountVerifyNotAcceptable) IsServerError() bool
- func (o *AccountVerifyNotAcceptable) IsSuccess() bool
- func (o *AccountVerifyNotAcceptable) String() string
- type AccountVerifyNotFound
- func (o *AccountVerifyNotFound) Code() int
- func (o *AccountVerifyNotFound) Error() string
- func (o *AccountVerifyNotFound) IsClientError() bool
- func (o *AccountVerifyNotFound) IsCode(code int) bool
- func (o *AccountVerifyNotFound) IsRedirect() bool
- func (o *AccountVerifyNotFound) IsServerError() bool
- func (o *AccountVerifyNotFound) IsSuccess() bool
- func (o *AccountVerifyNotFound) String() string
- type AccountVerifyOK
- func (o *AccountVerifyOK) Code() int
- func (o *AccountVerifyOK) Error() string
- func (o *AccountVerifyOK) GetPayload() *models.Account
- func (o *AccountVerifyOK) IsClientError() bool
- func (o *AccountVerifyOK) IsCode(code int) bool
- func (o *AccountVerifyOK) IsRedirect() bool
- func (o *AccountVerifyOK) IsServerError() bool
- func (o *AccountVerifyOK) IsSuccess() bool
- func (o *AccountVerifyOK) String() string
- type AccountVerifyParams
- func (o *AccountVerifyParams) SetContext(ctx context.Context)
- func (o *AccountVerifyParams) SetDefaults()
- func (o *AccountVerifyParams) SetHTTPClient(client *http.Client)
- func (o *AccountVerifyParams) SetTimeout(timeout time.Duration)
- func (o *AccountVerifyParams) WithContext(ctx context.Context) *AccountVerifyParams
- func (o *AccountVerifyParams) WithDefaults() *AccountVerifyParams
- func (o *AccountVerifyParams) WithHTTPClient(client *http.Client) *AccountVerifyParams
- func (o *AccountVerifyParams) WithTimeout(timeout time.Duration) *AccountVerifyParams
- func (o *AccountVerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountVerifyReader
- type AccountVerifyUnauthorized
- func (o *AccountVerifyUnauthorized) Code() int
- func (o *AccountVerifyUnauthorized) Error() string
- func (o *AccountVerifyUnauthorized) IsClientError() bool
- func (o *AccountVerifyUnauthorized) IsCode(code int) bool
- func (o *AccountVerifyUnauthorized) IsRedirect() bool
- func (o *AccountVerifyUnauthorized) IsServerError() bool
- func (o *AccountVerifyUnauthorized) IsSuccess() bool
- func (o *AccountVerifyUnauthorized) String() string
- type Client
- func (a *Client) AccountAlias(params *AccountAliasParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountAliasOK, error)
- func (a *Client) AccountAvatarDelete(params *AccountAvatarDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountAvatarDeleteOK, error)
- func (a *Client) AccountBlock(params *AccountBlockParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountBlockOK, error)
- func (a *Client) AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountCreateOK, error)
- func (a *Client) AccountDelete(params *AccountDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountDeleteAccepted, error)
- func (a *Client) AccountFollow(params *AccountFollowParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountFollowOK, error)
- func (a *Client) AccountFollowers(params *AccountFollowersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountFollowersOK, error)
- func (a *Client) AccountFollowing(params *AccountFollowingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountFollowingOK, error)
- func (a *Client) AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountGetOK, error)
- func (a *Client) AccountHeaderDelete(params *AccountHeaderDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountHeaderDeleteOK, error)
- func (a *Client) AccountLists(params *AccountListsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountListsOK, error)
- func (a *Client) AccountLookupGet(params *AccountLookupGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountLookupGetOK, error)
- func (a *Client) AccountMove(params *AccountMoveParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountMoveAccepted, error)
- func (a *Client) AccountMute(params *AccountMuteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountMuteOK, error)
- func (a *Client) AccountNote(params *AccountNoteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountNoteOK, error)
- func (a *Client) AccountRelationships(params *AccountRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountRelationshipsOK, error)
- func (a *Client) AccountSearchGet(params *AccountSearchGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountSearchGetOK, error)
- func (a *Client) AccountStatuses(params *AccountStatusesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountStatusesOK, error)
- func (a *Client) AccountThemes(params *AccountThemesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountThemesOK, error)
- func (a *Client) AccountUnblock(params *AccountUnblockParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountUnblockOK, error)
- func (a *Client) AccountUnfollow(params *AccountUnfollowParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountUnfollowOK, error)
- func (a *Client) AccountUnmute(params *AccountUnmuteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountUnmuteOK, error)
- func (a *Client) AccountUpdate(params *AccountUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountUpdateOK, error)
- func (a *Client) AccountVerify(params *AccountVerifyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AccountVerifyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
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".
func WithContentTypeMultipartFormData ¶
func WithContentTypeMultipartFormData(r *runtime.ClientOperation)
WithContentTypeMultipartFormData sets the Content-Type header to "multipart/form-data".
Types ¶
type AccountAliasBadRequest ¶
type AccountAliasBadRequest struct { }
AccountAliasBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountAliasBadRequest ¶
func NewAccountAliasBadRequest() *AccountAliasBadRequest
NewAccountAliasBadRequest creates a AccountAliasBadRequest with default headers values
func (*AccountAliasBadRequest) Code ¶
func (o *AccountAliasBadRequest) Code() int
Code gets the status code for the account alias bad request response
func (*AccountAliasBadRequest) Error ¶
func (o *AccountAliasBadRequest) Error() string
func (*AccountAliasBadRequest) IsClientError ¶
func (o *AccountAliasBadRequest) IsClientError() bool
IsClientError returns true when this account alias bad request response has a 4xx status code
func (*AccountAliasBadRequest) IsCode ¶
func (o *AccountAliasBadRequest) IsCode(code int) bool
IsCode returns true when this account alias bad request response a status code equal to that given
func (*AccountAliasBadRequest) IsRedirect ¶
func (o *AccountAliasBadRequest) IsRedirect() bool
IsRedirect returns true when this account alias bad request response has a 3xx status code
func (*AccountAliasBadRequest) IsServerError ¶
func (o *AccountAliasBadRequest) IsServerError() bool
IsServerError returns true when this account alias bad request response has a 5xx status code
func (*AccountAliasBadRequest) IsSuccess ¶
func (o *AccountAliasBadRequest) IsSuccess() bool
IsSuccess returns true when this account alias bad request response has a 2xx status code
func (*AccountAliasBadRequest) String ¶
func (o *AccountAliasBadRequest) String() string
type AccountAliasInternalServerError ¶
type AccountAliasInternalServerError struct { }
AccountAliasInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountAliasInternalServerError ¶
func NewAccountAliasInternalServerError() *AccountAliasInternalServerError
NewAccountAliasInternalServerError creates a AccountAliasInternalServerError with default headers values
func (*AccountAliasInternalServerError) Code ¶
func (o *AccountAliasInternalServerError) Code() int
Code gets the status code for the account alias internal server error response
func (*AccountAliasInternalServerError) Error ¶
func (o *AccountAliasInternalServerError) Error() string
func (*AccountAliasInternalServerError) IsClientError ¶
func (o *AccountAliasInternalServerError) IsClientError() bool
IsClientError returns true when this account alias internal server error response has a 4xx status code
func (*AccountAliasInternalServerError) IsCode ¶
func (o *AccountAliasInternalServerError) IsCode(code int) bool
IsCode returns true when this account alias internal server error response a status code equal to that given
func (*AccountAliasInternalServerError) IsRedirect ¶
func (o *AccountAliasInternalServerError) IsRedirect() bool
IsRedirect returns true when this account alias internal server error response has a 3xx status code
func (*AccountAliasInternalServerError) IsServerError ¶
func (o *AccountAliasInternalServerError) IsServerError() bool
IsServerError returns true when this account alias internal server error response has a 5xx status code
func (*AccountAliasInternalServerError) IsSuccess ¶
func (o *AccountAliasInternalServerError) IsSuccess() bool
IsSuccess returns true when this account alias internal server error response has a 2xx status code
func (*AccountAliasInternalServerError) String ¶
func (o *AccountAliasInternalServerError) String() string
type AccountAliasNotAcceptable ¶
type AccountAliasNotAcceptable struct { }
AccountAliasNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountAliasNotAcceptable ¶
func NewAccountAliasNotAcceptable() *AccountAliasNotAcceptable
NewAccountAliasNotAcceptable creates a AccountAliasNotAcceptable with default headers values
func (*AccountAliasNotAcceptable) Code ¶
func (o *AccountAliasNotAcceptable) Code() int
Code gets the status code for the account alias not acceptable response
func (*AccountAliasNotAcceptable) Error ¶
func (o *AccountAliasNotAcceptable) Error() string
func (*AccountAliasNotAcceptable) IsClientError ¶
func (o *AccountAliasNotAcceptable) IsClientError() bool
IsClientError returns true when this account alias not acceptable response has a 4xx status code
func (*AccountAliasNotAcceptable) IsCode ¶
func (o *AccountAliasNotAcceptable) IsCode(code int) bool
IsCode returns true when this account alias not acceptable response a status code equal to that given
func (*AccountAliasNotAcceptable) IsRedirect ¶
func (o *AccountAliasNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account alias not acceptable response has a 3xx status code
func (*AccountAliasNotAcceptable) IsServerError ¶
func (o *AccountAliasNotAcceptable) IsServerError() bool
IsServerError returns true when this account alias not acceptable response has a 5xx status code
func (*AccountAliasNotAcceptable) IsSuccess ¶
func (o *AccountAliasNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account alias not acceptable response has a 2xx status code
func (*AccountAliasNotAcceptable) String ¶
func (o *AccountAliasNotAcceptable) String() string
type AccountAliasNotFound ¶
type AccountAliasNotFound struct { }
AccountAliasNotFound describes a response with status code 404, with default header values.
not found
func NewAccountAliasNotFound ¶
func NewAccountAliasNotFound() *AccountAliasNotFound
NewAccountAliasNotFound creates a AccountAliasNotFound with default headers values
func (*AccountAliasNotFound) Code ¶
func (o *AccountAliasNotFound) Code() int
Code gets the status code for the account alias not found response
func (*AccountAliasNotFound) Error ¶
func (o *AccountAliasNotFound) Error() string
func (*AccountAliasNotFound) IsClientError ¶
func (o *AccountAliasNotFound) IsClientError() bool
IsClientError returns true when this account alias not found response has a 4xx status code
func (*AccountAliasNotFound) IsCode ¶
func (o *AccountAliasNotFound) IsCode(code int) bool
IsCode returns true when this account alias not found response a status code equal to that given
func (*AccountAliasNotFound) IsRedirect ¶
func (o *AccountAliasNotFound) IsRedirect() bool
IsRedirect returns true when this account alias not found response has a 3xx status code
func (*AccountAliasNotFound) IsServerError ¶
func (o *AccountAliasNotFound) IsServerError() bool
IsServerError returns true when this account alias not found response has a 5xx status code
func (*AccountAliasNotFound) IsSuccess ¶
func (o *AccountAliasNotFound) IsSuccess() bool
IsSuccess returns true when this account alias not found response has a 2xx status code
func (*AccountAliasNotFound) String ¶
func (o *AccountAliasNotFound) String() string
type AccountAliasOK ¶
AccountAliasOK describes a response with status code 200, with default header values.
The newly updated account.
func NewAccountAliasOK ¶
func NewAccountAliasOK() *AccountAliasOK
NewAccountAliasOK creates a AccountAliasOK with default headers values
func (*AccountAliasOK) Code ¶
func (o *AccountAliasOK) Code() int
Code gets the status code for the account alias o k response
func (*AccountAliasOK) Error ¶
func (o *AccountAliasOK) Error() string
func (*AccountAliasOK) GetPayload ¶
func (o *AccountAliasOK) GetPayload() *models.Account
func (*AccountAliasOK) IsClientError ¶
func (o *AccountAliasOK) IsClientError() bool
IsClientError returns true when this account alias o k response has a 4xx status code
func (*AccountAliasOK) IsCode ¶
func (o *AccountAliasOK) IsCode(code int) bool
IsCode returns true when this account alias o k response a status code equal to that given
func (*AccountAliasOK) IsRedirect ¶
func (o *AccountAliasOK) IsRedirect() bool
IsRedirect returns true when this account alias o k response has a 3xx status code
func (*AccountAliasOK) IsServerError ¶
func (o *AccountAliasOK) IsServerError() bool
IsServerError returns true when this account alias o k response has a 5xx status code
func (*AccountAliasOK) IsSuccess ¶
func (o *AccountAliasOK) IsSuccess() bool
IsSuccess returns true when this account alias o k response has a 2xx status code
func (*AccountAliasOK) String ¶
func (o *AccountAliasOK) String() string
type AccountAliasParams ¶
type AccountAliasParams struct { /* AlsoKnownAsUris. ActivityPub URI/IDs of target accounts to which this account is being aliased. Eg., `["https://example.org/users/some_account"]`. Use an empty array to unset alsoKnownAs, clearing the aliases. */ AlsoKnownAsUris string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountAliasParams contains all the parameters to send to the API endpoint
for the account alias operation. Typically these are written to a http.Request.
func NewAccountAliasParams ¶
func NewAccountAliasParams() *AccountAliasParams
NewAccountAliasParams creates a new AccountAliasParams 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 NewAccountAliasParamsWithContext ¶
func NewAccountAliasParamsWithContext(ctx context.Context) *AccountAliasParams
NewAccountAliasParamsWithContext creates a new AccountAliasParams object with the ability to set a context for a request.
func NewAccountAliasParamsWithHTTPClient ¶
func NewAccountAliasParamsWithHTTPClient(client *http.Client) *AccountAliasParams
NewAccountAliasParamsWithHTTPClient creates a new AccountAliasParams object with the ability to set a custom HTTPClient for a request.
func NewAccountAliasParamsWithTimeout ¶
func NewAccountAliasParamsWithTimeout(timeout time.Duration) *AccountAliasParams
NewAccountAliasParamsWithTimeout creates a new AccountAliasParams object with the ability to set a timeout on a request.
func (*AccountAliasParams) SetAlsoKnownAsUris ¶
func (o *AccountAliasParams) SetAlsoKnownAsUris(alsoKnownAsUris string)
SetAlsoKnownAsUris adds the alsoKnownAsUris to the account alias params
func (*AccountAliasParams) SetContext ¶
func (o *AccountAliasParams) SetContext(ctx context.Context)
SetContext adds the context to the account alias params
func (*AccountAliasParams) SetDefaults ¶
func (o *AccountAliasParams) SetDefaults()
SetDefaults hydrates default values in the account alias params (not the query body).
All values with no default are reset to their zero value.
func (*AccountAliasParams) SetHTTPClient ¶
func (o *AccountAliasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account alias params
func (*AccountAliasParams) SetTimeout ¶
func (o *AccountAliasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account alias params
func (*AccountAliasParams) WithAlsoKnownAsUris ¶
func (o *AccountAliasParams) WithAlsoKnownAsUris(alsoKnownAsUris string) *AccountAliasParams
WithAlsoKnownAsUris adds the alsoKnownAsUris to the account alias params
func (*AccountAliasParams) WithContext ¶
func (o *AccountAliasParams) WithContext(ctx context.Context) *AccountAliasParams
WithContext adds the context to the account alias params
func (*AccountAliasParams) WithDefaults ¶
func (o *AccountAliasParams) WithDefaults() *AccountAliasParams
WithDefaults hydrates default values in the account alias params (not the query body).
All values with no default are reset to their zero value.
func (*AccountAliasParams) WithHTTPClient ¶
func (o *AccountAliasParams) WithHTTPClient(client *http.Client) *AccountAliasParams
WithHTTPClient adds the HTTPClient to the account alias params
func (*AccountAliasParams) WithTimeout ¶
func (o *AccountAliasParams) WithTimeout(timeout time.Duration) *AccountAliasParams
WithTimeout adds the timeout to the account alias params
func (*AccountAliasParams) WriteToRequest ¶
func (o *AccountAliasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountAliasReader ¶
type AccountAliasReader struct {
// contains filtered or unexported fields
}
AccountAliasReader is a Reader for the AccountAlias structure.
func (*AccountAliasReader) ReadResponse ¶
func (o *AccountAliasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountAliasUnauthorized ¶
type AccountAliasUnauthorized struct { }
AccountAliasUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountAliasUnauthorized ¶
func NewAccountAliasUnauthorized() *AccountAliasUnauthorized
NewAccountAliasUnauthorized creates a AccountAliasUnauthorized with default headers values
func (*AccountAliasUnauthorized) Code ¶
func (o *AccountAliasUnauthorized) Code() int
Code gets the status code for the account alias unauthorized response
func (*AccountAliasUnauthorized) Error ¶
func (o *AccountAliasUnauthorized) Error() string
func (*AccountAliasUnauthorized) IsClientError ¶
func (o *AccountAliasUnauthorized) IsClientError() bool
IsClientError returns true when this account alias unauthorized response has a 4xx status code
func (*AccountAliasUnauthorized) IsCode ¶
func (o *AccountAliasUnauthorized) IsCode(code int) bool
IsCode returns true when this account alias unauthorized response a status code equal to that given
func (*AccountAliasUnauthorized) IsRedirect ¶
func (o *AccountAliasUnauthorized) IsRedirect() bool
IsRedirect returns true when this account alias unauthorized response has a 3xx status code
func (*AccountAliasUnauthorized) IsServerError ¶
func (o *AccountAliasUnauthorized) IsServerError() bool
IsServerError returns true when this account alias unauthorized response has a 5xx status code
func (*AccountAliasUnauthorized) IsSuccess ¶
func (o *AccountAliasUnauthorized) IsSuccess() bool
IsSuccess returns true when this account alias unauthorized response has a 2xx status code
func (*AccountAliasUnauthorized) String ¶
func (o *AccountAliasUnauthorized) String() string
type AccountAliasUnprocessableEntity ¶
type AccountAliasUnprocessableEntity struct { }
AccountAliasUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable. Check the response body for more details.
func NewAccountAliasUnprocessableEntity ¶
func NewAccountAliasUnprocessableEntity() *AccountAliasUnprocessableEntity
NewAccountAliasUnprocessableEntity creates a AccountAliasUnprocessableEntity with default headers values
func (*AccountAliasUnprocessableEntity) Code ¶
func (o *AccountAliasUnprocessableEntity) Code() int
Code gets the status code for the account alias unprocessable entity response
func (*AccountAliasUnprocessableEntity) Error ¶
func (o *AccountAliasUnprocessableEntity) Error() string
func (*AccountAliasUnprocessableEntity) IsClientError ¶
func (o *AccountAliasUnprocessableEntity) IsClientError() bool
IsClientError returns true when this account alias unprocessable entity response has a 4xx status code
func (*AccountAliasUnprocessableEntity) IsCode ¶
func (o *AccountAliasUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this account alias unprocessable entity response a status code equal to that given
func (*AccountAliasUnprocessableEntity) IsRedirect ¶
func (o *AccountAliasUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this account alias unprocessable entity response has a 3xx status code
func (*AccountAliasUnprocessableEntity) IsServerError ¶
func (o *AccountAliasUnprocessableEntity) IsServerError() bool
IsServerError returns true when this account alias unprocessable entity response has a 5xx status code
func (*AccountAliasUnprocessableEntity) IsSuccess ¶
func (o *AccountAliasUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this account alias unprocessable entity response has a 2xx status code
func (*AccountAliasUnprocessableEntity) String ¶
func (o *AccountAliasUnprocessableEntity) String() string
type AccountAvatarDeleteBadRequest ¶
type AccountAvatarDeleteBadRequest struct { }
AccountAvatarDeleteBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountAvatarDeleteBadRequest ¶
func NewAccountAvatarDeleteBadRequest() *AccountAvatarDeleteBadRequest
NewAccountAvatarDeleteBadRequest creates a AccountAvatarDeleteBadRequest with default headers values
func (*AccountAvatarDeleteBadRequest) Code ¶
func (o *AccountAvatarDeleteBadRequest) Code() int
Code gets the status code for the account avatar delete bad request response
func (*AccountAvatarDeleteBadRequest) Error ¶
func (o *AccountAvatarDeleteBadRequest) Error() string
func (*AccountAvatarDeleteBadRequest) IsClientError ¶
func (o *AccountAvatarDeleteBadRequest) IsClientError() bool
IsClientError returns true when this account avatar delete bad request response has a 4xx status code
func (*AccountAvatarDeleteBadRequest) IsCode ¶
func (o *AccountAvatarDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this account avatar delete bad request response a status code equal to that given
func (*AccountAvatarDeleteBadRequest) IsRedirect ¶
func (o *AccountAvatarDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this account avatar delete bad request response has a 3xx status code
func (*AccountAvatarDeleteBadRequest) IsServerError ¶
func (o *AccountAvatarDeleteBadRequest) IsServerError() bool
IsServerError returns true when this account avatar delete bad request response has a 5xx status code
func (*AccountAvatarDeleteBadRequest) IsSuccess ¶
func (o *AccountAvatarDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this account avatar delete bad request response has a 2xx status code
func (*AccountAvatarDeleteBadRequest) String ¶
func (o *AccountAvatarDeleteBadRequest) String() string
type AccountAvatarDeleteForbidden ¶
type AccountAvatarDeleteForbidden struct { }
AccountAvatarDeleteForbidden describes a response with status code 403, with default header values.
forbidden
func NewAccountAvatarDeleteForbidden ¶
func NewAccountAvatarDeleteForbidden() *AccountAvatarDeleteForbidden
NewAccountAvatarDeleteForbidden creates a AccountAvatarDeleteForbidden with default headers values
func (*AccountAvatarDeleteForbidden) Code ¶
func (o *AccountAvatarDeleteForbidden) Code() int
Code gets the status code for the account avatar delete forbidden response
func (*AccountAvatarDeleteForbidden) Error ¶
func (o *AccountAvatarDeleteForbidden) Error() string
func (*AccountAvatarDeleteForbidden) IsClientError ¶
func (o *AccountAvatarDeleteForbidden) IsClientError() bool
IsClientError returns true when this account avatar delete forbidden response has a 4xx status code
func (*AccountAvatarDeleteForbidden) IsCode ¶
func (o *AccountAvatarDeleteForbidden) IsCode(code int) bool
IsCode returns true when this account avatar delete forbidden response a status code equal to that given
func (*AccountAvatarDeleteForbidden) IsRedirect ¶
func (o *AccountAvatarDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this account avatar delete forbidden response has a 3xx status code
func (*AccountAvatarDeleteForbidden) IsServerError ¶
func (o *AccountAvatarDeleteForbidden) IsServerError() bool
IsServerError returns true when this account avatar delete forbidden response has a 5xx status code
func (*AccountAvatarDeleteForbidden) IsSuccess ¶
func (o *AccountAvatarDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this account avatar delete forbidden response has a 2xx status code
func (*AccountAvatarDeleteForbidden) String ¶
func (o *AccountAvatarDeleteForbidden) String() string
type AccountAvatarDeleteInternalServerError ¶
type AccountAvatarDeleteInternalServerError struct { }
AccountAvatarDeleteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountAvatarDeleteInternalServerError ¶
func NewAccountAvatarDeleteInternalServerError() *AccountAvatarDeleteInternalServerError
NewAccountAvatarDeleteInternalServerError creates a AccountAvatarDeleteInternalServerError with default headers values
func (*AccountAvatarDeleteInternalServerError) Code ¶
func (o *AccountAvatarDeleteInternalServerError) Code() int
Code gets the status code for the account avatar delete internal server error response
func (*AccountAvatarDeleteInternalServerError) Error ¶
func (o *AccountAvatarDeleteInternalServerError) Error() string
func (*AccountAvatarDeleteInternalServerError) IsClientError ¶
func (o *AccountAvatarDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this account avatar delete internal server error response has a 4xx status code
func (*AccountAvatarDeleteInternalServerError) IsCode ¶
func (o *AccountAvatarDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this account avatar delete internal server error response a status code equal to that given
func (*AccountAvatarDeleteInternalServerError) IsRedirect ¶
func (o *AccountAvatarDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this account avatar delete internal server error response has a 3xx status code
func (*AccountAvatarDeleteInternalServerError) IsServerError ¶
func (o *AccountAvatarDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this account avatar delete internal server error response has a 5xx status code
func (*AccountAvatarDeleteInternalServerError) IsSuccess ¶
func (o *AccountAvatarDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this account avatar delete internal server error response has a 2xx status code
func (*AccountAvatarDeleteInternalServerError) String ¶
func (o *AccountAvatarDeleteInternalServerError) String() string
type AccountAvatarDeleteNotAcceptable ¶
type AccountAvatarDeleteNotAcceptable struct { }
AccountAvatarDeleteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountAvatarDeleteNotAcceptable ¶
func NewAccountAvatarDeleteNotAcceptable() *AccountAvatarDeleteNotAcceptable
NewAccountAvatarDeleteNotAcceptable creates a AccountAvatarDeleteNotAcceptable with default headers values
func (*AccountAvatarDeleteNotAcceptable) Code ¶
func (o *AccountAvatarDeleteNotAcceptable) Code() int
Code gets the status code for the account avatar delete not acceptable response
func (*AccountAvatarDeleteNotAcceptable) Error ¶
func (o *AccountAvatarDeleteNotAcceptable) Error() string
func (*AccountAvatarDeleteNotAcceptable) IsClientError ¶
func (o *AccountAvatarDeleteNotAcceptable) IsClientError() bool
IsClientError returns true when this account avatar delete not acceptable response has a 4xx status code
func (*AccountAvatarDeleteNotAcceptable) IsCode ¶
func (o *AccountAvatarDeleteNotAcceptable) IsCode(code int) bool
IsCode returns true when this account avatar delete not acceptable response a status code equal to that given
func (*AccountAvatarDeleteNotAcceptable) IsRedirect ¶
func (o *AccountAvatarDeleteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account avatar delete not acceptable response has a 3xx status code
func (*AccountAvatarDeleteNotAcceptable) IsServerError ¶
func (o *AccountAvatarDeleteNotAcceptable) IsServerError() bool
IsServerError returns true when this account avatar delete not acceptable response has a 5xx status code
func (*AccountAvatarDeleteNotAcceptable) IsSuccess ¶
func (o *AccountAvatarDeleteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account avatar delete not acceptable response has a 2xx status code
func (*AccountAvatarDeleteNotAcceptable) String ¶
func (o *AccountAvatarDeleteNotAcceptable) String() string
type AccountAvatarDeleteOK ¶
AccountAvatarDeleteOK describes a response with status code 200, with default header values.
The updated account, including profile source information.
func NewAccountAvatarDeleteOK ¶
func NewAccountAvatarDeleteOK() *AccountAvatarDeleteOK
NewAccountAvatarDeleteOK creates a AccountAvatarDeleteOK with default headers values
func (*AccountAvatarDeleteOK) Code ¶
func (o *AccountAvatarDeleteOK) Code() int
Code gets the status code for the account avatar delete o k response
func (*AccountAvatarDeleteOK) Error ¶
func (o *AccountAvatarDeleteOK) Error() string
func (*AccountAvatarDeleteOK) GetPayload ¶
func (o *AccountAvatarDeleteOK) GetPayload() *models.Account
func (*AccountAvatarDeleteOK) IsClientError ¶
func (o *AccountAvatarDeleteOK) IsClientError() bool
IsClientError returns true when this account avatar delete o k response has a 4xx status code
func (*AccountAvatarDeleteOK) IsCode ¶
func (o *AccountAvatarDeleteOK) IsCode(code int) bool
IsCode returns true when this account avatar delete o k response a status code equal to that given
func (*AccountAvatarDeleteOK) IsRedirect ¶
func (o *AccountAvatarDeleteOK) IsRedirect() bool
IsRedirect returns true when this account avatar delete o k response has a 3xx status code
func (*AccountAvatarDeleteOK) IsServerError ¶
func (o *AccountAvatarDeleteOK) IsServerError() bool
IsServerError returns true when this account avatar delete o k response has a 5xx status code
func (*AccountAvatarDeleteOK) IsSuccess ¶
func (o *AccountAvatarDeleteOK) IsSuccess() bool
IsSuccess returns true when this account avatar delete o k response has a 2xx status code
func (*AccountAvatarDeleteOK) String ¶
func (o *AccountAvatarDeleteOK) String() string
type AccountAvatarDeleteParams ¶
type AccountAvatarDeleteParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountAvatarDeleteParams contains all the parameters to send to the API endpoint
for the account avatar delete operation. Typically these are written to a http.Request.
func NewAccountAvatarDeleteParams ¶
func NewAccountAvatarDeleteParams() *AccountAvatarDeleteParams
NewAccountAvatarDeleteParams creates a new AccountAvatarDeleteParams 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 NewAccountAvatarDeleteParamsWithContext ¶
func NewAccountAvatarDeleteParamsWithContext(ctx context.Context) *AccountAvatarDeleteParams
NewAccountAvatarDeleteParamsWithContext creates a new AccountAvatarDeleteParams object with the ability to set a context for a request.
func NewAccountAvatarDeleteParamsWithHTTPClient ¶
func NewAccountAvatarDeleteParamsWithHTTPClient(client *http.Client) *AccountAvatarDeleteParams
NewAccountAvatarDeleteParamsWithHTTPClient creates a new AccountAvatarDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewAccountAvatarDeleteParamsWithTimeout ¶
func NewAccountAvatarDeleteParamsWithTimeout(timeout time.Duration) *AccountAvatarDeleteParams
NewAccountAvatarDeleteParamsWithTimeout creates a new AccountAvatarDeleteParams object with the ability to set a timeout on a request.
func (*AccountAvatarDeleteParams) SetContext ¶
func (o *AccountAvatarDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the account avatar delete params
func (*AccountAvatarDeleteParams) SetDefaults ¶
func (o *AccountAvatarDeleteParams) SetDefaults()
SetDefaults hydrates default values in the account avatar delete params (not the query body).
All values with no default are reset to their zero value.
func (*AccountAvatarDeleteParams) SetHTTPClient ¶
func (o *AccountAvatarDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account avatar delete params
func (*AccountAvatarDeleteParams) SetTimeout ¶
func (o *AccountAvatarDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account avatar delete params
func (*AccountAvatarDeleteParams) WithContext ¶
func (o *AccountAvatarDeleteParams) WithContext(ctx context.Context) *AccountAvatarDeleteParams
WithContext adds the context to the account avatar delete params
func (*AccountAvatarDeleteParams) WithDefaults ¶
func (o *AccountAvatarDeleteParams) WithDefaults() *AccountAvatarDeleteParams
WithDefaults hydrates default values in the account avatar delete params (not the query body).
All values with no default are reset to their zero value.
func (*AccountAvatarDeleteParams) WithHTTPClient ¶
func (o *AccountAvatarDeleteParams) WithHTTPClient(client *http.Client) *AccountAvatarDeleteParams
WithHTTPClient adds the HTTPClient to the account avatar delete params
func (*AccountAvatarDeleteParams) WithTimeout ¶
func (o *AccountAvatarDeleteParams) WithTimeout(timeout time.Duration) *AccountAvatarDeleteParams
WithTimeout adds the timeout to the account avatar delete params
func (*AccountAvatarDeleteParams) WriteToRequest ¶
func (o *AccountAvatarDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountAvatarDeleteReader ¶
type AccountAvatarDeleteReader struct {
// contains filtered or unexported fields
}
AccountAvatarDeleteReader is a Reader for the AccountAvatarDelete structure.
func (*AccountAvatarDeleteReader) ReadResponse ¶
func (o *AccountAvatarDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountAvatarDeleteUnauthorized ¶
type AccountAvatarDeleteUnauthorized struct { }
AccountAvatarDeleteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountAvatarDeleteUnauthorized ¶
func NewAccountAvatarDeleteUnauthorized() *AccountAvatarDeleteUnauthorized
NewAccountAvatarDeleteUnauthorized creates a AccountAvatarDeleteUnauthorized with default headers values
func (*AccountAvatarDeleteUnauthorized) Code ¶
func (o *AccountAvatarDeleteUnauthorized) Code() int
Code gets the status code for the account avatar delete unauthorized response
func (*AccountAvatarDeleteUnauthorized) Error ¶
func (o *AccountAvatarDeleteUnauthorized) Error() string
func (*AccountAvatarDeleteUnauthorized) IsClientError ¶
func (o *AccountAvatarDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this account avatar delete unauthorized response has a 4xx status code
func (*AccountAvatarDeleteUnauthorized) IsCode ¶
func (o *AccountAvatarDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this account avatar delete unauthorized response a status code equal to that given
func (*AccountAvatarDeleteUnauthorized) IsRedirect ¶
func (o *AccountAvatarDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this account avatar delete unauthorized response has a 3xx status code
func (*AccountAvatarDeleteUnauthorized) IsServerError ¶
func (o *AccountAvatarDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this account avatar delete unauthorized response has a 5xx status code
func (*AccountAvatarDeleteUnauthorized) IsSuccess ¶
func (o *AccountAvatarDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this account avatar delete unauthorized response has a 2xx status code
func (*AccountAvatarDeleteUnauthorized) String ¶
func (o *AccountAvatarDeleteUnauthorized) String() string
type AccountBlockBadRequest ¶
type AccountBlockBadRequest struct { }
AccountBlockBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountBlockBadRequest ¶
func NewAccountBlockBadRequest() *AccountBlockBadRequest
NewAccountBlockBadRequest creates a AccountBlockBadRequest with default headers values
func (*AccountBlockBadRequest) Code ¶
func (o *AccountBlockBadRequest) Code() int
Code gets the status code for the account block bad request response
func (*AccountBlockBadRequest) Error ¶
func (o *AccountBlockBadRequest) Error() string
func (*AccountBlockBadRequest) IsClientError ¶
func (o *AccountBlockBadRequest) IsClientError() bool
IsClientError returns true when this account block bad request response has a 4xx status code
func (*AccountBlockBadRequest) IsCode ¶
func (o *AccountBlockBadRequest) IsCode(code int) bool
IsCode returns true when this account block bad request response a status code equal to that given
func (*AccountBlockBadRequest) IsRedirect ¶
func (o *AccountBlockBadRequest) IsRedirect() bool
IsRedirect returns true when this account block bad request response has a 3xx status code
func (*AccountBlockBadRequest) IsServerError ¶
func (o *AccountBlockBadRequest) IsServerError() bool
IsServerError returns true when this account block bad request response has a 5xx status code
func (*AccountBlockBadRequest) IsSuccess ¶
func (o *AccountBlockBadRequest) IsSuccess() bool
IsSuccess returns true when this account block bad request response has a 2xx status code
func (*AccountBlockBadRequest) String ¶
func (o *AccountBlockBadRequest) String() string
type AccountBlockInternalServerError ¶
type AccountBlockInternalServerError struct { }
AccountBlockInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountBlockInternalServerError ¶
func NewAccountBlockInternalServerError() *AccountBlockInternalServerError
NewAccountBlockInternalServerError creates a AccountBlockInternalServerError with default headers values
func (*AccountBlockInternalServerError) Code ¶
func (o *AccountBlockInternalServerError) Code() int
Code gets the status code for the account block internal server error response
func (*AccountBlockInternalServerError) Error ¶
func (o *AccountBlockInternalServerError) Error() string
func (*AccountBlockInternalServerError) IsClientError ¶
func (o *AccountBlockInternalServerError) IsClientError() bool
IsClientError returns true when this account block internal server error response has a 4xx status code
func (*AccountBlockInternalServerError) IsCode ¶
func (o *AccountBlockInternalServerError) IsCode(code int) bool
IsCode returns true when this account block internal server error response a status code equal to that given
func (*AccountBlockInternalServerError) IsRedirect ¶
func (o *AccountBlockInternalServerError) IsRedirect() bool
IsRedirect returns true when this account block internal server error response has a 3xx status code
func (*AccountBlockInternalServerError) IsServerError ¶
func (o *AccountBlockInternalServerError) IsServerError() bool
IsServerError returns true when this account block internal server error response has a 5xx status code
func (*AccountBlockInternalServerError) IsSuccess ¶
func (o *AccountBlockInternalServerError) IsSuccess() bool
IsSuccess returns true when this account block internal server error response has a 2xx status code
func (*AccountBlockInternalServerError) String ¶
func (o *AccountBlockInternalServerError) String() string
type AccountBlockNotAcceptable ¶
type AccountBlockNotAcceptable struct { }
AccountBlockNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountBlockNotAcceptable ¶
func NewAccountBlockNotAcceptable() *AccountBlockNotAcceptable
NewAccountBlockNotAcceptable creates a AccountBlockNotAcceptable with default headers values
func (*AccountBlockNotAcceptable) Code ¶
func (o *AccountBlockNotAcceptable) Code() int
Code gets the status code for the account block not acceptable response
func (*AccountBlockNotAcceptable) Error ¶
func (o *AccountBlockNotAcceptable) Error() string
func (*AccountBlockNotAcceptable) IsClientError ¶
func (o *AccountBlockNotAcceptable) IsClientError() bool
IsClientError returns true when this account block not acceptable response has a 4xx status code
func (*AccountBlockNotAcceptable) IsCode ¶
func (o *AccountBlockNotAcceptable) IsCode(code int) bool
IsCode returns true when this account block not acceptable response a status code equal to that given
func (*AccountBlockNotAcceptable) IsRedirect ¶
func (o *AccountBlockNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account block not acceptable response has a 3xx status code
func (*AccountBlockNotAcceptable) IsServerError ¶
func (o *AccountBlockNotAcceptable) IsServerError() bool
IsServerError returns true when this account block not acceptable response has a 5xx status code
func (*AccountBlockNotAcceptable) IsSuccess ¶
func (o *AccountBlockNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account block not acceptable response has a 2xx status code
func (*AccountBlockNotAcceptable) String ¶
func (o *AccountBlockNotAcceptable) String() string
type AccountBlockNotFound ¶
type AccountBlockNotFound struct { }
AccountBlockNotFound describes a response with status code 404, with default header values.
not found
func NewAccountBlockNotFound ¶
func NewAccountBlockNotFound() *AccountBlockNotFound
NewAccountBlockNotFound creates a AccountBlockNotFound with default headers values
func (*AccountBlockNotFound) Code ¶
func (o *AccountBlockNotFound) Code() int
Code gets the status code for the account block not found response
func (*AccountBlockNotFound) Error ¶
func (o *AccountBlockNotFound) Error() string
func (*AccountBlockNotFound) IsClientError ¶
func (o *AccountBlockNotFound) IsClientError() bool
IsClientError returns true when this account block not found response has a 4xx status code
func (*AccountBlockNotFound) IsCode ¶
func (o *AccountBlockNotFound) IsCode(code int) bool
IsCode returns true when this account block not found response a status code equal to that given
func (*AccountBlockNotFound) IsRedirect ¶
func (o *AccountBlockNotFound) IsRedirect() bool
IsRedirect returns true when this account block not found response has a 3xx status code
func (*AccountBlockNotFound) IsServerError ¶
func (o *AccountBlockNotFound) IsServerError() bool
IsServerError returns true when this account block not found response has a 5xx status code
func (*AccountBlockNotFound) IsSuccess ¶
func (o *AccountBlockNotFound) IsSuccess() bool
IsSuccess returns true when this account block not found response has a 2xx status code
func (*AccountBlockNotFound) String ¶
func (o *AccountBlockNotFound) String() string
type AccountBlockOK ¶
type AccountBlockOK struct {
Payload *models.Relationship
}
AccountBlockOK describes a response with status code 200, with default header values.
Your relationship to the account.
func NewAccountBlockOK ¶
func NewAccountBlockOK() *AccountBlockOK
NewAccountBlockOK creates a AccountBlockOK with default headers values
func (*AccountBlockOK) Code ¶
func (o *AccountBlockOK) Code() int
Code gets the status code for the account block o k response
func (*AccountBlockOK) Error ¶
func (o *AccountBlockOK) Error() string
func (*AccountBlockOK) GetPayload ¶
func (o *AccountBlockOK) GetPayload() *models.Relationship
func (*AccountBlockOK) IsClientError ¶
func (o *AccountBlockOK) IsClientError() bool
IsClientError returns true when this account block o k response has a 4xx status code
func (*AccountBlockOK) IsCode ¶
func (o *AccountBlockOK) IsCode(code int) bool
IsCode returns true when this account block o k response a status code equal to that given
func (*AccountBlockOK) IsRedirect ¶
func (o *AccountBlockOK) IsRedirect() bool
IsRedirect returns true when this account block o k response has a 3xx status code
func (*AccountBlockOK) IsServerError ¶
func (o *AccountBlockOK) IsServerError() bool
IsServerError returns true when this account block o k response has a 5xx status code
func (*AccountBlockOK) IsSuccess ¶
func (o *AccountBlockOK) IsSuccess() bool
IsSuccess returns true when this account block o k response has a 2xx status code
func (*AccountBlockOK) String ¶
func (o *AccountBlockOK) String() string
type AccountBlockParams ¶
type AccountBlockParams struct { /* ID. The id of the account to block. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountBlockParams contains all the parameters to send to the API endpoint
for the account block operation. Typically these are written to a http.Request.
func NewAccountBlockParams ¶
func NewAccountBlockParams() *AccountBlockParams
NewAccountBlockParams creates a new AccountBlockParams 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 NewAccountBlockParamsWithContext ¶
func NewAccountBlockParamsWithContext(ctx context.Context) *AccountBlockParams
NewAccountBlockParamsWithContext creates a new AccountBlockParams object with the ability to set a context for a request.
func NewAccountBlockParamsWithHTTPClient ¶
func NewAccountBlockParamsWithHTTPClient(client *http.Client) *AccountBlockParams
NewAccountBlockParamsWithHTTPClient creates a new AccountBlockParams object with the ability to set a custom HTTPClient for a request.
func NewAccountBlockParamsWithTimeout ¶
func NewAccountBlockParamsWithTimeout(timeout time.Duration) *AccountBlockParams
NewAccountBlockParamsWithTimeout creates a new AccountBlockParams object with the ability to set a timeout on a request.
func (*AccountBlockParams) SetContext ¶
func (o *AccountBlockParams) SetContext(ctx context.Context)
SetContext adds the context to the account block params
func (*AccountBlockParams) SetDefaults ¶
func (o *AccountBlockParams) SetDefaults()
SetDefaults hydrates default values in the account block params (not the query body).
All values with no default are reset to their zero value.
func (*AccountBlockParams) SetHTTPClient ¶
func (o *AccountBlockParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account block params
func (*AccountBlockParams) SetID ¶
func (o *AccountBlockParams) SetID(id string)
SetID adds the id to the account block params
func (*AccountBlockParams) SetTimeout ¶
func (o *AccountBlockParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account block params
func (*AccountBlockParams) WithContext ¶
func (o *AccountBlockParams) WithContext(ctx context.Context) *AccountBlockParams
WithContext adds the context to the account block params
func (*AccountBlockParams) WithDefaults ¶
func (o *AccountBlockParams) WithDefaults() *AccountBlockParams
WithDefaults hydrates default values in the account block params (not the query body).
All values with no default are reset to their zero value.
func (*AccountBlockParams) WithHTTPClient ¶
func (o *AccountBlockParams) WithHTTPClient(client *http.Client) *AccountBlockParams
WithHTTPClient adds the HTTPClient to the account block params
func (*AccountBlockParams) WithID ¶
func (o *AccountBlockParams) WithID(id string) *AccountBlockParams
WithID adds the id to the account block params
func (*AccountBlockParams) WithTimeout ¶
func (o *AccountBlockParams) WithTimeout(timeout time.Duration) *AccountBlockParams
WithTimeout adds the timeout to the account block params
func (*AccountBlockParams) WriteToRequest ¶
func (o *AccountBlockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountBlockReader ¶
type AccountBlockReader struct {
// contains filtered or unexported fields
}
AccountBlockReader is a Reader for the AccountBlock structure.
func (*AccountBlockReader) ReadResponse ¶
func (o *AccountBlockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountBlockUnauthorized ¶
type AccountBlockUnauthorized struct { }
AccountBlockUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountBlockUnauthorized ¶
func NewAccountBlockUnauthorized() *AccountBlockUnauthorized
NewAccountBlockUnauthorized creates a AccountBlockUnauthorized with default headers values
func (*AccountBlockUnauthorized) Code ¶
func (o *AccountBlockUnauthorized) Code() int
Code gets the status code for the account block unauthorized response
func (*AccountBlockUnauthorized) Error ¶
func (o *AccountBlockUnauthorized) Error() string
func (*AccountBlockUnauthorized) IsClientError ¶
func (o *AccountBlockUnauthorized) IsClientError() bool
IsClientError returns true when this account block unauthorized response has a 4xx status code
func (*AccountBlockUnauthorized) IsCode ¶
func (o *AccountBlockUnauthorized) IsCode(code int) bool
IsCode returns true when this account block unauthorized response a status code equal to that given
func (*AccountBlockUnauthorized) IsRedirect ¶
func (o *AccountBlockUnauthorized) IsRedirect() bool
IsRedirect returns true when this account block unauthorized response has a 3xx status code
func (*AccountBlockUnauthorized) IsServerError ¶
func (o *AccountBlockUnauthorized) IsServerError() bool
IsServerError returns true when this account block unauthorized response has a 5xx status code
func (*AccountBlockUnauthorized) IsSuccess ¶
func (o *AccountBlockUnauthorized) IsSuccess() bool
IsSuccess returns true when this account block unauthorized response has a 2xx status code
func (*AccountBlockUnauthorized) String ¶
func (o *AccountBlockUnauthorized) String() string
type AccountCreateBadRequest ¶
type AccountCreateBadRequest struct { }
AccountCreateBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountCreateBadRequest ¶
func NewAccountCreateBadRequest() *AccountCreateBadRequest
NewAccountCreateBadRequest creates a AccountCreateBadRequest with default headers values
func (*AccountCreateBadRequest) Code ¶
func (o *AccountCreateBadRequest) Code() int
Code gets the status code for the account create bad request response
func (*AccountCreateBadRequest) Error ¶
func (o *AccountCreateBadRequest) Error() string
func (*AccountCreateBadRequest) IsClientError ¶
func (o *AccountCreateBadRequest) IsClientError() bool
IsClientError returns true when this account create bad request response has a 4xx status code
func (*AccountCreateBadRequest) IsCode ¶
func (o *AccountCreateBadRequest) IsCode(code int) bool
IsCode returns true when this account create bad request response a status code equal to that given
func (*AccountCreateBadRequest) IsRedirect ¶
func (o *AccountCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this account create bad request response has a 3xx status code
func (*AccountCreateBadRequest) IsServerError ¶
func (o *AccountCreateBadRequest) IsServerError() bool
IsServerError returns true when this account create bad request response has a 5xx status code
func (*AccountCreateBadRequest) IsSuccess ¶
func (o *AccountCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this account create bad request response has a 2xx status code
func (*AccountCreateBadRequest) String ¶
func (o *AccountCreateBadRequest) String() string
type AccountCreateInternalServerError ¶
type AccountCreateInternalServerError struct { }
AccountCreateInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountCreateInternalServerError ¶
func NewAccountCreateInternalServerError() *AccountCreateInternalServerError
NewAccountCreateInternalServerError creates a AccountCreateInternalServerError with default headers values
func (*AccountCreateInternalServerError) Code ¶
func (o *AccountCreateInternalServerError) Code() int
Code gets the status code for the account create internal server error response
func (*AccountCreateInternalServerError) Error ¶
func (o *AccountCreateInternalServerError) Error() string
func (*AccountCreateInternalServerError) IsClientError ¶
func (o *AccountCreateInternalServerError) IsClientError() bool
IsClientError returns true when this account create internal server error response has a 4xx status code
func (*AccountCreateInternalServerError) IsCode ¶
func (o *AccountCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this account create internal server error response a status code equal to that given
func (*AccountCreateInternalServerError) IsRedirect ¶
func (o *AccountCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this account create internal server error response has a 3xx status code
func (*AccountCreateInternalServerError) IsServerError ¶
func (o *AccountCreateInternalServerError) IsServerError() bool
IsServerError returns true when this account create internal server error response has a 5xx status code
func (*AccountCreateInternalServerError) IsSuccess ¶
func (o *AccountCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this account create internal server error response has a 2xx status code
func (*AccountCreateInternalServerError) String ¶
func (o *AccountCreateInternalServerError) String() string
type AccountCreateNotAcceptable ¶
type AccountCreateNotAcceptable struct { }
AccountCreateNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountCreateNotAcceptable ¶
func NewAccountCreateNotAcceptable() *AccountCreateNotAcceptable
NewAccountCreateNotAcceptable creates a AccountCreateNotAcceptable with default headers values
func (*AccountCreateNotAcceptable) Code ¶
func (o *AccountCreateNotAcceptable) Code() int
Code gets the status code for the account create not acceptable response
func (*AccountCreateNotAcceptable) Error ¶
func (o *AccountCreateNotAcceptable) Error() string
func (*AccountCreateNotAcceptable) IsClientError ¶
func (o *AccountCreateNotAcceptable) IsClientError() bool
IsClientError returns true when this account create not acceptable response has a 4xx status code
func (*AccountCreateNotAcceptable) IsCode ¶
func (o *AccountCreateNotAcceptable) IsCode(code int) bool
IsCode returns true when this account create not acceptable response a status code equal to that given
func (*AccountCreateNotAcceptable) IsRedirect ¶
func (o *AccountCreateNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account create not acceptable response has a 3xx status code
func (*AccountCreateNotAcceptable) IsServerError ¶
func (o *AccountCreateNotAcceptable) IsServerError() bool
IsServerError returns true when this account create not acceptable response has a 5xx status code
func (*AccountCreateNotAcceptable) IsSuccess ¶
func (o *AccountCreateNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account create not acceptable response has a 2xx status code
func (*AccountCreateNotAcceptable) String ¶
func (o *AccountCreateNotAcceptable) String() string
type AccountCreateNotFound ¶
type AccountCreateNotFound struct { }
AccountCreateNotFound describes a response with status code 404, with default header values.
not found
func NewAccountCreateNotFound ¶
func NewAccountCreateNotFound() *AccountCreateNotFound
NewAccountCreateNotFound creates a AccountCreateNotFound with default headers values
func (*AccountCreateNotFound) Code ¶
func (o *AccountCreateNotFound) Code() int
Code gets the status code for the account create not found response
func (*AccountCreateNotFound) Error ¶
func (o *AccountCreateNotFound) Error() string
func (*AccountCreateNotFound) IsClientError ¶
func (o *AccountCreateNotFound) IsClientError() bool
IsClientError returns true when this account create not found response has a 4xx status code
func (*AccountCreateNotFound) IsCode ¶
func (o *AccountCreateNotFound) IsCode(code int) bool
IsCode returns true when this account create not found response a status code equal to that given
func (*AccountCreateNotFound) IsRedirect ¶
func (o *AccountCreateNotFound) IsRedirect() bool
IsRedirect returns true when this account create not found response has a 3xx status code
func (*AccountCreateNotFound) IsServerError ¶
func (o *AccountCreateNotFound) IsServerError() bool
IsServerError returns true when this account create not found response has a 5xx status code
func (*AccountCreateNotFound) IsSuccess ¶
func (o *AccountCreateNotFound) IsSuccess() bool
IsSuccess returns true when this account create not found response has a 2xx status code
func (*AccountCreateNotFound) String ¶
func (o *AccountCreateNotFound) String() string
type AccountCreateOK ¶
AccountCreateOK describes a response with status code 200, with default header values.
An OAuth2 access token for the newly-created account.
func NewAccountCreateOK ¶
func NewAccountCreateOK() *AccountCreateOK
NewAccountCreateOK creates a AccountCreateOK with default headers values
func (*AccountCreateOK) Code ¶
func (o *AccountCreateOK) Code() int
Code gets the status code for the account create o k response
func (*AccountCreateOK) Error ¶
func (o *AccountCreateOK) Error() string
func (*AccountCreateOK) GetPayload ¶
func (o *AccountCreateOK) GetPayload() *models.Token
func (*AccountCreateOK) IsClientError ¶
func (o *AccountCreateOK) IsClientError() bool
IsClientError returns true when this account create o k response has a 4xx status code
func (*AccountCreateOK) IsCode ¶
func (o *AccountCreateOK) IsCode(code int) bool
IsCode returns true when this account create o k response a status code equal to that given
func (*AccountCreateOK) IsRedirect ¶
func (o *AccountCreateOK) IsRedirect() bool
IsRedirect returns true when this account create o k response has a 3xx status code
func (*AccountCreateOK) IsServerError ¶
func (o *AccountCreateOK) IsServerError() bool
IsServerError returns true when this account create o k response has a 5xx status code
func (*AccountCreateOK) IsSuccess ¶
func (o *AccountCreateOK) IsSuccess() bool
IsSuccess returns true when this account create o k response has a 2xx status code
func (*AccountCreateOK) String ¶
func (o *AccountCreateOK) String() string
type AccountCreateParams ¶
type AccountCreateParams struct { /* Agreement. The user agrees to the terms, conditions, and policies of the instance. */ Agreement *bool /* Email. The email address to be used for login. */ Email *string /* Locale. The language of the confirmation email that will be sent. */ Locale *string /* Password. The password to be used for login. This will be hashed before storage. */ Password *string /* Reason. Text that will be reviewed by moderators if registrations require manual approval. */ Reason *string /* Username. The desired username for the account. */ Username *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountCreateParams contains all the parameters to send to the API endpoint
for the account create operation. Typically these are written to a http.Request.
func NewAccountCreateParams ¶
func NewAccountCreateParams() *AccountCreateParams
NewAccountCreateParams creates a new AccountCreateParams 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 NewAccountCreateParamsWithContext ¶
func NewAccountCreateParamsWithContext(ctx context.Context) *AccountCreateParams
NewAccountCreateParamsWithContext creates a new AccountCreateParams object with the ability to set a context for a request.
func NewAccountCreateParamsWithHTTPClient ¶
func NewAccountCreateParamsWithHTTPClient(client *http.Client) *AccountCreateParams
NewAccountCreateParamsWithHTTPClient creates a new AccountCreateParams object with the ability to set a custom HTTPClient for a request.
func NewAccountCreateParamsWithTimeout ¶
func NewAccountCreateParamsWithTimeout(timeout time.Duration) *AccountCreateParams
NewAccountCreateParamsWithTimeout creates a new AccountCreateParams object with the ability to set a timeout on a request.
func (*AccountCreateParams) SetAgreement ¶
func (o *AccountCreateParams) SetAgreement(agreement *bool)
SetAgreement adds the agreement to the account create params
func (*AccountCreateParams) SetContext ¶
func (o *AccountCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the account create params
func (*AccountCreateParams) SetDefaults ¶
func (o *AccountCreateParams) SetDefaults()
SetDefaults hydrates default values in the account create params (not the query body).
All values with no default are reset to their zero value.
func (*AccountCreateParams) SetEmail ¶
func (o *AccountCreateParams) SetEmail(email *string)
SetEmail adds the email to the account create params
func (*AccountCreateParams) SetHTTPClient ¶
func (o *AccountCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account create params
func (*AccountCreateParams) SetLocale ¶
func (o *AccountCreateParams) SetLocale(locale *string)
SetLocale adds the locale to the account create params
func (*AccountCreateParams) SetPassword ¶
func (o *AccountCreateParams) SetPassword(password *string)
SetPassword adds the password to the account create params
func (*AccountCreateParams) SetReason ¶
func (o *AccountCreateParams) SetReason(reason *string)
SetReason adds the reason to the account create params
func (*AccountCreateParams) SetTimeout ¶
func (o *AccountCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account create params
func (*AccountCreateParams) SetUsername ¶
func (o *AccountCreateParams) SetUsername(username *string)
SetUsername adds the username to the account create params
func (*AccountCreateParams) WithAgreement ¶
func (o *AccountCreateParams) WithAgreement(agreement *bool) *AccountCreateParams
WithAgreement adds the agreement to the account create params
func (*AccountCreateParams) WithContext ¶
func (o *AccountCreateParams) WithContext(ctx context.Context) *AccountCreateParams
WithContext adds the context to the account create params
func (*AccountCreateParams) WithDefaults ¶
func (o *AccountCreateParams) WithDefaults() *AccountCreateParams
WithDefaults hydrates default values in the account create params (not the query body).
All values with no default are reset to their zero value.
func (*AccountCreateParams) WithEmail ¶
func (o *AccountCreateParams) WithEmail(email *string) *AccountCreateParams
WithEmail adds the email to the account create params
func (*AccountCreateParams) WithHTTPClient ¶
func (o *AccountCreateParams) WithHTTPClient(client *http.Client) *AccountCreateParams
WithHTTPClient adds the HTTPClient to the account create params
func (*AccountCreateParams) WithLocale ¶
func (o *AccountCreateParams) WithLocale(locale *string) *AccountCreateParams
WithLocale adds the locale to the account create params
func (*AccountCreateParams) WithPassword ¶
func (o *AccountCreateParams) WithPassword(password *string) *AccountCreateParams
WithPassword adds the password to the account create params
func (*AccountCreateParams) WithReason ¶
func (o *AccountCreateParams) WithReason(reason *string) *AccountCreateParams
WithReason adds the reason to the account create params
func (*AccountCreateParams) WithTimeout ¶
func (o *AccountCreateParams) WithTimeout(timeout time.Duration) *AccountCreateParams
WithTimeout adds the timeout to the account create params
func (*AccountCreateParams) WithUsername ¶
func (o *AccountCreateParams) WithUsername(username *string) *AccountCreateParams
WithUsername adds the username to the account create params
func (*AccountCreateParams) WriteToRequest ¶
func (o *AccountCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountCreateReader ¶
type AccountCreateReader struct {
// contains filtered or unexported fields
}
AccountCreateReader is a Reader for the AccountCreate structure.
func (*AccountCreateReader) ReadResponse ¶
func (o *AccountCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountCreateUnauthorized ¶
type AccountCreateUnauthorized struct { }
AccountCreateUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountCreateUnauthorized ¶
func NewAccountCreateUnauthorized() *AccountCreateUnauthorized
NewAccountCreateUnauthorized creates a AccountCreateUnauthorized with default headers values
func (*AccountCreateUnauthorized) Code ¶
func (o *AccountCreateUnauthorized) Code() int
Code gets the status code for the account create unauthorized response
func (*AccountCreateUnauthorized) Error ¶
func (o *AccountCreateUnauthorized) Error() string
func (*AccountCreateUnauthorized) IsClientError ¶
func (o *AccountCreateUnauthorized) IsClientError() bool
IsClientError returns true when this account create unauthorized response has a 4xx status code
func (*AccountCreateUnauthorized) IsCode ¶
func (o *AccountCreateUnauthorized) IsCode(code int) bool
IsCode returns true when this account create unauthorized response a status code equal to that given
func (*AccountCreateUnauthorized) IsRedirect ¶
func (o *AccountCreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this account create unauthorized response has a 3xx status code
func (*AccountCreateUnauthorized) IsServerError ¶
func (o *AccountCreateUnauthorized) IsServerError() bool
IsServerError returns true when this account create unauthorized response has a 5xx status code
func (*AccountCreateUnauthorized) IsSuccess ¶
func (o *AccountCreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this account create unauthorized response has a 2xx status code
func (*AccountCreateUnauthorized) String ¶
func (o *AccountCreateUnauthorized) String() string
type AccountCreateUnprocessableEntity ¶
type AccountCreateUnprocessableEntity struct { }
AccountCreateUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable. Your account creation request cannot be processed because either too many accounts have been created on this instance in the last 24h, or the pending account backlog is full.
func NewAccountCreateUnprocessableEntity ¶
func NewAccountCreateUnprocessableEntity() *AccountCreateUnprocessableEntity
NewAccountCreateUnprocessableEntity creates a AccountCreateUnprocessableEntity with default headers values
func (*AccountCreateUnprocessableEntity) Code ¶
func (o *AccountCreateUnprocessableEntity) Code() int
Code gets the status code for the account create unprocessable entity response
func (*AccountCreateUnprocessableEntity) Error ¶
func (o *AccountCreateUnprocessableEntity) Error() string
func (*AccountCreateUnprocessableEntity) IsClientError ¶
func (o *AccountCreateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this account create unprocessable entity response has a 4xx status code
func (*AccountCreateUnprocessableEntity) IsCode ¶
func (o *AccountCreateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this account create unprocessable entity response a status code equal to that given
func (*AccountCreateUnprocessableEntity) IsRedirect ¶
func (o *AccountCreateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this account create unprocessable entity response has a 3xx status code
func (*AccountCreateUnprocessableEntity) IsServerError ¶
func (o *AccountCreateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this account create unprocessable entity response has a 5xx status code
func (*AccountCreateUnprocessableEntity) IsSuccess ¶
func (o *AccountCreateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this account create unprocessable entity response has a 2xx status code
func (*AccountCreateUnprocessableEntity) String ¶
func (o *AccountCreateUnprocessableEntity) String() string
type AccountDeleteAccepted ¶
type AccountDeleteAccepted struct { }
AccountDeleteAccepted describes a response with status code 202, with default header values.
The account deletion has been accepted and the account will be deleted.
func NewAccountDeleteAccepted ¶
func NewAccountDeleteAccepted() *AccountDeleteAccepted
NewAccountDeleteAccepted creates a AccountDeleteAccepted with default headers values
func (*AccountDeleteAccepted) Code ¶
func (o *AccountDeleteAccepted) Code() int
Code gets the status code for the account delete accepted response
func (*AccountDeleteAccepted) Error ¶
func (o *AccountDeleteAccepted) Error() string
func (*AccountDeleteAccepted) IsClientError ¶
func (o *AccountDeleteAccepted) IsClientError() bool
IsClientError returns true when this account delete accepted response has a 4xx status code
func (*AccountDeleteAccepted) IsCode ¶
func (o *AccountDeleteAccepted) IsCode(code int) bool
IsCode returns true when this account delete accepted response a status code equal to that given
func (*AccountDeleteAccepted) IsRedirect ¶
func (o *AccountDeleteAccepted) IsRedirect() bool
IsRedirect returns true when this account delete accepted response has a 3xx status code
func (*AccountDeleteAccepted) IsServerError ¶
func (o *AccountDeleteAccepted) IsServerError() bool
IsServerError returns true when this account delete accepted response has a 5xx status code
func (*AccountDeleteAccepted) IsSuccess ¶
func (o *AccountDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this account delete accepted response has a 2xx status code
func (*AccountDeleteAccepted) String ¶
func (o *AccountDeleteAccepted) String() string
type AccountDeleteBadRequest ¶
type AccountDeleteBadRequest struct { }
AccountDeleteBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountDeleteBadRequest ¶
func NewAccountDeleteBadRequest() *AccountDeleteBadRequest
NewAccountDeleteBadRequest creates a AccountDeleteBadRequest with default headers values
func (*AccountDeleteBadRequest) Code ¶
func (o *AccountDeleteBadRequest) Code() int
Code gets the status code for the account delete bad request response
func (*AccountDeleteBadRequest) Error ¶
func (o *AccountDeleteBadRequest) Error() string
func (*AccountDeleteBadRequest) IsClientError ¶
func (o *AccountDeleteBadRequest) IsClientError() bool
IsClientError returns true when this account delete bad request response has a 4xx status code
func (*AccountDeleteBadRequest) IsCode ¶
func (o *AccountDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this account delete bad request response a status code equal to that given
func (*AccountDeleteBadRequest) IsRedirect ¶
func (o *AccountDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this account delete bad request response has a 3xx status code
func (*AccountDeleteBadRequest) IsServerError ¶
func (o *AccountDeleteBadRequest) IsServerError() bool
IsServerError returns true when this account delete bad request response has a 5xx status code
func (*AccountDeleteBadRequest) IsSuccess ¶
func (o *AccountDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this account delete bad request response has a 2xx status code
func (*AccountDeleteBadRequest) String ¶
func (o *AccountDeleteBadRequest) String() string
type AccountDeleteInternalServerError ¶
type AccountDeleteInternalServerError struct { }
AccountDeleteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountDeleteInternalServerError ¶
func NewAccountDeleteInternalServerError() *AccountDeleteInternalServerError
NewAccountDeleteInternalServerError creates a AccountDeleteInternalServerError with default headers values
func (*AccountDeleteInternalServerError) Code ¶
func (o *AccountDeleteInternalServerError) Code() int
Code gets the status code for the account delete internal server error response
func (*AccountDeleteInternalServerError) Error ¶
func (o *AccountDeleteInternalServerError) Error() string
func (*AccountDeleteInternalServerError) IsClientError ¶
func (o *AccountDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this account delete internal server error response has a 4xx status code
func (*AccountDeleteInternalServerError) IsCode ¶
func (o *AccountDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this account delete internal server error response a status code equal to that given
func (*AccountDeleteInternalServerError) IsRedirect ¶
func (o *AccountDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this account delete internal server error response has a 3xx status code
func (*AccountDeleteInternalServerError) IsServerError ¶
func (o *AccountDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this account delete internal server error response has a 5xx status code
func (*AccountDeleteInternalServerError) IsSuccess ¶
func (o *AccountDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this account delete internal server error response has a 2xx status code
func (*AccountDeleteInternalServerError) String ¶
func (o *AccountDeleteInternalServerError) String() string
type AccountDeleteNotAcceptable ¶
type AccountDeleteNotAcceptable struct { }
AccountDeleteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountDeleteNotAcceptable ¶
func NewAccountDeleteNotAcceptable() *AccountDeleteNotAcceptable
NewAccountDeleteNotAcceptable creates a AccountDeleteNotAcceptable with default headers values
func (*AccountDeleteNotAcceptable) Code ¶
func (o *AccountDeleteNotAcceptable) Code() int
Code gets the status code for the account delete not acceptable response
func (*AccountDeleteNotAcceptable) Error ¶
func (o *AccountDeleteNotAcceptable) Error() string
func (*AccountDeleteNotAcceptable) IsClientError ¶
func (o *AccountDeleteNotAcceptable) IsClientError() bool
IsClientError returns true when this account delete not acceptable response has a 4xx status code
func (*AccountDeleteNotAcceptable) IsCode ¶
func (o *AccountDeleteNotAcceptable) IsCode(code int) bool
IsCode returns true when this account delete not acceptable response a status code equal to that given
func (*AccountDeleteNotAcceptable) IsRedirect ¶
func (o *AccountDeleteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account delete not acceptable response has a 3xx status code
func (*AccountDeleteNotAcceptable) IsServerError ¶
func (o *AccountDeleteNotAcceptable) IsServerError() bool
IsServerError returns true when this account delete not acceptable response has a 5xx status code
func (*AccountDeleteNotAcceptable) IsSuccess ¶
func (o *AccountDeleteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account delete not acceptable response has a 2xx status code
func (*AccountDeleteNotAcceptable) String ¶
func (o *AccountDeleteNotAcceptable) String() string
type AccountDeleteNotFound ¶
type AccountDeleteNotFound struct { }
AccountDeleteNotFound describes a response with status code 404, with default header values.
not found
func NewAccountDeleteNotFound ¶
func NewAccountDeleteNotFound() *AccountDeleteNotFound
NewAccountDeleteNotFound creates a AccountDeleteNotFound with default headers values
func (*AccountDeleteNotFound) Code ¶
func (o *AccountDeleteNotFound) Code() int
Code gets the status code for the account delete not found response
func (*AccountDeleteNotFound) Error ¶
func (o *AccountDeleteNotFound) Error() string
func (*AccountDeleteNotFound) IsClientError ¶
func (o *AccountDeleteNotFound) IsClientError() bool
IsClientError returns true when this account delete not found response has a 4xx status code
func (*AccountDeleteNotFound) IsCode ¶
func (o *AccountDeleteNotFound) IsCode(code int) bool
IsCode returns true when this account delete not found response a status code equal to that given
func (*AccountDeleteNotFound) IsRedirect ¶
func (o *AccountDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this account delete not found response has a 3xx status code
func (*AccountDeleteNotFound) IsServerError ¶
func (o *AccountDeleteNotFound) IsServerError() bool
IsServerError returns true when this account delete not found response has a 5xx status code
func (*AccountDeleteNotFound) IsSuccess ¶
func (o *AccountDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this account delete not found response has a 2xx status code
func (*AccountDeleteNotFound) String ¶
func (o *AccountDeleteNotFound) String() string
type AccountDeleteParams ¶
type AccountDeleteParams struct { /* Password. Password of the account user, for confirmation. */ Password string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountDeleteParams contains all the parameters to send to the API endpoint
for the account delete operation. Typically these are written to a http.Request.
func NewAccountDeleteParams ¶
func NewAccountDeleteParams() *AccountDeleteParams
NewAccountDeleteParams creates a new AccountDeleteParams 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 NewAccountDeleteParamsWithContext ¶
func NewAccountDeleteParamsWithContext(ctx context.Context) *AccountDeleteParams
NewAccountDeleteParamsWithContext creates a new AccountDeleteParams object with the ability to set a context for a request.
func NewAccountDeleteParamsWithHTTPClient ¶
func NewAccountDeleteParamsWithHTTPClient(client *http.Client) *AccountDeleteParams
NewAccountDeleteParamsWithHTTPClient creates a new AccountDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewAccountDeleteParamsWithTimeout ¶
func NewAccountDeleteParamsWithTimeout(timeout time.Duration) *AccountDeleteParams
NewAccountDeleteParamsWithTimeout creates a new AccountDeleteParams object with the ability to set a timeout on a request.
func (*AccountDeleteParams) SetContext ¶
func (o *AccountDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the account delete params
func (*AccountDeleteParams) SetDefaults ¶
func (o *AccountDeleteParams) SetDefaults()
SetDefaults hydrates default values in the account delete params (not the query body).
All values with no default are reset to their zero value.
func (*AccountDeleteParams) SetHTTPClient ¶
func (o *AccountDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account delete params
func (*AccountDeleteParams) SetPassword ¶
func (o *AccountDeleteParams) SetPassword(password string)
SetPassword adds the password to the account delete params
func (*AccountDeleteParams) SetTimeout ¶
func (o *AccountDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account delete params
func (*AccountDeleteParams) WithContext ¶
func (o *AccountDeleteParams) WithContext(ctx context.Context) *AccountDeleteParams
WithContext adds the context to the account delete params
func (*AccountDeleteParams) WithDefaults ¶
func (o *AccountDeleteParams) WithDefaults() *AccountDeleteParams
WithDefaults hydrates default values in the account delete params (not the query body).
All values with no default are reset to their zero value.
func (*AccountDeleteParams) WithHTTPClient ¶
func (o *AccountDeleteParams) WithHTTPClient(client *http.Client) *AccountDeleteParams
WithHTTPClient adds the HTTPClient to the account delete params
func (*AccountDeleteParams) WithPassword ¶
func (o *AccountDeleteParams) WithPassword(password string) *AccountDeleteParams
WithPassword adds the password to the account delete params
func (*AccountDeleteParams) WithTimeout ¶
func (o *AccountDeleteParams) WithTimeout(timeout time.Duration) *AccountDeleteParams
WithTimeout adds the timeout to the account delete params
func (*AccountDeleteParams) WriteToRequest ¶
func (o *AccountDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountDeleteReader ¶
type AccountDeleteReader struct {
// contains filtered or unexported fields
}
AccountDeleteReader is a Reader for the AccountDelete structure.
func (*AccountDeleteReader) ReadResponse ¶
func (o *AccountDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountDeleteUnauthorized ¶
type AccountDeleteUnauthorized struct { }
AccountDeleteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountDeleteUnauthorized ¶
func NewAccountDeleteUnauthorized() *AccountDeleteUnauthorized
NewAccountDeleteUnauthorized creates a AccountDeleteUnauthorized with default headers values
func (*AccountDeleteUnauthorized) Code ¶
func (o *AccountDeleteUnauthorized) Code() int
Code gets the status code for the account delete unauthorized response
func (*AccountDeleteUnauthorized) Error ¶
func (o *AccountDeleteUnauthorized) Error() string
func (*AccountDeleteUnauthorized) IsClientError ¶
func (o *AccountDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this account delete unauthorized response has a 4xx status code
func (*AccountDeleteUnauthorized) IsCode ¶
func (o *AccountDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this account delete unauthorized response a status code equal to that given
func (*AccountDeleteUnauthorized) IsRedirect ¶
func (o *AccountDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this account delete unauthorized response has a 3xx status code
func (*AccountDeleteUnauthorized) IsServerError ¶
func (o *AccountDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this account delete unauthorized response has a 5xx status code
func (*AccountDeleteUnauthorized) IsSuccess ¶
func (o *AccountDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this account delete unauthorized response has a 2xx status code
func (*AccountDeleteUnauthorized) String ¶
func (o *AccountDeleteUnauthorized) String() string
type AccountFollowBadRequest ¶
type AccountFollowBadRequest struct { }
AccountFollowBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountFollowBadRequest ¶
func NewAccountFollowBadRequest() *AccountFollowBadRequest
NewAccountFollowBadRequest creates a AccountFollowBadRequest with default headers values
func (*AccountFollowBadRequest) Code ¶
func (o *AccountFollowBadRequest) Code() int
Code gets the status code for the account follow bad request response
func (*AccountFollowBadRequest) Error ¶
func (o *AccountFollowBadRequest) Error() string
func (*AccountFollowBadRequest) IsClientError ¶
func (o *AccountFollowBadRequest) IsClientError() bool
IsClientError returns true when this account follow bad request response has a 4xx status code
func (*AccountFollowBadRequest) IsCode ¶
func (o *AccountFollowBadRequest) IsCode(code int) bool
IsCode returns true when this account follow bad request response a status code equal to that given
func (*AccountFollowBadRequest) IsRedirect ¶
func (o *AccountFollowBadRequest) IsRedirect() bool
IsRedirect returns true when this account follow bad request response has a 3xx status code
func (*AccountFollowBadRequest) IsServerError ¶
func (o *AccountFollowBadRequest) IsServerError() bool
IsServerError returns true when this account follow bad request response has a 5xx status code
func (*AccountFollowBadRequest) IsSuccess ¶
func (o *AccountFollowBadRequest) IsSuccess() bool
IsSuccess returns true when this account follow bad request response has a 2xx status code
func (*AccountFollowBadRequest) String ¶
func (o *AccountFollowBadRequest) String() string
type AccountFollowInternalServerError ¶
type AccountFollowInternalServerError struct { }
AccountFollowInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountFollowInternalServerError ¶
func NewAccountFollowInternalServerError() *AccountFollowInternalServerError
NewAccountFollowInternalServerError creates a AccountFollowInternalServerError with default headers values
func (*AccountFollowInternalServerError) Code ¶
func (o *AccountFollowInternalServerError) Code() int
Code gets the status code for the account follow internal server error response
func (*AccountFollowInternalServerError) Error ¶
func (o *AccountFollowInternalServerError) Error() string
func (*AccountFollowInternalServerError) IsClientError ¶
func (o *AccountFollowInternalServerError) IsClientError() bool
IsClientError returns true when this account follow internal server error response has a 4xx status code
func (*AccountFollowInternalServerError) IsCode ¶
func (o *AccountFollowInternalServerError) IsCode(code int) bool
IsCode returns true when this account follow internal server error response a status code equal to that given
func (*AccountFollowInternalServerError) IsRedirect ¶
func (o *AccountFollowInternalServerError) IsRedirect() bool
IsRedirect returns true when this account follow internal server error response has a 3xx status code
func (*AccountFollowInternalServerError) IsServerError ¶
func (o *AccountFollowInternalServerError) IsServerError() bool
IsServerError returns true when this account follow internal server error response has a 5xx status code
func (*AccountFollowInternalServerError) IsSuccess ¶
func (o *AccountFollowInternalServerError) IsSuccess() bool
IsSuccess returns true when this account follow internal server error response has a 2xx status code
func (*AccountFollowInternalServerError) String ¶
func (o *AccountFollowInternalServerError) String() string
type AccountFollowNotAcceptable ¶
type AccountFollowNotAcceptable struct { }
AccountFollowNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountFollowNotAcceptable ¶
func NewAccountFollowNotAcceptable() *AccountFollowNotAcceptable
NewAccountFollowNotAcceptable creates a AccountFollowNotAcceptable with default headers values
func (*AccountFollowNotAcceptable) Code ¶
func (o *AccountFollowNotAcceptable) Code() int
Code gets the status code for the account follow not acceptable response
func (*AccountFollowNotAcceptable) Error ¶
func (o *AccountFollowNotAcceptable) Error() string
func (*AccountFollowNotAcceptable) IsClientError ¶
func (o *AccountFollowNotAcceptable) IsClientError() bool
IsClientError returns true when this account follow not acceptable response has a 4xx status code
func (*AccountFollowNotAcceptable) IsCode ¶
func (o *AccountFollowNotAcceptable) IsCode(code int) bool
IsCode returns true when this account follow not acceptable response a status code equal to that given
func (*AccountFollowNotAcceptable) IsRedirect ¶
func (o *AccountFollowNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account follow not acceptable response has a 3xx status code
func (*AccountFollowNotAcceptable) IsServerError ¶
func (o *AccountFollowNotAcceptable) IsServerError() bool
IsServerError returns true when this account follow not acceptable response has a 5xx status code
func (*AccountFollowNotAcceptable) IsSuccess ¶
func (o *AccountFollowNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account follow not acceptable response has a 2xx status code
func (*AccountFollowNotAcceptable) String ¶
func (o *AccountFollowNotAcceptable) String() string
type AccountFollowNotFound ¶
type AccountFollowNotFound struct { }
AccountFollowNotFound describes a response with status code 404, with default header values.
not found
func NewAccountFollowNotFound ¶
func NewAccountFollowNotFound() *AccountFollowNotFound
NewAccountFollowNotFound creates a AccountFollowNotFound with default headers values
func (*AccountFollowNotFound) Code ¶
func (o *AccountFollowNotFound) Code() int
Code gets the status code for the account follow not found response
func (*AccountFollowNotFound) Error ¶
func (o *AccountFollowNotFound) Error() string
func (*AccountFollowNotFound) IsClientError ¶
func (o *AccountFollowNotFound) IsClientError() bool
IsClientError returns true when this account follow not found response has a 4xx status code
func (*AccountFollowNotFound) IsCode ¶
func (o *AccountFollowNotFound) IsCode(code int) bool
IsCode returns true when this account follow not found response a status code equal to that given
func (*AccountFollowNotFound) IsRedirect ¶
func (o *AccountFollowNotFound) IsRedirect() bool
IsRedirect returns true when this account follow not found response has a 3xx status code
func (*AccountFollowNotFound) IsServerError ¶
func (o *AccountFollowNotFound) IsServerError() bool
IsServerError returns true when this account follow not found response has a 5xx status code
func (*AccountFollowNotFound) IsSuccess ¶
func (o *AccountFollowNotFound) IsSuccess() bool
IsSuccess returns true when this account follow not found response has a 2xx status code
func (*AccountFollowNotFound) String ¶
func (o *AccountFollowNotFound) String() string
type AccountFollowOK ¶
type AccountFollowOK struct {
Payload *models.Relationship
}
AccountFollowOK describes a response with status code 200, with default header values.
Your relationship to this account.
func NewAccountFollowOK ¶
func NewAccountFollowOK() *AccountFollowOK
NewAccountFollowOK creates a AccountFollowOK with default headers values
func (*AccountFollowOK) Code ¶
func (o *AccountFollowOK) Code() int
Code gets the status code for the account follow o k response
func (*AccountFollowOK) Error ¶
func (o *AccountFollowOK) Error() string
func (*AccountFollowOK) GetPayload ¶
func (o *AccountFollowOK) GetPayload() *models.Relationship
func (*AccountFollowOK) IsClientError ¶
func (o *AccountFollowOK) IsClientError() bool
IsClientError returns true when this account follow o k response has a 4xx status code
func (*AccountFollowOK) IsCode ¶
func (o *AccountFollowOK) IsCode(code int) bool
IsCode returns true when this account follow o k response a status code equal to that given
func (*AccountFollowOK) IsRedirect ¶
func (o *AccountFollowOK) IsRedirect() bool
IsRedirect returns true when this account follow o k response has a 3xx status code
func (*AccountFollowOK) IsServerError ¶
func (o *AccountFollowOK) IsServerError() bool
IsServerError returns true when this account follow o k response has a 5xx status code
func (*AccountFollowOK) IsSuccess ¶
func (o *AccountFollowOK) IsSuccess() bool
IsSuccess returns true when this account follow o k response has a 2xx status code
func (*AccountFollowOK) String ¶
func (o *AccountFollowOK) String() string
type AccountFollowParams ¶
type AccountFollowParams struct { /* ID. ID of the account to follow. */ ID string /* Notify. Notify when this account posts. */ Notify *bool /* Reblogs. Show reblogs from this account. Default: true */ Reblogs *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountFollowParams contains all the parameters to send to the API endpoint
for the account follow operation. Typically these are written to a http.Request.
func NewAccountFollowParams ¶
func NewAccountFollowParams() *AccountFollowParams
NewAccountFollowParams creates a new AccountFollowParams 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 NewAccountFollowParamsWithContext ¶
func NewAccountFollowParamsWithContext(ctx context.Context) *AccountFollowParams
NewAccountFollowParamsWithContext creates a new AccountFollowParams object with the ability to set a context for a request.
func NewAccountFollowParamsWithHTTPClient ¶
func NewAccountFollowParamsWithHTTPClient(client *http.Client) *AccountFollowParams
NewAccountFollowParamsWithHTTPClient creates a new AccountFollowParams object with the ability to set a custom HTTPClient for a request.
func NewAccountFollowParamsWithTimeout ¶
func NewAccountFollowParamsWithTimeout(timeout time.Duration) *AccountFollowParams
NewAccountFollowParamsWithTimeout creates a new AccountFollowParams object with the ability to set a timeout on a request.
func (*AccountFollowParams) SetContext ¶
func (o *AccountFollowParams) SetContext(ctx context.Context)
SetContext adds the context to the account follow params
func (*AccountFollowParams) SetDefaults ¶
func (o *AccountFollowParams) SetDefaults()
SetDefaults hydrates default values in the account follow params (not the query body).
All values with no default are reset to their zero value.
func (*AccountFollowParams) SetHTTPClient ¶
func (o *AccountFollowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account follow params
func (*AccountFollowParams) SetID ¶
func (o *AccountFollowParams) SetID(id string)
SetID adds the id to the account follow params
func (*AccountFollowParams) SetNotify ¶
func (o *AccountFollowParams) SetNotify(notify *bool)
SetNotify adds the notify to the account follow params
func (*AccountFollowParams) SetReblogs ¶
func (o *AccountFollowParams) SetReblogs(reblogs *bool)
SetReblogs adds the reblogs to the account follow params
func (*AccountFollowParams) SetTimeout ¶
func (o *AccountFollowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account follow params
func (*AccountFollowParams) WithContext ¶
func (o *AccountFollowParams) WithContext(ctx context.Context) *AccountFollowParams
WithContext adds the context to the account follow params
func (*AccountFollowParams) WithDefaults ¶
func (o *AccountFollowParams) WithDefaults() *AccountFollowParams
WithDefaults hydrates default values in the account follow params (not the query body).
All values with no default are reset to their zero value.
func (*AccountFollowParams) WithHTTPClient ¶
func (o *AccountFollowParams) WithHTTPClient(client *http.Client) *AccountFollowParams
WithHTTPClient adds the HTTPClient to the account follow params
func (*AccountFollowParams) WithID ¶
func (o *AccountFollowParams) WithID(id string) *AccountFollowParams
WithID adds the id to the account follow params
func (*AccountFollowParams) WithNotify ¶
func (o *AccountFollowParams) WithNotify(notify *bool) *AccountFollowParams
WithNotify adds the notify to the account follow params
func (*AccountFollowParams) WithReblogs ¶
func (o *AccountFollowParams) WithReblogs(reblogs *bool) *AccountFollowParams
WithReblogs adds the reblogs to the account follow params
func (*AccountFollowParams) WithTimeout ¶
func (o *AccountFollowParams) WithTimeout(timeout time.Duration) *AccountFollowParams
WithTimeout adds the timeout to the account follow params
func (*AccountFollowParams) WriteToRequest ¶
func (o *AccountFollowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountFollowReader ¶
type AccountFollowReader struct {
// contains filtered or unexported fields
}
AccountFollowReader is a Reader for the AccountFollow structure.
func (*AccountFollowReader) ReadResponse ¶
func (o *AccountFollowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountFollowUnauthorized ¶
type AccountFollowUnauthorized struct { }
AccountFollowUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountFollowUnauthorized ¶
func NewAccountFollowUnauthorized() *AccountFollowUnauthorized
NewAccountFollowUnauthorized creates a AccountFollowUnauthorized with default headers values
func (*AccountFollowUnauthorized) Code ¶
func (o *AccountFollowUnauthorized) Code() int
Code gets the status code for the account follow unauthorized response
func (*AccountFollowUnauthorized) Error ¶
func (o *AccountFollowUnauthorized) Error() string
func (*AccountFollowUnauthorized) IsClientError ¶
func (o *AccountFollowUnauthorized) IsClientError() bool
IsClientError returns true when this account follow unauthorized response has a 4xx status code
func (*AccountFollowUnauthorized) IsCode ¶
func (o *AccountFollowUnauthorized) IsCode(code int) bool
IsCode returns true when this account follow unauthorized response a status code equal to that given
func (*AccountFollowUnauthorized) IsRedirect ¶
func (o *AccountFollowUnauthorized) IsRedirect() bool
IsRedirect returns true when this account follow unauthorized response has a 3xx status code
func (*AccountFollowUnauthorized) IsServerError ¶
func (o *AccountFollowUnauthorized) IsServerError() bool
IsServerError returns true when this account follow unauthorized response has a 5xx status code
func (*AccountFollowUnauthorized) IsSuccess ¶
func (o *AccountFollowUnauthorized) IsSuccess() bool
IsSuccess returns true when this account follow unauthorized response has a 2xx status code
func (*AccountFollowUnauthorized) String ¶
func (o *AccountFollowUnauthorized) String() string
type AccountFollowersBadRequest ¶
type AccountFollowersBadRequest struct { }
AccountFollowersBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountFollowersBadRequest ¶
func NewAccountFollowersBadRequest() *AccountFollowersBadRequest
NewAccountFollowersBadRequest creates a AccountFollowersBadRequest with default headers values
func (*AccountFollowersBadRequest) Code ¶
func (o *AccountFollowersBadRequest) Code() int
Code gets the status code for the account followers bad request response
func (*AccountFollowersBadRequest) Error ¶
func (o *AccountFollowersBadRequest) Error() string
func (*AccountFollowersBadRequest) IsClientError ¶
func (o *AccountFollowersBadRequest) IsClientError() bool
IsClientError returns true when this account followers bad request response has a 4xx status code
func (*AccountFollowersBadRequest) IsCode ¶
func (o *AccountFollowersBadRequest) IsCode(code int) bool
IsCode returns true when this account followers bad request response a status code equal to that given
func (*AccountFollowersBadRequest) IsRedirect ¶
func (o *AccountFollowersBadRequest) IsRedirect() bool
IsRedirect returns true when this account followers bad request response has a 3xx status code
func (*AccountFollowersBadRequest) IsServerError ¶
func (o *AccountFollowersBadRequest) IsServerError() bool
IsServerError returns true when this account followers bad request response has a 5xx status code
func (*AccountFollowersBadRequest) IsSuccess ¶
func (o *AccountFollowersBadRequest) IsSuccess() bool
IsSuccess returns true when this account followers bad request response has a 2xx status code
func (*AccountFollowersBadRequest) String ¶
func (o *AccountFollowersBadRequest) String() string
type AccountFollowersInternalServerError ¶
type AccountFollowersInternalServerError struct { }
AccountFollowersInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountFollowersInternalServerError ¶
func NewAccountFollowersInternalServerError() *AccountFollowersInternalServerError
NewAccountFollowersInternalServerError creates a AccountFollowersInternalServerError with default headers values
func (*AccountFollowersInternalServerError) Code ¶
func (o *AccountFollowersInternalServerError) Code() int
Code gets the status code for the account followers internal server error response
func (*AccountFollowersInternalServerError) Error ¶
func (o *AccountFollowersInternalServerError) Error() string
func (*AccountFollowersInternalServerError) IsClientError ¶
func (o *AccountFollowersInternalServerError) IsClientError() bool
IsClientError returns true when this account followers internal server error response has a 4xx status code
func (*AccountFollowersInternalServerError) IsCode ¶
func (o *AccountFollowersInternalServerError) IsCode(code int) bool
IsCode returns true when this account followers internal server error response a status code equal to that given
func (*AccountFollowersInternalServerError) IsRedirect ¶
func (o *AccountFollowersInternalServerError) IsRedirect() bool
IsRedirect returns true when this account followers internal server error response has a 3xx status code
func (*AccountFollowersInternalServerError) IsServerError ¶
func (o *AccountFollowersInternalServerError) IsServerError() bool
IsServerError returns true when this account followers internal server error response has a 5xx status code
func (*AccountFollowersInternalServerError) IsSuccess ¶
func (o *AccountFollowersInternalServerError) IsSuccess() bool
IsSuccess returns true when this account followers internal server error response has a 2xx status code
func (*AccountFollowersInternalServerError) String ¶
func (o *AccountFollowersInternalServerError) String() string
type AccountFollowersNotAcceptable ¶
type AccountFollowersNotAcceptable struct { }
AccountFollowersNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountFollowersNotAcceptable ¶
func NewAccountFollowersNotAcceptable() *AccountFollowersNotAcceptable
NewAccountFollowersNotAcceptable creates a AccountFollowersNotAcceptable with default headers values
func (*AccountFollowersNotAcceptable) Code ¶
func (o *AccountFollowersNotAcceptable) Code() int
Code gets the status code for the account followers not acceptable response
func (*AccountFollowersNotAcceptable) Error ¶
func (o *AccountFollowersNotAcceptable) Error() string
func (*AccountFollowersNotAcceptable) IsClientError ¶
func (o *AccountFollowersNotAcceptable) IsClientError() bool
IsClientError returns true when this account followers not acceptable response has a 4xx status code
func (*AccountFollowersNotAcceptable) IsCode ¶
func (o *AccountFollowersNotAcceptable) IsCode(code int) bool
IsCode returns true when this account followers not acceptable response a status code equal to that given
func (*AccountFollowersNotAcceptable) IsRedirect ¶
func (o *AccountFollowersNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account followers not acceptable response has a 3xx status code
func (*AccountFollowersNotAcceptable) IsServerError ¶
func (o *AccountFollowersNotAcceptable) IsServerError() bool
IsServerError returns true when this account followers not acceptable response has a 5xx status code
func (*AccountFollowersNotAcceptable) IsSuccess ¶
func (o *AccountFollowersNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account followers not acceptable response has a 2xx status code
func (*AccountFollowersNotAcceptable) String ¶
func (o *AccountFollowersNotAcceptable) String() string
type AccountFollowersNotFound ¶
type AccountFollowersNotFound struct { }
AccountFollowersNotFound describes a response with status code 404, with default header values.
not found
func NewAccountFollowersNotFound ¶
func NewAccountFollowersNotFound() *AccountFollowersNotFound
NewAccountFollowersNotFound creates a AccountFollowersNotFound with default headers values
func (*AccountFollowersNotFound) Code ¶
func (o *AccountFollowersNotFound) Code() int
Code gets the status code for the account followers not found response
func (*AccountFollowersNotFound) Error ¶
func (o *AccountFollowersNotFound) Error() string
func (*AccountFollowersNotFound) IsClientError ¶
func (o *AccountFollowersNotFound) IsClientError() bool
IsClientError returns true when this account followers not found response has a 4xx status code
func (*AccountFollowersNotFound) IsCode ¶
func (o *AccountFollowersNotFound) IsCode(code int) bool
IsCode returns true when this account followers not found response a status code equal to that given
func (*AccountFollowersNotFound) IsRedirect ¶
func (o *AccountFollowersNotFound) IsRedirect() bool
IsRedirect returns true when this account followers not found response has a 3xx status code
func (*AccountFollowersNotFound) IsServerError ¶
func (o *AccountFollowersNotFound) IsServerError() bool
IsServerError returns true when this account followers not found response has a 5xx status code
func (*AccountFollowersNotFound) IsSuccess ¶
func (o *AccountFollowersNotFound) IsSuccess() bool
IsSuccess returns true when this account followers not found response has a 2xx status code
func (*AccountFollowersNotFound) String ¶
func (o *AccountFollowersNotFound) String() string
type AccountFollowersOK ¶
type AccountFollowersOK struct { /* Links to the next and previous queries. */ Link string Payload []*models.Account }
AccountFollowersOK describes a response with status code 200, with default header values.
Array of accounts that follow this account.
func NewAccountFollowersOK ¶
func NewAccountFollowersOK() *AccountFollowersOK
NewAccountFollowersOK creates a AccountFollowersOK with default headers values
func (*AccountFollowersOK) Code ¶
func (o *AccountFollowersOK) Code() int
Code gets the status code for the account followers o k response
func (*AccountFollowersOK) Error ¶
func (o *AccountFollowersOK) Error() string
func (*AccountFollowersOK) GetPayload ¶
func (o *AccountFollowersOK) GetPayload() []*models.Account
func (*AccountFollowersOK) IsClientError ¶
func (o *AccountFollowersOK) IsClientError() bool
IsClientError returns true when this account followers o k response has a 4xx status code
func (*AccountFollowersOK) IsCode ¶
func (o *AccountFollowersOK) IsCode(code int) bool
IsCode returns true when this account followers o k response a status code equal to that given
func (*AccountFollowersOK) IsRedirect ¶
func (o *AccountFollowersOK) IsRedirect() bool
IsRedirect returns true when this account followers o k response has a 3xx status code
func (*AccountFollowersOK) IsServerError ¶
func (o *AccountFollowersOK) IsServerError() bool
IsServerError returns true when this account followers o k response has a 5xx status code
func (*AccountFollowersOK) IsSuccess ¶
func (o *AccountFollowersOK) IsSuccess() bool
IsSuccess returns true when this account followers o k response has a 2xx status code
func (*AccountFollowersOK) String ¶
func (o *AccountFollowersOK) String() string
type AccountFollowersParams ¶
type AccountFollowersParams struct { /* ID. Account ID. */ ID string /* Limit. Number of follower accounts to return. Default: 40 */ Limit *int64 /* MaxID. Return only follower accounts *OLDER* than the given max ID. The follower account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts. */ MaxID *string /* MinID. Return only follower accounts *IMMEDIATELY NEWER* than the given min ID. The follower account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts. */ MinID *string /* SinceID. Return only follower accounts *NEWER* than the given since ID. The follower account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts. */ SinceID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountFollowersParams contains all the parameters to send to the API endpoint
for the account followers operation. Typically these are written to a http.Request.
func NewAccountFollowersParams ¶
func NewAccountFollowersParams() *AccountFollowersParams
NewAccountFollowersParams creates a new AccountFollowersParams 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 NewAccountFollowersParamsWithContext ¶
func NewAccountFollowersParamsWithContext(ctx context.Context) *AccountFollowersParams
NewAccountFollowersParamsWithContext creates a new AccountFollowersParams object with the ability to set a context for a request.
func NewAccountFollowersParamsWithHTTPClient ¶
func NewAccountFollowersParamsWithHTTPClient(client *http.Client) *AccountFollowersParams
NewAccountFollowersParamsWithHTTPClient creates a new AccountFollowersParams object with the ability to set a custom HTTPClient for a request.
func NewAccountFollowersParamsWithTimeout ¶
func NewAccountFollowersParamsWithTimeout(timeout time.Duration) *AccountFollowersParams
NewAccountFollowersParamsWithTimeout creates a new AccountFollowersParams object with the ability to set a timeout on a request.
func (*AccountFollowersParams) SetContext ¶
func (o *AccountFollowersParams) SetContext(ctx context.Context)
SetContext adds the context to the account followers params
func (*AccountFollowersParams) SetDefaults ¶
func (o *AccountFollowersParams) SetDefaults()
SetDefaults hydrates default values in the account followers params (not the query body).
All values with no default are reset to their zero value.
func (*AccountFollowersParams) SetHTTPClient ¶
func (o *AccountFollowersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account followers params
func (*AccountFollowersParams) SetID ¶
func (o *AccountFollowersParams) SetID(id string)
SetID adds the id to the account followers params
func (*AccountFollowersParams) SetLimit ¶
func (o *AccountFollowersParams) SetLimit(limit *int64)
SetLimit adds the limit to the account followers params
func (*AccountFollowersParams) SetMaxID ¶
func (o *AccountFollowersParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the account followers params
func (*AccountFollowersParams) SetMinID ¶
func (o *AccountFollowersParams) SetMinID(minID *string)
SetMinID adds the minId to the account followers params
func (*AccountFollowersParams) SetSinceID ¶
func (o *AccountFollowersParams) SetSinceID(sinceID *string)
SetSinceID adds the sinceId to the account followers params
func (*AccountFollowersParams) SetTimeout ¶
func (o *AccountFollowersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account followers params
func (*AccountFollowersParams) WithContext ¶
func (o *AccountFollowersParams) WithContext(ctx context.Context) *AccountFollowersParams
WithContext adds the context to the account followers params
func (*AccountFollowersParams) WithDefaults ¶
func (o *AccountFollowersParams) WithDefaults() *AccountFollowersParams
WithDefaults hydrates default values in the account followers params (not the query body).
All values with no default are reset to their zero value.
func (*AccountFollowersParams) WithHTTPClient ¶
func (o *AccountFollowersParams) WithHTTPClient(client *http.Client) *AccountFollowersParams
WithHTTPClient adds the HTTPClient to the account followers params
func (*AccountFollowersParams) WithID ¶
func (o *AccountFollowersParams) WithID(id string) *AccountFollowersParams
WithID adds the id to the account followers params
func (*AccountFollowersParams) WithLimit ¶
func (o *AccountFollowersParams) WithLimit(limit *int64) *AccountFollowersParams
WithLimit adds the limit to the account followers params
func (*AccountFollowersParams) WithMaxID ¶
func (o *AccountFollowersParams) WithMaxID(maxID *string) *AccountFollowersParams
WithMaxID adds the maxID to the account followers params
func (*AccountFollowersParams) WithMinID ¶
func (o *AccountFollowersParams) WithMinID(minID *string) *AccountFollowersParams
WithMinID adds the minID to the account followers params
func (*AccountFollowersParams) WithSinceID ¶
func (o *AccountFollowersParams) WithSinceID(sinceID *string) *AccountFollowersParams
WithSinceID adds the sinceID to the account followers params
func (*AccountFollowersParams) WithTimeout ¶
func (o *AccountFollowersParams) WithTimeout(timeout time.Duration) *AccountFollowersParams
WithTimeout adds the timeout to the account followers params
func (*AccountFollowersParams) WriteToRequest ¶
func (o *AccountFollowersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountFollowersReader ¶
type AccountFollowersReader struct {
// contains filtered or unexported fields
}
AccountFollowersReader is a Reader for the AccountFollowers structure.
func (*AccountFollowersReader) ReadResponse ¶
func (o *AccountFollowersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountFollowersUnauthorized ¶
type AccountFollowersUnauthorized struct { }
AccountFollowersUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountFollowersUnauthorized ¶
func NewAccountFollowersUnauthorized() *AccountFollowersUnauthorized
NewAccountFollowersUnauthorized creates a AccountFollowersUnauthorized with default headers values
func (*AccountFollowersUnauthorized) Code ¶
func (o *AccountFollowersUnauthorized) Code() int
Code gets the status code for the account followers unauthorized response
func (*AccountFollowersUnauthorized) Error ¶
func (o *AccountFollowersUnauthorized) Error() string
func (*AccountFollowersUnauthorized) IsClientError ¶
func (o *AccountFollowersUnauthorized) IsClientError() bool
IsClientError returns true when this account followers unauthorized response has a 4xx status code
func (*AccountFollowersUnauthorized) IsCode ¶
func (o *AccountFollowersUnauthorized) IsCode(code int) bool
IsCode returns true when this account followers unauthorized response a status code equal to that given
func (*AccountFollowersUnauthorized) IsRedirect ¶
func (o *AccountFollowersUnauthorized) IsRedirect() bool
IsRedirect returns true when this account followers unauthorized response has a 3xx status code
func (*AccountFollowersUnauthorized) IsServerError ¶
func (o *AccountFollowersUnauthorized) IsServerError() bool
IsServerError returns true when this account followers unauthorized response has a 5xx status code
func (*AccountFollowersUnauthorized) IsSuccess ¶
func (o *AccountFollowersUnauthorized) IsSuccess() bool
IsSuccess returns true when this account followers unauthorized response has a 2xx status code
func (*AccountFollowersUnauthorized) String ¶
func (o *AccountFollowersUnauthorized) String() string
type AccountFollowingBadRequest ¶
type AccountFollowingBadRequest struct { }
AccountFollowingBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountFollowingBadRequest ¶
func NewAccountFollowingBadRequest() *AccountFollowingBadRequest
NewAccountFollowingBadRequest creates a AccountFollowingBadRequest with default headers values
func (*AccountFollowingBadRequest) Code ¶
func (o *AccountFollowingBadRequest) Code() int
Code gets the status code for the account following bad request response
func (*AccountFollowingBadRequest) Error ¶
func (o *AccountFollowingBadRequest) Error() string
func (*AccountFollowingBadRequest) IsClientError ¶
func (o *AccountFollowingBadRequest) IsClientError() bool
IsClientError returns true when this account following bad request response has a 4xx status code
func (*AccountFollowingBadRequest) IsCode ¶
func (o *AccountFollowingBadRequest) IsCode(code int) bool
IsCode returns true when this account following bad request response a status code equal to that given
func (*AccountFollowingBadRequest) IsRedirect ¶
func (o *AccountFollowingBadRequest) IsRedirect() bool
IsRedirect returns true when this account following bad request response has a 3xx status code
func (*AccountFollowingBadRequest) IsServerError ¶
func (o *AccountFollowingBadRequest) IsServerError() bool
IsServerError returns true when this account following bad request response has a 5xx status code
func (*AccountFollowingBadRequest) IsSuccess ¶
func (o *AccountFollowingBadRequest) IsSuccess() bool
IsSuccess returns true when this account following bad request response has a 2xx status code
func (*AccountFollowingBadRequest) String ¶
func (o *AccountFollowingBadRequest) String() string
type AccountFollowingInternalServerError ¶
type AccountFollowingInternalServerError struct { }
AccountFollowingInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountFollowingInternalServerError ¶
func NewAccountFollowingInternalServerError() *AccountFollowingInternalServerError
NewAccountFollowingInternalServerError creates a AccountFollowingInternalServerError with default headers values
func (*AccountFollowingInternalServerError) Code ¶
func (o *AccountFollowingInternalServerError) Code() int
Code gets the status code for the account following internal server error response
func (*AccountFollowingInternalServerError) Error ¶
func (o *AccountFollowingInternalServerError) Error() string
func (*AccountFollowingInternalServerError) IsClientError ¶
func (o *AccountFollowingInternalServerError) IsClientError() bool
IsClientError returns true when this account following internal server error response has a 4xx status code
func (*AccountFollowingInternalServerError) IsCode ¶
func (o *AccountFollowingInternalServerError) IsCode(code int) bool
IsCode returns true when this account following internal server error response a status code equal to that given
func (*AccountFollowingInternalServerError) IsRedirect ¶
func (o *AccountFollowingInternalServerError) IsRedirect() bool
IsRedirect returns true when this account following internal server error response has a 3xx status code
func (*AccountFollowingInternalServerError) IsServerError ¶
func (o *AccountFollowingInternalServerError) IsServerError() bool
IsServerError returns true when this account following internal server error response has a 5xx status code
func (*AccountFollowingInternalServerError) IsSuccess ¶
func (o *AccountFollowingInternalServerError) IsSuccess() bool
IsSuccess returns true when this account following internal server error response has a 2xx status code
func (*AccountFollowingInternalServerError) String ¶
func (o *AccountFollowingInternalServerError) String() string
type AccountFollowingNotAcceptable ¶
type AccountFollowingNotAcceptable struct { }
AccountFollowingNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountFollowingNotAcceptable ¶
func NewAccountFollowingNotAcceptable() *AccountFollowingNotAcceptable
NewAccountFollowingNotAcceptable creates a AccountFollowingNotAcceptable with default headers values
func (*AccountFollowingNotAcceptable) Code ¶
func (o *AccountFollowingNotAcceptable) Code() int
Code gets the status code for the account following not acceptable response
func (*AccountFollowingNotAcceptable) Error ¶
func (o *AccountFollowingNotAcceptable) Error() string
func (*AccountFollowingNotAcceptable) IsClientError ¶
func (o *AccountFollowingNotAcceptable) IsClientError() bool
IsClientError returns true when this account following not acceptable response has a 4xx status code
func (*AccountFollowingNotAcceptable) IsCode ¶
func (o *AccountFollowingNotAcceptable) IsCode(code int) bool
IsCode returns true when this account following not acceptable response a status code equal to that given
func (*AccountFollowingNotAcceptable) IsRedirect ¶
func (o *AccountFollowingNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account following not acceptable response has a 3xx status code
func (*AccountFollowingNotAcceptable) IsServerError ¶
func (o *AccountFollowingNotAcceptable) IsServerError() bool
IsServerError returns true when this account following not acceptable response has a 5xx status code
func (*AccountFollowingNotAcceptable) IsSuccess ¶
func (o *AccountFollowingNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account following not acceptable response has a 2xx status code
func (*AccountFollowingNotAcceptable) String ¶
func (o *AccountFollowingNotAcceptable) String() string
type AccountFollowingNotFound ¶
type AccountFollowingNotFound struct { }
AccountFollowingNotFound describes a response with status code 404, with default header values.
not found
func NewAccountFollowingNotFound ¶
func NewAccountFollowingNotFound() *AccountFollowingNotFound
NewAccountFollowingNotFound creates a AccountFollowingNotFound with default headers values
func (*AccountFollowingNotFound) Code ¶
func (o *AccountFollowingNotFound) Code() int
Code gets the status code for the account following not found response
func (*AccountFollowingNotFound) Error ¶
func (o *AccountFollowingNotFound) Error() string
func (*AccountFollowingNotFound) IsClientError ¶
func (o *AccountFollowingNotFound) IsClientError() bool
IsClientError returns true when this account following not found response has a 4xx status code
func (*AccountFollowingNotFound) IsCode ¶
func (o *AccountFollowingNotFound) IsCode(code int) bool
IsCode returns true when this account following not found response a status code equal to that given
func (*AccountFollowingNotFound) IsRedirect ¶
func (o *AccountFollowingNotFound) IsRedirect() bool
IsRedirect returns true when this account following not found response has a 3xx status code
func (*AccountFollowingNotFound) IsServerError ¶
func (o *AccountFollowingNotFound) IsServerError() bool
IsServerError returns true when this account following not found response has a 5xx status code
func (*AccountFollowingNotFound) IsSuccess ¶
func (o *AccountFollowingNotFound) IsSuccess() bool
IsSuccess returns true when this account following not found response has a 2xx status code
func (*AccountFollowingNotFound) String ¶
func (o *AccountFollowingNotFound) String() string
type AccountFollowingOK ¶
type AccountFollowingOK struct { /* Links to the next and previous queries. */ Link string Payload []*models.Account }
AccountFollowingOK describes a response with status code 200, with default header values.
Array of accounts that are followed by this account.
func NewAccountFollowingOK ¶
func NewAccountFollowingOK() *AccountFollowingOK
NewAccountFollowingOK creates a AccountFollowingOK with default headers values
func (*AccountFollowingOK) Code ¶
func (o *AccountFollowingOK) Code() int
Code gets the status code for the account following o k response
func (*AccountFollowingOK) Error ¶
func (o *AccountFollowingOK) Error() string
func (*AccountFollowingOK) GetPayload ¶
func (o *AccountFollowingOK) GetPayload() []*models.Account
func (*AccountFollowingOK) IsClientError ¶
func (o *AccountFollowingOK) IsClientError() bool
IsClientError returns true when this account following o k response has a 4xx status code
func (*AccountFollowingOK) IsCode ¶
func (o *AccountFollowingOK) IsCode(code int) bool
IsCode returns true when this account following o k response a status code equal to that given
func (*AccountFollowingOK) IsRedirect ¶
func (o *AccountFollowingOK) IsRedirect() bool
IsRedirect returns true when this account following o k response has a 3xx status code
func (*AccountFollowingOK) IsServerError ¶
func (o *AccountFollowingOK) IsServerError() bool
IsServerError returns true when this account following o k response has a 5xx status code
func (*AccountFollowingOK) IsSuccess ¶
func (o *AccountFollowingOK) IsSuccess() bool
IsSuccess returns true when this account following o k response has a 2xx status code
func (*AccountFollowingOK) String ¶
func (o *AccountFollowingOK) String() string
type AccountFollowingParams ¶
type AccountFollowingParams struct { /* ID. Account ID. */ ID string /* Limit. Number of following accounts to return. Default: 40 */ Limit *int64 /* MaxID. Return only following accounts *OLDER* than the given max ID. The following account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts. */ MaxID *string /* MinID. Return only following accounts *IMMEDIATELY NEWER* than the given min ID. The following account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts. */ MinID *string /* SinceID. Return only following accounts *NEWER* than the given since ID. The following account with the specified ID will not be included in the response. NOTE: the ID is of the internal follow, NOT any of the returned accounts. */ SinceID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountFollowingParams contains all the parameters to send to the API endpoint
for the account following operation. Typically these are written to a http.Request.
func NewAccountFollowingParams ¶
func NewAccountFollowingParams() *AccountFollowingParams
NewAccountFollowingParams creates a new AccountFollowingParams 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 NewAccountFollowingParamsWithContext ¶
func NewAccountFollowingParamsWithContext(ctx context.Context) *AccountFollowingParams
NewAccountFollowingParamsWithContext creates a new AccountFollowingParams object with the ability to set a context for a request.
func NewAccountFollowingParamsWithHTTPClient ¶
func NewAccountFollowingParamsWithHTTPClient(client *http.Client) *AccountFollowingParams
NewAccountFollowingParamsWithHTTPClient creates a new AccountFollowingParams object with the ability to set a custom HTTPClient for a request.
func NewAccountFollowingParamsWithTimeout ¶
func NewAccountFollowingParamsWithTimeout(timeout time.Duration) *AccountFollowingParams
NewAccountFollowingParamsWithTimeout creates a new AccountFollowingParams object with the ability to set a timeout on a request.
func (*AccountFollowingParams) SetContext ¶
func (o *AccountFollowingParams) SetContext(ctx context.Context)
SetContext adds the context to the account following params
func (*AccountFollowingParams) SetDefaults ¶
func (o *AccountFollowingParams) SetDefaults()
SetDefaults hydrates default values in the account following params (not the query body).
All values with no default are reset to their zero value.
func (*AccountFollowingParams) SetHTTPClient ¶
func (o *AccountFollowingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account following params
func (*AccountFollowingParams) SetID ¶
func (o *AccountFollowingParams) SetID(id string)
SetID adds the id to the account following params
func (*AccountFollowingParams) SetLimit ¶
func (o *AccountFollowingParams) SetLimit(limit *int64)
SetLimit adds the limit to the account following params
func (*AccountFollowingParams) SetMaxID ¶
func (o *AccountFollowingParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the account following params
func (*AccountFollowingParams) SetMinID ¶
func (o *AccountFollowingParams) SetMinID(minID *string)
SetMinID adds the minId to the account following params
func (*AccountFollowingParams) SetSinceID ¶
func (o *AccountFollowingParams) SetSinceID(sinceID *string)
SetSinceID adds the sinceId to the account following params
func (*AccountFollowingParams) SetTimeout ¶
func (o *AccountFollowingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account following params
func (*AccountFollowingParams) WithContext ¶
func (o *AccountFollowingParams) WithContext(ctx context.Context) *AccountFollowingParams
WithContext adds the context to the account following params
func (*AccountFollowingParams) WithDefaults ¶
func (o *AccountFollowingParams) WithDefaults() *AccountFollowingParams
WithDefaults hydrates default values in the account following params (not the query body).
All values with no default are reset to their zero value.
func (*AccountFollowingParams) WithHTTPClient ¶
func (o *AccountFollowingParams) WithHTTPClient(client *http.Client) *AccountFollowingParams
WithHTTPClient adds the HTTPClient to the account following params
func (*AccountFollowingParams) WithID ¶
func (o *AccountFollowingParams) WithID(id string) *AccountFollowingParams
WithID adds the id to the account following params
func (*AccountFollowingParams) WithLimit ¶
func (o *AccountFollowingParams) WithLimit(limit *int64) *AccountFollowingParams
WithLimit adds the limit to the account following params
func (*AccountFollowingParams) WithMaxID ¶
func (o *AccountFollowingParams) WithMaxID(maxID *string) *AccountFollowingParams
WithMaxID adds the maxID to the account following params
func (*AccountFollowingParams) WithMinID ¶
func (o *AccountFollowingParams) WithMinID(minID *string) *AccountFollowingParams
WithMinID adds the minID to the account following params
func (*AccountFollowingParams) WithSinceID ¶
func (o *AccountFollowingParams) WithSinceID(sinceID *string) *AccountFollowingParams
WithSinceID adds the sinceID to the account following params
func (*AccountFollowingParams) WithTimeout ¶
func (o *AccountFollowingParams) WithTimeout(timeout time.Duration) *AccountFollowingParams
WithTimeout adds the timeout to the account following params
func (*AccountFollowingParams) WriteToRequest ¶
func (o *AccountFollowingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountFollowingReader ¶
type AccountFollowingReader struct {
// contains filtered or unexported fields
}
AccountFollowingReader is a Reader for the AccountFollowing structure.
func (*AccountFollowingReader) ReadResponse ¶
func (o *AccountFollowingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountFollowingUnauthorized ¶
type AccountFollowingUnauthorized struct { }
AccountFollowingUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountFollowingUnauthorized ¶
func NewAccountFollowingUnauthorized() *AccountFollowingUnauthorized
NewAccountFollowingUnauthorized creates a AccountFollowingUnauthorized with default headers values
func (*AccountFollowingUnauthorized) Code ¶
func (o *AccountFollowingUnauthorized) Code() int
Code gets the status code for the account following unauthorized response
func (*AccountFollowingUnauthorized) Error ¶
func (o *AccountFollowingUnauthorized) Error() string
func (*AccountFollowingUnauthorized) IsClientError ¶
func (o *AccountFollowingUnauthorized) IsClientError() bool
IsClientError returns true when this account following unauthorized response has a 4xx status code
func (*AccountFollowingUnauthorized) IsCode ¶
func (o *AccountFollowingUnauthorized) IsCode(code int) bool
IsCode returns true when this account following unauthorized response a status code equal to that given
func (*AccountFollowingUnauthorized) IsRedirect ¶
func (o *AccountFollowingUnauthorized) IsRedirect() bool
IsRedirect returns true when this account following unauthorized response has a 3xx status code
func (*AccountFollowingUnauthorized) IsServerError ¶
func (o *AccountFollowingUnauthorized) IsServerError() bool
IsServerError returns true when this account following unauthorized response has a 5xx status code
func (*AccountFollowingUnauthorized) IsSuccess ¶
func (o *AccountFollowingUnauthorized) IsSuccess() bool
IsSuccess returns true when this account following unauthorized response has a 2xx status code
func (*AccountFollowingUnauthorized) String ¶
func (o *AccountFollowingUnauthorized) String() string
type AccountGetBadRequest ¶
type AccountGetBadRequest struct { }
AccountGetBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountGetBadRequest ¶
func NewAccountGetBadRequest() *AccountGetBadRequest
NewAccountGetBadRequest creates a AccountGetBadRequest with default headers values
func (*AccountGetBadRequest) Code ¶
func (o *AccountGetBadRequest) Code() int
Code gets the status code for the account get bad request response
func (*AccountGetBadRequest) Error ¶
func (o *AccountGetBadRequest) Error() string
func (*AccountGetBadRequest) IsClientError ¶
func (o *AccountGetBadRequest) IsClientError() bool
IsClientError returns true when this account get bad request response has a 4xx status code
func (*AccountGetBadRequest) IsCode ¶
func (o *AccountGetBadRequest) IsCode(code int) bool
IsCode returns true when this account get bad request response a status code equal to that given
func (*AccountGetBadRequest) IsRedirect ¶
func (o *AccountGetBadRequest) IsRedirect() bool
IsRedirect returns true when this account get bad request response has a 3xx status code
func (*AccountGetBadRequest) IsServerError ¶
func (o *AccountGetBadRequest) IsServerError() bool
IsServerError returns true when this account get bad request response has a 5xx status code
func (*AccountGetBadRequest) IsSuccess ¶
func (o *AccountGetBadRequest) IsSuccess() bool
IsSuccess returns true when this account get bad request response has a 2xx status code
func (*AccountGetBadRequest) String ¶
func (o *AccountGetBadRequest) String() string
type AccountGetInternalServerError ¶
type AccountGetInternalServerError struct { }
AccountGetInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountGetInternalServerError ¶
func NewAccountGetInternalServerError() *AccountGetInternalServerError
NewAccountGetInternalServerError creates a AccountGetInternalServerError with default headers values
func (*AccountGetInternalServerError) Code ¶
func (o *AccountGetInternalServerError) Code() int
Code gets the status code for the account get internal server error response
func (*AccountGetInternalServerError) Error ¶
func (o *AccountGetInternalServerError) Error() string
func (*AccountGetInternalServerError) IsClientError ¶
func (o *AccountGetInternalServerError) IsClientError() bool
IsClientError returns true when this account get internal server error response has a 4xx status code
func (*AccountGetInternalServerError) IsCode ¶
func (o *AccountGetInternalServerError) IsCode(code int) bool
IsCode returns true when this account get internal server error response a status code equal to that given
func (*AccountGetInternalServerError) IsRedirect ¶
func (o *AccountGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this account get internal server error response has a 3xx status code
func (*AccountGetInternalServerError) IsServerError ¶
func (o *AccountGetInternalServerError) IsServerError() bool
IsServerError returns true when this account get internal server error response has a 5xx status code
func (*AccountGetInternalServerError) IsSuccess ¶
func (o *AccountGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this account get internal server error response has a 2xx status code
func (*AccountGetInternalServerError) String ¶
func (o *AccountGetInternalServerError) String() string
type AccountGetNotAcceptable ¶
type AccountGetNotAcceptable struct { }
AccountGetNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountGetNotAcceptable ¶
func NewAccountGetNotAcceptable() *AccountGetNotAcceptable
NewAccountGetNotAcceptable creates a AccountGetNotAcceptable with default headers values
func (*AccountGetNotAcceptable) Code ¶
func (o *AccountGetNotAcceptable) Code() int
Code gets the status code for the account get not acceptable response
func (*AccountGetNotAcceptable) Error ¶
func (o *AccountGetNotAcceptable) Error() string
func (*AccountGetNotAcceptable) IsClientError ¶
func (o *AccountGetNotAcceptable) IsClientError() bool
IsClientError returns true when this account get not acceptable response has a 4xx status code
func (*AccountGetNotAcceptable) IsCode ¶
func (o *AccountGetNotAcceptable) IsCode(code int) bool
IsCode returns true when this account get not acceptable response a status code equal to that given
func (*AccountGetNotAcceptable) IsRedirect ¶
func (o *AccountGetNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account get not acceptable response has a 3xx status code
func (*AccountGetNotAcceptable) IsServerError ¶
func (o *AccountGetNotAcceptable) IsServerError() bool
IsServerError returns true when this account get not acceptable response has a 5xx status code
func (*AccountGetNotAcceptable) IsSuccess ¶
func (o *AccountGetNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account get not acceptable response has a 2xx status code
func (*AccountGetNotAcceptable) String ¶
func (o *AccountGetNotAcceptable) String() string
type AccountGetNotFound ¶
type AccountGetNotFound struct { }
AccountGetNotFound describes a response with status code 404, with default header values.
not found
func NewAccountGetNotFound ¶
func NewAccountGetNotFound() *AccountGetNotFound
NewAccountGetNotFound creates a AccountGetNotFound with default headers values
func (*AccountGetNotFound) Code ¶
func (o *AccountGetNotFound) Code() int
Code gets the status code for the account get not found response
func (*AccountGetNotFound) Error ¶
func (o *AccountGetNotFound) Error() string
func (*AccountGetNotFound) IsClientError ¶
func (o *AccountGetNotFound) IsClientError() bool
IsClientError returns true when this account get not found response has a 4xx status code
func (*AccountGetNotFound) IsCode ¶
func (o *AccountGetNotFound) IsCode(code int) bool
IsCode returns true when this account get not found response a status code equal to that given
func (*AccountGetNotFound) IsRedirect ¶
func (o *AccountGetNotFound) IsRedirect() bool
IsRedirect returns true when this account get not found response has a 3xx status code
func (*AccountGetNotFound) IsServerError ¶
func (o *AccountGetNotFound) IsServerError() bool
IsServerError returns true when this account get not found response has a 5xx status code
func (*AccountGetNotFound) IsSuccess ¶
func (o *AccountGetNotFound) IsSuccess() bool
IsSuccess returns true when this account get not found response has a 2xx status code
func (*AccountGetNotFound) String ¶
func (o *AccountGetNotFound) String() string
type AccountGetOK ¶
AccountGetOK describes a response with status code 200, with default header values.
The requested account.
func NewAccountGetOK ¶
func NewAccountGetOK() *AccountGetOK
NewAccountGetOK creates a AccountGetOK with default headers values
func (*AccountGetOK) Code ¶
func (o *AccountGetOK) Code() int
Code gets the status code for the account get o k response
func (*AccountGetOK) Error ¶
func (o *AccountGetOK) Error() string
func (*AccountGetOK) GetPayload ¶
func (o *AccountGetOK) GetPayload() *models.Account
func (*AccountGetOK) IsClientError ¶
func (o *AccountGetOK) IsClientError() bool
IsClientError returns true when this account get o k response has a 4xx status code
func (*AccountGetOK) IsCode ¶
func (o *AccountGetOK) IsCode(code int) bool
IsCode returns true when this account get o k response a status code equal to that given
func (*AccountGetOK) IsRedirect ¶
func (o *AccountGetOK) IsRedirect() bool
IsRedirect returns true when this account get o k response has a 3xx status code
func (*AccountGetOK) IsServerError ¶
func (o *AccountGetOK) IsServerError() bool
IsServerError returns true when this account get o k response has a 5xx status code
func (*AccountGetOK) IsSuccess ¶
func (o *AccountGetOK) IsSuccess() bool
IsSuccess returns true when this account get o k response has a 2xx status code
func (*AccountGetOK) String ¶
func (o *AccountGetOK) String() string
type AccountGetParams ¶
type AccountGetParams struct { /* ID. The id of the requested account. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountGetParams contains all the parameters to send to the API endpoint
for the account get operation. Typically these are written to a http.Request.
func NewAccountGetParams ¶
func NewAccountGetParams() *AccountGetParams
NewAccountGetParams creates a new AccountGetParams 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 NewAccountGetParamsWithContext ¶
func NewAccountGetParamsWithContext(ctx context.Context) *AccountGetParams
NewAccountGetParamsWithContext creates a new AccountGetParams object with the ability to set a context for a request.
func NewAccountGetParamsWithHTTPClient ¶
func NewAccountGetParamsWithHTTPClient(client *http.Client) *AccountGetParams
NewAccountGetParamsWithHTTPClient creates a new AccountGetParams object with the ability to set a custom HTTPClient for a request.
func NewAccountGetParamsWithTimeout ¶
func NewAccountGetParamsWithTimeout(timeout time.Duration) *AccountGetParams
NewAccountGetParamsWithTimeout creates a new AccountGetParams object with the ability to set a timeout on a request.
func (*AccountGetParams) SetContext ¶
func (o *AccountGetParams) SetContext(ctx context.Context)
SetContext adds the context to the account get params
func (*AccountGetParams) SetDefaults ¶
func (o *AccountGetParams) SetDefaults()
SetDefaults hydrates default values in the account get params (not the query body).
All values with no default are reset to their zero value.
func (*AccountGetParams) SetHTTPClient ¶
func (o *AccountGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account get params
func (*AccountGetParams) SetID ¶
func (o *AccountGetParams) SetID(id string)
SetID adds the id to the account get params
func (*AccountGetParams) SetTimeout ¶
func (o *AccountGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account get params
func (*AccountGetParams) WithContext ¶
func (o *AccountGetParams) WithContext(ctx context.Context) *AccountGetParams
WithContext adds the context to the account get params
func (*AccountGetParams) WithDefaults ¶
func (o *AccountGetParams) WithDefaults() *AccountGetParams
WithDefaults hydrates default values in the account get params (not the query body).
All values with no default are reset to their zero value.
func (*AccountGetParams) WithHTTPClient ¶
func (o *AccountGetParams) WithHTTPClient(client *http.Client) *AccountGetParams
WithHTTPClient adds the HTTPClient to the account get params
func (*AccountGetParams) WithID ¶
func (o *AccountGetParams) WithID(id string) *AccountGetParams
WithID adds the id to the account get params
func (*AccountGetParams) WithTimeout ¶
func (o *AccountGetParams) WithTimeout(timeout time.Duration) *AccountGetParams
WithTimeout adds the timeout to the account get params
func (*AccountGetParams) WriteToRequest ¶
func (o *AccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountGetReader ¶
type AccountGetReader struct {
// contains filtered or unexported fields
}
AccountGetReader is a Reader for the AccountGet structure.
func (*AccountGetReader) ReadResponse ¶
func (o *AccountGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountGetUnauthorized ¶
type AccountGetUnauthorized struct { }
AccountGetUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountGetUnauthorized ¶
func NewAccountGetUnauthorized() *AccountGetUnauthorized
NewAccountGetUnauthorized creates a AccountGetUnauthorized with default headers values
func (*AccountGetUnauthorized) Code ¶
func (o *AccountGetUnauthorized) Code() int
Code gets the status code for the account get unauthorized response
func (*AccountGetUnauthorized) Error ¶
func (o *AccountGetUnauthorized) Error() string
func (*AccountGetUnauthorized) IsClientError ¶
func (o *AccountGetUnauthorized) IsClientError() bool
IsClientError returns true when this account get unauthorized response has a 4xx status code
func (*AccountGetUnauthorized) IsCode ¶
func (o *AccountGetUnauthorized) IsCode(code int) bool
IsCode returns true when this account get unauthorized response a status code equal to that given
func (*AccountGetUnauthorized) IsRedirect ¶
func (o *AccountGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this account get unauthorized response has a 3xx status code
func (*AccountGetUnauthorized) IsServerError ¶
func (o *AccountGetUnauthorized) IsServerError() bool
IsServerError returns true when this account get unauthorized response has a 5xx status code
func (*AccountGetUnauthorized) IsSuccess ¶
func (o *AccountGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this account get unauthorized response has a 2xx status code
func (*AccountGetUnauthorized) String ¶
func (o *AccountGetUnauthorized) String() string
type AccountHeaderDeleteBadRequest ¶
type AccountHeaderDeleteBadRequest struct { }
AccountHeaderDeleteBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountHeaderDeleteBadRequest ¶
func NewAccountHeaderDeleteBadRequest() *AccountHeaderDeleteBadRequest
NewAccountHeaderDeleteBadRequest creates a AccountHeaderDeleteBadRequest with default headers values
func (*AccountHeaderDeleteBadRequest) Code ¶
func (o *AccountHeaderDeleteBadRequest) Code() int
Code gets the status code for the account header delete bad request response
func (*AccountHeaderDeleteBadRequest) Error ¶
func (o *AccountHeaderDeleteBadRequest) Error() string
func (*AccountHeaderDeleteBadRequest) IsClientError ¶
func (o *AccountHeaderDeleteBadRequest) IsClientError() bool
IsClientError returns true when this account header delete bad request response has a 4xx status code
func (*AccountHeaderDeleteBadRequest) IsCode ¶
func (o *AccountHeaderDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this account header delete bad request response a status code equal to that given
func (*AccountHeaderDeleteBadRequest) IsRedirect ¶
func (o *AccountHeaderDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this account header delete bad request response has a 3xx status code
func (*AccountHeaderDeleteBadRequest) IsServerError ¶
func (o *AccountHeaderDeleteBadRequest) IsServerError() bool
IsServerError returns true when this account header delete bad request response has a 5xx status code
func (*AccountHeaderDeleteBadRequest) IsSuccess ¶
func (o *AccountHeaderDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this account header delete bad request response has a 2xx status code
func (*AccountHeaderDeleteBadRequest) String ¶
func (o *AccountHeaderDeleteBadRequest) String() string
type AccountHeaderDeleteForbidden ¶
type AccountHeaderDeleteForbidden struct { }
AccountHeaderDeleteForbidden describes a response with status code 403, with default header values.
forbidden
func NewAccountHeaderDeleteForbidden ¶
func NewAccountHeaderDeleteForbidden() *AccountHeaderDeleteForbidden
NewAccountHeaderDeleteForbidden creates a AccountHeaderDeleteForbidden with default headers values
func (*AccountHeaderDeleteForbidden) Code ¶
func (o *AccountHeaderDeleteForbidden) Code() int
Code gets the status code for the account header delete forbidden response
func (*AccountHeaderDeleteForbidden) Error ¶
func (o *AccountHeaderDeleteForbidden) Error() string
func (*AccountHeaderDeleteForbidden) IsClientError ¶
func (o *AccountHeaderDeleteForbidden) IsClientError() bool
IsClientError returns true when this account header delete forbidden response has a 4xx status code
func (*AccountHeaderDeleteForbidden) IsCode ¶
func (o *AccountHeaderDeleteForbidden) IsCode(code int) bool
IsCode returns true when this account header delete forbidden response a status code equal to that given
func (*AccountHeaderDeleteForbidden) IsRedirect ¶
func (o *AccountHeaderDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this account header delete forbidden response has a 3xx status code
func (*AccountHeaderDeleteForbidden) IsServerError ¶
func (o *AccountHeaderDeleteForbidden) IsServerError() bool
IsServerError returns true when this account header delete forbidden response has a 5xx status code
func (*AccountHeaderDeleteForbidden) IsSuccess ¶
func (o *AccountHeaderDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this account header delete forbidden response has a 2xx status code
func (*AccountHeaderDeleteForbidden) String ¶
func (o *AccountHeaderDeleteForbidden) String() string
type AccountHeaderDeleteInternalServerError ¶
type AccountHeaderDeleteInternalServerError struct { }
AccountHeaderDeleteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountHeaderDeleteInternalServerError ¶
func NewAccountHeaderDeleteInternalServerError() *AccountHeaderDeleteInternalServerError
NewAccountHeaderDeleteInternalServerError creates a AccountHeaderDeleteInternalServerError with default headers values
func (*AccountHeaderDeleteInternalServerError) Code ¶
func (o *AccountHeaderDeleteInternalServerError) Code() int
Code gets the status code for the account header delete internal server error response
func (*AccountHeaderDeleteInternalServerError) Error ¶
func (o *AccountHeaderDeleteInternalServerError) Error() string
func (*AccountHeaderDeleteInternalServerError) IsClientError ¶
func (o *AccountHeaderDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this account header delete internal server error response has a 4xx status code
func (*AccountHeaderDeleteInternalServerError) IsCode ¶
func (o *AccountHeaderDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this account header delete internal server error response a status code equal to that given
func (*AccountHeaderDeleteInternalServerError) IsRedirect ¶
func (o *AccountHeaderDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this account header delete internal server error response has a 3xx status code
func (*AccountHeaderDeleteInternalServerError) IsServerError ¶
func (o *AccountHeaderDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this account header delete internal server error response has a 5xx status code
func (*AccountHeaderDeleteInternalServerError) IsSuccess ¶
func (o *AccountHeaderDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this account header delete internal server error response has a 2xx status code
func (*AccountHeaderDeleteInternalServerError) String ¶
func (o *AccountHeaderDeleteInternalServerError) String() string
type AccountHeaderDeleteNotAcceptable ¶
type AccountHeaderDeleteNotAcceptable struct { }
AccountHeaderDeleteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountHeaderDeleteNotAcceptable ¶
func NewAccountHeaderDeleteNotAcceptable() *AccountHeaderDeleteNotAcceptable
NewAccountHeaderDeleteNotAcceptable creates a AccountHeaderDeleteNotAcceptable with default headers values
func (*AccountHeaderDeleteNotAcceptable) Code ¶
func (o *AccountHeaderDeleteNotAcceptable) Code() int
Code gets the status code for the account header delete not acceptable response
func (*AccountHeaderDeleteNotAcceptable) Error ¶
func (o *AccountHeaderDeleteNotAcceptable) Error() string
func (*AccountHeaderDeleteNotAcceptable) IsClientError ¶
func (o *AccountHeaderDeleteNotAcceptable) IsClientError() bool
IsClientError returns true when this account header delete not acceptable response has a 4xx status code
func (*AccountHeaderDeleteNotAcceptable) IsCode ¶
func (o *AccountHeaderDeleteNotAcceptable) IsCode(code int) bool
IsCode returns true when this account header delete not acceptable response a status code equal to that given
func (*AccountHeaderDeleteNotAcceptable) IsRedirect ¶
func (o *AccountHeaderDeleteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account header delete not acceptable response has a 3xx status code
func (*AccountHeaderDeleteNotAcceptable) IsServerError ¶
func (o *AccountHeaderDeleteNotAcceptable) IsServerError() bool
IsServerError returns true when this account header delete not acceptable response has a 5xx status code
func (*AccountHeaderDeleteNotAcceptable) IsSuccess ¶
func (o *AccountHeaderDeleteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account header delete not acceptable response has a 2xx status code
func (*AccountHeaderDeleteNotAcceptable) String ¶
func (o *AccountHeaderDeleteNotAcceptable) String() string
type AccountHeaderDeleteOK ¶
AccountHeaderDeleteOK describes a response with status code 200, with default header values.
The updated account, including profile source information.
func NewAccountHeaderDeleteOK ¶
func NewAccountHeaderDeleteOK() *AccountHeaderDeleteOK
NewAccountHeaderDeleteOK creates a AccountHeaderDeleteOK with default headers values
func (*AccountHeaderDeleteOK) Code ¶
func (o *AccountHeaderDeleteOK) Code() int
Code gets the status code for the account header delete o k response
func (*AccountHeaderDeleteOK) Error ¶
func (o *AccountHeaderDeleteOK) Error() string
func (*AccountHeaderDeleteOK) GetPayload ¶
func (o *AccountHeaderDeleteOK) GetPayload() *models.Account
func (*AccountHeaderDeleteOK) IsClientError ¶
func (o *AccountHeaderDeleteOK) IsClientError() bool
IsClientError returns true when this account header delete o k response has a 4xx status code
func (*AccountHeaderDeleteOK) IsCode ¶
func (o *AccountHeaderDeleteOK) IsCode(code int) bool
IsCode returns true when this account header delete o k response a status code equal to that given
func (*AccountHeaderDeleteOK) IsRedirect ¶
func (o *AccountHeaderDeleteOK) IsRedirect() bool
IsRedirect returns true when this account header delete o k response has a 3xx status code
func (*AccountHeaderDeleteOK) IsServerError ¶
func (o *AccountHeaderDeleteOK) IsServerError() bool
IsServerError returns true when this account header delete o k response has a 5xx status code
func (*AccountHeaderDeleteOK) IsSuccess ¶
func (o *AccountHeaderDeleteOK) IsSuccess() bool
IsSuccess returns true when this account header delete o k response has a 2xx status code
func (*AccountHeaderDeleteOK) String ¶
func (o *AccountHeaderDeleteOK) String() string
type AccountHeaderDeleteParams ¶
type AccountHeaderDeleteParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountHeaderDeleteParams contains all the parameters to send to the API endpoint
for the account header delete operation. Typically these are written to a http.Request.
func NewAccountHeaderDeleteParams ¶
func NewAccountHeaderDeleteParams() *AccountHeaderDeleteParams
NewAccountHeaderDeleteParams creates a new AccountHeaderDeleteParams 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 NewAccountHeaderDeleteParamsWithContext ¶
func NewAccountHeaderDeleteParamsWithContext(ctx context.Context) *AccountHeaderDeleteParams
NewAccountHeaderDeleteParamsWithContext creates a new AccountHeaderDeleteParams object with the ability to set a context for a request.
func NewAccountHeaderDeleteParamsWithHTTPClient ¶
func NewAccountHeaderDeleteParamsWithHTTPClient(client *http.Client) *AccountHeaderDeleteParams
NewAccountHeaderDeleteParamsWithHTTPClient creates a new AccountHeaderDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewAccountHeaderDeleteParamsWithTimeout ¶
func NewAccountHeaderDeleteParamsWithTimeout(timeout time.Duration) *AccountHeaderDeleteParams
NewAccountHeaderDeleteParamsWithTimeout creates a new AccountHeaderDeleteParams object with the ability to set a timeout on a request.
func (*AccountHeaderDeleteParams) SetContext ¶
func (o *AccountHeaderDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the account header delete params
func (*AccountHeaderDeleteParams) SetDefaults ¶
func (o *AccountHeaderDeleteParams) SetDefaults()
SetDefaults hydrates default values in the account header delete params (not the query body).
All values with no default are reset to their zero value.
func (*AccountHeaderDeleteParams) SetHTTPClient ¶
func (o *AccountHeaderDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account header delete params
func (*AccountHeaderDeleteParams) SetTimeout ¶
func (o *AccountHeaderDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account header delete params
func (*AccountHeaderDeleteParams) WithContext ¶
func (o *AccountHeaderDeleteParams) WithContext(ctx context.Context) *AccountHeaderDeleteParams
WithContext adds the context to the account header delete params
func (*AccountHeaderDeleteParams) WithDefaults ¶
func (o *AccountHeaderDeleteParams) WithDefaults() *AccountHeaderDeleteParams
WithDefaults hydrates default values in the account header delete params (not the query body).
All values with no default are reset to their zero value.
func (*AccountHeaderDeleteParams) WithHTTPClient ¶
func (o *AccountHeaderDeleteParams) WithHTTPClient(client *http.Client) *AccountHeaderDeleteParams
WithHTTPClient adds the HTTPClient to the account header delete params
func (*AccountHeaderDeleteParams) WithTimeout ¶
func (o *AccountHeaderDeleteParams) WithTimeout(timeout time.Duration) *AccountHeaderDeleteParams
WithTimeout adds the timeout to the account header delete params
func (*AccountHeaderDeleteParams) WriteToRequest ¶
func (o *AccountHeaderDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountHeaderDeleteReader ¶
type AccountHeaderDeleteReader struct {
// contains filtered or unexported fields
}
AccountHeaderDeleteReader is a Reader for the AccountHeaderDelete structure.
func (*AccountHeaderDeleteReader) ReadResponse ¶
func (o *AccountHeaderDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountHeaderDeleteUnauthorized ¶
type AccountHeaderDeleteUnauthorized struct { }
AccountHeaderDeleteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountHeaderDeleteUnauthorized ¶
func NewAccountHeaderDeleteUnauthorized() *AccountHeaderDeleteUnauthorized
NewAccountHeaderDeleteUnauthorized creates a AccountHeaderDeleteUnauthorized with default headers values
func (*AccountHeaderDeleteUnauthorized) Code ¶
func (o *AccountHeaderDeleteUnauthorized) Code() int
Code gets the status code for the account header delete unauthorized response
func (*AccountHeaderDeleteUnauthorized) Error ¶
func (o *AccountHeaderDeleteUnauthorized) Error() string
func (*AccountHeaderDeleteUnauthorized) IsClientError ¶
func (o *AccountHeaderDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this account header delete unauthorized response has a 4xx status code
func (*AccountHeaderDeleteUnauthorized) IsCode ¶
func (o *AccountHeaderDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this account header delete unauthorized response a status code equal to that given
func (*AccountHeaderDeleteUnauthorized) IsRedirect ¶
func (o *AccountHeaderDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this account header delete unauthorized response has a 3xx status code
func (*AccountHeaderDeleteUnauthorized) IsServerError ¶
func (o *AccountHeaderDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this account header delete unauthorized response has a 5xx status code
func (*AccountHeaderDeleteUnauthorized) IsSuccess ¶
func (o *AccountHeaderDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this account header delete unauthorized response has a 2xx status code
func (*AccountHeaderDeleteUnauthorized) String ¶
func (o *AccountHeaderDeleteUnauthorized) String() string
type AccountListsBadRequest ¶
type AccountListsBadRequest struct { }
AccountListsBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountListsBadRequest ¶
func NewAccountListsBadRequest() *AccountListsBadRequest
NewAccountListsBadRequest creates a AccountListsBadRequest with default headers values
func (*AccountListsBadRequest) Code ¶
func (o *AccountListsBadRequest) Code() int
Code gets the status code for the account lists bad request response
func (*AccountListsBadRequest) Error ¶
func (o *AccountListsBadRequest) Error() string
func (*AccountListsBadRequest) IsClientError ¶
func (o *AccountListsBadRequest) IsClientError() bool
IsClientError returns true when this account lists bad request response has a 4xx status code
func (*AccountListsBadRequest) IsCode ¶
func (o *AccountListsBadRequest) IsCode(code int) bool
IsCode returns true when this account lists bad request response a status code equal to that given
func (*AccountListsBadRequest) IsRedirect ¶
func (o *AccountListsBadRequest) IsRedirect() bool
IsRedirect returns true when this account lists bad request response has a 3xx status code
func (*AccountListsBadRequest) IsServerError ¶
func (o *AccountListsBadRequest) IsServerError() bool
IsServerError returns true when this account lists bad request response has a 5xx status code
func (*AccountListsBadRequest) IsSuccess ¶
func (o *AccountListsBadRequest) IsSuccess() bool
IsSuccess returns true when this account lists bad request response has a 2xx status code
func (*AccountListsBadRequest) String ¶
func (o *AccountListsBadRequest) String() string
type AccountListsInternalServerError ¶
type AccountListsInternalServerError struct { }
AccountListsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountListsInternalServerError ¶
func NewAccountListsInternalServerError() *AccountListsInternalServerError
NewAccountListsInternalServerError creates a AccountListsInternalServerError with default headers values
func (*AccountListsInternalServerError) Code ¶
func (o *AccountListsInternalServerError) Code() int
Code gets the status code for the account lists internal server error response
func (*AccountListsInternalServerError) Error ¶
func (o *AccountListsInternalServerError) Error() string
func (*AccountListsInternalServerError) IsClientError ¶
func (o *AccountListsInternalServerError) IsClientError() bool
IsClientError returns true when this account lists internal server error response has a 4xx status code
func (*AccountListsInternalServerError) IsCode ¶
func (o *AccountListsInternalServerError) IsCode(code int) bool
IsCode returns true when this account lists internal server error response a status code equal to that given
func (*AccountListsInternalServerError) IsRedirect ¶
func (o *AccountListsInternalServerError) IsRedirect() bool
IsRedirect returns true when this account lists internal server error response has a 3xx status code
func (*AccountListsInternalServerError) IsServerError ¶
func (o *AccountListsInternalServerError) IsServerError() bool
IsServerError returns true when this account lists internal server error response has a 5xx status code
func (*AccountListsInternalServerError) IsSuccess ¶
func (o *AccountListsInternalServerError) IsSuccess() bool
IsSuccess returns true when this account lists internal server error response has a 2xx status code
func (*AccountListsInternalServerError) String ¶
func (o *AccountListsInternalServerError) String() string
type AccountListsNotAcceptable ¶
type AccountListsNotAcceptable struct { }
AccountListsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountListsNotAcceptable ¶
func NewAccountListsNotAcceptable() *AccountListsNotAcceptable
NewAccountListsNotAcceptable creates a AccountListsNotAcceptable with default headers values
func (*AccountListsNotAcceptable) Code ¶
func (o *AccountListsNotAcceptable) Code() int
Code gets the status code for the account lists not acceptable response
func (*AccountListsNotAcceptable) Error ¶
func (o *AccountListsNotAcceptable) Error() string
func (*AccountListsNotAcceptable) IsClientError ¶
func (o *AccountListsNotAcceptable) IsClientError() bool
IsClientError returns true when this account lists not acceptable response has a 4xx status code
func (*AccountListsNotAcceptable) IsCode ¶
func (o *AccountListsNotAcceptable) IsCode(code int) bool
IsCode returns true when this account lists not acceptable response a status code equal to that given
func (*AccountListsNotAcceptable) IsRedirect ¶
func (o *AccountListsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account lists not acceptable response has a 3xx status code
func (*AccountListsNotAcceptable) IsServerError ¶
func (o *AccountListsNotAcceptable) IsServerError() bool
IsServerError returns true when this account lists not acceptable response has a 5xx status code
func (*AccountListsNotAcceptable) IsSuccess ¶
func (o *AccountListsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account lists not acceptable response has a 2xx status code
func (*AccountListsNotAcceptable) String ¶
func (o *AccountListsNotAcceptable) String() string
type AccountListsNotFound ¶
type AccountListsNotFound struct { }
AccountListsNotFound describes a response with status code 404, with default header values.
not found
func NewAccountListsNotFound ¶
func NewAccountListsNotFound() *AccountListsNotFound
NewAccountListsNotFound creates a AccountListsNotFound with default headers values
func (*AccountListsNotFound) Code ¶
func (o *AccountListsNotFound) Code() int
Code gets the status code for the account lists not found response
func (*AccountListsNotFound) Error ¶
func (o *AccountListsNotFound) Error() string
func (*AccountListsNotFound) IsClientError ¶
func (o *AccountListsNotFound) IsClientError() bool
IsClientError returns true when this account lists not found response has a 4xx status code
func (*AccountListsNotFound) IsCode ¶
func (o *AccountListsNotFound) IsCode(code int) bool
IsCode returns true when this account lists not found response a status code equal to that given
func (*AccountListsNotFound) IsRedirect ¶
func (o *AccountListsNotFound) IsRedirect() bool
IsRedirect returns true when this account lists not found response has a 3xx status code
func (*AccountListsNotFound) IsServerError ¶
func (o *AccountListsNotFound) IsServerError() bool
IsServerError returns true when this account lists not found response has a 5xx status code
func (*AccountListsNotFound) IsSuccess ¶
func (o *AccountListsNotFound) IsSuccess() bool
IsSuccess returns true when this account lists not found response has a 2xx status code
func (*AccountListsNotFound) String ¶
func (o *AccountListsNotFound) String() string
type AccountListsOK ¶
AccountListsOK describes a response with status code 200, with default header values.
Array of all lists containing this account.
func NewAccountListsOK ¶
func NewAccountListsOK() *AccountListsOK
NewAccountListsOK creates a AccountListsOK with default headers values
func (*AccountListsOK) Code ¶
func (o *AccountListsOK) Code() int
Code gets the status code for the account lists o k response
func (*AccountListsOK) Error ¶
func (o *AccountListsOK) Error() string
func (*AccountListsOK) GetPayload ¶
func (o *AccountListsOK) GetPayload() []*models.List
func (*AccountListsOK) IsClientError ¶
func (o *AccountListsOK) IsClientError() bool
IsClientError returns true when this account lists o k response has a 4xx status code
func (*AccountListsOK) IsCode ¶
func (o *AccountListsOK) IsCode(code int) bool
IsCode returns true when this account lists o k response a status code equal to that given
func (*AccountListsOK) IsRedirect ¶
func (o *AccountListsOK) IsRedirect() bool
IsRedirect returns true when this account lists o k response has a 3xx status code
func (*AccountListsOK) IsServerError ¶
func (o *AccountListsOK) IsServerError() bool
IsServerError returns true when this account lists o k response has a 5xx status code
func (*AccountListsOK) IsSuccess ¶
func (o *AccountListsOK) IsSuccess() bool
IsSuccess returns true when this account lists o k response has a 2xx status code
func (*AccountListsOK) String ¶
func (o *AccountListsOK) String() string
type AccountListsParams ¶
type AccountListsParams struct { /* ID. Account ID. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountListsParams contains all the parameters to send to the API endpoint
for the account lists operation. Typically these are written to a http.Request.
func NewAccountListsParams ¶
func NewAccountListsParams() *AccountListsParams
NewAccountListsParams creates a new AccountListsParams 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 NewAccountListsParamsWithContext ¶
func NewAccountListsParamsWithContext(ctx context.Context) *AccountListsParams
NewAccountListsParamsWithContext creates a new AccountListsParams object with the ability to set a context for a request.
func NewAccountListsParamsWithHTTPClient ¶
func NewAccountListsParamsWithHTTPClient(client *http.Client) *AccountListsParams
NewAccountListsParamsWithHTTPClient creates a new AccountListsParams object with the ability to set a custom HTTPClient for a request.
func NewAccountListsParamsWithTimeout ¶
func NewAccountListsParamsWithTimeout(timeout time.Duration) *AccountListsParams
NewAccountListsParamsWithTimeout creates a new AccountListsParams object with the ability to set a timeout on a request.
func (*AccountListsParams) SetContext ¶
func (o *AccountListsParams) SetContext(ctx context.Context)
SetContext adds the context to the account lists params
func (*AccountListsParams) SetDefaults ¶
func (o *AccountListsParams) SetDefaults()
SetDefaults hydrates default values in the account lists params (not the query body).
All values with no default are reset to their zero value.
func (*AccountListsParams) SetHTTPClient ¶
func (o *AccountListsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account lists params
func (*AccountListsParams) SetID ¶
func (o *AccountListsParams) SetID(id string)
SetID adds the id to the account lists params
func (*AccountListsParams) SetTimeout ¶
func (o *AccountListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account lists params
func (*AccountListsParams) WithContext ¶
func (o *AccountListsParams) WithContext(ctx context.Context) *AccountListsParams
WithContext adds the context to the account lists params
func (*AccountListsParams) WithDefaults ¶
func (o *AccountListsParams) WithDefaults() *AccountListsParams
WithDefaults hydrates default values in the account lists params (not the query body).
All values with no default are reset to their zero value.
func (*AccountListsParams) WithHTTPClient ¶
func (o *AccountListsParams) WithHTTPClient(client *http.Client) *AccountListsParams
WithHTTPClient adds the HTTPClient to the account lists params
func (*AccountListsParams) WithID ¶
func (o *AccountListsParams) WithID(id string) *AccountListsParams
WithID adds the id to the account lists params
func (*AccountListsParams) WithTimeout ¶
func (o *AccountListsParams) WithTimeout(timeout time.Duration) *AccountListsParams
WithTimeout adds the timeout to the account lists params
func (*AccountListsParams) WriteToRequest ¶
func (o *AccountListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountListsReader ¶
type AccountListsReader struct {
// contains filtered or unexported fields
}
AccountListsReader is a Reader for the AccountLists structure.
func (*AccountListsReader) ReadResponse ¶
func (o *AccountListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountListsUnauthorized ¶
type AccountListsUnauthorized struct { }
AccountListsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountListsUnauthorized ¶
func NewAccountListsUnauthorized() *AccountListsUnauthorized
NewAccountListsUnauthorized creates a AccountListsUnauthorized with default headers values
func (*AccountListsUnauthorized) Code ¶
func (o *AccountListsUnauthorized) Code() int
Code gets the status code for the account lists unauthorized response
func (*AccountListsUnauthorized) Error ¶
func (o *AccountListsUnauthorized) Error() string
func (*AccountListsUnauthorized) IsClientError ¶
func (o *AccountListsUnauthorized) IsClientError() bool
IsClientError returns true when this account lists unauthorized response has a 4xx status code
func (*AccountListsUnauthorized) IsCode ¶
func (o *AccountListsUnauthorized) IsCode(code int) bool
IsCode returns true when this account lists unauthorized response a status code equal to that given
func (*AccountListsUnauthorized) IsRedirect ¶
func (o *AccountListsUnauthorized) IsRedirect() bool
IsRedirect returns true when this account lists unauthorized response has a 3xx status code
func (*AccountListsUnauthorized) IsServerError ¶
func (o *AccountListsUnauthorized) IsServerError() bool
IsServerError returns true when this account lists unauthorized response has a 5xx status code
func (*AccountListsUnauthorized) IsSuccess ¶
func (o *AccountListsUnauthorized) IsSuccess() bool
IsSuccess returns true when this account lists unauthorized response has a 2xx status code
func (*AccountListsUnauthorized) String ¶
func (o *AccountListsUnauthorized) String() string
type AccountLookupGetBadRequest ¶
type AccountLookupGetBadRequest struct { }
AccountLookupGetBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountLookupGetBadRequest ¶
func NewAccountLookupGetBadRequest() *AccountLookupGetBadRequest
NewAccountLookupGetBadRequest creates a AccountLookupGetBadRequest with default headers values
func (*AccountLookupGetBadRequest) Code ¶
func (o *AccountLookupGetBadRequest) Code() int
Code gets the status code for the account lookup get bad request response
func (*AccountLookupGetBadRequest) Error ¶
func (o *AccountLookupGetBadRequest) Error() string
func (*AccountLookupGetBadRequest) IsClientError ¶
func (o *AccountLookupGetBadRequest) IsClientError() bool
IsClientError returns true when this account lookup get bad request response has a 4xx status code
func (*AccountLookupGetBadRequest) IsCode ¶
func (o *AccountLookupGetBadRequest) IsCode(code int) bool
IsCode returns true when this account lookup get bad request response a status code equal to that given
func (*AccountLookupGetBadRequest) IsRedirect ¶
func (o *AccountLookupGetBadRequest) IsRedirect() bool
IsRedirect returns true when this account lookup get bad request response has a 3xx status code
func (*AccountLookupGetBadRequest) IsServerError ¶
func (o *AccountLookupGetBadRequest) IsServerError() bool
IsServerError returns true when this account lookup get bad request response has a 5xx status code
func (*AccountLookupGetBadRequest) IsSuccess ¶
func (o *AccountLookupGetBadRequest) IsSuccess() bool
IsSuccess returns true when this account lookup get bad request response has a 2xx status code
func (*AccountLookupGetBadRequest) String ¶
func (o *AccountLookupGetBadRequest) String() string
type AccountLookupGetInternalServerError ¶
type AccountLookupGetInternalServerError struct { }
AccountLookupGetInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountLookupGetInternalServerError ¶
func NewAccountLookupGetInternalServerError() *AccountLookupGetInternalServerError
NewAccountLookupGetInternalServerError creates a AccountLookupGetInternalServerError with default headers values
func (*AccountLookupGetInternalServerError) Code ¶
func (o *AccountLookupGetInternalServerError) Code() int
Code gets the status code for the account lookup get internal server error response
func (*AccountLookupGetInternalServerError) Error ¶
func (o *AccountLookupGetInternalServerError) Error() string
func (*AccountLookupGetInternalServerError) IsClientError ¶
func (o *AccountLookupGetInternalServerError) IsClientError() bool
IsClientError returns true when this account lookup get internal server error response has a 4xx status code
func (*AccountLookupGetInternalServerError) IsCode ¶
func (o *AccountLookupGetInternalServerError) IsCode(code int) bool
IsCode returns true when this account lookup get internal server error response a status code equal to that given
func (*AccountLookupGetInternalServerError) IsRedirect ¶
func (o *AccountLookupGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this account lookup get internal server error response has a 3xx status code
func (*AccountLookupGetInternalServerError) IsServerError ¶
func (o *AccountLookupGetInternalServerError) IsServerError() bool
IsServerError returns true when this account lookup get internal server error response has a 5xx status code
func (*AccountLookupGetInternalServerError) IsSuccess ¶
func (o *AccountLookupGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this account lookup get internal server error response has a 2xx status code
func (*AccountLookupGetInternalServerError) String ¶
func (o *AccountLookupGetInternalServerError) String() string
type AccountLookupGetNotAcceptable ¶
type AccountLookupGetNotAcceptable struct { }
AccountLookupGetNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountLookupGetNotAcceptable ¶
func NewAccountLookupGetNotAcceptable() *AccountLookupGetNotAcceptable
NewAccountLookupGetNotAcceptable creates a AccountLookupGetNotAcceptable with default headers values
func (*AccountLookupGetNotAcceptable) Code ¶
func (o *AccountLookupGetNotAcceptable) Code() int
Code gets the status code for the account lookup get not acceptable response
func (*AccountLookupGetNotAcceptable) Error ¶
func (o *AccountLookupGetNotAcceptable) Error() string
func (*AccountLookupGetNotAcceptable) IsClientError ¶
func (o *AccountLookupGetNotAcceptable) IsClientError() bool
IsClientError returns true when this account lookup get not acceptable response has a 4xx status code
func (*AccountLookupGetNotAcceptable) IsCode ¶
func (o *AccountLookupGetNotAcceptable) IsCode(code int) bool
IsCode returns true when this account lookup get not acceptable response a status code equal to that given
func (*AccountLookupGetNotAcceptable) IsRedirect ¶
func (o *AccountLookupGetNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account lookup get not acceptable response has a 3xx status code
func (*AccountLookupGetNotAcceptable) IsServerError ¶
func (o *AccountLookupGetNotAcceptable) IsServerError() bool
IsServerError returns true when this account lookup get not acceptable response has a 5xx status code
func (*AccountLookupGetNotAcceptable) IsSuccess ¶
func (o *AccountLookupGetNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account lookup get not acceptable response has a 2xx status code
func (*AccountLookupGetNotAcceptable) String ¶
func (o *AccountLookupGetNotAcceptable) String() string
type AccountLookupGetNotFound ¶
type AccountLookupGetNotFound struct { }
AccountLookupGetNotFound describes a response with status code 404, with default header values.
not found
func NewAccountLookupGetNotFound ¶
func NewAccountLookupGetNotFound() *AccountLookupGetNotFound
NewAccountLookupGetNotFound creates a AccountLookupGetNotFound with default headers values
func (*AccountLookupGetNotFound) Code ¶
func (o *AccountLookupGetNotFound) Code() int
Code gets the status code for the account lookup get not found response
func (*AccountLookupGetNotFound) Error ¶
func (o *AccountLookupGetNotFound) Error() string
func (*AccountLookupGetNotFound) IsClientError ¶
func (o *AccountLookupGetNotFound) IsClientError() bool
IsClientError returns true when this account lookup get not found response has a 4xx status code
func (*AccountLookupGetNotFound) IsCode ¶
func (o *AccountLookupGetNotFound) IsCode(code int) bool
IsCode returns true when this account lookup get not found response a status code equal to that given
func (*AccountLookupGetNotFound) IsRedirect ¶
func (o *AccountLookupGetNotFound) IsRedirect() bool
IsRedirect returns true when this account lookup get not found response has a 3xx status code
func (*AccountLookupGetNotFound) IsServerError ¶
func (o *AccountLookupGetNotFound) IsServerError() bool
IsServerError returns true when this account lookup get not found response has a 5xx status code
func (*AccountLookupGetNotFound) IsSuccess ¶
func (o *AccountLookupGetNotFound) IsSuccess() bool
IsSuccess returns true when this account lookup get not found response has a 2xx status code
func (*AccountLookupGetNotFound) String ¶
func (o *AccountLookupGetNotFound) String() string
type AccountLookupGetOK ¶
AccountLookupGetOK describes a response with status code 200, with default header values.
Result of the lookup.
func NewAccountLookupGetOK ¶
func NewAccountLookupGetOK() *AccountLookupGetOK
NewAccountLookupGetOK creates a AccountLookupGetOK with default headers values
func (*AccountLookupGetOK) Code ¶
func (o *AccountLookupGetOK) Code() int
Code gets the status code for the account lookup get o k response
func (*AccountLookupGetOK) Error ¶
func (o *AccountLookupGetOK) Error() string
func (*AccountLookupGetOK) GetPayload ¶
func (o *AccountLookupGetOK) GetPayload() *models.Account
func (*AccountLookupGetOK) IsClientError ¶
func (o *AccountLookupGetOK) IsClientError() bool
IsClientError returns true when this account lookup get o k response has a 4xx status code
func (*AccountLookupGetOK) IsCode ¶
func (o *AccountLookupGetOK) IsCode(code int) bool
IsCode returns true when this account lookup get o k response a status code equal to that given
func (*AccountLookupGetOK) IsRedirect ¶
func (o *AccountLookupGetOK) IsRedirect() bool
IsRedirect returns true when this account lookup get o k response has a 3xx status code
func (*AccountLookupGetOK) IsServerError ¶
func (o *AccountLookupGetOK) IsServerError() bool
IsServerError returns true when this account lookup get o k response has a 5xx status code
func (*AccountLookupGetOK) IsSuccess ¶
func (o *AccountLookupGetOK) IsSuccess() bool
IsSuccess returns true when this account lookup get o k response has a 2xx status code
func (*AccountLookupGetOK) String ¶
func (o *AccountLookupGetOK) String() string
type AccountLookupGetParams ¶
type AccountLookupGetParams struct { /* Acct. The username or Webfinger address to lookup. */ Acct string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountLookupGetParams contains all the parameters to send to the API endpoint
for the account lookup get operation. Typically these are written to a http.Request.
func NewAccountLookupGetParams ¶
func NewAccountLookupGetParams() *AccountLookupGetParams
NewAccountLookupGetParams creates a new AccountLookupGetParams 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 NewAccountLookupGetParamsWithContext ¶
func NewAccountLookupGetParamsWithContext(ctx context.Context) *AccountLookupGetParams
NewAccountLookupGetParamsWithContext creates a new AccountLookupGetParams object with the ability to set a context for a request.
func NewAccountLookupGetParamsWithHTTPClient ¶
func NewAccountLookupGetParamsWithHTTPClient(client *http.Client) *AccountLookupGetParams
NewAccountLookupGetParamsWithHTTPClient creates a new AccountLookupGetParams object with the ability to set a custom HTTPClient for a request.
func NewAccountLookupGetParamsWithTimeout ¶
func NewAccountLookupGetParamsWithTimeout(timeout time.Duration) *AccountLookupGetParams
NewAccountLookupGetParamsWithTimeout creates a new AccountLookupGetParams object with the ability to set a timeout on a request.
func (*AccountLookupGetParams) SetAcct ¶
func (o *AccountLookupGetParams) SetAcct(acct string)
SetAcct adds the acct to the account lookup get params
func (*AccountLookupGetParams) SetContext ¶
func (o *AccountLookupGetParams) SetContext(ctx context.Context)
SetContext adds the context to the account lookup get params
func (*AccountLookupGetParams) SetDefaults ¶
func (o *AccountLookupGetParams) SetDefaults()
SetDefaults hydrates default values in the account lookup get params (not the query body).
All values with no default are reset to their zero value.
func (*AccountLookupGetParams) SetHTTPClient ¶
func (o *AccountLookupGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account lookup get params
func (*AccountLookupGetParams) SetTimeout ¶
func (o *AccountLookupGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account lookup get params
func (*AccountLookupGetParams) WithAcct ¶
func (o *AccountLookupGetParams) WithAcct(acct string) *AccountLookupGetParams
WithAcct adds the acct to the account lookup get params
func (*AccountLookupGetParams) WithContext ¶
func (o *AccountLookupGetParams) WithContext(ctx context.Context) *AccountLookupGetParams
WithContext adds the context to the account lookup get params
func (*AccountLookupGetParams) WithDefaults ¶
func (o *AccountLookupGetParams) WithDefaults() *AccountLookupGetParams
WithDefaults hydrates default values in the account lookup get params (not the query body).
All values with no default are reset to their zero value.
func (*AccountLookupGetParams) WithHTTPClient ¶
func (o *AccountLookupGetParams) WithHTTPClient(client *http.Client) *AccountLookupGetParams
WithHTTPClient adds the HTTPClient to the account lookup get params
func (*AccountLookupGetParams) WithTimeout ¶
func (o *AccountLookupGetParams) WithTimeout(timeout time.Duration) *AccountLookupGetParams
WithTimeout adds the timeout to the account lookup get params
func (*AccountLookupGetParams) WriteToRequest ¶
func (o *AccountLookupGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountLookupGetReader ¶
type AccountLookupGetReader struct {
// contains filtered or unexported fields
}
AccountLookupGetReader is a Reader for the AccountLookupGet structure.
func (*AccountLookupGetReader) ReadResponse ¶
func (o *AccountLookupGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountLookupGetUnauthorized ¶
type AccountLookupGetUnauthorized struct { }
AccountLookupGetUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountLookupGetUnauthorized ¶
func NewAccountLookupGetUnauthorized() *AccountLookupGetUnauthorized
NewAccountLookupGetUnauthorized creates a AccountLookupGetUnauthorized with default headers values
func (*AccountLookupGetUnauthorized) Code ¶
func (o *AccountLookupGetUnauthorized) Code() int
Code gets the status code for the account lookup get unauthorized response
func (*AccountLookupGetUnauthorized) Error ¶
func (o *AccountLookupGetUnauthorized) Error() string
func (*AccountLookupGetUnauthorized) IsClientError ¶
func (o *AccountLookupGetUnauthorized) IsClientError() bool
IsClientError returns true when this account lookup get unauthorized response has a 4xx status code
func (*AccountLookupGetUnauthorized) IsCode ¶
func (o *AccountLookupGetUnauthorized) IsCode(code int) bool
IsCode returns true when this account lookup get unauthorized response a status code equal to that given
func (*AccountLookupGetUnauthorized) IsRedirect ¶
func (o *AccountLookupGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this account lookup get unauthorized response has a 3xx status code
func (*AccountLookupGetUnauthorized) IsServerError ¶
func (o *AccountLookupGetUnauthorized) IsServerError() bool
IsServerError returns true when this account lookup get unauthorized response has a 5xx status code
func (*AccountLookupGetUnauthorized) IsSuccess ¶
func (o *AccountLookupGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this account lookup get unauthorized response has a 2xx status code
func (*AccountLookupGetUnauthorized) String ¶
func (o *AccountLookupGetUnauthorized) String() string
type AccountMoveAccepted ¶
type AccountMoveAccepted struct { }
AccountMoveAccepted describes a response with status code 202, with default header values.
The account move has been accepted and the account will be moved.
func NewAccountMoveAccepted ¶
func NewAccountMoveAccepted() *AccountMoveAccepted
NewAccountMoveAccepted creates a AccountMoveAccepted with default headers values
func (*AccountMoveAccepted) Code ¶
func (o *AccountMoveAccepted) Code() int
Code gets the status code for the account move accepted response
func (*AccountMoveAccepted) Error ¶
func (o *AccountMoveAccepted) Error() string
func (*AccountMoveAccepted) IsClientError ¶
func (o *AccountMoveAccepted) IsClientError() bool
IsClientError returns true when this account move accepted response has a 4xx status code
func (*AccountMoveAccepted) IsCode ¶
func (o *AccountMoveAccepted) IsCode(code int) bool
IsCode returns true when this account move accepted response a status code equal to that given
func (*AccountMoveAccepted) IsRedirect ¶
func (o *AccountMoveAccepted) IsRedirect() bool
IsRedirect returns true when this account move accepted response has a 3xx status code
func (*AccountMoveAccepted) IsServerError ¶
func (o *AccountMoveAccepted) IsServerError() bool
IsServerError returns true when this account move accepted response has a 5xx status code
func (*AccountMoveAccepted) IsSuccess ¶
func (o *AccountMoveAccepted) IsSuccess() bool
IsSuccess returns true when this account move accepted response has a 2xx status code
func (*AccountMoveAccepted) String ¶
func (o *AccountMoveAccepted) String() string
type AccountMoveBadRequest ¶
type AccountMoveBadRequest struct { }
AccountMoveBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountMoveBadRequest ¶
func NewAccountMoveBadRequest() *AccountMoveBadRequest
NewAccountMoveBadRequest creates a AccountMoveBadRequest with default headers values
func (*AccountMoveBadRequest) Code ¶
func (o *AccountMoveBadRequest) Code() int
Code gets the status code for the account move bad request response
func (*AccountMoveBadRequest) Error ¶
func (o *AccountMoveBadRequest) Error() string
func (*AccountMoveBadRequest) IsClientError ¶
func (o *AccountMoveBadRequest) IsClientError() bool
IsClientError returns true when this account move bad request response has a 4xx status code
func (*AccountMoveBadRequest) IsCode ¶
func (o *AccountMoveBadRequest) IsCode(code int) bool
IsCode returns true when this account move bad request response a status code equal to that given
func (*AccountMoveBadRequest) IsRedirect ¶
func (o *AccountMoveBadRequest) IsRedirect() bool
IsRedirect returns true when this account move bad request response has a 3xx status code
func (*AccountMoveBadRequest) IsServerError ¶
func (o *AccountMoveBadRequest) IsServerError() bool
IsServerError returns true when this account move bad request response has a 5xx status code
func (*AccountMoveBadRequest) IsSuccess ¶
func (o *AccountMoveBadRequest) IsSuccess() bool
IsSuccess returns true when this account move bad request response has a 2xx status code
func (*AccountMoveBadRequest) String ¶
func (o *AccountMoveBadRequest) String() string
type AccountMoveInternalServerError ¶
type AccountMoveInternalServerError struct { }
AccountMoveInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountMoveInternalServerError ¶
func NewAccountMoveInternalServerError() *AccountMoveInternalServerError
NewAccountMoveInternalServerError creates a AccountMoveInternalServerError with default headers values
func (*AccountMoveInternalServerError) Code ¶
func (o *AccountMoveInternalServerError) Code() int
Code gets the status code for the account move internal server error response
func (*AccountMoveInternalServerError) Error ¶
func (o *AccountMoveInternalServerError) Error() string
func (*AccountMoveInternalServerError) IsClientError ¶
func (o *AccountMoveInternalServerError) IsClientError() bool
IsClientError returns true when this account move internal server error response has a 4xx status code
func (*AccountMoveInternalServerError) IsCode ¶
func (o *AccountMoveInternalServerError) IsCode(code int) bool
IsCode returns true when this account move internal server error response a status code equal to that given
func (*AccountMoveInternalServerError) IsRedirect ¶
func (o *AccountMoveInternalServerError) IsRedirect() bool
IsRedirect returns true when this account move internal server error response has a 3xx status code
func (*AccountMoveInternalServerError) IsServerError ¶
func (o *AccountMoveInternalServerError) IsServerError() bool
IsServerError returns true when this account move internal server error response has a 5xx status code
func (*AccountMoveInternalServerError) IsSuccess ¶
func (o *AccountMoveInternalServerError) IsSuccess() bool
IsSuccess returns true when this account move internal server error response has a 2xx status code
func (*AccountMoveInternalServerError) String ¶
func (o *AccountMoveInternalServerError) String() string
type AccountMoveNotAcceptable ¶
type AccountMoveNotAcceptable struct { }
AccountMoveNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountMoveNotAcceptable ¶
func NewAccountMoveNotAcceptable() *AccountMoveNotAcceptable
NewAccountMoveNotAcceptable creates a AccountMoveNotAcceptable with default headers values
func (*AccountMoveNotAcceptable) Code ¶
func (o *AccountMoveNotAcceptable) Code() int
Code gets the status code for the account move not acceptable response
func (*AccountMoveNotAcceptable) Error ¶
func (o *AccountMoveNotAcceptable) Error() string
func (*AccountMoveNotAcceptable) IsClientError ¶
func (o *AccountMoveNotAcceptable) IsClientError() bool
IsClientError returns true when this account move not acceptable response has a 4xx status code
func (*AccountMoveNotAcceptable) IsCode ¶
func (o *AccountMoveNotAcceptable) IsCode(code int) bool
IsCode returns true when this account move not acceptable response a status code equal to that given
func (*AccountMoveNotAcceptable) IsRedirect ¶
func (o *AccountMoveNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account move not acceptable response has a 3xx status code
func (*AccountMoveNotAcceptable) IsServerError ¶
func (o *AccountMoveNotAcceptable) IsServerError() bool
IsServerError returns true when this account move not acceptable response has a 5xx status code
func (*AccountMoveNotAcceptable) IsSuccess ¶
func (o *AccountMoveNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account move not acceptable response has a 2xx status code
func (*AccountMoveNotAcceptable) String ¶
func (o *AccountMoveNotAcceptable) String() string
type AccountMoveNotFound ¶
type AccountMoveNotFound struct { }
AccountMoveNotFound describes a response with status code 404, with default header values.
not found
func NewAccountMoveNotFound ¶
func NewAccountMoveNotFound() *AccountMoveNotFound
NewAccountMoveNotFound creates a AccountMoveNotFound with default headers values
func (*AccountMoveNotFound) Code ¶
func (o *AccountMoveNotFound) Code() int
Code gets the status code for the account move not found response
func (*AccountMoveNotFound) Error ¶
func (o *AccountMoveNotFound) Error() string
func (*AccountMoveNotFound) IsClientError ¶
func (o *AccountMoveNotFound) IsClientError() bool
IsClientError returns true when this account move not found response has a 4xx status code
func (*AccountMoveNotFound) IsCode ¶
func (o *AccountMoveNotFound) IsCode(code int) bool
IsCode returns true when this account move not found response a status code equal to that given
func (*AccountMoveNotFound) IsRedirect ¶
func (o *AccountMoveNotFound) IsRedirect() bool
IsRedirect returns true when this account move not found response has a 3xx status code
func (*AccountMoveNotFound) IsServerError ¶
func (o *AccountMoveNotFound) IsServerError() bool
IsServerError returns true when this account move not found response has a 5xx status code
func (*AccountMoveNotFound) IsSuccess ¶
func (o *AccountMoveNotFound) IsSuccess() bool
IsSuccess returns true when this account move not found response has a 2xx status code
func (*AccountMoveNotFound) String ¶
func (o *AccountMoveNotFound) String() string
type AccountMoveParams ¶
type AccountMoveParams struct { /* MovedToURI. ActivityPub URI/ID of the target account. Eg., `https://example.org/users/some_account`. The target account must be alsoKnownAs the requesting account in order for the move to be successful. */ MovedToURI string /* Password. Password of the account user, for confirmation. */ Password string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountMoveParams contains all the parameters to send to the API endpoint
for the account move operation. Typically these are written to a http.Request.
func NewAccountMoveParams ¶
func NewAccountMoveParams() *AccountMoveParams
NewAccountMoveParams creates a new AccountMoveParams 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 NewAccountMoveParamsWithContext ¶
func NewAccountMoveParamsWithContext(ctx context.Context) *AccountMoveParams
NewAccountMoveParamsWithContext creates a new AccountMoveParams object with the ability to set a context for a request.
func NewAccountMoveParamsWithHTTPClient ¶
func NewAccountMoveParamsWithHTTPClient(client *http.Client) *AccountMoveParams
NewAccountMoveParamsWithHTTPClient creates a new AccountMoveParams object with the ability to set a custom HTTPClient for a request.
func NewAccountMoveParamsWithTimeout ¶
func NewAccountMoveParamsWithTimeout(timeout time.Duration) *AccountMoveParams
NewAccountMoveParamsWithTimeout creates a new AccountMoveParams object with the ability to set a timeout on a request.
func (*AccountMoveParams) SetContext ¶
func (o *AccountMoveParams) SetContext(ctx context.Context)
SetContext adds the context to the account move params
func (*AccountMoveParams) SetDefaults ¶
func (o *AccountMoveParams) SetDefaults()
SetDefaults hydrates default values in the account move params (not the query body).
All values with no default are reset to their zero value.
func (*AccountMoveParams) SetHTTPClient ¶
func (o *AccountMoveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account move params
func (*AccountMoveParams) SetMovedToURI ¶
func (o *AccountMoveParams) SetMovedToURI(movedToURI string)
SetMovedToURI adds the movedToUri to the account move params
func (*AccountMoveParams) SetPassword ¶
func (o *AccountMoveParams) SetPassword(password string)
SetPassword adds the password to the account move params
func (*AccountMoveParams) SetTimeout ¶
func (o *AccountMoveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account move params
func (*AccountMoveParams) WithContext ¶
func (o *AccountMoveParams) WithContext(ctx context.Context) *AccountMoveParams
WithContext adds the context to the account move params
func (*AccountMoveParams) WithDefaults ¶
func (o *AccountMoveParams) WithDefaults() *AccountMoveParams
WithDefaults hydrates default values in the account move params (not the query body).
All values with no default are reset to their zero value.
func (*AccountMoveParams) WithHTTPClient ¶
func (o *AccountMoveParams) WithHTTPClient(client *http.Client) *AccountMoveParams
WithHTTPClient adds the HTTPClient to the account move params
func (*AccountMoveParams) WithMovedToURI ¶
func (o *AccountMoveParams) WithMovedToURI(movedToURI string) *AccountMoveParams
WithMovedToURI adds the movedToURI to the account move params
func (*AccountMoveParams) WithPassword ¶
func (o *AccountMoveParams) WithPassword(password string) *AccountMoveParams
WithPassword adds the password to the account move params
func (*AccountMoveParams) WithTimeout ¶
func (o *AccountMoveParams) WithTimeout(timeout time.Duration) *AccountMoveParams
WithTimeout adds the timeout to the account move params
func (*AccountMoveParams) WriteToRequest ¶
func (o *AccountMoveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountMoveReader ¶
type AccountMoveReader struct {
// contains filtered or unexported fields
}
AccountMoveReader is a Reader for the AccountMove structure.
func (*AccountMoveReader) ReadResponse ¶
func (o *AccountMoveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountMoveUnauthorized ¶
type AccountMoveUnauthorized struct { }
AccountMoveUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountMoveUnauthorized ¶
func NewAccountMoveUnauthorized() *AccountMoveUnauthorized
NewAccountMoveUnauthorized creates a AccountMoveUnauthorized with default headers values
func (*AccountMoveUnauthorized) Code ¶
func (o *AccountMoveUnauthorized) Code() int
Code gets the status code for the account move unauthorized response
func (*AccountMoveUnauthorized) Error ¶
func (o *AccountMoveUnauthorized) Error() string
func (*AccountMoveUnauthorized) IsClientError ¶
func (o *AccountMoveUnauthorized) IsClientError() bool
IsClientError returns true when this account move unauthorized response has a 4xx status code
func (*AccountMoveUnauthorized) IsCode ¶
func (o *AccountMoveUnauthorized) IsCode(code int) bool
IsCode returns true when this account move unauthorized response a status code equal to that given
func (*AccountMoveUnauthorized) IsRedirect ¶
func (o *AccountMoveUnauthorized) IsRedirect() bool
IsRedirect returns true when this account move unauthorized response has a 3xx status code
func (*AccountMoveUnauthorized) IsServerError ¶
func (o *AccountMoveUnauthorized) IsServerError() bool
IsServerError returns true when this account move unauthorized response has a 5xx status code
func (*AccountMoveUnauthorized) IsSuccess ¶
func (o *AccountMoveUnauthorized) IsSuccess() bool
IsSuccess returns true when this account move unauthorized response has a 2xx status code
func (*AccountMoveUnauthorized) String ¶
func (o *AccountMoveUnauthorized) String() string
type AccountMoveUnprocessableEntity ¶
type AccountMoveUnprocessableEntity struct { }
AccountMoveUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable. Check the response body for more details.
func NewAccountMoveUnprocessableEntity ¶
func NewAccountMoveUnprocessableEntity() *AccountMoveUnprocessableEntity
NewAccountMoveUnprocessableEntity creates a AccountMoveUnprocessableEntity with default headers values
func (*AccountMoveUnprocessableEntity) Code ¶
func (o *AccountMoveUnprocessableEntity) Code() int
Code gets the status code for the account move unprocessable entity response
func (*AccountMoveUnprocessableEntity) Error ¶
func (o *AccountMoveUnprocessableEntity) Error() string
func (*AccountMoveUnprocessableEntity) IsClientError ¶
func (o *AccountMoveUnprocessableEntity) IsClientError() bool
IsClientError returns true when this account move unprocessable entity response has a 4xx status code
func (*AccountMoveUnprocessableEntity) IsCode ¶
func (o *AccountMoveUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this account move unprocessable entity response a status code equal to that given
func (*AccountMoveUnprocessableEntity) IsRedirect ¶
func (o *AccountMoveUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this account move unprocessable entity response has a 3xx status code
func (*AccountMoveUnprocessableEntity) IsServerError ¶
func (o *AccountMoveUnprocessableEntity) IsServerError() bool
IsServerError returns true when this account move unprocessable entity response has a 5xx status code
func (*AccountMoveUnprocessableEntity) IsSuccess ¶
func (o *AccountMoveUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this account move unprocessable entity response has a 2xx status code
func (*AccountMoveUnprocessableEntity) String ¶
func (o *AccountMoveUnprocessableEntity) String() string
type AccountMuteBadRequest ¶
type AccountMuteBadRequest struct { }
AccountMuteBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountMuteBadRequest ¶
func NewAccountMuteBadRequest() *AccountMuteBadRequest
NewAccountMuteBadRequest creates a AccountMuteBadRequest with default headers values
func (*AccountMuteBadRequest) Code ¶
func (o *AccountMuteBadRequest) Code() int
Code gets the status code for the account mute bad request response
func (*AccountMuteBadRequest) Error ¶
func (o *AccountMuteBadRequest) Error() string
func (*AccountMuteBadRequest) IsClientError ¶
func (o *AccountMuteBadRequest) IsClientError() bool
IsClientError returns true when this account mute bad request response has a 4xx status code
func (*AccountMuteBadRequest) IsCode ¶
func (o *AccountMuteBadRequest) IsCode(code int) bool
IsCode returns true when this account mute bad request response a status code equal to that given
func (*AccountMuteBadRequest) IsRedirect ¶
func (o *AccountMuteBadRequest) IsRedirect() bool
IsRedirect returns true when this account mute bad request response has a 3xx status code
func (*AccountMuteBadRequest) IsServerError ¶
func (o *AccountMuteBadRequest) IsServerError() bool
IsServerError returns true when this account mute bad request response has a 5xx status code
func (*AccountMuteBadRequest) IsSuccess ¶
func (o *AccountMuteBadRequest) IsSuccess() bool
IsSuccess returns true when this account mute bad request response has a 2xx status code
func (*AccountMuteBadRequest) String ¶
func (o *AccountMuteBadRequest) String() string
type AccountMuteForbidden ¶
type AccountMuteForbidden struct { }
AccountMuteForbidden describes a response with status code 403, with default header values.
forbidden to moved accounts
func NewAccountMuteForbidden ¶
func NewAccountMuteForbidden() *AccountMuteForbidden
NewAccountMuteForbidden creates a AccountMuteForbidden with default headers values
func (*AccountMuteForbidden) Code ¶
func (o *AccountMuteForbidden) Code() int
Code gets the status code for the account mute forbidden response
func (*AccountMuteForbidden) Error ¶
func (o *AccountMuteForbidden) Error() string
func (*AccountMuteForbidden) IsClientError ¶
func (o *AccountMuteForbidden) IsClientError() bool
IsClientError returns true when this account mute forbidden response has a 4xx status code
func (*AccountMuteForbidden) IsCode ¶
func (o *AccountMuteForbidden) IsCode(code int) bool
IsCode returns true when this account mute forbidden response a status code equal to that given
func (*AccountMuteForbidden) IsRedirect ¶
func (o *AccountMuteForbidden) IsRedirect() bool
IsRedirect returns true when this account mute forbidden response has a 3xx status code
func (*AccountMuteForbidden) IsServerError ¶
func (o *AccountMuteForbidden) IsServerError() bool
IsServerError returns true when this account mute forbidden response has a 5xx status code
func (*AccountMuteForbidden) IsSuccess ¶
func (o *AccountMuteForbidden) IsSuccess() bool
IsSuccess returns true when this account mute forbidden response has a 2xx status code
func (*AccountMuteForbidden) String ¶
func (o *AccountMuteForbidden) String() string
type AccountMuteInternalServerError ¶
type AccountMuteInternalServerError struct { }
AccountMuteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountMuteInternalServerError ¶
func NewAccountMuteInternalServerError() *AccountMuteInternalServerError
NewAccountMuteInternalServerError creates a AccountMuteInternalServerError with default headers values
func (*AccountMuteInternalServerError) Code ¶
func (o *AccountMuteInternalServerError) Code() int
Code gets the status code for the account mute internal server error response
func (*AccountMuteInternalServerError) Error ¶
func (o *AccountMuteInternalServerError) Error() string
func (*AccountMuteInternalServerError) IsClientError ¶
func (o *AccountMuteInternalServerError) IsClientError() bool
IsClientError returns true when this account mute internal server error response has a 4xx status code
func (*AccountMuteInternalServerError) IsCode ¶
func (o *AccountMuteInternalServerError) IsCode(code int) bool
IsCode returns true when this account mute internal server error response a status code equal to that given
func (*AccountMuteInternalServerError) IsRedirect ¶
func (o *AccountMuteInternalServerError) IsRedirect() bool
IsRedirect returns true when this account mute internal server error response has a 3xx status code
func (*AccountMuteInternalServerError) IsServerError ¶
func (o *AccountMuteInternalServerError) IsServerError() bool
IsServerError returns true when this account mute internal server error response has a 5xx status code
func (*AccountMuteInternalServerError) IsSuccess ¶
func (o *AccountMuteInternalServerError) IsSuccess() bool
IsSuccess returns true when this account mute internal server error response has a 2xx status code
func (*AccountMuteInternalServerError) String ¶
func (o *AccountMuteInternalServerError) String() string
type AccountMuteNotAcceptable ¶
type AccountMuteNotAcceptable struct { }
AccountMuteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountMuteNotAcceptable ¶
func NewAccountMuteNotAcceptable() *AccountMuteNotAcceptable
NewAccountMuteNotAcceptable creates a AccountMuteNotAcceptable with default headers values
func (*AccountMuteNotAcceptable) Code ¶
func (o *AccountMuteNotAcceptable) Code() int
Code gets the status code for the account mute not acceptable response
func (*AccountMuteNotAcceptable) Error ¶
func (o *AccountMuteNotAcceptable) Error() string
func (*AccountMuteNotAcceptable) IsClientError ¶
func (o *AccountMuteNotAcceptable) IsClientError() bool
IsClientError returns true when this account mute not acceptable response has a 4xx status code
func (*AccountMuteNotAcceptable) IsCode ¶
func (o *AccountMuteNotAcceptable) IsCode(code int) bool
IsCode returns true when this account mute not acceptable response a status code equal to that given
func (*AccountMuteNotAcceptable) IsRedirect ¶
func (o *AccountMuteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account mute not acceptable response has a 3xx status code
func (*AccountMuteNotAcceptable) IsServerError ¶
func (o *AccountMuteNotAcceptable) IsServerError() bool
IsServerError returns true when this account mute not acceptable response has a 5xx status code
func (*AccountMuteNotAcceptable) IsSuccess ¶
func (o *AccountMuteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account mute not acceptable response has a 2xx status code
func (*AccountMuteNotAcceptable) String ¶
func (o *AccountMuteNotAcceptable) String() string
type AccountMuteNotFound ¶
type AccountMuteNotFound struct { }
AccountMuteNotFound describes a response with status code 404, with default header values.
not found
func NewAccountMuteNotFound ¶
func NewAccountMuteNotFound() *AccountMuteNotFound
NewAccountMuteNotFound creates a AccountMuteNotFound with default headers values
func (*AccountMuteNotFound) Code ¶
func (o *AccountMuteNotFound) Code() int
Code gets the status code for the account mute not found response
func (*AccountMuteNotFound) Error ¶
func (o *AccountMuteNotFound) Error() string
func (*AccountMuteNotFound) IsClientError ¶
func (o *AccountMuteNotFound) IsClientError() bool
IsClientError returns true when this account mute not found response has a 4xx status code
func (*AccountMuteNotFound) IsCode ¶
func (o *AccountMuteNotFound) IsCode(code int) bool
IsCode returns true when this account mute not found response a status code equal to that given
func (*AccountMuteNotFound) IsRedirect ¶
func (o *AccountMuteNotFound) IsRedirect() bool
IsRedirect returns true when this account mute not found response has a 3xx status code
func (*AccountMuteNotFound) IsServerError ¶
func (o *AccountMuteNotFound) IsServerError() bool
IsServerError returns true when this account mute not found response has a 5xx status code
func (*AccountMuteNotFound) IsSuccess ¶
func (o *AccountMuteNotFound) IsSuccess() bool
IsSuccess returns true when this account mute not found response has a 2xx status code
func (*AccountMuteNotFound) String ¶
func (o *AccountMuteNotFound) String() string
type AccountMuteOK ¶
type AccountMuteOK struct {
Payload *models.Relationship
}
AccountMuteOK describes a response with status code 200, with default header values.
Your relationship to the account.
func NewAccountMuteOK ¶
func NewAccountMuteOK() *AccountMuteOK
NewAccountMuteOK creates a AccountMuteOK with default headers values
func (*AccountMuteOK) Code ¶
func (o *AccountMuteOK) Code() int
Code gets the status code for the account mute o k response
func (*AccountMuteOK) Error ¶
func (o *AccountMuteOK) Error() string
func (*AccountMuteOK) GetPayload ¶
func (o *AccountMuteOK) GetPayload() *models.Relationship
func (*AccountMuteOK) IsClientError ¶
func (o *AccountMuteOK) IsClientError() bool
IsClientError returns true when this account mute o k response has a 4xx status code
func (*AccountMuteOK) IsCode ¶
func (o *AccountMuteOK) IsCode(code int) bool
IsCode returns true when this account mute o k response a status code equal to that given
func (*AccountMuteOK) IsRedirect ¶
func (o *AccountMuteOK) IsRedirect() bool
IsRedirect returns true when this account mute o k response has a 3xx status code
func (*AccountMuteOK) IsServerError ¶
func (o *AccountMuteOK) IsServerError() bool
IsServerError returns true when this account mute o k response has a 5xx status code
func (*AccountMuteOK) IsSuccess ¶
func (o *AccountMuteOK) IsSuccess() bool
IsSuccess returns true when this account mute o k response has a 2xx status code
func (*AccountMuteOK) String ¶
func (o *AccountMuteOK) String() string
type AccountMuteParams ¶
type AccountMuteParams struct { /* Duration. How long the mute should last, in seconds. If 0 or not provided, mute lasts indefinitely. */ Duration *float64 /* ID. The ID of the account to block. */ ID string /* Notifications. Mute notifications as well as posts. */ Notifications *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountMuteParams contains all the parameters to send to the API endpoint
for the account mute operation. Typically these are written to a http.Request.
func NewAccountMuteParams ¶
func NewAccountMuteParams() *AccountMuteParams
NewAccountMuteParams creates a new AccountMuteParams 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 NewAccountMuteParamsWithContext ¶
func NewAccountMuteParamsWithContext(ctx context.Context) *AccountMuteParams
NewAccountMuteParamsWithContext creates a new AccountMuteParams object with the ability to set a context for a request.
func NewAccountMuteParamsWithHTTPClient ¶
func NewAccountMuteParamsWithHTTPClient(client *http.Client) *AccountMuteParams
NewAccountMuteParamsWithHTTPClient creates a new AccountMuteParams object with the ability to set a custom HTTPClient for a request.
func NewAccountMuteParamsWithTimeout ¶
func NewAccountMuteParamsWithTimeout(timeout time.Duration) *AccountMuteParams
NewAccountMuteParamsWithTimeout creates a new AccountMuteParams object with the ability to set a timeout on a request.
func (*AccountMuteParams) SetContext ¶
func (o *AccountMuteParams) SetContext(ctx context.Context)
SetContext adds the context to the account mute params
func (*AccountMuteParams) SetDefaults ¶
func (o *AccountMuteParams) SetDefaults()
SetDefaults hydrates default values in the account mute params (not the query body).
All values with no default are reset to their zero value.
func (*AccountMuteParams) SetDuration ¶
func (o *AccountMuteParams) SetDuration(duration *float64)
SetDuration adds the duration to the account mute params
func (*AccountMuteParams) SetHTTPClient ¶
func (o *AccountMuteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account mute params
func (*AccountMuteParams) SetID ¶
func (o *AccountMuteParams) SetID(id string)
SetID adds the id to the account mute params
func (*AccountMuteParams) SetNotifications ¶
func (o *AccountMuteParams) SetNotifications(notifications *bool)
SetNotifications adds the notifications to the account mute params
func (*AccountMuteParams) SetTimeout ¶
func (o *AccountMuteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account mute params
func (*AccountMuteParams) WithContext ¶
func (o *AccountMuteParams) WithContext(ctx context.Context) *AccountMuteParams
WithContext adds the context to the account mute params
func (*AccountMuteParams) WithDefaults ¶
func (o *AccountMuteParams) WithDefaults() *AccountMuteParams
WithDefaults hydrates default values in the account mute params (not the query body).
All values with no default are reset to their zero value.
func (*AccountMuteParams) WithDuration ¶
func (o *AccountMuteParams) WithDuration(duration *float64) *AccountMuteParams
WithDuration adds the duration to the account mute params
func (*AccountMuteParams) WithHTTPClient ¶
func (o *AccountMuteParams) WithHTTPClient(client *http.Client) *AccountMuteParams
WithHTTPClient adds the HTTPClient to the account mute params
func (*AccountMuteParams) WithID ¶
func (o *AccountMuteParams) WithID(id string) *AccountMuteParams
WithID adds the id to the account mute params
func (*AccountMuteParams) WithNotifications ¶
func (o *AccountMuteParams) WithNotifications(notifications *bool) *AccountMuteParams
WithNotifications adds the notifications to the account mute params
func (*AccountMuteParams) WithTimeout ¶
func (o *AccountMuteParams) WithTimeout(timeout time.Duration) *AccountMuteParams
WithTimeout adds the timeout to the account mute params
func (*AccountMuteParams) WriteToRequest ¶
func (o *AccountMuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountMuteReader ¶
type AccountMuteReader struct {
// contains filtered or unexported fields
}
AccountMuteReader is a Reader for the AccountMute structure.
func (*AccountMuteReader) ReadResponse ¶
func (o *AccountMuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountMuteUnauthorized ¶
type AccountMuteUnauthorized struct { }
AccountMuteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountMuteUnauthorized ¶
func NewAccountMuteUnauthorized() *AccountMuteUnauthorized
NewAccountMuteUnauthorized creates a AccountMuteUnauthorized with default headers values
func (*AccountMuteUnauthorized) Code ¶
func (o *AccountMuteUnauthorized) Code() int
Code gets the status code for the account mute unauthorized response
func (*AccountMuteUnauthorized) Error ¶
func (o *AccountMuteUnauthorized) Error() string
func (*AccountMuteUnauthorized) IsClientError ¶
func (o *AccountMuteUnauthorized) IsClientError() bool
IsClientError returns true when this account mute unauthorized response has a 4xx status code
func (*AccountMuteUnauthorized) IsCode ¶
func (o *AccountMuteUnauthorized) IsCode(code int) bool
IsCode returns true when this account mute unauthorized response a status code equal to that given
func (*AccountMuteUnauthorized) IsRedirect ¶
func (o *AccountMuteUnauthorized) IsRedirect() bool
IsRedirect returns true when this account mute unauthorized response has a 3xx status code
func (*AccountMuteUnauthorized) IsServerError ¶
func (o *AccountMuteUnauthorized) IsServerError() bool
IsServerError returns true when this account mute unauthorized response has a 5xx status code
func (*AccountMuteUnauthorized) IsSuccess ¶
func (o *AccountMuteUnauthorized) IsSuccess() bool
IsSuccess returns true when this account mute unauthorized response has a 2xx status code
func (*AccountMuteUnauthorized) String ¶
func (o *AccountMuteUnauthorized) String() string
type AccountNoteBadRequest ¶
type AccountNoteBadRequest struct { }
AccountNoteBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountNoteBadRequest ¶
func NewAccountNoteBadRequest() *AccountNoteBadRequest
NewAccountNoteBadRequest creates a AccountNoteBadRequest with default headers values
func (*AccountNoteBadRequest) Code ¶
func (o *AccountNoteBadRequest) Code() int
Code gets the status code for the account note bad request response
func (*AccountNoteBadRequest) Error ¶
func (o *AccountNoteBadRequest) Error() string
func (*AccountNoteBadRequest) IsClientError ¶
func (o *AccountNoteBadRequest) IsClientError() bool
IsClientError returns true when this account note bad request response has a 4xx status code
func (*AccountNoteBadRequest) IsCode ¶
func (o *AccountNoteBadRequest) IsCode(code int) bool
IsCode returns true when this account note bad request response a status code equal to that given
func (*AccountNoteBadRequest) IsRedirect ¶
func (o *AccountNoteBadRequest) IsRedirect() bool
IsRedirect returns true when this account note bad request response has a 3xx status code
func (*AccountNoteBadRequest) IsServerError ¶
func (o *AccountNoteBadRequest) IsServerError() bool
IsServerError returns true when this account note bad request response has a 5xx status code
func (*AccountNoteBadRequest) IsSuccess ¶
func (o *AccountNoteBadRequest) IsSuccess() bool
IsSuccess returns true when this account note bad request response has a 2xx status code
func (*AccountNoteBadRequest) String ¶
func (o *AccountNoteBadRequest) String() string
type AccountNoteInternalServerError ¶
type AccountNoteInternalServerError struct { }
AccountNoteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountNoteInternalServerError ¶
func NewAccountNoteInternalServerError() *AccountNoteInternalServerError
NewAccountNoteInternalServerError creates a AccountNoteInternalServerError with default headers values
func (*AccountNoteInternalServerError) Code ¶
func (o *AccountNoteInternalServerError) Code() int
Code gets the status code for the account note internal server error response
func (*AccountNoteInternalServerError) Error ¶
func (o *AccountNoteInternalServerError) Error() string
func (*AccountNoteInternalServerError) IsClientError ¶
func (o *AccountNoteInternalServerError) IsClientError() bool
IsClientError returns true when this account note internal server error response has a 4xx status code
func (*AccountNoteInternalServerError) IsCode ¶
func (o *AccountNoteInternalServerError) IsCode(code int) bool
IsCode returns true when this account note internal server error response a status code equal to that given
func (*AccountNoteInternalServerError) IsRedirect ¶
func (o *AccountNoteInternalServerError) IsRedirect() bool
IsRedirect returns true when this account note internal server error response has a 3xx status code
func (*AccountNoteInternalServerError) IsServerError ¶
func (o *AccountNoteInternalServerError) IsServerError() bool
IsServerError returns true when this account note internal server error response has a 5xx status code
func (*AccountNoteInternalServerError) IsSuccess ¶
func (o *AccountNoteInternalServerError) IsSuccess() bool
IsSuccess returns true when this account note internal server error response has a 2xx status code
func (*AccountNoteInternalServerError) String ¶
func (o *AccountNoteInternalServerError) String() string
type AccountNoteNotAcceptable ¶
type AccountNoteNotAcceptable struct { }
AccountNoteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountNoteNotAcceptable ¶
func NewAccountNoteNotAcceptable() *AccountNoteNotAcceptable
NewAccountNoteNotAcceptable creates a AccountNoteNotAcceptable with default headers values
func (*AccountNoteNotAcceptable) Code ¶
func (o *AccountNoteNotAcceptable) Code() int
Code gets the status code for the account note not acceptable response
func (*AccountNoteNotAcceptable) Error ¶
func (o *AccountNoteNotAcceptable) Error() string
func (*AccountNoteNotAcceptable) IsClientError ¶
func (o *AccountNoteNotAcceptable) IsClientError() bool
IsClientError returns true when this account note not acceptable response has a 4xx status code
func (*AccountNoteNotAcceptable) IsCode ¶
func (o *AccountNoteNotAcceptable) IsCode(code int) bool
IsCode returns true when this account note not acceptable response a status code equal to that given
func (*AccountNoteNotAcceptable) IsRedirect ¶
func (o *AccountNoteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account note not acceptable response has a 3xx status code
func (*AccountNoteNotAcceptable) IsServerError ¶
func (o *AccountNoteNotAcceptable) IsServerError() bool
IsServerError returns true when this account note not acceptable response has a 5xx status code
func (*AccountNoteNotAcceptable) IsSuccess ¶
func (o *AccountNoteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account note not acceptable response has a 2xx status code
func (*AccountNoteNotAcceptable) String ¶
func (o *AccountNoteNotAcceptable) String() string
type AccountNoteNotFound ¶
type AccountNoteNotFound struct { }
AccountNoteNotFound describes a response with status code 404, with default header values.
not found
func NewAccountNoteNotFound ¶
func NewAccountNoteNotFound() *AccountNoteNotFound
NewAccountNoteNotFound creates a AccountNoteNotFound with default headers values
func (*AccountNoteNotFound) Code ¶
func (o *AccountNoteNotFound) Code() int
Code gets the status code for the account note not found response
func (*AccountNoteNotFound) Error ¶
func (o *AccountNoteNotFound) Error() string
func (*AccountNoteNotFound) IsClientError ¶
func (o *AccountNoteNotFound) IsClientError() bool
IsClientError returns true when this account note not found response has a 4xx status code
func (*AccountNoteNotFound) IsCode ¶
func (o *AccountNoteNotFound) IsCode(code int) bool
IsCode returns true when this account note not found response a status code equal to that given
func (*AccountNoteNotFound) IsRedirect ¶
func (o *AccountNoteNotFound) IsRedirect() bool
IsRedirect returns true when this account note not found response has a 3xx status code
func (*AccountNoteNotFound) IsServerError ¶
func (o *AccountNoteNotFound) IsServerError() bool
IsServerError returns true when this account note not found response has a 5xx status code
func (*AccountNoteNotFound) IsSuccess ¶
func (o *AccountNoteNotFound) IsSuccess() bool
IsSuccess returns true when this account note not found response has a 2xx status code
func (*AccountNoteNotFound) String ¶
func (o *AccountNoteNotFound) String() string
type AccountNoteOK ¶
type AccountNoteOK struct {
Payload *models.Relationship
}
AccountNoteOK describes a response with status code 200, with default header values.
Your relationship to the account.
func NewAccountNoteOK ¶
func NewAccountNoteOK() *AccountNoteOK
NewAccountNoteOK creates a AccountNoteOK with default headers values
func (*AccountNoteOK) Code ¶
func (o *AccountNoteOK) Code() int
Code gets the status code for the account note o k response
func (*AccountNoteOK) Error ¶
func (o *AccountNoteOK) Error() string
func (*AccountNoteOK) GetPayload ¶
func (o *AccountNoteOK) GetPayload() *models.Relationship
func (*AccountNoteOK) IsClientError ¶
func (o *AccountNoteOK) IsClientError() bool
IsClientError returns true when this account note o k response has a 4xx status code
func (*AccountNoteOK) IsCode ¶
func (o *AccountNoteOK) IsCode(code int) bool
IsCode returns true when this account note o k response a status code equal to that given
func (*AccountNoteOK) IsRedirect ¶
func (o *AccountNoteOK) IsRedirect() bool
IsRedirect returns true when this account note o k response has a 3xx status code
func (*AccountNoteOK) IsServerError ¶
func (o *AccountNoteOK) IsServerError() bool
IsServerError returns true when this account note o k response has a 5xx status code
func (*AccountNoteOK) IsSuccess ¶
func (o *AccountNoteOK) IsSuccess() bool
IsSuccess returns true when this account note o k response has a 2xx status code
func (*AccountNoteOK) String ¶
func (o *AccountNoteOK) String() string
type AccountNoteParams ¶
type AccountNoteParams struct { /* Comment. The text of the note. Omit this parameter or send an empty string to clear the note. */ Comment *string /* ID. The id of the account for which to set a note. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountNoteParams contains all the parameters to send to the API endpoint
for the account note operation. Typically these are written to a http.Request.
func NewAccountNoteParams ¶
func NewAccountNoteParams() *AccountNoteParams
NewAccountNoteParams creates a new AccountNoteParams 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 NewAccountNoteParamsWithContext ¶
func NewAccountNoteParamsWithContext(ctx context.Context) *AccountNoteParams
NewAccountNoteParamsWithContext creates a new AccountNoteParams object with the ability to set a context for a request.
func NewAccountNoteParamsWithHTTPClient ¶
func NewAccountNoteParamsWithHTTPClient(client *http.Client) *AccountNoteParams
NewAccountNoteParamsWithHTTPClient creates a new AccountNoteParams object with the ability to set a custom HTTPClient for a request.
func NewAccountNoteParamsWithTimeout ¶
func NewAccountNoteParamsWithTimeout(timeout time.Duration) *AccountNoteParams
NewAccountNoteParamsWithTimeout creates a new AccountNoteParams object with the ability to set a timeout on a request.
func (*AccountNoteParams) SetComment ¶
func (o *AccountNoteParams) SetComment(comment *string)
SetComment adds the comment to the account note params
func (*AccountNoteParams) SetContext ¶
func (o *AccountNoteParams) SetContext(ctx context.Context)
SetContext adds the context to the account note params
func (*AccountNoteParams) SetDefaults ¶
func (o *AccountNoteParams) SetDefaults()
SetDefaults hydrates default values in the account note params (not the query body).
All values with no default are reset to their zero value.
func (*AccountNoteParams) SetHTTPClient ¶
func (o *AccountNoteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account note params
func (*AccountNoteParams) SetID ¶
func (o *AccountNoteParams) SetID(id string)
SetID adds the id to the account note params
func (*AccountNoteParams) SetTimeout ¶
func (o *AccountNoteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account note params
func (*AccountNoteParams) WithComment ¶
func (o *AccountNoteParams) WithComment(comment *string) *AccountNoteParams
WithComment adds the comment to the account note params
func (*AccountNoteParams) WithContext ¶
func (o *AccountNoteParams) WithContext(ctx context.Context) *AccountNoteParams
WithContext adds the context to the account note params
func (*AccountNoteParams) WithDefaults ¶
func (o *AccountNoteParams) WithDefaults() *AccountNoteParams
WithDefaults hydrates default values in the account note params (not the query body).
All values with no default are reset to their zero value.
func (*AccountNoteParams) WithHTTPClient ¶
func (o *AccountNoteParams) WithHTTPClient(client *http.Client) *AccountNoteParams
WithHTTPClient adds the HTTPClient to the account note params
func (*AccountNoteParams) WithID ¶
func (o *AccountNoteParams) WithID(id string) *AccountNoteParams
WithID adds the id to the account note params
func (*AccountNoteParams) WithTimeout ¶
func (o *AccountNoteParams) WithTimeout(timeout time.Duration) *AccountNoteParams
WithTimeout adds the timeout to the account note params
func (*AccountNoteParams) WriteToRequest ¶
func (o *AccountNoteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountNoteReader ¶
type AccountNoteReader struct {
// contains filtered or unexported fields
}
AccountNoteReader is a Reader for the AccountNote structure.
func (*AccountNoteReader) ReadResponse ¶
func (o *AccountNoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountNoteUnauthorized ¶
type AccountNoteUnauthorized struct { }
AccountNoteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountNoteUnauthorized ¶
func NewAccountNoteUnauthorized() *AccountNoteUnauthorized
NewAccountNoteUnauthorized creates a AccountNoteUnauthorized with default headers values
func (*AccountNoteUnauthorized) Code ¶
func (o *AccountNoteUnauthorized) Code() int
Code gets the status code for the account note unauthorized response
func (*AccountNoteUnauthorized) Error ¶
func (o *AccountNoteUnauthorized) Error() string
func (*AccountNoteUnauthorized) IsClientError ¶
func (o *AccountNoteUnauthorized) IsClientError() bool
IsClientError returns true when this account note unauthorized response has a 4xx status code
func (*AccountNoteUnauthorized) IsCode ¶
func (o *AccountNoteUnauthorized) IsCode(code int) bool
IsCode returns true when this account note unauthorized response a status code equal to that given
func (*AccountNoteUnauthorized) IsRedirect ¶
func (o *AccountNoteUnauthorized) IsRedirect() bool
IsRedirect returns true when this account note unauthorized response has a 3xx status code
func (*AccountNoteUnauthorized) IsServerError ¶
func (o *AccountNoteUnauthorized) IsServerError() bool
IsServerError returns true when this account note unauthorized response has a 5xx status code
func (*AccountNoteUnauthorized) IsSuccess ¶
func (o *AccountNoteUnauthorized) IsSuccess() bool
IsSuccess returns true when this account note unauthorized response has a 2xx status code
func (*AccountNoteUnauthorized) String ¶
func (o *AccountNoteUnauthorized) String() string
type AccountRelationshipsBadRequest ¶
type AccountRelationshipsBadRequest struct { }
AccountRelationshipsBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountRelationshipsBadRequest ¶
func NewAccountRelationshipsBadRequest() *AccountRelationshipsBadRequest
NewAccountRelationshipsBadRequest creates a AccountRelationshipsBadRequest with default headers values
func (*AccountRelationshipsBadRequest) Code ¶
func (o *AccountRelationshipsBadRequest) Code() int
Code gets the status code for the account relationships bad request response
func (*AccountRelationshipsBadRequest) Error ¶
func (o *AccountRelationshipsBadRequest) Error() string
func (*AccountRelationshipsBadRequest) IsClientError ¶
func (o *AccountRelationshipsBadRequest) IsClientError() bool
IsClientError returns true when this account relationships bad request response has a 4xx status code
func (*AccountRelationshipsBadRequest) IsCode ¶
func (o *AccountRelationshipsBadRequest) IsCode(code int) bool
IsCode returns true when this account relationships bad request response a status code equal to that given
func (*AccountRelationshipsBadRequest) IsRedirect ¶
func (o *AccountRelationshipsBadRequest) IsRedirect() bool
IsRedirect returns true when this account relationships bad request response has a 3xx status code
func (*AccountRelationshipsBadRequest) IsServerError ¶
func (o *AccountRelationshipsBadRequest) IsServerError() bool
IsServerError returns true when this account relationships bad request response has a 5xx status code
func (*AccountRelationshipsBadRequest) IsSuccess ¶
func (o *AccountRelationshipsBadRequest) IsSuccess() bool
IsSuccess returns true when this account relationships bad request response has a 2xx status code
func (*AccountRelationshipsBadRequest) String ¶
func (o *AccountRelationshipsBadRequest) String() string
type AccountRelationshipsInternalServerError ¶
type AccountRelationshipsInternalServerError struct { }
AccountRelationshipsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountRelationshipsInternalServerError ¶
func NewAccountRelationshipsInternalServerError() *AccountRelationshipsInternalServerError
NewAccountRelationshipsInternalServerError creates a AccountRelationshipsInternalServerError with default headers values
func (*AccountRelationshipsInternalServerError) Code ¶
func (o *AccountRelationshipsInternalServerError) Code() int
Code gets the status code for the account relationships internal server error response
func (*AccountRelationshipsInternalServerError) Error ¶
func (o *AccountRelationshipsInternalServerError) Error() string
func (*AccountRelationshipsInternalServerError) IsClientError ¶
func (o *AccountRelationshipsInternalServerError) IsClientError() bool
IsClientError returns true when this account relationships internal server error response has a 4xx status code
func (*AccountRelationshipsInternalServerError) IsCode ¶
func (o *AccountRelationshipsInternalServerError) IsCode(code int) bool
IsCode returns true when this account relationships internal server error response a status code equal to that given
func (*AccountRelationshipsInternalServerError) IsRedirect ¶
func (o *AccountRelationshipsInternalServerError) IsRedirect() bool
IsRedirect returns true when this account relationships internal server error response has a 3xx status code
func (*AccountRelationshipsInternalServerError) IsServerError ¶
func (o *AccountRelationshipsInternalServerError) IsServerError() bool
IsServerError returns true when this account relationships internal server error response has a 5xx status code
func (*AccountRelationshipsInternalServerError) IsSuccess ¶
func (o *AccountRelationshipsInternalServerError) IsSuccess() bool
IsSuccess returns true when this account relationships internal server error response has a 2xx status code
func (*AccountRelationshipsInternalServerError) String ¶
func (o *AccountRelationshipsInternalServerError) String() string
type AccountRelationshipsNotAcceptable ¶
type AccountRelationshipsNotAcceptable struct { }
AccountRelationshipsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountRelationshipsNotAcceptable ¶
func NewAccountRelationshipsNotAcceptable() *AccountRelationshipsNotAcceptable
NewAccountRelationshipsNotAcceptable creates a AccountRelationshipsNotAcceptable with default headers values
func (*AccountRelationshipsNotAcceptable) Code ¶
func (o *AccountRelationshipsNotAcceptable) Code() int
Code gets the status code for the account relationships not acceptable response
func (*AccountRelationshipsNotAcceptable) Error ¶
func (o *AccountRelationshipsNotAcceptable) Error() string
func (*AccountRelationshipsNotAcceptable) IsClientError ¶
func (o *AccountRelationshipsNotAcceptable) IsClientError() bool
IsClientError returns true when this account relationships not acceptable response has a 4xx status code
func (*AccountRelationshipsNotAcceptable) IsCode ¶
func (o *AccountRelationshipsNotAcceptable) IsCode(code int) bool
IsCode returns true when this account relationships not acceptable response a status code equal to that given
func (*AccountRelationshipsNotAcceptable) IsRedirect ¶
func (o *AccountRelationshipsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account relationships not acceptable response has a 3xx status code
func (*AccountRelationshipsNotAcceptable) IsServerError ¶
func (o *AccountRelationshipsNotAcceptable) IsServerError() bool
IsServerError returns true when this account relationships not acceptable response has a 5xx status code
func (*AccountRelationshipsNotAcceptable) IsSuccess ¶
func (o *AccountRelationshipsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account relationships not acceptable response has a 2xx status code
func (*AccountRelationshipsNotAcceptable) String ¶
func (o *AccountRelationshipsNotAcceptable) String() string
type AccountRelationshipsNotFound ¶
type AccountRelationshipsNotFound struct { }
AccountRelationshipsNotFound describes a response with status code 404, with default header values.
not found
func NewAccountRelationshipsNotFound ¶
func NewAccountRelationshipsNotFound() *AccountRelationshipsNotFound
NewAccountRelationshipsNotFound creates a AccountRelationshipsNotFound with default headers values
func (*AccountRelationshipsNotFound) Code ¶
func (o *AccountRelationshipsNotFound) Code() int
Code gets the status code for the account relationships not found response
func (*AccountRelationshipsNotFound) Error ¶
func (o *AccountRelationshipsNotFound) Error() string
func (*AccountRelationshipsNotFound) IsClientError ¶
func (o *AccountRelationshipsNotFound) IsClientError() bool
IsClientError returns true when this account relationships not found response has a 4xx status code
func (*AccountRelationshipsNotFound) IsCode ¶
func (o *AccountRelationshipsNotFound) IsCode(code int) bool
IsCode returns true when this account relationships not found response a status code equal to that given
func (*AccountRelationshipsNotFound) IsRedirect ¶
func (o *AccountRelationshipsNotFound) IsRedirect() bool
IsRedirect returns true when this account relationships not found response has a 3xx status code
func (*AccountRelationshipsNotFound) IsServerError ¶
func (o *AccountRelationshipsNotFound) IsServerError() bool
IsServerError returns true when this account relationships not found response has a 5xx status code
func (*AccountRelationshipsNotFound) IsSuccess ¶
func (o *AccountRelationshipsNotFound) IsSuccess() bool
IsSuccess returns true when this account relationships not found response has a 2xx status code
func (*AccountRelationshipsNotFound) String ¶
func (o *AccountRelationshipsNotFound) String() string
type AccountRelationshipsOK ¶
type AccountRelationshipsOK struct {
Payload []*models.Relationship
}
AccountRelationshipsOK describes a response with status code 200, with default header values.
Array of account relationships.
func NewAccountRelationshipsOK ¶
func NewAccountRelationshipsOK() *AccountRelationshipsOK
NewAccountRelationshipsOK creates a AccountRelationshipsOK with default headers values
func (*AccountRelationshipsOK) Code ¶
func (o *AccountRelationshipsOK) Code() int
Code gets the status code for the account relationships o k response
func (*AccountRelationshipsOK) Error ¶
func (o *AccountRelationshipsOK) Error() string
func (*AccountRelationshipsOK) GetPayload ¶
func (o *AccountRelationshipsOK) GetPayload() []*models.Relationship
func (*AccountRelationshipsOK) IsClientError ¶
func (o *AccountRelationshipsOK) IsClientError() bool
IsClientError returns true when this account relationships o k response has a 4xx status code
func (*AccountRelationshipsOK) IsCode ¶
func (o *AccountRelationshipsOK) IsCode(code int) bool
IsCode returns true when this account relationships o k response a status code equal to that given
func (*AccountRelationshipsOK) IsRedirect ¶
func (o *AccountRelationshipsOK) IsRedirect() bool
IsRedirect returns true when this account relationships o k response has a 3xx status code
func (*AccountRelationshipsOK) IsServerError ¶
func (o *AccountRelationshipsOK) IsServerError() bool
IsServerError returns true when this account relationships o k response has a 5xx status code
func (*AccountRelationshipsOK) IsSuccess ¶
func (o *AccountRelationshipsOK) IsSuccess() bool
IsSuccess returns true when this account relationships o k response has a 2xx status code
func (*AccountRelationshipsOK) String ¶
func (o *AccountRelationshipsOK) String() string
type AccountRelationshipsParams ¶
type AccountRelationshipsParams struct { /* ID. Account IDs. */ ID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountRelationshipsParams contains all the parameters to send to the API endpoint
for the account relationships operation. Typically these are written to a http.Request.
func NewAccountRelationshipsParams ¶
func NewAccountRelationshipsParams() *AccountRelationshipsParams
NewAccountRelationshipsParams creates a new AccountRelationshipsParams 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 NewAccountRelationshipsParamsWithContext ¶
func NewAccountRelationshipsParamsWithContext(ctx context.Context) *AccountRelationshipsParams
NewAccountRelationshipsParamsWithContext creates a new AccountRelationshipsParams object with the ability to set a context for a request.
func NewAccountRelationshipsParamsWithHTTPClient ¶
func NewAccountRelationshipsParamsWithHTTPClient(client *http.Client) *AccountRelationshipsParams
NewAccountRelationshipsParamsWithHTTPClient creates a new AccountRelationshipsParams object with the ability to set a custom HTTPClient for a request.
func NewAccountRelationshipsParamsWithTimeout ¶
func NewAccountRelationshipsParamsWithTimeout(timeout time.Duration) *AccountRelationshipsParams
NewAccountRelationshipsParamsWithTimeout creates a new AccountRelationshipsParams object with the ability to set a timeout on a request.
func (*AccountRelationshipsParams) SetContext ¶
func (o *AccountRelationshipsParams) SetContext(ctx context.Context)
SetContext adds the context to the account relationships params
func (*AccountRelationshipsParams) SetDefaults ¶
func (o *AccountRelationshipsParams) SetDefaults()
SetDefaults hydrates default values in the account relationships params (not the query body).
All values with no default are reset to their zero value.
func (*AccountRelationshipsParams) SetHTTPClient ¶
func (o *AccountRelationshipsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account relationships params
func (*AccountRelationshipsParams) SetID ¶
func (o *AccountRelationshipsParams) SetID(id []string)
SetID adds the id to the account relationships params
func (*AccountRelationshipsParams) SetTimeout ¶
func (o *AccountRelationshipsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account relationships params
func (*AccountRelationshipsParams) WithContext ¶
func (o *AccountRelationshipsParams) WithContext(ctx context.Context) *AccountRelationshipsParams
WithContext adds the context to the account relationships params
func (*AccountRelationshipsParams) WithDefaults ¶
func (o *AccountRelationshipsParams) WithDefaults() *AccountRelationshipsParams
WithDefaults hydrates default values in the account relationships params (not the query body).
All values with no default are reset to their zero value.
func (*AccountRelationshipsParams) WithHTTPClient ¶
func (o *AccountRelationshipsParams) WithHTTPClient(client *http.Client) *AccountRelationshipsParams
WithHTTPClient adds the HTTPClient to the account relationships params
func (*AccountRelationshipsParams) WithID ¶
func (o *AccountRelationshipsParams) WithID(id []string) *AccountRelationshipsParams
WithID adds the id to the account relationships params
func (*AccountRelationshipsParams) WithTimeout ¶
func (o *AccountRelationshipsParams) WithTimeout(timeout time.Duration) *AccountRelationshipsParams
WithTimeout adds the timeout to the account relationships params
func (*AccountRelationshipsParams) WriteToRequest ¶
func (o *AccountRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountRelationshipsReader ¶
type AccountRelationshipsReader struct {
// contains filtered or unexported fields
}
AccountRelationshipsReader is a Reader for the AccountRelationships structure.
func (*AccountRelationshipsReader) ReadResponse ¶
func (o *AccountRelationshipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountRelationshipsUnauthorized ¶
type AccountRelationshipsUnauthorized struct { }
AccountRelationshipsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountRelationshipsUnauthorized ¶
func NewAccountRelationshipsUnauthorized() *AccountRelationshipsUnauthorized
NewAccountRelationshipsUnauthorized creates a AccountRelationshipsUnauthorized with default headers values
func (*AccountRelationshipsUnauthorized) Code ¶
func (o *AccountRelationshipsUnauthorized) Code() int
Code gets the status code for the account relationships unauthorized response
func (*AccountRelationshipsUnauthorized) Error ¶
func (o *AccountRelationshipsUnauthorized) Error() string
func (*AccountRelationshipsUnauthorized) IsClientError ¶
func (o *AccountRelationshipsUnauthorized) IsClientError() bool
IsClientError returns true when this account relationships unauthorized response has a 4xx status code
func (*AccountRelationshipsUnauthorized) IsCode ¶
func (o *AccountRelationshipsUnauthorized) IsCode(code int) bool
IsCode returns true when this account relationships unauthorized response a status code equal to that given
func (*AccountRelationshipsUnauthorized) IsRedirect ¶
func (o *AccountRelationshipsUnauthorized) IsRedirect() bool
IsRedirect returns true when this account relationships unauthorized response has a 3xx status code
func (*AccountRelationshipsUnauthorized) IsServerError ¶
func (o *AccountRelationshipsUnauthorized) IsServerError() bool
IsServerError returns true when this account relationships unauthorized response has a 5xx status code
func (*AccountRelationshipsUnauthorized) IsSuccess ¶
func (o *AccountRelationshipsUnauthorized) IsSuccess() bool
IsSuccess returns true when this account relationships unauthorized response has a 2xx status code
func (*AccountRelationshipsUnauthorized) String ¶
func (o *AccountRelationshipsUnauthorized) String() string
type AccountSearchGetBadRequest ¶
type AccountSearchGetBadRequest struct { }
AccountSearchGetBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountSearchGetBadRequest ¶
func NewAccountSearchGetBadRequest() *AccountSearchGetBadRequest
NewAccountSearchGetBadRequest creates a AccountSearchGetBadRequest with default headers values
func (*AccountSearchGetBadRequest) Code ¶
func (o *AccountSearchGetBadRequest) Code() int
Code gets the status code for the account search get bad request response
func (*AccountSearchGetBadRequest) Error ¶
func (o *AccountSearchGetBadRequest) Error() string
func (*AccountSearchGetBadRequest) IsClientError ¶
func (o *AccountSearchGetBadRequest) IsClientError() bool
IsClientError returns true when this account search get bad request response has a 4xx status code
func (*AccountSearchGetBadRequest) IsCode ¶
func (o *AccountSearchGetBadRequest) IsCode(code int) bool
IsCode returns true when this account search get bad request response a status code equal to that given
func (*AccountSearchGetBadRequest) IsRedirect ¶
func (o *AccountSearchGetBadRequest) IsRedirect() bool
IsRedirect returns true when this account search get bad request response has a 3xx status code
func (*AccountSearchGetBadRequest) IsServerError ¶
func (o *AccountSearchGetBadRequest) IsServerError() bool
IsServerError returns true when this account search get bad request response has a 5xx status code
func (*AccountSearchGetBadRequest) IsSuccess ¶
func (o *AccountSearchGetBadRequest) IsSuccess() bool
IsSuccess returns true when this account search get bad request response has a 2xx status code
func (*AccountSearchGetBadRequest) String ¶
func (o *AccountSearchGetBadRequest) String() string
type AccountSearchGetInternalServerError ¶
type AccountSearchGetInternalServerError struct { }
AccountSearchGetInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountSearchGetInternalServerError ¶
func NewAccountSearchGetInternalServerError() *AccountSearchGetInternalServerError
NewAccountSearchGetInternalServerError creates a AccountSearchGetInternalServerError with default headers values
func (*AccountSearchGetInternalServerError) Code ¶
func (o *AccountSearchGetInternalServerError) Code() int
Code gets the status code for the account search get internal server error response
func (*AccountSearchGetInternalServerError) Error ¶
func (o *AccountSearchGetInternalServerError) Error() string
func (*AccountSearchGetInternalServerError) IsClientError ¶
func (o *AccountSearchGetInternalServerError) IsClientError() bool
IsClientError returns true when this account search get internal server error response has a 4xx status code
func (*AccountSearchGetInternalServerError) IsCode ¶
func (o *AccountSearchGetInternalServerError) IsCode(code int) bool
IsCode returns true when this account search get internal server error response a status code equal to that given
func (*AccountSearchGetInternalServerError) IsRedirect ¶
func (o *AccountSearchGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this account search get internal server error response has a 3xx status code
func (*AccountSearchGetInternalServerError) IsServerError ¶
func (o *AccountSearchGetInternalServerError) IsServerError() bool
IsServerError returns true when this account search get internal server error response has a 5xx status code
func (*AccountSearchGetInternalServerError) IsSuccess ¶
func (o *AccountSearchGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this account search get internal server error response has a 2xx status code
func (*AccountSearchGetInternalServerError) String ¶
func (o *AccountSearchGetInternalServerError) String() string
type AccountSearchGetNotAcceptable ¶
type AccountSearchGetNotAcceptable struct { }
AccountSearchGetNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountSearchGetNotAcceptable ¶
func NewAccountSearchGetNotAcceptable() *AccountSearchGetNotAcceptable
NewAccountSearchGetNotAcceptable creates a AccountSearchGetNotAcceptable with default headers values
func (*AccountSearchGetNotAcceptable) Code ¶
func (o *AccountSearchGetNotAcceptable) Code() int
Code gets the status code for the account search get not acceptable response
func (*AccountSearchGetNotAcceptable) Error ¶
func (o *AccountSearchGetNotAcceptable) Error() string
func (*AccountSearchGetNotAcceptable) IsClientError ¶
func (o *AccountSearchGetNotAcceptable) IsClientError() bool
IsClientError returns true when this account search get not acceptable response has a 4xx status code
func (*AccountSearchGetNotAcceptable) IsCode ¶
func (o *AccountSearchGetNotAcceptable) IsCode(code int) bool
IsCode returns true when this account search get not acceptable response a status code equal to that given
func (*AccountSearchGetNotAcceptable) IsRedirect ¶
func (o *AccountSearchGetNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account search get not acceptable response has a 3xx status code
func (*AccountSearchGetNotAcceptable) IsServerError ¶
func (o *AccountSearchGetNotAcceptable) IsServerError() bool
IsServerError returns true when this account search get not acceptable response has a 5xx status code
func (*AccountSearchGetNotAcceptable) IsSuccess ¶
func (o *AccountSearchGetNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account search get not acceptable response has a 2xx status code
func (*AccountSearchGetNotAcceptable) String ¶
func (o *AccountSearchGetNotAcceptable) String() string
type AccountSearchGetNotFound ¶
type AccountSearchGetNotFound struct { }
AccountSearchGetNotFound describes a response with status code 404, with default header values.
not found
func NewAccountSearchGetNotFound ¶
func NewAccountSearchGetNotFound() *AccountSearchGetNotFound
NewAccountSearchGetNotFound creates a AccountSearchGetNotFound with default headers values
func (*AccountSearchGetNotFound) Code ¶
func (o *AccountSearchGetNotFound) Code() int
Code gets the status code for the account search get not found response
func (*AccountSearchGetNotFound) Error ¶
func (o *AccountSearchGetNotFound) Error() string
func (*AccountSearchGetNotFound) IsClientError ¶
func (o *AccountSearchGetNotFound) IsClientError() bool
IsClientError returns true when this account search get not found response has a 4xx status code
func (*AccountSearchGetNotFound) IsCode ¶
func (o *AccountSearchGetNotFound) IsCode(code int) bool
IsCode returns true when this account search get not found response a status code equal to that given
func (*AccountSearchGetNotFound) IsRedirect ¶
func (o *AccountSearchGetNotFound) IsRedirect() bool
IsRedirect returns true when this account search get not found response has a 3xx status code
func (*AccountSearchGetNotFound) IsServerError ¶
func (o *AccountSearchGetNotFound) IsServerError() bool
IsServerError returns true when this account search get not found response has a 5xx status code
func (*AccountSearchGetNotFound) IsSuccess ¶
func (o *AccountSearchGetNotFound) IsSuccess() bool
IsSuccess returns true when this account search get not found response has a 2xx status code
func (*AccountSearchGetNotFound) String ¶
func (o *AccountSearchGetNotFound) String() string
type AccountSearchGetOK ¶
AccountSearchGetOK describes a response with status code 200, with default header values.
Results of the search.
func NewAccountSearchGetOK ¶
func NewAccountSearchGetOK() *AccountSearchGetOK
NewAccountSearchGetOK creates a AccountSearchGetOK with default headers values
func (*AccountSearchGetOK) Code ¶
func (o *AccountSearchGetOK) Code() int
Code gets the status code for the account search get o k response
func (*AccountSearchGetOK) Error ¶
func (o *AccountSearchGetOK) Error() string
func (*AccountSearchGetOK) GetPayload ¶
func (o *AccountSearchGetOK) GetPayload() []*models.Account
func (*AccountSearchGetOK) IsClientError ¶
func (o *AccountSearchGetOK) IsClientError() bool
IsClientError returns true when this account search get o k response has a 4xx status code
func (*AccountSearchGetOK) IsCode ¶
func (o *AccountSearchGetOK) IsCode(code int) bool
IsCode returns true when this account search get o k response a status code equal to that given
func (*AccountSearchGetOK) IsRedirect ¶
func (o *AccountSearchGetOK) IsRedirect() bool
IsRedirect returns true when this account search get o k response has a 3xx status code
func (*AccountSearchGetOK) IsServerError ¶
func (o *AccountSearchGetOK) IsServerError() bool
IsServerError returns true when this account search get o k response has a 5xx status code
func (*AccountSearchGetOK) IsSuccess ¶
func (o *AccountSearchGetOK) IsSuccess() bool
IsSuccess returns true when this account search get o k response has a 2xx status code
func (*AccountSearchGetOK) String ¶
func (o *AccountSearchGetOK) String() string
type AccountSearchGetParams ¶
type AccountSearchGetParams struct { /* Following. Show only accounts that the requesting account follows. If this is set to `true`, then the GoToSocial instance will enhance the search by also searching within account notes, not just in usernames and display names. */ Following *bool /* Limit. Number of results to try to return. Default: 40 */ Limit *int64 /* Offset. Page number of results to return (starts at 0). This parameter is currently not used, offsets over 0 will always return 0 results. */ Offset *int64 /* Q. Query string to search for. This can be in the following forms: - `@[username]` -- search for an account with the given username on any domain. Can return multiple results. - `@[username]@[domain]` -- search for a remote account with exact username and domain. Will only ever return 1 result at most. - any arbitrary string -- search for accounts containing the given string in their username or display name. Can return multiple results. */ Q string /* Resolve. If query is for `@[username]@[domain]`, or a URL, allow the GoToSocial instance to resolve the search by making calls to remote instances (webfinger, ActivityPub, etc). */ Resolve *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountSearchGetParams contains all the parameters to send to the API endpoint
for the account search get operation. Typically these are written to a http.Request.
func NewAccountSearchGetParams ¶
func NewAccountSearchGetParams() *AccountSearchGetParams
NewAccountSearchGetParams creates a new AccountSearchGetParams 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 NewAccountSearchGetParamsWithContext ¶
func NewAccountSearchGetParamsWithContext(ctx context.Context) *AccountSearchGetParams
NewAccountSearchGetParamsWithContext creates a new AccountSearchGetParams object with the ability to set a context for a request.
func NewAccountSearchGetParamsWithHTTPClient ¶
func NewAccountSearchGetParamsWithHTTPClient(client *http.Client) *AccountSearchGetParams
NewAccountSearchGetParamsWithHTTPClient creates a new AccountSearchGetParams object with the ability to set a custom HTTPClient for a request.
func NewAccountSearchGetParamsWithTimeout ¶
func NewAccountSearchGetParamsWithTimeout(timeout time.Duration) *AccountSearchGetParams
NewAccountSearchGetParamsWithTimeout creates a new AccountSearchGetParams object with the ability to set a timeout on a request.
func (*AccountSearchGetParams) SetContext ¶
func (o *AccountSearchGetParams) SetContext(ctx context.Context)
SetContext adds the context to the account search get params
func (*AccountSearchGetParams) SetDefaults ¶
func (o *AccountSearchGetParams) SetDefaults()
SetDefaults hydrates default values in the account search get params (not the query body).
All values with no default are reset to their zero value.
func (*AccountSearchGetParams) SetFollowing ¶
func (o *AccountSearchGetParams) SetFollowing(following *bool)
SetFollowing adds the following to the account search get params
func (*AccountSearchGetParams) SetHTTPClient ¶
func (o *AccountSearchGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account search get params
func (*AccountSearchGetParams) SetLimit ¶
func (o *AccountSearchGetParams) SetLimit(limit *int64)
SetLimit adds the limit to the account search get params
func (*AccountSearchGetParams) SetOffset ¶
func (o *AccountSearchGetParams) SetOffset(offset *int64)
SetOffset adds the offset to the account search get params
func (*AccountSearchGetParams) SetQ ¶
func (o *AccountSearchGetParams) SetQ(q string)
SetQ adds the q to the account search get params
func (*AccountSearchGetParams) SetResolve ¶
func (o *AccountSearchGetParams) SetResolve(resolve *bool)
SetResolve adds the resolve to the account search get params
func (*AccountSearchGetParams) SetTimeout ¶
func (o *AccountSearchGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account search get params
func (*AccountSearchGetParams) WithContext ¶
func (o *AccountSearchGetParams) WithContext(ctx context.Context) *AccountSearchGetParams
WithContext adds the context to the account search get params
func (*AccountSearchGetParams) WithDefaults ¶
func (o *AccountSearchGetParams) WithDefaults() *AccountSearchGetParams
WithDefaults hydrates default values in the account search get params (not the query body).
All values with no default are reset to their zero value.
func (*AccountSearchGetParams) WithFollowing ¶
func (o *AccountSearchGetParams) WithFollowing(following *bool) *AccountSearchGetParams
WithFollowing adds the following to the account search get params
func (*AccountSearchGetParams) WithHTTPClient ¶
func (o *AccountSearchGetParams) WithHTTPClient(client *http.Client) *AccountSearchGetParams
WithHTTPClient adds the HTTPClient to the account search get params
func (*AccountSearchGetParams) WithLimit ¶
func (o *AccountSearchGetParams) WithLimit(limit *int64) *AccountSearchGetParams
WithLimit adds the limit to the account search get params
func (*AccountSearchGetParams) WithOffset ¶
func (o *AccountSearchGetParams) WithOffset(offset *int64) *AccountSearchGetParams
WithOffset adds the offset to the account search get params
func (*AccountSearchGetParams) WithQ ¶
func (o *AccountSearchGetParams) WithQ(q string) *AccountSearchGetParams
WithQ adds the q to the account search get params
func (*AccountSearchGetParams) WithResolve ¶
func (o *AccountSearchGetParams) WithResolve(resolve *bool) *AccountSearchGetParams
WithResolve adds the resolve to the account search get params
func (*AccountSearchGetParams) WithTimeout ¶
func (o *AccountSearchGetParams) WithTimeout(timeout time.Duration) *AccountSearchGetParams
WithTimeout adds the timeout to the account search get params
func (*AccountSearchGetParams) WriteToRequest ¶
func (o *AccountSearchGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountSearchGetReader ¶
type AccountSearchGetReader struct {
// contains filtered or unexported fields
}
AccountSearchGetReader is a Reader for the AccountSearchGet structure.
func (*AccountSearchGetReader) ReadResponse ¶
func (o *AccountSearchGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountSearchGetUnauthorized ¶
type AccountSearchGetUnauthorized struct { }
AccountSearchGetUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountSearchGetUnauthorized ¶
func NewAccountSearchGetUnauthorized() *AccountSearchGetUnauthorized
NewAccountSearchGetUnauthorized creates a AccountSearchGetUnauthorized with default headers values
func (*AccountSearchGetUnauthorized) Code ¶
func (o *AccountSearchGetUnauthorized) Code() int
Code gets the status code for the account search get unauthorized response
func (*AccountSearchGetUnauthorized) Error ¶
func (o *AccountSearchGetUnauthorized) Error() string
func (*AccountSearchGetUnauthorized) IsClientError ¶
func (o *AccountSearchGetUnauthorized) IsClientError() bool
IsClientError returns true when this account search get unauthorized response has a 4xx status code
func (*AccountSearchGetUnauthorized) IsCode ¶
func (o *AccountSearchGetUnauthorized) IsCode(code int) bool
IsCode returns true when this account search get unauthorized response a status code equal to that given
func (*AccountSearchGetUnauthorized) IsRedirect ¶
func (o *AccountSearchGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this account search get unauthorized response has a 3xx status code
func (*AccountSearchGetUnauthorized) IsServerError ¶
func (o *AccountSearchGetUnauthorized) IsServerError() bool
IsServerError returns true when this account search get unauthorized response has a 5xx status code
func (*AccountSearchGetUnauthorized) IsSuccess ¶
func (o *AccountSearchGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this account search get unauthorized response has a 2xx status code
func (*AccountSearchGetUnauthorized) String ¶
func (o *AccountSearchGetUnauthorized) String() string
type AccountStatusesBadRequest ¶
type AccountStatusesBadRequest struct { }
AccountStatusesBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountStatusesBadRequest ¶
func NewAccountStatusesBadRequest() *AccountStatusesBadRequest
NewAccountStatusesBadRequest creates a AccountStatusesBadRequest with default headers values
func (*AccountStatusesBadRequest) Code ¶
func (o *AccountStatusesBadRequest) Code() int
Code gets the status code for the account statuses bad request response
func (*AccountStatusesBadRequest) Error ¶
func (o *AccountStatusesBadRequest) Error() string
func (*AccountStatusesBadRequest) IsClientError ¶
func (o *AccountStatusesBadRequest) IsClientError() bool
IsClientError returns true when this account statuses bad request response has a 4xx status code
func (*AccountStatusesBadRequest) IsCode ¶
func (o *AccountStatusesBadRequest) IsCode(code int) bool
IsCode returns true when this account statuses bad request response a status code equal to that given
func (*AccountStatusesBadRequest) IsRedirect ¶
func (o *AccountStatusesBadRequest) IsRedirect() bool
IsRedirect returns true when this account statuses bad request response has a 3xx status code
func (*AccountStatusesBadRequest) IsServerError ¶
func (o *AccountStatusesBadRequest) IsServerError() bool
IsServerError returns true when this account statuses bad request response has a 5xx status code
func (*AccountStatusesBadRequest) IsSuccess ¶
func (o *AccountStatusesBadRequest) IsSuccess() bool
IsSuccess returns true when this account statuses bad request response has a 2xx status code
func (*AccountStatusesBadRequest) String ¶
func (o *AccountStatusesBadRequest) String() string
type AccountStatusesInternalServerError ¶
type AccountStatusesInternalServerError struct { }
AccountStatusesInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountStatusesInternalServerError ¶
func NewAccountStatusesInternalServerError() *AccountStatusesInternalServerError
NewAccountStatusesInternalServerError creates a AccountStatusesInternalServerError with default headers values
func (*AccountStatusesInternalServerError) Code ¶
func (o *AccountStatusesInternalServerError) Code() int
Code gets the status code for the account statuses internal server error response
func (*AccountStatusesInternalServerError) Error ¶
func (o *AccountStatusesInternalServerError) Error() string
func (*AccountStatusesInternalServerError) IsClientError ¶
func (o *AccountStatusesInternalServerError) IsClientError() bool
IsClientError returns true when this account statuses internal server error response has a 4xx status code
func (*AccountStatusesInternalServerError) IsCode ¶
func (o *AccountStatusesInternalServerError) IsCode(code int) bool
IsCode returns true when this account statuses internal server error response a status code equal to that given
func (*AccountStatusesInternalServerError) IsRedirect ¶
func (o *AccountStatusesInternalServerError) IsRedirect() bool
IsRedirect returns true when this account statuses internal server error response has a 3xx status code
func (*AccountStatusesInternalServerError) IsServerError ¶
func (o *AccountStatusesInternalServerError) IsServerError() bool
IsServerError returns true when this account statuses internal server error response has a 5xx status code
func (*AccountStatusesInternalServerError) IsSuccess ¶
func (o *AccountStatusesInternalServerError) IsSuccess() bool
IsSuccess returns true when this account statuses internal server error response has a 2xx status code
func (*AccountStatusesInternalServerError) String ¶
func (o *AccountStatusesInternalServerError) String() string
type AccountStatusesNotAcceptable ¶
type AccountStatusesNotAcceptable struct { }
AccountStatusesNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountStatusesNotAcceptable ¶
func NewAccountStatusesNotAcceptable() *AccountStatusesNotAcceptable
NewAccountStatusesNotAcceptable creates a AccountStatusesNotAcceptable with default headers values
func (*AccountStatusesNotAcceptable) Code ¶
func (o *AccountStatusesNotAcceptable) Code() int
Code gets the status code for the account statuses not acceptable response
func (*AccountStatusesNotAcceptable) Error ¶
func (o *AccountStatusesNotAcceptable) Error() string
func (*AccountStatusesNotAcceptable) IsClientError ¶
func (o *AccountStatusesNotAcceptable) IsClientError() bool
IsClientError returns true when this account statuses not acceptable response has a 4xx status code
func (*AccountStatusesNotAcceptable) IsCode ¶
func (o *AccountStatusesNotAcceptable) IsCode(code int) bool
IsCode returns true when this account statuses not acceptable response a status code equal to that given
func (*AccountStatusesNotAcceptable) IsRedirect ¶
func (o *AccountStatusesNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account statuses not acceptable response has a 3xx status code
func (*AccountStatusesNotAcceptable) IsServerError ¶
func (o *AccountStatusesNotAcceptable) IsServerError() bool
IsServerError returns true when this account statuses not acceptable response has a 5xx status code
func (*AccountStatusesNotAcceptable) IsSuccess ¶
func (o *AccountStatusesNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account statuses not acceptable response has a 2xx status code
func (*AccountStatusesNotAcceptable) String ¶
func (o *AccountStatusesNotAcceptable) String() string
type AccountStatusesNotFound ¶
type AccountStatusesNotFound struct { }
AccountStatusesNotFound describes a response with status code 404, with default header values.
not found
func NewAccountStatusesNotFound ¶
func NewAccountStatusesNotFound() *AccountStatusesNotFound
NewAccountStatusesNotFound creates a AccountStatusesNotFound with default headers values
func (*AccountStatusesNotFound) Code ¶
func (o *AccountStatusesNotFound) Code() int
Code gets the status code for the account statuses not found response
func (*AccountStatusesNotFound) Error ¶
func (o *AccountStatusesNotFound) Error() string
func (*AccountStatusesNotFound) IsClientError ¶
func (o *AccountStatusesNotFound) IsClientError() bool
IsClientError returns true when this account statuses not found response has a 4xx status code
func (*AccountStatusesNotFound) IsCode ¶
func (o *AccountStatusesNotFound) IsCode(code int) bool
IsCode returns true when this account statuses not found response a status code equal to that given
func (*AccountStatusesNotFound) IsRedirect ¶
func (o *AccountStatusesNotFound) IsRedirect() bool
IsRedirect returns true when this account statuses not found response has a 3xx status code
func (*AccountStatusesNotFound) IsServerError ¶
func (o *AccountStatusesNotFound) IsServerError() bool
IsServerError returns true when this account statuses not found response has a 5xx status code
func (*AccountStatusesNotFound) IsSuccess ¶
func (o *AccountStatusesNotFound) IsSuccess() bool
IsSuccess returns true when this account statuses not found response has a 2xx status code
func (*AccountStatusesNotFound) String ¶
func (o *AccountStatusesNotFound) String() string
type AccountStatusesOK ¶
type AccountStatusesOK struct { /* Links to the next and previous queries. */ Link string Payload []*models.Status }
AccountStatusesOK describes a response with status code 200, with default header values.
Array of statuses.
func NewAccountStatusesOK ¶
func NewAccountStatusesOK() *AccountStatusesOK
NewAccountStatusesOK creates a AccountStatusesOK with default headers values
func (*AccountStatusesOK) Code ¶
func (o *AccountStatusesOK) Code() int
Code gets the status code for the account statuses o k response
func (*AccountStatusesOK) Error ¶
func (o *AccountStatusesOK) Error() string
func (*AccountStatusesOK) GetPayload ¶
func (o *AccountStatusesOK) GetPayload() []*models.Status
func (*AccountStatusesOK) IsClientError ¶
func (o *AccountStatusesOK) IsClientError() bool
IsClientError returns true when this account statuses o k response has a 4xx status code
func (*AccountStatusesOK) IsCode ¶
func (o *AccountStatusesOK) IsCode(code int) bool
IsCode returns true when this account statuses o k response a status code equal to that given
func (*AccountStatusesOK) IsRedirect ¶
func (o *AccountStatusesOK) IsRedirect() bool
IsRedirect returns true when this account statuses o k response has a 3xx status code
func (*AccountStatusesOK) IsServerError ¶
func (o *AccountStatusesOK) IsServerError() bool
IsServerError returns true when this account statuses o k response has a 5xx status code
func (*AccountStatusesOK) IsSuccess ¶
func (o *AccountStatusesOK) IsSuccess() bool
IsSuccess returns true when this account statuses o k response has a 2xx status code
func (*AccountStatusesOK) String ¶
func (o *AccountStatusesOK) String() string
type AccountStatusesParams ¶
type AccountStatusesParams struct { /* ExcludeReblogs. Exclude statuses that are a reblog/boost of another status. */ ExcludeReblogs *bool /* ExcludeReplies. Exclude statuses that are a reply to another status. */ ExcludeReplies *bool /* ID. Account ID. */ ID string /* Limit. Number of statuses to return. Default: 30 */ Limit *int64 /* MaxID. Return only statuses *OLDER* than the given max status ID. The status with the specified ID will not be included in the response. */ MaxID *string /* MinID. Return only statuses *NEWER* than the given min status ID. The status with the specified ID will not be included in the response. */ MinID *string /* OnlyMedia. Show only statuses with media attachments. */ OnlyMedia *bool /* OnlyPublic. Show only statuses with a privacy setting of 'public'. */ OnlyPublic *bool /* Pinned. Show only pinned statuses. In other words, exclude statuses that are not pinned to the given account ID. */ Pinned *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountStatusesParams contains all the parameters to send to the API endpoint
for the account statuses operation. Typically these are written to a http.Request.
func NewAccountStatusesParams ¶
func NewAccountStatusesParams() *AccountStatusesParams
NewAccountStatusesParams creates a new AccountStatusesParams 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 NewAccountStatusesParamsWithContext ¶
func NewAccountStatusesParamsWithContext(ctx context.Context) *AccountStatusesParams
NewAccountStatusesParamsWithContext creates a new AccountStatusesParams object with the ability to set a context for a request.
func NewAccountStatusesParamsWithHTTPClient ¶
func NewAccountStatusesParamsWithHTTPClient(client *http.Client) *AccountStatusesParams
NewAccountStatusesParamsWithHTTPClient creates a new AccountStatusesParams object with the ability to set a custom HTTPClient for a request.
func NewAccountStatusesParamsWithTimeout ¶
func NewAccountStatusesParamsWithTimeout(timeout time.Duration) *AccountStatusesParams
NewAccountStatusesParamsWithTimeout creates a new AccountStatusesParams object with the ability to set a timeout on a request.
func (*AccountStatusesParams) SetContext ¶
func (o *AccountStatusesParams) SetContext(ctx context.Context)
SetContext adds the context to the account statuses params
func (*AccountStatusesParams) SetDefaults ¶
func (o *AccountStatusesParams) SetDefaults()
SetDefaults hydrates default values in the account statuses params (not the query body).
All values with no default are reset to their zero value.
func (*AccountStatusesParams) SetExcludeReblogs ¶
func (o *AccountStatusesParams) SetExcludeReblogs(excludeReblogs *bool)
SetExcludeReblogs adds the excludeReblogs to the account statuses params
func (*AccountStatusesParams) SetExcludeReplies ¶
func (o *AccountStatusesParams) SetExcludeReplies(excludeReplies *bool)
SetExcludeReplies adds the excludeReplies to the account statuses params
func (*AccountStatusesParams) SetHTTPClient ¶
func (o *AccountStatusesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account statuses params
func (*AccountStatusesParams) SetID ¶
func (o *AccountStatusesParams) SetID(id string)
SetID adds the id to the account statuses params
func (*AccountStatusesParams) SetLimit ¶
func (o *AccountStatusesParams) SetLimit(limit *int64)
SetLimit adds the limit to the account statuses params
func (*AccountStatusesParams) SetMaxID ¶
func (o *AccountStatusesParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the account statuses params
func (*AccountStatusesParams) SetMinID ¶
func (o *AccountStatusesParams) SetMinID(minID *string)
SetMinID adds the minId to the account statuses params
func (*AccountStatusesParams) SetOnlyMedia ¶
func (o *AccountStatusesParams) SetOnlyMedia(onlyMedia *bool)
SetOnlyMedia adds the onlyMedia to the account statuses params
func (*AccountStatusesParams) SetOnlyPublic ¶
func (o *AccountStatusesParams) SetOnlyPublic(onlyPublic *bool)
SetOnlyPublic adds the onlyPublic to the account statuses params
func (*AccountStatusesParams) SetPinned ¶
func (o *AccountStatusesParams) SetPinned(pinned *bool)
SetPinned adds the pinned to the account statuses params
func (*AccountStatusesParams) SetTimeout ¶
func (o *AccountStatusesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account statuses params
func (*AccountStatusesParams) WithContext ¶
func (o *AccountStatusesParams) WithContext(ctx context.Context) *AccountStatusesParams
WithContext adds the context to the account statuses params
func (*AccountStatusesParams) WithDefaults ¶
func (o *AccountStatusesParams) WithDefaults() *AccountStatusesParams
WithDefaults hydrates default values in the account statuses params (not the query body).
All values with no default are reset to their zero value.
func (*AccountStatusesParams) WithExcludeReblogs ¶
func (o *AccountStatusesParams) WithExcludeReblogs(excludeReblogs *bool) *AccountStatusesParams
WithExcludeReblogs adds the excludeReblogs to the account statuses params
func (*AccountStatusesParams) WithExcludeReplies ¶
func (o *AccountStatusesParams) WithExcludeReplies(excludeReplies *bool) *AccountStatusesParams
WithExcludeReplies adds the excludeReplies to the account statuses params
func (*AccountStatusesParams) WithHTTPClient ¶
func (o *AccountStatusesParams) WithHTTPClient(client *http.Client) *AccountStatusesParams
WithHTTPClient adds the HTTPClient to the account statuses params
func (*AccountStatusesParams) WithID ¶
func (o *AccountStatusesParams) WithID(id string) *AccountStatusesParams
WithID adds the id to the account statuses params
func (*AccountStatusesParams) WithLimit ¶
func (o *AccountStatusesParams) WithLimit(limit *int64) *AccountStatusesParams
WithLimit adds the limit to the account statuses params
func (*AccountStatusesParams) WithMaxID ¶
func (o *AccountStatusesParams) WithMaxID(maxID *string) *AccountStatusesParams
WithMaxID adds the maxID to the account statuses params
func (*AccountStatusesParams) WithMinID ¶
func (o *AccountStatusesParams) WithMinID(minID *string) *AccountStatusesParams
WithMinID adds the minID to the account statuses params
func (*AccountStatusesParams) WithOnlyMedia ¶
func (o *AccountStatusesParams) WithOnlyMedia(onlyMedia *bool) *AccountStatusesParams
WithOnlyMedia adds the onlyMedia to the account statuses params
func (*AccountStatusesParams) WithOnlyPublic ¶
func (o *AccountStatusesParams) WithOnlyPublic(onlyPublic *bool) *AccountStatusesParams
WithOnlyPublic adds the onlyPublic to the account statuses params
func (*AccountStatusesParams) WithPinned ¶
func (o *AccountStatusesParams) WithPinned(pinned *bool) *AccountStatusesParams
WithPinned adds the pinned to the account statuses params
func (*AccountStatusesParams) WithTimeout ¶
func (o *AccountStatusesParams) WithTimeout(timeout time.Duration) *AccountStatusesParams
WithTimeout adds the timeout to the account statuses params
func (*AccountStatusesParams) WriteToRequest ¶
func (o *AccountStatusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountStatusesReader ¶
type AccountStatusesReader struct {
// contains filtered or unexported fields
}
AccountStatusesReader is a Reader for the AccountStatuses structure.
func (*AccountStatusesReader) ReadResponse ¶
func (o *AccountStatusesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountStatusesUnauthorized ¶
type AccountStatusesUnauthorized struct { }
AccountStatusesUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountStatusesUnauthorized ¶
func NewAccountStatusesUnauthorized() *AccountStatusesUnauthorized
NewAccountStatusesUnauthorized creates a AccountStatusesUnauthorized with default headers values
func (*AccountStatusesUnauthorized) Code ¶
func (o *AccountStatusesUnauthorized) Code() int
Code gets the status code for the account statuses unauthorized response
func (*AccountStatusesUnauthorized) Error ¶
func (o *AccountStatusesUnauthorized) Error() string
func (*AccountStatusesUnauthorized) IsClientError ¶
func (o *AccountStatusesUnauthorized) IsClientError() bool
IsClientError returns true when this account statuses unauthorized response has a 4xx status code
func (*AccountStatusesUnauthorized) IsCode ¶
func (o *AccountStatusesUnauthorized) IsCode(code int) bool
IsCode returns true when this account statuses unauthorized response a status code equal to that given
func (*AccountStatusesUnauthorized) IsRedirect ¶
func (o *AccountStatusesUnauthorized) IsRedirect() bool
IsRedirect returns true when this account statuses unauthorized response has a 3xx status code
func (*AccountStatusesUnauthorized) IsServerError ¶
func (o *AccountStatusesUnauthorized) IsServerError() bool
IsServerError returns true when this account statuses unauthorized response has a 5xx status code
func (*AccountStatusesUnauthorized) IsSuccess ¶
func (o *AccountStatusesUnauthorized) IsSuccess() bool
IsSuccess returns true when this account statuses unauthorized response has a 2xx status code
func (*AccountStatusesUnauthorized) String ¶
func (o *AccountStatusesUnauthorized) String() string
type AccountThemesBadRequest ¶
type AccountThemesBadRequest struct { }
AccountThemesBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountThemesBadRequest ¶
func NewAccountThemesBadRequest() *AccountThemesBadRequest
NewAccountThemesBadRequest creates a AccountThemesBadRequest with default headers values
func (*AccountThemesBadRequest) Code ¶
func (o *AccountThemesBadRequest) Code() int
Code gets the status code for the account themes bad request response
func (*AccountThemesBadRequest) Error ¶
func (o *AccountThemesBadRequest) Error() string
func (*AccountThemesBadRequest) IsClientError ¶
func (o *AccountThemesBadRequest) IsClientError() bool
IsClientError returns true when this account themes bad request response has a 4xx status code
func (*AccountThemesBadRequest) IsCode ¶
func (o *AccountThemesBadRequest) IsCode(code int) bool
IsCode returns true when this account themes bad request response a status code equal to that given
func (*AccountThemesBadRequest) IsRedirect ¶
func (o *AccountThemesBadRequest) IsRedirect() bool
IsRedirect returns true when this account themes bad request response has a 3xx status code
func (*AccountThemesBadRequest) IsServerError ¶
func (o *AccountThemesBadRequest) IsServerError() bool
IsServerError returns true when this account themes bad request response has a 5xx status code
func (*AccountThemesBadRequest) IsSuccess ¶
func (o *AccountThemesBadRequest) IsSuccess() bool
IsSuccess returns true when this account themes bad request response has a 2xx status code
func (*AccountThemesBadRequest) String ¶
func (o *AccountThemesBadRequest) String() string
type AccountThemesInternalServerError ¶
type AccountThemesInternalServerError struct { }
AccountThemesInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountThemesInternalServerError ¶
func NewAccountThemesInternalServerError() *AccountThemesInternalServerError
NewAccountThemesInternalServerError creates a AccountThemesInternalServerError with default headers values
func (*AccountThemesInternalServerError) Code ¶
func (o *AccountThemesInternalServerError) Code() int
Code gets the status code for the account themes internal server error response
func (*AccountThemesInternalServerError) Error ¶
func (o *AccountThemesInternalServerError) Error() string
func (*AccountThemesInternalServerError) IsClientError ¶
func (o *AccountThemesInternalServerError) IsClientError() bool
IsClientError returns true when this account themes internal server error response has a 4xx status code
func (*AccountThemesInternalServerError) IsCode ¶
func (o *AccountThemesInternalServerError) IsCode(code int) bool
IsCode returns true when this account themes internal server error response a status code equal to that given
func (*AccountThemesInternalServerError) IsRedirect ¶
func (o *AccountThemesInternalServerError) IsRedirect() bool
IsRedirect returns true when this account themes internal server error response has a 3xx status code
func (*AccountThemesInternalServerError) IsServerError ¶
func (o *AccountThemesInternalServerError) IsServerError() bool
IsServerError returns true when this account themes internal server error response has a 5xx status code
func (*AccountThemesInternalServerError) IsSuccess ¶
func (o *AccountThemesInternalServerError) IsSuccess() bool
IsSuccess returns true when this account themes internal server error response has a 2xx status code
func (*AccountThemesInternalServerError) String ¶
func (o *AccountThemesInternalServerError) String() string
type AccountThemesNotAcceptable ¶
type AccountThemesNotAcceptable struct { }
AccountThemesNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountThemesNotAcceptable ¶
func NewAccountThemesNotAcceptable() *AccountThemesNotAcceptable
NewAccountThemesNotAcceptable creates a AccountThemesNotAcceptable with default headers values
func (*AccountThemesNotAcceptable) Code ¶
func (o *AccountThemesNotAcceptable) Code() int
Code gets the status code for the account themes not acceptable response
func (*AccountThemesNotAcceptable) Error ¶
func (o *AccountThemesNotAcceptable) Error() string
func (*AccountThemesNotAcceptable) IsClientError ¶
func (o *AccountThemesNotAcceptable) IsClientError() bool
IsClientError returns true when this account themes not acceptable response has a 4xx status code
func (*AccountThemesNotAcceptable) IsCode ¶
func (o *AccountThemesNotAcceptable) IsCode(code int) bool
IsCode returns true when this account themes not acceptable response a status code equal to that given
func (*AccountThemesNotAcceptable) IsRedirect ¶
func (o *AccountThemesNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account themes not acceptable response has a 3xx status code
func (*AccountThemesNotAcceptable) IsServerError ¶
func (o *AccountThemesNotAcceptable) IsServerError() bool
IsServerError returns true when this account themes not acceptable response has a 5xx status code
func (*AccountThemesNotAcceptable) IsSuccess ¶
func (o *AccountThemesNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account themes not acceptable response has a 2xx status code
func (*AccountThemesNotAcceptable) String ¶
func (o *AccountThemesNotAcceptable) String() string
type AccountThemesNotFound ¶
type AccountThemesNotFound struct { }
AccountThemesNotFound describes a response with status code 404, with default header values.
not found
func NewAccountThemesNotFound ¶
func NewAccountThemesNotFound() *AccountThemesNotFound
NewAccountThemesNotFound creates a AccountThemesNotFound with default headers values
func (*AccountThemesNotFound) Code ¶
func (o *AccountThemesNotFound) Code() int
Code gets the status code for the account themes not found response
func (*AccountThemesNotFound) Error ¶
func (o *AccountThemesNotFound) Error() string
func (*AccountThemesNotFound) IsClientError ¶
func (o *AccountThemesNotFound) IsClientError() bool
IsClientError returns true when this account themes not found response has a 4xx status code
func (*AccountThemesNotFound) IsCode ¶
func (o *AccountThemesNotFound) IsCode(code int) bool
IsCode returns true when this account themes not found response a status code equal to that given
func (*AccountThemesNotFound) IsRedirect ¶
func (o *AccountThemesNotFound) IsRedirect() bool
IsRedirect returns true when this account themes not found response has a 3xx status code
func (*AccountThemesNotFound) IsServerError ¶
func (o *AccountThemesNotFound) IsServerError() bool
IsServerError returns true when this account themes not found response has a 5xx status code
func (*AccountThemesNotFound) IsSuccess ¶
func (o *AccountThemesNotFound) IsSuccess() bool
IsSuccess returns true when this account themes not found response has a 2xx status code
func (*AccountThemesNotFound) String ¶
func (o *AccountThemesNotFound) String() string
type AccountThemesOK ¶
AccountThemesOK describes a response with status code 200, with default header values.
Array of themes.
func NewAccountThemesOK ¶
func NewAccountThemesOK() *AccountThemesOK
NewAccountThemesOK creates a AccountThemesOK with default headers values
func (*AccountThemesOK) Code ¶
func (o *AccountThemesOK) Code() int
Code gets the status code for the account themes o k response
func (*AccountThemesOK) Error ¶
func (o *AccountThemesOK) Error() string
func (*AccountThemesOK) GetPayload ¶
func (o *AccountThemesOK) GetPayload() []*models.Theme
func (*AccountThemesOK) IsClientError ¶
func (o *AccountThemesOK) IsClientError() bool
IsClientError returns true when this account themes o k response has a 4xx status code
func (*AccountThemesOK) IsCode ¶
func (o *AccountThemesOK) IsCode(code int) bool
IsCode returns true when this account themes o k response a status code equal to that given
func (*AccountThemesOK) IsRedirect ¶
func (o *AccountThemesOK) IsRedirect() bool
IsRedirect returns true when this account themes o k response has a 3xx status code
func (*AccountThemesOK) IsServerError ¶
func (o *AccountThemesOK) IsServerError() bool
IsServerError returns true when this account themes o k response has a 5xx status code
func (*AccountThemesOK) IsSuccess ¶
func (o *AccountThemesOK) IsSuccess() bool
IsSuccess returns true when this account themes o k response has a 2xx status code
func (*AccountThemesOK) String ¶
func (o *AccountThemesOK) String() string
type AccountThemesParams ¶
type AccountThemesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountThemesParams contains all the parameters to send to the API endpoint
for the account themes operation. Typically these are written to a http.Request.
func NewAccountThemesParams ¶
func NewAccountThemesParams() *AccountThemesParams
NewAccountThemesParams creates a new AccountThemesParams 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 NewAccountThemesParamsWithContext ¶
func NewAccountThemesParamsWithContext(ctx context.Context) *AccountThemesParams
NewAccountThemesParamsWithContext creates a new AccountThemesParams object with the ability to set a context for a request.
func NewAccountThemesParamsWithHTTPClient ¶
func NewAccountThemesParamsWithHTTPClient(client *http.Client) *AccountThemesParams
NewAccountThemesParamsWithHTTPClient creates a new AccountThemesParams object with the ability to set a custom HTTPClient for a request.
func NewAccountThemesParamsWithTimeout ¶
func NewAccountThemesParamsWithTimeout(timeout time.Duration) *AccountThemesParams
NewAccountThemesParamsWithTimeout creates a new AccountThemesParams object with the ability to set a timeout on a request.
func (*AccountThemesParams) SetContext ¶
func (o *AccountThemesParams) SetContext(ctx context.Context)
SetContext adds the context to the account themes params
func (*AccountThemesParams) SetDefaults ¶
func (o *AccountThemesParams) SetDefaults()
SetDefaults hydrates default values in the account themes params (not the query body).
All values with no default are reset to their zero value.
func (*AccountThemesParams) SetHTTPClient ¶
func (o *AccountThemesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account themes params
func (*AccountThemesParams) SetTimeout ¶
func (o *AccountThemesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account themes params
func (*AccountThemesParams) WithContext ¶
func (o *AccountThemesParams) WithContext(ctx context.Context) *AccountThemesParams
WithContext adds the context to the account themes params
func (*AccountThemesParams) WithDefaults ¶
func (o *AccountThemesParams) WithDefaults() *AccountThemesParams
WithDefaults hydrates default values in the account themes params (not the query body).
All values with no default are reset to their zero value.
func (*AccountThemesParams) WithHTTPClient ¶
func (o *AccountThemesParams) WithHTTPClient(client *http.Client) *AccountThemesParams
WithHTTPClient adds the HTTPClient to the account themes params
func (*AccountThemesParams) WithTimeout ¶
func (o *AccountThemesParams) WithTimeout(timeout time.Duration) *AccountThemesParams
WithTimeout adds the timeout to the account themes params
func (*AccountThemesParams) WriteToRequest ¶
func (o *AccountThemesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountThemesReader ¶
type AccountThemesReader struct {
// contains filtered or unexported fields
}
AccountThemesReader is a Reader for the AccountThemes structure.
func (*AccountThemesReader) ReadResponse ¶
func (o *AccountThemesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountThemesUnauthorized ¶
type AccountThemesUnauthorized struct { }
AccountThemesUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountThemesUnauthorized ¶
func NewAccountThemesUnauthorized() *AccountThemesUnauthorized
NewAccountThemesUnauthorized creates a AccountThemesUnauthorized with default headers values
func (*AccountThemesUnauthorized) Code ¶
func (o *AccountThemesUnauthorized) Code() int
Code gets the status code for the account themes unauthorized response
func (*AccountThemesUnauthorized) Error ¶
func (o *AccountThemesUnauthorized) Error() string
func (*AccountThemesUnauthorized) IsClientError ¶
func (o *AccountThemesUnauthorized) IsClientError() bool
IsClientError returns true when this account themes unauthorized response has a 4xx status code
func (*AccountThemesUnauthorized) IsCode ¶
func (o *AccountThemesUnauthorized) IsCode(code int) bool
IsCode returns true when this account themes unauthorized response a status code equal to that given
func (*AccountThemesUnauthorized) IsRedirect ¶
func (o *AccountThemesUnauthorized) IsRedirect() bool
IsRedirect returns true when this account themes unauthorized response has a 3xx status code
func (*AccountThemesUnauthorized) IsServerError ¶
func (o *AccountThemesUnauthorized) IsServerError() bool
IsServerError returns true when this account themes unauthorized response has a 5xx status code
func (*AccountThemesUnauthorized) IsSuccess ¶
func (o *AccountThemesUnauthorized) IsSuccess() bool
IsSuccess returns true when this account themes unauthorized response has a 2xx status code
func (*AccountThemesUnauthorized) String ¶
func (o *AccountThemesUnauthorized) String() string
type AccountUnblockBadRequest ¶
type AccountUnblockBadRequest struct { }
AccountUnblockBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountUnblockBadRequest ¶
func NewAccountUnblockBadRequest() *AccountUnblockBadRequest
NewAccountUnblockBadRequest creates a AccountUnblockBadRequest with default headers values
func (*AccountUnblockBadRequest) Code ¶
func (o *AccountUnblockBadRequest) Code() int
Code gets the status code for the account unblock bad request response
func (*AccountUnblockBadRequest) Error ¶
func (o *AccountUnblockBadRequest) Error() string
func (*AccountUnblockBadRequest) IsClientError ¶
func (o *AccountUnblockBadRequest) IsClientError() bool
IsClientError returns true when this account unblock bad request response has a 4xx status code
func (*AccountUnblockBadRequest) IsCode ¶
func (o *AccountUnblockBadRequest) IsCode(code int) bool
IsCode returns true when this account unblock bad request response a status code equal to that given
func (*AccountUnblockBadRequest) IsRedirect ¶
func (o *AccountUnblockBadRequest) IsRedirect() bool
IsRedirect returns true when this account unblock bad request response has a 3xx status code
func (*AccountUnblockBadRequest) IsServerError ¶
func (o *AccountUnblockBadRequest) IsServerError() bool
IsServerError returns true when this account unblock bad request response has a 5xx status code
func (*AccountUnblockBadRequest) IsSuccess ¶
func (o *AccountUnblockBadRequest) IsSuccess() bool
IsSuccess returns true when this account unblock bad request response has a 2xx status code
func (*AccountUnblockBadRequest) String ¶
func (o *AccountUnblockBadRequest) String() string
type AccountUnblockInternalServerError ¶
type AccountUnblockInternalServerError struct { }
AccountUnblockInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountUnblockInternalServerError ¶
func NewAccountUnblockInternalServerError() *AccountUnblockInternalServerError
NewAccountUnblockInternalServerError creates a AccountUnblockInternalServerError with default headers values
func (*AccountUnblockInternalServerError) Code ¶
func (o *AccountUnblockInternalServerError) Code() int
Code gets the status code for the account unblock internal server error response
func (*AccountUnblockInternalServerError) Error ¶
func (o *AccountUnblockInternalServerError) Error() string
func (*AccountUnblockInternalServerError) IsClientError ¶
func (o *AccountUnblockInternalServerError) IsClientError() bool
IsClientError returns true when this account unblock internal server error response has a 4xx status code
func (*AccountUnblockInternalServerError) IsCode ¶
func (o *AccountUnblockInternalServerError) IsCode(code int) bool
IsCode returns true when this account unblock internal server error response a status code equal to that given
func (*AccountUnblockInternalServerError) IsRedirect ¶
func (o *AccountUnblockInternalServerError) IsRedirect() bool
IsRedirect returns true when this account unblock internal server error response has a 3xx status code
func (*AccountUnblockInternalServerError) IsServerError ¶
func (o *AccountUnblockInternalServerError) IsServerError() bool
IsServerError returns true when this account unblock internal server error response has a 5xx status code
func (*AccountUnblockInternalServerError) IsSuccess ¶
func (o *AccountUnblockInternalServerError) IsSuccess() bool
IsSuccess returns true when this account unblock internal server error response has a 2xx status code
func (*AccountUnblockInternalServerError) String ¶
func (o *AccountUnblockInternalServerError) String() string
type AccountUnblockNotAcceptable ¶
type AccountUnblockNotAcceptable struct { }
AccountUnblockNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountUnblockNotAcceptable ¶
func NewAccountUnblockNotAcceptable() *AccountUnblockNotAcceptable
NewAccountUnblockNotAcceptable creates a AccountUnblockNotAcceptable with default headers values
func (*AccountUnblockNotAcceptable) Code ¶
func (o *AccountUnblockNotAcceptable) Code() int
Code gets the status code for the account unblock not acceptable response
func (*AccountUnblockNotAcceptable) Error ¶
func (o *AccountUnblockNotAcceptable) Error() string
func (*AccountUnblockNotAcceptable) IsClientError ¶
func (o *AccountUnblockNotAcceptable) IsClientError() bool
IsClientError returns true when this account unblock not acceptable response has a 4xx status code
func (*AccountUnblockNotAcceptable) IsCode ¶
func (o *AccountUnblockNotAcceptable) IsCode(code int) bool
IsCode returns true when this account unblock not acceptable response a status code equal to that given
func (*AccountUnblockNotAcceptable) IsRedirect ¶
func (o *AccountUnblockNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account unblock not acceptable response has a 3xx status code
func (*AccountUnblockNotAcceptable) IsServerError ¶
func (o *AccountUnblockNotAcceptable) IsServerError() bool
IsServerError returns true when this account unblock not acceptable response has a 5xx status code
func (*AccountUnblockNotAcceptable) IsSuccess ¶
func (o *AccountUnblockNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account unblock not acceptable response has a 2xx status code
func (*AccountUnblockNotAcceptable) String ¶
func (o *AccountUnblockNotAcceptable) String() string
type AccountUnblockNotFound ¶
type AccountUnblockNotFound struct { }
AccountUnblockNotFound describes a response with status code 404, with default header values.
not found
func NewAccountUnblockNotFound ¶
func NewAccountUnblockNotFound() *AccountUnblockNotFound
NewAccountUnblockNotFound creates a AccountUnblockNotFound with default headers values
func (*AccountUnblockNotFound) Code ¶
func (o *AccountUnblockNotFound) Code() int
Code gets the status code for the account unblock not found response
func (*AccountUnblockNotFound) Error ¶
func (o *AccountUnblockNotFound) Error() string
func (*AccountUnblockNotFound) IsClientError ¶
func (o *AccountUnblockNotFound) IsClientError() bool
IsClientError returns true when this account unblock not found response has a 4xx status code
func (*AccountUnblockNotFound) IsCode ¶
func (o *AccountUnblockNotFound) IsCode(code int) bool
IsCode returns true when this account unblock not found response a status code equal to that given
func (*AccountUnblockNotFound) IsRedirect ¶
func (o *AccountUnblockNotFound) IsRedirect() bool
IsRedirect returns true when this account unblock not found response has a 3xx status code
func (*AccountUnblockNotFound) IsServerError ¶
func (o *AccountUnblockNotFound) IsServerError() bool
IsServerError returns true when this account unblock not found response has a 5xx status code
func (*AccountUnblockNotFound) IsSuccess ¶
func (o *AccountUnblockNotFound) IsSuccess() bool
IsSuccess returns true when this account unblock not found response has a 2xx status code
func (*AccountUnblockNotFound) String ¶
func (o *AccountUnblockNotFound) String() string
type AccountUnblockOK ¶
type AccountUnblockOK struct {
Payload *models.Relationship
}
AccountUnblockOK describes a response with status code 200, with default header values.
Your relationship to this account.
func NewAccountUnblockOK ¶
func NewAccountUnblockOK() *AccountUnblockOK
NewAccountUnblockOK creates a AccountUnblockOK with default headers values
func (*AccountUnblockOK) Code ¶
func (o *AccountUnblockOK) Code() int
Code gets the status code for the account unblock o k response
func (*AccountUnblockOK) Error ¶
func (o *AccountUnblockOK) Error() string
func (*AccountUnblockOK) GetPayload ¶
func (o *AccountUnblockOK) GetPayload() *models.Relationship
func (*AccountUnblockOK) IsClientError ¶
func (o *AccountUnblockOK) IsClientError() bool
IsClientError returns true when this account unblock o k response has a 4xx status code
func (*AccountUnblockOK) IsCode ¶
func (o *AccountUnblockOK) IsCode(code int) bool
IsCode returns true when this account unblock o k response a status code equal to that given
func (*AccountUnblockOK) IsRedirect ¶
func (o *AccountUnblockOK) IsRedirect() bool
IsRedirect returns true when this account unblock o k response has a 3xx status code
func (*AccountUnblockOK) IsServerError ¶
func (o *AccountUnblockOK) IsServerError() bool
IsServerError returns true when this account unblock o k response has a 5xx status code
func (*AccountUnblockOK) IsSuccess ¶
func (o *AccountUnblockOK) IsSuccess() bool
IsSuccess returns true when this account unblock o k response has a 2xx status code
func (*AccountUnblockOK) String ¶
func (o *AccountUnblockOK) String() string
type AccountUnblockParams ¶
type AccountUnblockParams struct { /* ID. The id of the account to unblock. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountUnblockParams contains all the parameters to send to the API endpoint
for the account unblock operation. Typically these are written to a http.Request.
func NewAccountUnblockParams ¶
func NewAccountUnblockParams() *AccountUnblockParams
NewAccountUnblockParams creates a new AccountUnblockParams 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 NewAccountUnblockParamsWithContext ¶
func NewAccountUnblockParamsWithContext(ctx context.Context) *AccountUnblockParams
NewAccountUnblockParamsWithContext creates a new AccountUnblockParams object with the ability to set a context for a request.
func NewAccountUnblockParamsWithHTTPClient ¶
func NewAccountUnblockParamsWithHTTPClient(client *http.Client) *AccountUnblockParams
NewAccountUnblockParamsWithHTTPClient creates a new AccountUnblockParams object with the ability to set a custom HTTPClient for a request.
func NewAccountUnblockParamsWithTimeout ¶
func NewAccountUnblockParamsWithTimeout(timeout time.Duration) *AccountUnblockParams
NewAccountUnblockParamsWithTimeout creates a new AccountUnblockParams object with the ability to set a timeout on a request.
func (*AccountUnblockParams) SetContext ¶
func (o *AccountUnblockParams) SetContext(ctx context.Context)
SetContext adds the context to the account unblock params
func (*AccountUnblockParams) SetDefaults ¶
func (o *AccountUnblockParams) SetDefaults()
SetDefaults hydrates default values in the account unblock params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUnblockParams) SetHTTPClient ¶
func (o *AccountUnblockParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account unblock params
func (*AccountUnblockParams) SetID ¶
func (o *AccountUnblockParams) SetID(id string)
SetID adds the id to the account unblock params
func (*AccountUnblockParams) SetTimeout ¶
func (o *AccountUnblockParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account unblock params
func (*AccountUnblockParams) WithContext ¶
func (o *AccountUnblockParams) WithContext(ctx context.Context) *AccountUnblockParams
WithContext adds the context to the account unblock params
func (*AccountUnblockParams) WithDefaults ¶
func (o *AccountUnblockParams) WithDefaults() *AccountUnblockParams
WithDefaults hydrates default values in the account unblock params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUnblockParams) WithHTTPClient ¶
func (o *AccountUnblockParams) WithHTTPClient(client *http.Client) *AccountUnblockParams
WithHTTPClient adds the HTTPClient to the account unblock params
func (*AccountUnblockParams) WithID ¶
func (o *AccountUnblockParams) WithID(id string) *AccountUnblockParams
WithID adds the id to the account unblock params
func (*AccountUnblockParams) WithTimeout ¶
func (o *AccountUnblockParams) WithTimeout(timeout time.Duration) *AccountUnblockParams
WithTimeout adds the timeout to the account unblock params
func (*AccountUnblockParams) WriteToRequest ¶
func (o *AccountUnblockParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountUnblockReader ¶
type AccountUnblockReader struct {
// contains filtered or unexported fields
}
AccountUnblockReader is a Reader for the AccountUnblock structure.
func (*AccountUnblockReader) ReadResponse ¶
func (o *AccountUnblockReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountUnblockUnauthorized ¶
type AccountUnblockUnauthorized struct { }
AccountUnblockUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountUnblockUnauthorized ¶
func NewAccountUnblockUnauthorized() *AccountUnblockUnauthorized
NewAccountUnblockUnauthorized creates a AccountUnblockUnauthorized with default headers values
func (*AccountUnblockUnauthorized) Code ¶
func (o *AccountUnblockUnauthorized) Code() int
Code gets the status code for the account unblock unauthorized response
func (*AccountUnblockUnauthorized) Error ¶
func (o *AccountUnblockUnauthorized) Error() string
func (*AccountUnblockUnauthorized) IsClientError ¶
func (o *AccountUnblockUnauthorized) IsClientError() bool
IsClientError returns true when this account unblock unauthorized response has a 4xx status code
func (*AccountUnblockUnauthorized) IsCode ¶
func (o *AccountUnblockUnauthorized) IsCode(code int) bool
IsCode returns true when this account unblock unauthorized response a status code equal to that given
func (*AccountUnblockUnauthorized) IsRedirect ¶
func (o *AccountUnblockUnauthorized) IsRedirect() bool
IsRedirect returns true when this account unblock unauthorized response has a 3xx status code
func (*AccountUnblockUnauthorized) IsServerError ¶
func (o *AccountUnblockUnauthorized) IsServerError() bool
IsServerError returns true when this account unblock unauthorized response has a 5xx status code
func (*AccountUnblockUnauthorized) IsSuccess ¶
func (o *AccountUnblockUnauthorized) IsSuccess() bool
IsSuccess returns true when this account unblock unauthorized response has a 2xx status code
func (*AccountUnblockUnauthorized) String ¶
func (o *AccountUnblockUnauthorized) String() string
type AccountUnfollowBadRequest ¶
type AccountUnfollowBadRequest struct { }
AccountUnfollowBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountUnfollowBadRequest ¶
func NewAccountUnfollowBadRequest() *AccountUnfollowBadRequest
NewAccountUnfollowBadRequest creates a AccountUnfollowBadRequest with default headers values
func (*AccountUnfollowBadRequest) Code ¶
func (o *AccountUnfollowBadRequest) Code() int
Code gets the status code for the account unfollow bad request response
func (*AccountUnfollowBadRequest) Error ¶
func (o *AccountUnfollowBadRequest) Error() string
func (*AccountUnfollowBadRequest) IsClientError ¶
func (o *AccountUnfollowBadRequest) IsClientError() bool
IsClientError returns true when this account unfollow bad request response has a 4xx status code
func (*AccountUnfollowBadRequest) IsCode ¶
func (o *AccountUnfollowBadRequest) IsCode(code int) bool
IsCode returns true when this account unfollow bad request response a status code equal to that given
func (*AccountUnfollowBadRequest) IsRedirect ¶
func (o *AccountUnfollowBadRequest) IsRedirect() bool
IsRedirect returns true when this account unfollow bad request response has a 3xx status code
func (*AccountUnfollowBadRequest) IsServerError ¶
func (o *AccountUnfollowBadRequest) IsServerError() bool
IsServerError returns true when this account unfollow bad request response has a 5xx status code
func (*AccountUnfollowBadRequest) IsSuccess ¶
func (o *AccountUnfollowBadRequest) IsSuccess() bool
IsSuccess returns true when this account unfollow bad request response has a 2xx status code
func (*AccountUnfollowBadRequest) String ¶
func (o *AccountUnfollowBadRequest) String() string
type AccountUnfollowInternalServerError ¶
type AccountUnfollowInternalServerError struct { }
AccountUnfollowInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountUnfollowInternalServerError ¶
func NewAccountUnfollowInternalServerError() *AccountUnfollowInternalServerError
NewAccountUnfollowInternalServerError creates a AccountUnfollowInternalServerError with default headers values
func (*AccountUnfollowInternalServerError) Code ¶
func (o *AccountUnfollowInternalServerError) Code() int
Code gets the status code for the account unfollow internal server error response
func (*AccountUnfollowInternalServerError) Error ¶
func (o *AccountUnfollowInternalServerError) Error() string
func (*AccountUnfollowInternalServerError) IsClientError ¶
func (o *AccountUnfollowInternalServerError) IsClientError() bool
IsClientError returns true when this account unfollow internal server error response has a 4xx status code
func (*AccountUnfollowInternalServerError) IsCode ¶
func (o *AccountUnfollowInternalServerError) IsCode(code int) bool
IsCode returns true when this account unfollow internal server error response a status code equal to that given
func (*AccountUnfollowInternalServerError) IsRedirect ¶
func (o *AccountUnfollowInternalServerError) IsRedirect() bool
IsRedirect returns true when this account unfollow internal server error response has a 3xx status code
func (*AccountUnfollowInternalServerError) IsServerError ¶
func (o *AccountUnfollowInternalServerError) IsServerError() bool
IsServerError returns true when this account unfollow internal server error response has a 5xx status code
func (*AccountUnfollowInternalServerError) IsSuccess ¶
func (o *AccountUnfollowInternalServerError) IsSuccess() bool
IsSuccess returns true when this account unfollow internal server error response has a 2xx status code
func (*AccountUnfollowInternalServerError) String ¶
func (o *AccountUnfollowInternalServerError) String() string
type AccountUnfollowNotAcceptable ¶
type AccountUnfollowNotAcceptable struct { }
AccountUnfollowNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountUnfollowNotAcceptable ¶
func NewAccountUnfollowNotAcceptable() *AccountUnfollowNotAcceptable
NewAccountUnfollowNotAcceptable creates a AccountUnfollowNotAcceptable with default headers values
func (*AccountUnfollowNotAcceptable) Code ¶
func (o *AccountUnfollowNotAcceptable) Code() int
Code gets the status code for the account unfollow not acceptable response
func (*AccountUnfollowNotAcceptable) Error ¶
func (o *AccountUnfollowNotAcceptable) Error() string
func (*AccountUnfollowNotAcceptable) IsClientError ¶
func (o *AccountUnfollowNotAcceptable) IsClientError() bool
IsClientError returns true when this account unfollow not acceptable response has a 4xx status code
func (*AccountUnfollowNotAcceptable) IsCode ¶
func (o *AccountUnfollowNotAcceptable) IsCode(code int) bool
IsCode returns true when this account unfollow not acceptable response a status code equal to that given
func (*AccountUnfollowNotAcceptable) IsRedirect ¶
func (o *AccountUnfollowNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account unfollow not acceptable response has a 3xx status code
func (*AccountUnfollowNotAcceptable) IsServerError ¶
func (o *AccountUnfollowNotAcceptable) IsServerError() bool
IsServerError returns true when this account unfollow not acceptable response has a 5xx status code
func (*AccountUnfollowNotAcceptable) IsSuccess ¶
func (o *AccountUnfollowNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account unfollow not acceptable response has a 2xx status code
func (*AccountUnfollowNotAcceptable) String ¶
func (o *AccountUnfollowNotAcceptable) String() string
type AccountUnfollowNotFound ¶
type AccountUnfollowNotFound struct { }
AccountUnfollowNotFound describes a response with status code 404, with default header values.
not found
func NewAccountUnfollowNotFound ¶
func NewAccountUnfollowNotFound() *AccountUnfollowNotFound
NewAccountUnfollowNotFound creates a AccountUnfollowNotFound with default headers values
func (*AccountUnfollowNotFound) Code ¶
func (o *AccountUnfollowNotFound) Code() int
Code gets the status code for the account unfollow not found response
func (*AccountUnfollowNotFound) Error ¶
func (o *AccountUnfollowNotFound) Error() string
func (*AccountUnfollowNotFound) IsClientError ¶
func (o *AccountUnfollowNotFound) IsClientError() bool
IsClientError returns true when this account unfollow not found response has a 4xx status code
func (*AccountUnfollowNotFound) IsCode ¶
func (o *AccountUnfollowNotFound) IsCode(code int) bool
IsCode returns true when this account unfollow not found response a status code equal to that given
func (*AccountUnfollowNotFound) IsRedirect ¶
func (o *AccountUnfollowNotFound) IsRedirect() bool
IsRedirect returns true when this account unfollow not found response has a 3xx status code
func (*AccountUnfollowNotFound) IsServerError ¶
func (o *AccountUnfollowNotFound) IsServerError() bool
IsServerError returns true when this account unfollow not found response has a 5xx status code
func (*AccountUnfollowNotFound) IsSuccess ¶
func (o *AccountUnfollowNotFound) IsSuccess() bool
IsSuccess returns true when this account unfollow not found response has a 2xx status code
func (*AccountUnfollowNotFound) String ¶
func (o *AccountUnfollowNotFound) String() string
type AccountUnfollowOK ¶
type AccountUnfollowOK struct {
Payload *models.Relationship
}
AccountUnfollowOK describes a response with status code 200, with default header values.
Your relationship to this account.
func NewAccountUnfollowOK ¶
func NewAccountUnfollowOK() *AccountUnfollowOK
NewAccountUnfollowOK creates a AccountUnfollowOK with default headers values
func (*AccountUnfollowOK) Code ¶
func (o *AccountUnfollowOK) Code() int
Code gets the status code for the account unfollow o k response
func (*AccountUnfollowOK) Error ¶
func (o *AccountUnfollowOK) Error() string
func (*AccountUnfollowOK) GetPayload ¶
func (o *AccountUnfollowOK) GetPayload() *models.Relationship
func (*AccountUnfollowOK) IsClientError ¶
func (o *AccountUnfollowOK) IsClientError() bool
IsClientError returns true when this account unfollow o k response has a 4xx status code
func (*AccountUnfollowOK) IsCode ¶
func (o *AccountUnfollowOK) IsCode(code int) bool
IsCode returns true when this account unfollow o k response a status code equal to that given
func (*AccountUnfollowOK) IsRedirect ¶
func (o *AccountUnfollowOK) IsRedirect() bool
IsRedirect returns true when this account unfollow o k response has a 3xx status code
func (*AccountUnfollowOK) IsServerError ¶
func (o *AccountUnfollowOK) IsServerError() bool
IsServerError returns true when this account unfollow o k response has a 5xx status code
func (*AccountUnfollowOK) IsSuccess ¶
func (o *AccountUnfollowOK) IsSuccess() bool
IsSuccess returns true when this account unfollow o k response has a 2xx status code
func (*AccountUnfollowOK) String ¶
func (o *AccountUnfollowOK) String() string
type AccountUnfollowParams ¶
type AccountUnfollowParams struct { /* ID. The id of the account to unfollow. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountUnfollowParams contains all the parameters to send to the API endpoint
for the account unfollow operation. Typically these are written to a http.Request.
func NewAccountUnfollowParams ¶
func NewAccountUnfollowParams() *AccountUnfollowParams
NewAccountUnfollowParams creates a new AccountUnfollowParams 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 NewAccountUnfollowParamsWithContext ¶
func NewAccountUnfollowParamsWithContext(ctx context.Context) *AccountUnfollowParams
NewAccountUnfollowParamsWithContext creates a new AccountUnfollowParams object with the ability to set a context for a request.
func NewAccountUnfollowParamsWithHTTPClient ¶
func NewAccountUnfollowParamsWithHTTPClient(client *http.Client) *AccountUnfollowParams
NewAccountUnfollowParamsWithHTTPClient creates a new AccountUnfollowParams object with the ability to set a custom HTTPClient for a request.
func NewAccountUnfollowParamsWithTimeout ¶
func NewAccountUnfollowParamsWithTimeout(timeout time.Duration) *AccountUnfollowParams
NewAccountUnfollowParamsWithTimeout creates a new AccountUnfollowParams object with the ability to set a timeout on a request.
func (*AccountUnfollowParams) SetContext ¶
func (o *AccountUnfollowParams) SetContext(ctx context.Context)
SetContext adds the context to the account unfollow params
func (*AccountUnfollowParams) SetDefaults ¶
func (o *AccountUnfollowParams) SetDefaults()
SetDefaults hydrates default values in the account unfollow params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUnfollowParams) SetHTTPClient ¶
func (o *AccountUnfollowParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account unfollow params
func (*AccountUnfollowParams) SetID ¶
func (o *AccountUnfollowParams) SetID(id string)
SetID adds the id to the account unfollow params
func (*AccountUnfollowParams) SetTimeout ¶
func (o *AccountUnfollowParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account unfollow params
func (*AccountUnfollowParams) WithContext ¶
func (o *AccountUnfollowParams) WithContext(ctx context.Context) *AccountUnfollowParams
WithContext adds the context to the account unfollow params
func (*AccountUnfollowParams) WithDefaults ¶
func (o *AccountUnfollowParams) WithDefaults() *AccountUnfollowParams
WithDefaults hydrates default values in the account unfollow params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUnfollowParams) WithHTTPClient ¶
func (o *AccountUnfollowParams) WithHTTPClient(client *http.Client) *AccountUnfollowParams
WithHTTPClient adds the HTTPClient to the account unfollow params
func (*AccountUnfollowParams) WithID ¶
func (o *AccountUnfollowParams) WithID(id string) *AccountUnfollowParams
WithID adds the id to the account unfollow params
func (*AccountUnfollowParams) WithTimeout ¶
func (o *AccountUnfollowParams) WithTimeout(timeout time.Duration) *AccountUnfollowParams
WithTimeout adds the timeout to the account unfollow params
func (*AccountUnfollowParams) WriteToRequest ¶
func (o *AccountUnfollowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountUnfollowReader ¶
type AccountUnfollowReader struct {
// contains filtered or unexported fields
}
AccountUnfollowReader is a Reader for the AccountUnfollow structure.
func (*AccountUnfollowReader) ReadResponse ¶
func (o *AccountUnfollowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountUnfollowUnauthorized ¶
type AccountUnfollowUnauthorized struct { }
AccountUnfollowUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountUnfollowUnauthorized ¶
func NewAccountUnfollowUnauthorized() *AccountUnfollowUnauthorized
NewAccountUnfollowUnauthorized creates a AccountUnfollowUnauthorized with default headers values
func (*AccountUnfollowUnauthorized) Code ¶
func (o *AccountUnfollowUnauthorized) Code() int
Code gets the status code for the account unfollow unauthorized response
func (*AccountUnfollowUnauthorized) Error ¶
func (o *AccountUnfollowUnauthorized) Error() string
func (*AccountUnfollowUnauthorized) IsClientError ¶
func (o *AccountUnfollowUnauthorized) IsClientError() bool
IsClientError returns true when this account unfollow unauthorized response has a 4xx status code
func (*AccountUnfollowUnauthorized) IsCode ¶
func (o *AccountUnfollowUnauthorized) IsCode(code int) bool
IsCode returns true when this account unfollow unauthorized response a status code equal to that given
func (*AccountUnfollowUnauthorized) IsRedirect ¶
func (o *AccountUnfollowUnauthorized) IsRedirect() bool
IsRedirect returns true when this account unfollow unauthorized response has a 3xx status code
func (*AccountUnfollowUnauthorized) IsServerError ¶
func (o *AccountUnfollowUnauthorized) IsServerError() bool
IsServerError returns true when this account unfollow unauthorized response has a 5xx status code
func (*AccountUnfollowUnauthorized) IsSuccess ¶
func (o *AccountUnfollowUnauthorized) IsSuccess() bool
IsSuccess returns true when this account unfollow unauthorized response has a 2xx status code
func (*AccountUnfollowUnauthorized) String ¶
func (o *AccountUnfollowUnauthorized) String() string
type AccountUnmuteBadRequest ¶
type AccountUnmuteBadRequest struct { }
AccountUnmuteBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountUnmuteBadRequest ¶
func NewAccountUnmuteBadRequest() *AccountUnmuteBadRequest
NewAccountUnmuteBadRequest creates a AccountUnmuteBadRequest with default headers values
func (*AccountUnmuteBadRequest) Code ¶
func (o *AccountUnmuteBadRequest) Code() int
Code gets the status code for the account unmute bad request response
func (*AccountUnmuteBadRequest) Error ¶
func (o *AccountUnmuteBadRequest) Error() string
func (*AccountUnmuteBadRequest) IsClientError ¶
func (o *AccountUnmuteBadRequest) IsClientError() bool
IsClientError returns true when this account unmute bad request response has a 4xx status code
func (*AccountUnmuteBadRequest) IsCode ¶
func (o *AccountUnmuteBadRequest) IsCode(code int) bool
IsCode returns true when this account unmute bad request response a status code equal to that given
func (*AccountUnmuteBadRequest) IsRedirect ¶
func (o *AccountUnmuteBadRequest) IsRedirect() bool
IsRedirect returns true when this account unmute bad request response has a 3xx status code
func (*AccountUnmuteBadRequest) IsServerError ¶
func (o *AccountUnmuteBadRequest) IsServerError() bool
IsServerError returns true when this account unmute bad request response has a 5xx status code
func (*AccountUnmuteBadRequest) IsSuccess ¶
func (o *AccountUnmuteBadRequest) IsSuccess() bool
IsSuccess returns true when this account unmute bad request response has a 2xx status code
func (*AccountUnmuteBadRequest) String ¶
func (o *AccountUnmuteBadRequest) String() string
type AccountUnmuteInternalServerError ¶
type AccountUnmuteInternalServerError struct { }
AccountUnmuteInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountUnmuteInternalServerError ¶
func NewAccountUnmuteInternalServerError() *AccountUnmuteInternalServerError
NewAccountUnmuteInternalServerError creates a AccountUnmuteInternalServerError with default headers values
func (*AccountUnmuteInternalServerError) Code ¶
func (o *AccountUnmuteInternalServerError) Code() int
Code gets the status code for the account unmute internal server error response
func (*AccountUnmuteInternalServerError) Error ¶
func (o *AccountUnmuteInternalServerError) Error() string
func (*AccountUnmuteInternalServerError) IsClientError ¶
func (o *AccountUnmuteInternalServerError) IsClientError() bool
IsClientError returns true when this account unmute internal server error response has a 4xx status code
func (*AccountUnmuteInternalServerError) IsCode ¶
func (o *AccountUnmuteInternalServerError) IsCode(code int) bool
IsCode returns true when this account unmute internal server error response a status code equal to that given
func (*AccountUnmuteInternalServerError) IsRedirect ¶
func (o *AccountUnmuteInternalServerError) IsRedirect() bool
IsRedirect returns true when this account unmute internal server error response has a 3xx status code
func (*AccountUnmuteInternalServerError) IsServerError ¶
func (o *AccountUnmuteInternalServerError) IsServerError() bool
IsServerError returns true when this account unmute internal server error response has a 5xx status code
func (*AccountUnmuteInternalServerError) IsSuccess ¶
func (o *AccountUnmuteInternalServerError) IsSuccess() bool
IsSuccess returns true when this account unmute internal server error response has a 2xx status code
func (*AccountUnmuteInternalServerError) String ¶
func (o *AccountUnmuteInternalServerError) String() string
type AccountUnmuteNotAcceptable ¶
type AccountUnmuteNotAcceptable struct { }
AccountUnmuteNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountUnmuteNotAcceptable ¶
func NewAccountUnmuteNotAcceptable() *AccountUnmuteNotAcceptable
NewAccountUnmuteNotAcceptable creates a AccountUnmuteNotAcceptable with default headers values
func (*AccountUnmuteNotAcceptable) Code ¶
func (o *AccountUnmuteNotAcceptable) Code() int
Code gets the status code for the account unmute not acceptable response
func (*AccountUnmuteNotAcceptable) Error ¶
func (o *AccountUnmuteNotAcceptable) Error() string
func (*AccountUnmuteNotAcceptable) IsClientError ¶
func (o *AccountUnmuteNotAcceptable) IsClientError() bool
IsClientError returns true when this account unmute not acceptable response has a 4xx status code
func (*AccountUnmuteNotAcceptable) IsCode ¶
func (o *AccountUnmuteNotAcceptable) IsCode(code int) bool
IsCode returns true when this account unmute not acceptable response a status code equal to that given
func (*AccountUnmuteNotAcceptable) IsRedirect ¶
func (o *AccountUnmuteNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account unmute not acceptable response has a 3xx status code
func (*AccountUnmuteNotAcceptable) IsServerError ¶
func (o *AccountUnmuteNotAcceptable) IsServerError() bool
IsServerError returns true when this account unmute not acceptable response has a 5xx status code
func (*AccountUnmuteNotAcceptable) IsSuccess ¶
func (o *AccountUnmuteNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account unmute not acceptable response has a 2xx status code
func (*AccountUnmuteNotAcceptable) String ¶
func (o *AccountUnmuteNotAcceptable) String() string
type AccountUnmuteNotFound ¶
type AccountUnmuteNotFound struct { }
AccountUnmuteNotFound describes a response with status code 404, with default header values.
not found
func NewAccountUnmuteNotFound ¶
func NewAccountUnmuteNotFound() *AccountUnmuteNotFound
NewAccountUnmuteNotFound creates a AccountUnmuteNotFound with default headers values
func (*AccountUnmuteNotFound) Code ¶
func (o *AccountUnmuteNotFound) Code() int
Code gets the status code for the account unmute not found response
func (*AccountUnmuteNotFound) Error ¶
func (o *AccountUnmuteNotFound) Error() string
func (*AccountUnmuteNotFound) IsClientError ¶
func (o *AccountUnmuteNotFound) IsClientError() bool
IsClientError returns true when this account unmute not found response has a 4xx status code
func (*AccountUnmuteNotFound) IsCode ¶
func (o *AccountUnmuteNotFound) IsCode(code int) bool
IsCode returns true when this account unmute not found response a status code equal to that given
func (*AccountUnmuteNotFound) IsRedirect ¶
func (o *AccountUnmuteNotFound) IsRedirect() bool
IsRedirect returns true when this account unmute not found response has a 3xx status code
func (*AccountUnmuteNotFound) IsServerError ¶
func (o *AccountUnmuteNotFound) IsServerError() bool
IsServerError returns true when this account unmute not found response has a 5xx status code
func (*AccountUnmuteNotFound) IsSuccess ¶
func (o *AccountUnmuteNotFound) IsSuccess() bool
IsSuccess returns true when this account unmute not found response has a 2xx status code
func (*AccountUnmuteNotFound) String ¶
func (o *AccountUnmuteNotFound) String() string
type AccountUnmuteOK ¶
type AccountUnmuteOK struct {
Payload *models.Relationship
}
AccountUnmuteOK describes a response with status code 200, with default header values.
Your relationship to this account.
func NewAccountUnmuteOK ¶
func NewAccountUnmuteOK() *AccountUnmuteOK
NewAccountUnmuteOK creates a AccountUnmuteOK with default headers values
func (*AccountUnmuteOK) Code ¶
func (o *AccountUnmuteOK) Code() int
Code gets the status code for the account unmute o k response
func (*AccountUnmuteOK) Error ¶
func (o *AccountUnmuteOK) Error() string
func (*AccountUnmuteOK) GetPayload ¶
func (o *AccountUnmuteOK) GetPayload() *models.Relationship
func (*AccountUnmuteOK) IsClientError ¶
func (o *AccountUnmuteOK) IsClientError() bool
IsClientError returns true when this account unmute o k response has a 4xx status code
func (*AccountUnmuteOK) IsCode ¶
func (o *AccountUnmuteOK) IsCode(code int) bool
IsCode returns true when this account unmute o k response a status code equal to that given
func (*AccountUnmuteOK) IsRedirect ¶
func (o *AccountUnmuteOK) IsRedirect() bool
IsRedirect returns true when this account unmute o k response has a 3xx status code
func (*AccountUnmuteOK) IsServerError ¶
func (o *AccountUnmuteOK) IsServerError() bool
IsServerError returns true when this account unmute o k response has a 5xx status code
func (*AccountUnmuteOK) IsSuccess ¶
func (o *AccountUnmuteOK) IsSuccess() bool
IsSuccess returns true when this account unmute o k response has a 2xx status code
func (*AccountUnmuteOK) String ¶
func (o *AccountUnmuteOK) String() string
type AccountUnmuteParams ¶
type AccountUnmuteParams struct { /* ID. The ID of the account to unmute. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountUnmuteParams contains all the parameters to send to the API endpoint
for the account unmute operation. Typically these are written to a http.Request.
func NewAccountUnmuteParams ¶
func NewAccountUnmuteParams() *AccountUnmuteParams
NewAccountUnmuteParams creates a new AccountUnmuteParams 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 NewAccountUnmuteParamsWithContext ¶
func NewAccountUnmuteParamsWithContext(ctx context.Context) *AccountUnmuteParams
NewAccountUnmuteParamsWithContext creates a new AccountUnmuteParams object with the ability to set a context for a request.
func NewAccountUnmuteParamsWithHTTPClient ¶
func NewAccountUnmuteParamsWithHTTPClient(client *http.Client) *AccountUnmuteParams
NewAccountUnmuteParamsWithHTTPClient creates a new AccountUnmuteParams object with the ability to set a custom HTTPClient for a request.
func NewAccountUnmuteParamsWithTimeout ¶
func NewAccountUnmuteParamsWithTimeout(timeout time.Duration) *AccountUnmuteParams
NewAccountUnmuteParamsWithTimeout creates a new AccountUnmuteParams object with the ability to set a timeout on a request.
func (*AccountUnmuteParams) SetContext ¶
func (o *AccountUnmuteParams) SetContext(ctx context.Context)
SetContext adds the context to the account unmute params
func (*AccountUnmuteParams) SetDefaults ¶
func (o *AccountUnmuteParams) SetDefaults()
SetDefaults hydrates default values in the account unmute params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUnmuteParams) SetHTTPClient ¶
func (o *AccountUnmuteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account unmute params
func (*AccountUnmuteParams) SetID ¶
func (o *AccountUnmuteParams) SetID(id string)
SetID adds the id to the account unmute params
func (*AccountUnmuteParams) SetTimeout ¶
func (o *AccountUnmuteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account unmute params
func (*AccountUnmuteParams) WithContext ¶
func (o *AccountUnmuteParams) WithContext(ctx context.Context) *AccountUnmuteParams
WithContext adds the context to the account unmute params
func (*AccountUnmuteParams) WithDefaults ¶
func (o *AccountUnmuteParams) WithDefaults() *AccountUnmuteParams
WithDefaults hydrates default values in the account unmute params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUnmuteParams) WithHTTPClient ¶
func (o *AccountUnmuteParams) WithHTTPClient(client *http.Client) *AccountUnmuteParams
WithHTTPClient adds the HTTPClient to the account unmute params
func (*AccountUnmuteParams) WithID ¶
func (o *AccountUnmuteParams) WithID(id string) *AccountUnmuteParams
WithID adds the id to the account unmute params
func (*AccountUnmuteParams) WithTimeout ¶
func (o *AccountUnmuteParams) WithTimeout(timeout time.Duration) *AccountUnmuteParams
WithTimeout adds the timeout to the account unmute params
func (*AccountUnmuteParams) WriteToRequest ¶
func (o *AccountUnmuteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountUnmuteReader ¶
type AccountUnmuteReader struct {
// contains filtered or unexported fields
}
AccountUnmuteReader is a Reader for the AccountUnmute structure.
func (*AccountUnmuteReader) ReadResponse ¶
func (o *AccountUnmuteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountUnmuteUnauthorized ¶
type AccountUnmuteUnauthorized struct { }
AccountUnmuteUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountUnmuteUnauthorized ¶
func NewAccountUnmuteUnauthorized() *AccountUnmuteUnauthorized
NewAccountUnmuteUnauthorized creates a AccountUnmuteUnauthorized with default headers values
func (*AccountUnmuteUnauthorized) Code ¶
func (o *AccountUnmuteUnauthorized) Code() int
Code gets the status code for the account unmute unauthorized response
func (*AccountUnmuteUnauthorized) Error ¶
func (o *AccountUnmuteUnauthorized) Error() string
func (*AccountUnmuteUnauthorized) IsClientError ¶
func (o *AccountUnmuteUnauthorized) IsClientError() bool
IsClientError returns true when this account unmute unauthorized response has a 4xx status code
func (*AccountUnmuteUnauthorized) IsCode ¶
func (o *AccountUnmuteUnauthorized) IsCode(code int) bool
IsCode returns true when this account unmute unauthorized response a status code equal to that given
func (*AccountUnmuteUnauthorized) IsRedirect ¶
func (o *AccountUnmuteUnauthorized) IsRedirect() bool
IsRedirect returns true when this account unmute unauthorized response has a 3xx status code
func (*AccountUnmuteUnauthorized) IsServerError ¶
func (o *AccountUnmuteUnauthorized) IsServerError() bool
IsServerError returns true when this account unmute unauthorized response has a 5xx status code
func (*AccountUnmuteUnauthorized) IsSuccess ¶
func (o *AccountUnmuteUnauthorized) IsSuccess() bool
IsSuccess returns true when this account unmute unauthorized response has a 2xx status code
func (*AccountUnmuteUnauthorized) String ¶
func (o *AccountUnmuteUnauthorized) String() string
type AccountUpdateBadRequest ¶
type AccountUpdateBadRequest struct { }
AccountUpdateBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountUpdateBadRequest ¶
func NewAccountUpdateBadRequest() *AccountUpdateBadRequest
NewAccountUpdateBadRequest creates a AccountUpdateBadRequest with default headers values
func (*AccountUpdateBadRequest) Code ¶
func (o *AccountUpdateBadRequest) Code() int
Code gets the status code for the account update bad request response
func (*AccountUpdateBadRequest) Error ¶
func (o *AccountUpdateBadRequest) Error() string
func (*AccountUpdateBadRequest) IsClientError ¶
func (o *AccountUpdateBadRequest) IsClientError() bool
IsClientError returns true when this account update bad request response has a 4xx status code
func (*AccountUpdateBadRequest) IsCode ¶
func (o *AccountUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this account update bad request response a status code equal to that given
func (*AccountUpdateBadRequest) IsRedirect ¶
func (o *AccountUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this account update bad request response has a 3xx status code
func (*AccountUpdateBadRequest) IsServerError ¶
func (o *AccountUpdateBadRequest) IsServerError() bool
IsServerError returns true when this account update bad request response has a 5xx status code
func (*AccountUpdateBadRequest) IsSuccess ¶
func (o *AccountUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this account update bad request response has a 2xx status code
func (*AccountUpdateBadRequest) String ¶
func (o *AccountUpdateBadRequest) String() string
type AccountUpdateInternalServerError ¶
type AccountUpdateInternalServerError struct { }
AccountUpdateInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountUpdateInternalServerError ¶
func NewAccountUpdateInternalServerError() *AccountUpdateInternalServerError
NewAccountUpdateInternalServerError creates a AccountUpdateInternalServerError with default headers values
func (*AccountUpdateInternalServerError) Code ¶
func (o *AccountUpdateInternalServerError) Code() int
Code gets the status code for the account update internal server error response
func (*AccountUpdateInternalServerError) Error ¶
func (o *AccountUpdateInternalServerError) Error() string
func (*AccountUpdateInternalServerError) IsClientError ¶
func (o *AccountUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this account update internal server error response has a 4xx status code
func (*AccountUpdateInternalServerError) IsCode ¶
func (o *AccountUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this account update internal server error response a status code equal to that given
func (*AccountUpdateInternalServerError) IsRedirect ¶
func (o *AccountUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this account update internal server error response has a 3xx status code
func (*AccountUpdateInternalServerError) IsServerError ¶
func (o *AccountUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this account update internal server error response has a 5xx status code
func (*AccountUpdateInternalServerError) IsSuccess ¶
func (o *AccountUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this account update internal server error response has a 2xx status code
func (*AccountUpdateInternalServerError) String ¶
func (o *AccountUpdateInternalServerError) String() string
type AccountUpdateNotAcceptable ¶
type AccountUpdateNotAcceptable struct { }
AccountUpdateNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountUpdateNotAcceptable ¶
func NewAccountUpdateNotAcceptable() *AccountUpdateNotAcceptable
NewAccountUpdateNotAcceptable creates a AccountUpdateNotAcceptable with default headers values
func (*AccountUpdateNotAcceptable) Code ¶
func (o *AccountUpdateNotAcceptable) Code() int
Code gets the status code for the account update not acceptable response
func (*AccountUpdateNotAcceptable) Error ¶
func (o *AccountUpdateNotAcceptable) Error() string
func (*AccountUpdateNotAcceptable) IsClientError ¶
func (o *AccountUpdateNotAcceptable) IsClientError() bool
IsClientError returns true when this account update not acceptable response has a 4xx status code
func (*AccountUpdateNotAcceptable) IsCode ¶
func (o *AccountUpdateNotAcceptable) IsCode(code int) bool
IsCode returns true when this account update not acceptable response a status code equal to that given
func (*AccountUpdateNotAcceptable) IsRedirect ¶
func (o *AccountUpdateNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account update not acceptable response has a 3xx status code
func (*AccountUpdateNotAcceptable) IsServerError ¶
func (o *AccountUpdateNotAcceptable) IsServerError() bool
IsServerError returns true when this account update not acceptable response has a 5xx status code
func (*AccountUpdateNotAcceptable) IsSuccess ¶
func (o *AccountUpdateNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account update not acceptable response has a 2xx status code
func (*AccountUpdateNotAcceptable) String ¶
func (o *AccountUpdateNotAcceptable) String() string
type AccountUpdateNotFound ¶
type AccountUpdateNotFound struct { }
AccountUpdateNotFound describes a response with status code 404, with default header values.
not found
func NewAccountUpdateNotFound ¶
func NewAccountUpdateNotFound() *AccountUpdateNotFound
NewAccountUpdateNotFound creates a AccountUpdateNotFound with default headers values
func (*AccountUpdateNotFound) Code ¶
func (o *AccountUpdateNotFound) Code() int
Code gets the status code for the account update not found response
func (*AccountUpdateNotFound) Error ¶
func (o *AccountUpdateNotFound) Error() string
func (*AccountUpdateNotFound) IsClientError ¶
func (o *AccountUpdateNotFound) IsClientError() bool
IsClientError returns true when this account update not found response has a 4xx status code
func (*AccountUpdateNotFound) IsCode ¶
func (o *AccountUpdateNotFound) IsCode(code int) bool
IsCode returns true when this account update not found response a status code equal to that given
func (*AccountUpdateNotFound) IsRedirect ¶
func (o *AccountUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this account update not found response has a 3xx status code
func (*AccountUpdateNotFound) IsServerError ¶
func (o *AccountUpdateNotFound) IsServerError() bool
IsServerError returns true when this account update not found response has a 5xx status code
func (*AccountUpdateNotFound) IsSuccess ¶
func (o *AccountUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this account update not found response has a 2xx status code
func (*AccountUpdateNotFound) String ¶
func (o *AccountUpdateNotFound) String() string
type AccountUpdateOK ¶
AccountUpdateOK describes a response with status code 200, with default header values.
The newly updated account.
func NewAccountUpdateOK ¶
func NewAccountUpdateOK() *AccountUpdateOK
NewAccountUpdateOK creates a AccountUpdateOK with default headers values
func (*AccountUpdateOK) Code ¶
func (o *AccountUpdateOK) Code() int
Code gets the status code for the account update o k response
func (*AccountUpdateOK) Error ¶
func (o *AccountUpdateOK) Error() string
func (*AccountUpdateOK) GetPayload ¶
func (o *AccountUpdateOK) GetPayload() *models.Account
func (*AccountUpdateOK) IsClientError ¶
func (o *AccountUpdateOK) IsClientError() bool
IsClientError returns true when this account update o k response has a 4xx status code
func (*AccountUpdateOK) IsCode ¶
func (o *AccountUpdateOK) IsCode(code int) bool
IsCode returns true when this account update o k response a status code equal to that given
func (*AccountUpdateOK) IsRedirect ¶
func (o *AccountUpdateOK) IsRedirect() bool
IsRedirect returns true when this account update o k response has a 3xx status code
func (*AccountUpdateOK) IsServerError ¶
func (o *AccountUpdateOK) IsServerError() bool
IsServerError returns true when this account update o k response has a 5xx status code
func (*AccountUpdateOK) IsSuccess ¶
func (o *AccountUpdateOK) IsSuccess() bool
IsSuccess returns true when this account update o k response has a 2xx status code
func (*AccountUpdateOK) String ¶
func (o *AccountUpdateOK) String() string
type AccountUpdateParams ¶
type AccountUpdateParams struct { /* Avatar. Avatar of the user. */ Avatar runtime.NamedReadCloser /* AvatarDescription. Description of avatar image, for alt-text. */ AvatarDescription string /* Bot. Account is flagged as a bot. */ Bot *bool /* CustomCSS. Custom CSS to use when rendering this account's profile or statuses. String must be no more than 5,000 characters (~5kb). */ CustomCSS *string /* Discoverable. Account should be made discoverable and shown in the profile directory (if enabled). */ Discoverable *bool /* DisplayName. The display name to use for the account. */ DisplayName string /* EnableRss. Enable RSS feed for this account's Public posts at `/[username]/feed.rss` */ EnableRss *bool /* FieldsAttributes0Name. Name of 1st profile field to be added to this account's profile. (The index may be any string; add more indexes to send more fields.) */ FieldsAttributes0Name *string /* FieldsAttributes0Value. Value of 1st profile field to be added to this account's profile. (The index may be any string; add more indexes to send more fields.) */ FieldsAttributes0Value *string /* FieldsAttributes1Name. Name of 2nd profile field to be added to this account's profile. */ FieldsAttributes1Name *string /* FieldsAttributes1Value. Value of 2nd profile field to be added to this account's profile. */ FieldsAttributes1Value *string /* FieldsAttributes2Name. Name of 3rd profile field to be added to this account's profile. */ FieldsAttributes2Name *string /* FieldsAttributes2Value. Value of 3rd profile field to be added to this account's profile. */ FieldsAttributes2Value *string /* FieldsAttributes3Name. Name of 4th profile field to be added to this account's profile. */ FieldsAttributes3Name *string /* FieldsAttributes3Value. Value of 4th profile field to be added to this account's profile. */ FieldsAttributes3Value *string /* FieldsAttributes4Name. Name of 5th profile field to be added to this account's profile. */ FieldsAttributes4Name *string /* FieldsAttributes4Value. Value of 5th profile field to be added to this account's profile. */ FieldsAttributes4Value *string /* FieldsAttributes5Name. Name of 6th profile field to be added to this account's profile. */ FieldsAttributes5Name *string /* FieldsAttributes5Value. Value of 6th profile field to be added to this account's profile. */ FieldsAttributes5Value *string /* Header. Header of the user. */ Header runtime.NamedReadCloser /* HeaderDescription. Description of header image, for alt-text. */ HeaderDescription string /* HideCollections. Hide the account's following/followers collections. */ HideCollections *bool /* Locked. Require manual approval of follow requests. */ Locked *bool /* Note. Bio/description of this account. */ Note string /* SourceLanguage. Default language to use for authored statuses (ISO 6391). */ SourceLanguage *string /* SourcePrivacy. Default post privacy for authored statuses. */ SourcePrivacy *string /* SourceSensitive. Mark authored statuses as sensitive by default. */ SourceSensitive *bool /* SourceStatusContentType. Default content type to use for authored statuses (text/plain or text/markdown). */ SourceStatusContentType *string /* Theme. FileName of the theme to use when rendering this account's profile or statuses. The theme must exist on this server, as indicated by /api/v1/accounts/themes. Empty string unsets theme and returns to the default GoToSocial theme. */ Theme *string /* WebVisibility. Posts to show on the web view of the account. "public": default, show only Public visibility posts on the web. "unlisted": show Public *and* Unlisted visibility posts on the web. "none": show no posts on the web, not even Public ones. */ WebVisibility *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountUpdateParams contains all the parameters to send to the API endpoint
for the account update operation. Typically these are written to a http.Request.
func NewAccountUpdateParams ¶
func NewAccountUpdateParams() *AccountUpdateParams
NewAccountUpdateParams creates a new AccountUpdateParams 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 NewAccountUpdateParamsWithContext ¶
func NewAccountUpdateParamsWithContext(ctx context.Context) *AccountUpdateParams
NewAccountUpdateParamsWithContext creates a new AccountUpdateParams object with the ability to set a context for a request.
func NewAccountUpdateParamsWithHTTPClient ¶
func NewAccountUpdateParamsWithHTTPClient(client *http.Client) *AccountUpdateParams
NewAccountUpdateParamsWithHTTPClient creates a new AccountUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewAccountUpdateParamsWithTimeout ¶
func NewAccountUpdateParamsWithTimeout(timeout time.Duration) *AccountUpdateParams
NewAccountUpdateParamsWithTimeout creates a new AccountUpdateParams object with the ability to set a timeout on a request.
func (*AccountUpdateParams) SetAvatar ¶
func (o *AccountUpdateParams) SetAvatar(avatar runtime.NamedReadCloser)
SetAvatar adds the avatar to the account update params
func (*AccountUpdateParams) SetAvatarDescription ¶
func (o *AccountUpdateParams) SetAvatarDescription(avatarDescription string)
SetAvatarDescription adds the avatarDescription to the account update params
func (*AccountUpdateParams) SetBot ¶
func (o *AccountUpdateParams) SetBot(bot *bool)
SetBot adds the bot to the account update params
func (*AccountUpdateParams) SetContext ¶
func (o *AccountUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the account update params
func (*AccountUpdateParams) SetCustomCSS ¶
func (o *AccountUpdateParams) SetCustomCSS(customCSS *string)
SetCustomCSS adds the customCss to the account update params
func (*AccountUpdateParams) SetDefaults ¶
func (o *AccountUpdateParams) SetDefaults()
SetDefaults hydrates default values in the account update params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUpdateParams) SetDiscoverable ¶
func (o *AccountUpdateParams) SetDiscoverable(discoverable *bool)
SetDiscoverable adds the discoverable to the account update params
func (*AccountUpdateParams) SetDisplayName ¶
func (o *AccountUpdateParams) SetDisplayName(displayName string)
SetDisplayName adds the displayName to the account update params
func (*AccountUpdateParams) SetEnableRss ¶
func (o *AccountUpdateParams) SetEnableRss(enableRss *bool)
SetEnableRss adds the enableRss to the account update params
func (*AccountUpdateParams) SetFieldsAttributes0Name ¶
func (o *AccountUpdateParams) SetFieldsAttributes0Name(fieldsAttributes0Name *string)
SetFieldsAttributes0Name adds the fieldsAttributes0Name to the account update params
func (*AccountUpdateParams) SetFieldsAttributes0Value ¶
func (o *AccountUpdateParams) SetFieldsAttributes0Value(fieldsAttributes0Value *string)
SetFieldsAttributes0Value adds the fieldsAttributes0Value to the account update params
func (*AccountUpdateParams) SetFieldsAttributes1Name ¶
func (o *AccountUpdateParams) SetFieldsAttributes1Name(fieldsAttributes1Name *string)
SetFieldsAttributes1Name adds the fieldsAttributes1Name to the account update params
func (*AccountUpdateParams) SetFieldsAttributes1Value ¶
func (o *AccountUpdateParams) SetFieldsAttributes1Value(fieldsAttributes1Value *string)
SetFieldsAttributes1Value adds the fieldsAttributes1Value to the account update params
func (*AccountUpdateParams) SetFieldsAttributes2Name ¶
func (o *AccountUpdateParams) SetFieldsAttributes2Name(fieldsAttributes2Name *string)
SetFieldsAttributes2Name adds the fieldsAttributes2Name to the account update params
func (*AccountUpdateParams) SetFieldsAttributes2Value ¶
func (o *AccountUpdateParams) SetFieldsAttributes2Value(fieldsAttributes2Value *string)
SetFieldsAttributes2Value adds the fieldsAttributes2Value to the account update params
func (*AccountUpdateParams) SetFieldsAttributes3Name ¶
func (o *AccountUpdateParams) SetFieldsAttributes3Name(fieldsAttributes3Name *string)
SetFieldsAttributes3Name adds the fieldsAttributes3Name to the account update params
func (*AccountUpdateParams) SetFieldsAttributes3Value ¶
func (o *AccountUpdateParams) SetFieldsAttributes3Value(fieldsAttributes3Value *string)
SetFieldsAttributes3Value adds the fieldsAttributes3Value to the account update params
func (*AccountUpdateParams) SetFieldsAttributes4Name ¶
func (o *AccountUpdateParams) SetFieldsAttributes4Name(fieldsAttributes4Name *string)
SetFieldsAttributes4Name adds the fieldsAttributes4Name to the account update params
func (*AccountUpdateParams) SetFieldsAttributes4Value ¶
func (o *AccountUpdateParams) SetFieldsAttributes4Value(fieldsAttributes4Value *string)
SetFieldsAttributes4Value adds the fieldsAttributes4Value to the account update params
func (*AccountUpdateParams) SetFieldsAttributes5Name ¶
func (o *AccountUpdateParams) SetFieldsAttributes5Name(fieldsAttributes5Name *string)
SetFieldsAttributes5Name adds the fieldsAttributes5Name to the account update params
func (*AccountUpdateParams) SetFieldsAttributes5Value ¶
func (o *AccountUpdateParams) SetFieldsAttributes5Value(fieldsAttributes5Value *string)
SetFieldsAttributes5Value adds the fieldsAttributes5Value to the account update params
func (*AccountUpdateParams) SetHTTPClient ¶
func (o *AccountUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account update params
func (*AccountUpdateParams) SetHeader ¶
func (o *AccountUpdateParams) SetHeader(header runtime.NamedReadCloser)
SetHeader adds the header to the account update params
func (*AccountUpdateParams) SetHeaderDescription ¶
func (o *AccountUpdateParams) SetHeaderDescription(headerDescription string)
SetHeaderDescription adds the headerDescription to the account update params
func (*AccountUpdateParams) SetHideCollections ¶
func (o *AccountUpdateParams) SetHideCollections(hideCollections *bool)
SetHideCollections adds the hideCollections to the account update params
func (*AccountUpdateParams) SetLocked ¶
func (o *AccountUpdateParams) SetLocked(locked *bool)
SetLocked adds the locked to the account update params
func (*AccountUpdateParams) SetNote ¶
func (o *AccountUpdateParams) SetNote(note string)
SetNote adds the note to the account update params
func (*AccountUpdateParams) SetSourceLanguage ¶
func (o *AccountUpdateParams) SetSourceLanguage(sourceLanguage *string)
SetSourceLanguage adds the sourceLanguage to the account update params
func (*AccountUpdateParams) SetSourcePrivacy ¶
func (o *AccountUpdateParams) SetSourcePrivacy(sourcePrivacy *string)
SetSourcePrivacy adds the sourcePrivacy to the account update params
func (*AccountUpdateParams) SetSourceSensitive ¶
func (o *AccountUpdateParams) SetSourceSensitive(sourceSensitive *bool)
SetSourceSensitive adds the sourceSensitive to the account update params
func (*AccountUpdateParams) SetSourceStatusContentType ¶
func (o *AccountUpdateParams) SetSourceStatusContentType(sourceStatusContentType *string)
SetSourceStatusContentType adds the sourceStatusContentType to the account update params
func (*AccountUpdateParams) SetTheme ¶
func (o *AccountUpdateParams) SetTheme(theme *string)
SetTheme adds the theme to the account update params
func (*AccountUpdateParams) SetTimeout ¶
func (o *AccountUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account update params
func (*AccountUpdateParams) SetWebVisibility ¶
func (o *AccountUpdateParams) SetWebVisibility(webVisibility *string)
SetWebVisibility adds the webVisibility to the account update params
func (*AccountUpdateParams) WithAvatar ¶
func (o *AccountUpdateParams) WithAvatar(avatar runtime.NamedReadCloser) *AccountUpdateParams
WithAvatar adds the avatar to the account update params
func (*AccountUpdateParams) WithAvatarDescription ¶
func (o *AccountUpdateParams) WithAvatarDescription(avatarDescription string) *AccountUpdateParams
WithAvatarDescription adds the avatarDescription to the account update params
func (*AccountUpdateParams) WithBot ¶
func (o *AccountUpdateParams) WithBot(bot *bool) *AccountUpdateParams
WithBot adds the bot to the account update params
func (*AccountUpdateParams) WithContext ¶
func (o *AccountUpdateParams) WithContext(ctx context.Context) *AccountUpdateParams
WithContext adds the context to the account update params
func (*AccountUpdateParams) WithCustomCSS ¶
func (o *AccountUpdateParams) WithCustomCSS(customCSS *string) *AccountUpdateParams
WithCustomCSS adds the customCSS to the account update params
func (*AccountUpdateParams) WithDefaults ¶
func (o *AccountUpdateParams) WithDefaults() *AccountUpdateParams
WithDefaults hydrates default values in the account update params (not the query body).
All values with no default are reset to their zero value.
func (*AccountUpdateParams) WithDiscoverable ¶
func (o *AccountUpdateParams) WithDiscoverable(discoverable *bool) *AccountUpdateParams
WithDiscoverable adds the discoverable to the account update params
func (*AccountUpdateParams) WithDisplayName ¶
func (o *AccountUpdateParams) WithDisplayName(displayName string) *AccountUpdateParams
WithDisplayName adds the displayName to the account update params
func (*AccountUpdateParams) WithEnableRss ¶
func (o *AccountUpdateParams) WithEnableRss(enableRss *bool) *AccountUpdateParams
WithEnableRss adds the enableRss to the account update params
func (*AccountUpdateParams) WithFieldsAttributes0Name ¶
func (o *AccountUpdateParams) WithFieldsAttributes0Name(fieldsAttributes0Name *string) *AccountUpdateParams
WithFieldsAttributes0Name adds the fieldsAttributes0Name to the account update params
func (*AccountUpdateParams) WithFieldsAttributes0Value ¶
func (o *AccountUpdateParams) WithFieldsAttributes0Value(fieldsAttributes0Value *string) *AccountUpdateParams
WithFieldsAttributes0Value adds the fieldsAttributes0Value to the account update params
func (*AccountUpdateParams) WithFieldsAttributes1Name ¶
func (o *AccountUpdateParams) WithFieldsAttributes1Name(fieldsAttributes1Name *string) *AccountUpdateParams
WithFieldsAttributes1Name adds the fieldsAttributes1Name to the account update params
func (*AccountUpdateParams) WithFieldsAttributes1Value ¶
func (o *AccountUpdateParams) WithFieldsAttributes1Value(fieldsAttributes1Value *string) *AccountUpdateParams
WithFieldsAttributes1Value adds the fieldsAttributes1Value to the account update params
func (*AccountUpdateParams) WithFieldsAttributes2Name ¶
func (o *AccountUpdateParams) WithFieldsAttributes2Name(fieldsAttributes2Name *string) *AccountUpdateParams
WithFieldsAttributes2Name adds the fieldsAttributes2Name to the account update params
func (*AccountUpdateParams) WithFieldsAttributes2Value ¶
func (o *AccountUpdateParams) WithFieldsAttributes2Value(fieldsAttributes2Value *string) *AccountUpdateParams
WithFieldsAttributes2Value adds the fieldsAttributes2Value to the account update params
func (*AccountUpdateParams) WithFieldsAttributes3Name ¶
func (o *AccountUpdateParams) WithFieldsAttributes3Name(fieldsAttributes3Name *string) *AccountUpdateParams
WithFieldsAttributes3Name adds the fieldsAttributes3Name to the account update params
func (*AccountUpdateParams) WithFieldsAttributes3Value ¶
func (o *AccountUpdateParams) WithFieldsAttributes3Value(fieldsAttributes3Value *string) *AccountUpdateParams
WithFieldsAttributes3Value adds the fieldsAttributes3Value to the account update params
func (*AccountUpdateParams) WithFieldsAttributes4Name ¶
func (o *AccountUpdateParams) WithFieldsAttributes4Name(fieldsAttributes4Name *string) *AccountUpdateParams
WithFieldsAttributes4Name adds the fieldsAttributes4Name to the account update params
func (*AccountUpdateParams) WithFieldsAttributes4Value ¶
func (o *AccountUpdateParams) WithFieldsAttributes4Value(fieldsAttributes4Value *string) *AccountUpdateParams
WithFieldsAttributes4Value adds the fieldsAttributes4Value to the account update params
func (*AccountUpdateParams) WithFieldsAttributes5Name ¶
func (o *AccountUpdateParams) WithFieldsAttributes5Name(fieldsAttributes5Name *string) *AccountUpdateParams
WithFieldsAttributes5Name adds the fieldsAttributes5Name to the account update params
func (*AccountUpdateParams) WithFieldsAttributes5Value ¶
func (o *AccountUpdateParams) WithFieldsAttributes5Value(fieldsAttributes5Value *string) *AccountUpdateParams
WithFieldsAttributes5Value adds the fieldsAttributes5Value to the account update params
func (*AccountUpdateParams) WithHTTPClient ¶
func (o *AccountUpdateParams) WithHTTPClient(client *http.Client) *AccountUpdateParams
WithHTTPClient adds the HTTPClient to the account update params
func (*AccountUpdateParams) WithHeader ¶
func (o *AccountUpdateParams) WithHeader(header runtime.NamedReadCloser) *AccountUpdateParams
WithHeader adds the header to the account update params
func (*AccountUpdateParams) WithHeaderDescription ¶
func (o *AccountUpdateParams) WithHeaderDescription(headerDescription string) *AccountUpdateParams
WithHeaderDescription adds the headerDescription to the account update params
func (*AccountUpdateParams) WithHideCollections ¶
func (o *AccountUpdateParams) WithHideCollections(hideCollections *bool) *AccountUpdateParams
WithHideCollections adds the hideCollections to the account update params
func (*AccountUpdateParams) WithLocked ¶
func (o *AccountUpdateParams) WithLocked(locked *bool) *AccountUpdateParams
WithLocked adds the locked to the account update params
func (*AccountUpdateParams) WithNote ¶
func (o *AccountUpdateParams) WithNote(note string) *AccountUpdateParams
WithNote adds the note to the account update params
func (*AccountUpdateParams) WithSourceLanguage ¶
func (o *AccountUpdateParams) WithSourceLanguage(sourceLanguage *string) *AccountUpdateParams
WithSourceLanguage adds the sourceLanguage to the account update params
func (*AccountUpdateParams) WithSourcePrivacy ¶
func (o *AccountUpdateParams) WithSourcePrivacy(sourcePrivacy *string) *AccountUpdateParams
WithSourcePrivacy adds the sourcePrivacy to the account update params
func (*AccountUpdateParams) WithSourceSensitive ¶
func (o *AccountUpdateParams) WithSourceSensitive(sourceSensitive *bool) *AccountUpdateParams
WithSourceSensitive adds the sourceSensitive to the account update params
func (*AccountUpdateParams) WithSourceStatusContentType ¶
func (o *AccountUpdateParams) WithSourceStatusContentType(sourceStatusContentType *string) *AccountUpdateParams
WithSourceStatusContentType adds the sourceStatusContentType to the account update params
func (*AccountUpdateParams) WithTheme ¶
func (o *AccountUpdateParams) WithTheme(theme *string) *AccountUpdateParams
WithTheme adds the theme to the account update params
func (*AccountUpdateParams) WithTimeout ¶
func (o *AccountUpdateParams) WithTimeout(timeout time.Duration) *AccountUpdateParams
WithTimeout adds the timeout to the account update params
func (*AccountUpdateParams) WithWebVisibility ¶
func (o *AccountUpdateParams) WithWebVisibility(webVisibility *string) *AccountUpdateParams
WithWebVisibility adds the webVisibility to the account update params
func (*AccountUpdateParams) WriteToRequest ¶
func (o *AccountUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountUpdateReader ¶
type AccountUpdateReader struct {
// contains filtered or unexported fields
}
AccountUpdateReader is a Reader for the AccountUpdate structure.
func (*AccountUpdateReader) ReadResponse ¶
func (o *AccountUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountUpdateUnauthorized ¶
type AccountUpdateUnauthorized struct { }
AccountUpdateUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountUpdateUnauthorized ¶
func NewAccountUpdateUnauthorized() *AccountUpdateUnauthorized
NewAccountUpdateUnauthorized creates a AccountUpdateUnauthorized with default headers values
func (*AccountUpdateUnauthorized) Code ¶
func (o *AccountUpdateUnauthorized) Code() int
Code gets the status code for the account update unauthorized response
func (*AccountUpdateUnauthorized) Error ¶
func (o *AccountUpdateUnauthorized) Error() string
func (*AccountUpdateUnauthorized) IsClientError ¶
func (o *AccountUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this account update unauthorized response has a 4xx status code
func (*AccountUpdateUnauthorized) IsCode ¶
func (o *AccountUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this account update unauthorized response a status code equal to that given
func (*AccountUpdateUnauthorized) IsRedirect ¶
func (o *AccountUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this account update unauthorized response has a 3xx status code
func (*AccountUpdateUnauthorized) IsServerError ¶
func (o *AccountUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this account update unauthorized response has a 5xx status code
func (*AccountUpdateUnauthorized) IsSuccess ¶
func (o *AccountUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this account update unauthorized response has a 2xx status code
func (*AccountUpdateUnauthorized) String ¶
func (o *AccountUpdateUnauthorized) String() string
type AccountVerifyBadRequest ¶
type AccountVerifyBadRequest struct { }
AccountVerifyBadRequest describes a response with status code 400, with default header values.
bad request
func NewAccountVerifyBadRequest ¶
func NewAccountVerifyBadRequest() *AccountVerifyBadRequest
NewAccountVerifyBadRequest creates a AccountVerifyBadRequest with default headers values
func (*AccountVerifyBadRequest) Code ¶
func (o *AccountVerifyBadRequest) Code() int
Code gets the status code for the account verify bad request response
func (*AccountVerifyBadRequest) Error ¶
func (o *AccountVerifyBadRequest) Error() string
func (*AccountVerifyBadRequest) IsClientError ¶
func (o *AccountVerifyBadRequest) IsClientError() bool
IsClientError returns true when this account verify bad request response has a 4xx status code
func (*AccountVerifyBadRequest) IsCode ¶
func (o *AccountVerifyBadRequest) IsCode(code int) bool
IsCode returns true when this account verify bad request response a status code equal to that given
func (*AccountVerifyBadRequest) IsRedirect ¶
func (o *AccountVerifyBadRequest) IsRedirect() bool
IsRedirect returns true when this account verify bad request response has a 3xx status code
func (*AccountVerifyBadRequest) IsServerError ¶
func (o *AccountVerifyBadRequest) IsServerError() bool
IsServerError returns true when this account verify bad request response has a 5xx status code
func (*AccountVerifyBadRequest) IsSuccess ¶
func (o *AccountVerifyBadRequest) IsSuccess() bool
IsSuccess returns true when this account verify bad request response has a 2xx status code
func (*AccountVerifyBadRequest) String ¶
func (o *AccountVerifyBadRequest) String() string
type AccountVerifyInternalServerError ¶
type AccountVerifyInternalServerError struct { }
AccountVerifyInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAccountVerifyInternalServerError ¶
func NewAccountVerifyInternalServerError() *AccountVerifyInternalServerError
NewAccountVerifyInternalServerError creates a AccountVerifyInternalServerError with default headers values
func (*AccountVerifyInternalServerError) Code ¶
func (o *AccountVerifyInternalServerError) Code() int
Code gets the status code for the account verify internal server error response
func (*AccountVerifyInternalServerError) Error ¶
func (o *AccountVerifyInternalServerError) Error() string
func (*AccountVerifyInternalServerError) IsClientError ¶
func (o *AccountVerifyInternalServerError) IsClientError() bool
IsClientError returns true when this account verify internal server error response has a 4xx status code
func (*AccountVerifyInternalServerError) IsCode ¶
func (o *AccountVerifyInternalServerError) IsCode(code int) bool
IsCode returns true when this account verify internal server error response a status code equal to that given
func (*AccountVerifyInternalServerError) IsRedirect ¶
func (o *AccountVerifyInternalServerError) IsRedirect() bool
IsRedirect returns true when this account verify internal server error response has a 3xx status code
func (*AccountVerifyInternalServerError) IsServerError ¶
func (o *AccountVerifyInternalServerError) IsServerError() bool
IsServerError returns true when this account verify internal server error response has a 5xx status code
func (*AccountVerifyInternalServerError) IsSuccess ¶
func (o *AccountVerifyInternalServerError) IsSuccess() bool
IsSuccess returns true when this account verify internal server error response has a 2xx status code
func (*AccountVerifyInternalServerError) String ¶
func (o *AccountVerifyInternalServerError) String() string
type AccountVerifyNotAcceptable ¶
type AccountVerifyNotAcceptable struct { }
AccountVerifyNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAccountVerifyNotAcceptable ¶
func NewAccountVerifyNotAcceptable() *AccountVerifyNotAcceptable
NewAccountVerifyNotAcceptable creates a AccountVerifyNotAcceptable with default headers values
func (*AccountVerifyNotAcceptable) Code ¶
func (o *AccountVerifyNotAcceptable) Code() int
Code gets the status code for the account verify not acceptable response
func (*AccountVerifyNotAcceptable) Error ¶
func (o *AccountVerifyNotAcceptable) Error() string
func (*AccountVerifyNotAcceptable) IsClientError ¶
func (o *AccountVerifyNotAcceptable) IsClientError() bool
IsClientError returns true when this account verify not acceptable response has a 4xx status code
func (*AccountVerifyNotAcceptable) IsCode ¶
func (o *AccountVerifyNotAcceptable) IsCode(code int) bool
IsCode returns true when this account verify not acceptable response a status code equal to that given
func (*AccountVerifyNotAcceptable) IsRedirect ¶
func (o *AccountVerifyNotAcceptable) IsRedirect() bool
IsRedirect returns true when this account verify not acceptable response has a 3xx status code
func (*AccountVerifyNotAcceptable) IsServerError ¶
func (o *AccountVerifyNotAcceptable) IsServerError() bool
IsServerError returns true when this account verify not acceptable response has a 5xx status code
func (*AccountVerifyNotAcceptable) IsSuccess ¶
func (o *AccountVerifyNotAcceptable) IsSuccess() bool
IsSuccess returns true when this account verify not acceptable response has a 2xx status code
func (*AccountVerifyNotAcceptable) String ¶
func (o *AccountVerifyNotAcceptable) String() string
type AccountVerifyNotFound ¶
type AccountVerifyNotFound struct { }
AccountVerifyNotFound describes a response with status code 404, with default header values.
not found
func NewAccountVerifyNotFound ¶
func NewAccountVerifyNotFound() *AccountVerifyNotFound
NewAccountVerifyNotFound creates a AccountVerifyNotFound with default headers values
func (*AccountVerifyNotFound) Code ¶
func (o *AccountVerifyNotFound) Code() int
Code gets the status code for the account verify not found response
func (*AccountVerifyNotFound) Error ¶
func (o *AccountVerifyNotFound) Error() string
func (*AccountVerifyNotFound) IsClientError ¶
func (o *AccountVerifyNotFound) IsClientError() bool
IsClientError returns true when this account verify not found response has a 4xx status code
func (*AccountVerifyNotFound) IsCode ¶
func (o *AccountVerifyNotFound) IsCode(code int) bool
IsCode returns true when this account verify not found response a status code equal to that given
func (*AccountVerifyNotFound) IsRedirect ¶
func (o *AccountVerifyNotFound) IsRedirect() bool
IsRedirect returns true when this account verify not found response has a 3xx status code
func (*AccountVerifyNotFound) IsServerError ¶
func (o *AccountVerifyNotFound) IsServerError() bool
IsServerError returns true when this account verify not found response has a 5xx status code
func (*AccountVerifyNotFound) IsSuccess ¶
func (o *AccountVerifyNotFound) IsSuccess() bool
IsSuccess returns true when this account verify not found response has a 2xx status code
func (*AccountVerifyNotFound) String ¶
func (o *AccountVerifyNotFound) String() string
type AccountVerifyOK ¶
AccountVerifyOK describes a response with status code 200, with default header values.
AccountVerifyOK account verify o k
func NewAccountVerifyOK ¶
func NewAccountVerifyOK() *AccountVerifyOK
NewAccountVerifyOK creates a AccountVerifyOK with default headers values
func (*AccountVerifyOK) Code ¶
func (o *AccountVerifyOK) Code() int
Code gets the status code for the account verify o k response
func (*AccountVerifyOK) Error ¶
func (o *AccountVerifyOK) Error() string
func (*AccountVerifyOK) GetPayload ¶
func (o *AccountVerifyOK) GetPayload() *models.Account
func (*AccountVerifyOK) IsClientError ¶
func (o *AccountVerifyOK) IsClientError() bool
IsClientError returns true when this account verify o k response has a 4xx status code
func (*AccountVerifyOK) IsCode ¶
func (o *AccountVerifyOK) IsCode(code int) bool
IsCode returns true when this account verify o k response a status code equal to that given
func (*AccountVerifyOK) IsRedirect ¶
func (o *AccountVerifyOK) IsRedirect() bool
IsRedirect returns true when this account verify o k response has a 3xx status code
func (*AccountVerifyOK) IsServerError ¶
func (o *AccountVerifyOK) IsServerError() bool
IsServerError returns true when this account verify o k response has a 5xx status code
func (*AccountVerifyOK) IsSuccess ¶
func (o *AccountVerifyOK) IsSuccess() bool
IsSuccess returns true when this account verify o k response has a 2xx status code
func (*AccountVerifyOK) String ¶
func (o *AccountVerifyOK) String() string
type AccountVerifyParams ¶
type AccountVerifyParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AccountVerifyParams contains all the parameters to send to the API endpoint
for the account verify operation. Typically these are written to a http.Request.
func NewAccountVerifyParams ¶
func NewAccountVerifyParams() *AccountVerifyParams
NewAccountVerifyParams creates a new AccountVerifyParams 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 NewAccountVerifyParamsWithContext ¶
func NewAccountVerifyParamsWithContext(ctx context.Context) *AccountVerifyParams
NewAccountVerifyParamsWithContext creates a new AccountVerifyParams object with the ability to set a context for a request.
func NewAccountVerifyParamsWithHTTPClient ¶
func NewAccountVerifyParamsWithHTTPClient(client *http.Client) *AccountVerifyParams
NewAccountVerifyParamsWithHTTPClient creates a new AccountVerifyParams object with the ability to set a custom HTTPClient for a request.
func NewAccountVerifyParamsWithTimeout ¶
func NewAccountVerifyParamsWithTimeout(timeout time.Duration) *AccountVerifyParams
NewAccountVerifyParamsWithTimeout creates a new AccountVerifyParams object with the ability to set a timeout on a request.
func (*AccountVerifyParams) SetContext ¶
func (o *AccountVerifyParams) SetContext(ctx context.Context)
SetContext adds the context to the account verify params
func (*AccountVerifyParams) SetDefaults ¶
func (o *AccountVerifyParams) SetDefaults()
SetDefaults hydrates default values in the account verify params (not the query body).
All values with no default are reset to their zero value.
func (*AccountVerifyParams) SetHTTPClient ¶
func (o *AccountVerifyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the account verify params
func (*AccountVerifyParams) SetTimeout ¶
func (o *AccountVerifyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the account verify params
func (*AccountVerifyParams) WithContext ¶
func (o *AccountVerifyParams) WithContext(ctx context.Context) *AccountVerifyParams
WithContext adds the context to the account verify params
func (*AccountVerifyParams) WithDefaults ¶
func (o *AccountVerifyParams) WithDefaults() *AccountVerifyParams
WithDefaults hydrates default values in the account verify params (not the query body).
All values with no default are reset to their zero value.
func (*AccountVerifyParams) WithHTTPClient ¶
func (o *AccountVerifyParams) WithHTTPClient(client *http.Client) *AccountVerifyParams
WithHTTPClient adds the HTTPClient to the account verify params
func (*AccountVerifyParams) WithTimeout ¶
func (o *AccountVerifyParams) WithTimeout(timeout time.Duration) *AccountVerifyParams
WithTimeout adds the timeout to the account verify params
func (*AccountVerifyParams) WriteToRequest ¶
func (o *AccountVerifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AccountVerifyReader ¶
type AccountVerifyReader struct {
// contains filtered or unexported fields
}
AccountVerifyReader is a Reader for the AccountVerify structure.
func (*AccountVerifyReader) ReadResponse ¶
func (o *AccountVerifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AccountVerifyUnauthorized ¶
type AccountVerifyUnauthorized struct { }
AccountVerifyUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAccountVerifyUnauthorized ¶
func NewAccountVerifyUnauthorized() *AccountVerifyUnauthorized
NewAccountVerifyUnauthorized creates a AccountVerifyUnauthorized with default headers values
func (*AccountVerifyUnauthorized) Code ¶
func (o *AccountVerifyUnauthorized) Code() int
Code gets the status code for the account verify unauthorized response
func (*AccountVerifyUnauthorized) Error ¶
func (o *AccountVerifyUnauthorized) Error() string
func (*AccountVerifyUnauthorized) IsClientError ¶
func (o *AccountVerifyUnauthorized) IsClientError() bool
IsClientError returns true when this account verify unauthorized response has a 4xx status code
func (*AccountVerifyUnauthorized) IsCode ¶
func (o *AccountVerifyUnauthorized) IsCode(code int) bool
IsCode returns true when this account verify unauthorized response a status code equal to that given
func (*AccountVerifyUnauthorized) IsRedirect ¶
func (o *AccountVerifyUnauthorized) IsRedirect() bool
IsRedirect returns true when this account verify unauthorized response has a 3xx status code
func (*AccountVerifyUnauthorized) IsServerError ¶
func (o *AccountVerifyUnauthorized) IsServerError() bool
IsServerError returns true when this account verify unauthorized response has a 5xx status code
func (*AccountVerifyUnauthorized) IsSuccess ¶
func (o *AccountVerifyUnauthorized) IsSuccess() bool
IsSuccess returns true when this account verify unauthorized response has a 2xx status code
func (*AccountVerifyUnauthorized) String ¶
func (o *AccountVerifyUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for accounts API
func (*Client) AccountAlias ¶
func (a *Client) AccountAlias(params *AccountAliasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAliasOK, error)
AccountAlias aliases your account to another account by setting also known as to the given URI This is useful when you want to move from another account this this account.
In such cases, you should set the alsoKnownAs of this account to the URI of the account you want to move from.
func (*Client) AccountAvatarDelete ¶
func (a *Client) AccountAvatarDelete(params *AccountAvatarDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAvatarDeleteOK, error)
AccountAvatarDelete deletes the authenticated account s avatar
If the account doesn't have an avatar, the call succeeds anyway.
func (*Client) AccountBlock ¶
func (a *Client) AccountBlock(params *AccountBlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountBlockOK, error)
AccountBlock blocks account with id
func (*Client) AccountCreate ¶
func (a *Client) AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountCreateOK, error)
AccountCreate creates a new account using an application token 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) AccountDelete ¶
func (a *Client) AccountDelete(params *AccountDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountDeleteAccepted, error)
AccountDelete deletes your account
func (*Client) AccountFollow ¶
func (a *Client) AccountFollow(params *AccountFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowOK, error)
AccountFollow follows account with id 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'.
If you already follow (request) the given account, then the follow (request) will be updated instead using the `reblogs` and `notify` parameters.
func (*Client) AccountFollowers ¶
func (a *Client) AccountFollowers(params *AccountFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowersOK, error)
AccountFollowers sees followers of account with given id The next and previous queries can be parsed from the returned Link header.
Example:
``` <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/followers?limit=80&max_id=01FC0SKA48HNSVR6YKZCQGS2V8>; rel="next", <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/followers?limit=80&min_id=01FC0SKW5JK2Q4EVAV2B462YY0>; rel="prev" ````
If account `hide_collections` is true, and requesting account != target account, no results will be returned.
func (*Client) AccountFollowing ¶
func (a *Client) AccountFollowing(params *AccountFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowingOK, error)
AccountFollowing sees accounts followed by given account id The next and previous queries can be parsed from the returned Link header.
Example:
``` <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/following?limit=80&max_id=01FC0SKA48HNSVR6YKZCQGS2V8>; rel="next", <https://example.org/api/v1/accounts/0657WMDEC3KQDTD6NZ4XJZBK4M/following?limit=80&min_id=01FC0SKW5JK2Q4EVAV2B462YY0>; rel="prev" ````
If account `hide_collections` is true, and requesting account != target account, no results will be returned.
func (*Client) AccountGet ¶
func (a *Client) AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountGetOK, error)
AccountGet gets information about an account with the given ID
func (*Client) AccountHeaderDelete ¶
func (a *Client) AccountHeaderDelete(params *AccountHeaderDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountHeaderDeleteOK, error)
AccountHeaderDelete deletes the authenticated account s header
If the account doesn't have a header, the call succeeds anyway.
func (*Client) AccountLists ¶
func (a *Client) AccountLists(params *AccountListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountListsOK, error)
AccountLists sees all lists of yours that contain requested account
func (*Client) AccountLookupGet ¶
func (a *Client) AccountLookupGet(params *AccountLookupGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountLookupGetOK, error)
AccountLookupGet quicklies lookup a username to see if it is available skipping web finger resolution
func (*Client) AccountMove ¶
func (a *Client) AccountMove(params *AccountMoveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMoveAccepted, error)
AccountMove moves your account to another account
func (*Client) AccountMute ¶
func (a *Client) AccountMute(params *AccountMuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMuteOK, error)
AccountMute mutes account by ID
If account was already muted, succeeds anyway. This can be used to update the details of a mute.
func (*Client) AccountNote ¶
func (a *Client) AccountNote(params *AccountNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountNoteOK, error)
AccountNote sets a private note for an account with the given id
func (*Client) AccountRelationships ¶
func (a *Client) AccountRelationships(params *AccountRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountRelationshipsOK, error)
AccountRelationships sees your account s relationships with the given account i ds
func (*Client) AccountSearchGet ¶
func (a *Client) AccountSearchGet(params *AccountSearchGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSearchGetOK, error)
AccountSearchGet searches for accounts by username and or display name
func (*Client) AccountStatuses ¶
func (a *Client) AccountStatuses(params *AccountStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountStatusesOK, error)
AccountStatuses sees statuses posted by the requested account
The statuses will be returned in descending chronological order (newest first), with sequential IDs (bigger = newer).
func (*Client) AccountThemes ¶
func (a *Client) AccountThemes(params *AccountThemesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountThemesOK, error)
AccountThemes sees preset CSS themes available to accounts on this instance
func (*Client) AccountUnblock ¶
func (a *Client) AccountUnblock(params *AccountUnblockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnblockOK, error)
AccountUnblock unblocks account with ID
func (*Client) AccountUnfollow ¶
func (a *Client) AccountUnfollow(params *AccountUnfollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnfollowOK, error)
AccountUnfollow unfollows account with id
func (*Client) AccountUnmute ¶
func (a *Client) AccountUnmute(params *AccountUnmuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnmuteOK, error)
AccountUnmute unmutes account by ID
If account was already unmuted (or has never been muted), succeeds anyway.
func (*Client) AccountUpdate ¶
func (a *Client) AccountUpdate(params *AccountUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUpdateOK, error)
AccountUpdate updates your account
func (*Client) AccountVerify ¶
func (a *Client) AccountVerify(params *AccountVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountVerifyOK, error)
AccountVerify verifies a token by returning account details pertaining to it
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
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 { AccountAlias(params *AccountAliasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAliasOK, error) AccountAvatarDelete(params *AccountAvatarDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountAvatarDeleteOK, error) AccountBlock(params *AccountBlockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountBlockOK, error) AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountCreateOK, error) AccountDelete(params *AccountDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountDeleteAccepted, error) AccountFollow(params *AccountFollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowOK, error) AccountFollowers(params *AccountFollowersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowersOK, error) AccountFollowing(params *AccountFollowingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountFollowingOK, error) AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountGetOK, error) AccountHeaderDelete(params *AccountHeaderDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountHeaderDeleteOK, error) AccountLists(params *AccountListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountListsOK, error) AccountLookupGet(params *AccountLookupGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountLookupGetOK, error) AccountMove(params *AccountMoveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMoveAccepted, error) AccountMute(params *AccountMuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountMuteOK, error) AccountNote(params *AccountNoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountNoteOK, error) AccountRelationships(params *AccountRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountRelationshipsOK, error) AccountSearchGet(params *AccountSearchGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountSearchGetOK, error) AccountStatuses(params *AccountStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountStatusesOK, error) AccountThemes(params *AccountThemesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountThemesOK, error) AccountUnblock(params *AccountUnblockParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnblockOK, error) AccountUnfollow(params *AccountUnfollowParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnfollowOK, error) AccountUnmute(params *AccountUnmuteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUnmuteOK, error) AccountUpdate(params *AccountUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountUpdateOK, error) AccountVerify(params *AccountVerifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AccountVerifyOK, 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 accounts API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new accounts 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 accounts 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.
Source Files ¶
- account_alias_parameters.go
- account_alias_responses.go
- account_avatar_delete_parameters.go
- account_avatar_delete_responses.go
- account_block_parameters.go
- account_block_responses.go
- account_create_parameters.go
- account_create_responses.go
- account_delete_parameters.go
- account_delete_responses.go
- account_follow_parameters.go
- account_follow_responses.go
- account_followers_parameters.go
- account_followers_responses.go
- account_following_parameters.go
- account_following_responses.go
- account_get_parameters.go
- account_get_responses.go
- account_header_delete_parameters.go
- account_header_delete_responses.go
- account_lists_parameters.go
- account_lists_responses.go
- account_lookup_get_parameters.go
- account_lookup_get_responses.go
- account_move_parameters.go
- account_move_responses.go
- account_mute_parameters.go
- account_mute_responses.go
- account_note_parameters.go
- account_note_responses.go
- account_relationships_parameters.go
- account_relationships_responses.go
- account_search_get_parameters.go
- account_search_get_responses.go
- account_statuses_parameters.go
- account_statuses_responses.go
- account_themes_parameters.go
- account_themes_responses.go
- account_unblock_parameters.go
- account_unblock_responses.go
- account_unfollow_parameters.go
- account_unfollow_responses.go
- account_unmute_parameters.go
- account_unmute_responses.go
- account_update_parameters.go
- account_update_responses.go
- account_verify_parameters.go
- account_verify_responses.go
- accounts_client.go