Documentation
¶
Index ¶
- type Client
- func (a *Client) FollowTag(params *FollowTagParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FollowTagOK, error)
- func (a *Client) GetFeaturedTags(params *GetFeaturedTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFeaturedTagsOK, error)
- func (a *Client) GetFollowedTags(params *GetFollowedTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFollowedTagsOK, error)
- func (a *Client) GetTag(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTagOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UnfollowTag(params *UnfollowTagParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UnfollowTagOK, error)
- type ClientOption
- type ClientService
- type FollowTagBadRequest
- func (o *FollowTagBadRequest) Code() int
- func (o *FollowTagBadRequest) Error() string
- func (o *FollowTagBadRequest) IsClientError() bool
- func (o *FollowTagBadRequest) IsCode(code int) bool
- func (o *FollowTagBadRequest) IsRedirect() bool
- func (o *FollowTagBadRequest) IsServerError() bool
- func (o *FollowTagBadRequest) IsSuccess() bool
- func (o *FollowTagBadRequest) String() string
- type FollowTagForbidden
- func (o *FollowTagForbidden) Code() int
- func (o *FollowTagForbidden) Error() string
- func (o *FollowTagForbidden) IsClientError() bool
- func (o *FollowTagForbidden) IsCode(code int) bool
- func (o *FollowTagForbidden) IsRedirect() bool
- func (o *FollowTagForbidden) IsServerError() bool
- func (o *FollowTagForbidden) IsSuccess() bool
- func (o *FollowTagForbidden) String() string
- type FollowTagInternalServerError
- func (o *FollowTagInternalServerError) Code() int
- func (o *FollowTagInternalServerError) Error() string
- func (o *FollowTagInternalServerError) IsClientError() bool
- func (o *FollowTagInternalServerError) IsCode(code int) bool
- func (o *FollowTagInternalServerError) IsRedirect() bool
- func (o *FollowTagInternalServerError) IsServerError() bool
- func (o *FollowTagInternalServerError) IsSuccess() bool
- func (o *FollowTagInternalServerError) String() string
- type FollowTagOK
- func (o *FollowTagOK) Code() int
- func (o *FollowTagOK) Error() string
- func (o *FollowTagOK) GetPayload() *models.Tag
- func (o *FollowTagOK) IsClientError() bool
- func (o *FollowTagOK) IsCode(code int) bool
- func (o *FollowTagOK) IsRedirect() bool
- func (o *FollowTagOK) IsServerError() bool
- func (o *FollowTagOK) IsSuccess() bool
- func (o *FollowTagOK) String() string
- type FollowTagParams
- func (o *FollowTagParams) SetContext(ctx context.Context)
- func (o *FollowTagParams) SetDefaults()
- func (o *FollowTagParams) SetHTTPClient(client *http.Client)
- func (o *FollowTagParams) SetTagName(tagName string)
- func (o *FollowTagParams) SetTimeout(timeout time.Duration)
- func (o *FollowTagParams) WithContext(ctx context.Context) *FollowTagParams
- func (o *FollowTagParams) WithDefaults() *FollowTagParams
- func (o *FollowTagParams) WithHTTPClient(client *http.Client) *FollowTagParams
- func (o *FollowTagParams) WithTagName(tagName string) *FollowTagParams
- func (o *FollowTagParams) WithTimeout(timeout time.Duration) *FollowTagParams
- func (o *FollowTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FollowTagReader
- type FollowTagUnauthorized
- func (o *FollowTagUnauthorized) Code() int
- func (o *FollowTagUnauthorized) Error() string
- func (o *FollowTagUnauthorized) IsClientError() bool
- func (o *FollowTagUnauthorized) IsCode(code int) bool
- func (o *FollowTagUnauthorized) IsRedirect() bool
- func (o *FollowTagUnauthorized) IsServerError() bool
- func (o *FollowTagUnauthorized) IsSuccess() bool
- func (o *FollowTagUnauthorized) String() string
- type GetFeaturedTagsBadRequest
- func (o *GetFeaturedTagsBadRequest) Code() int
- func (o *GetFeaturedTagsBadRequest) Error() string
- func (o *GetFeaturedTagsBadRequest) IsClientError() bool
- func (o *GetFeaturedTagsBadRequest) IsCode(code int) bool
- func (o *GetFeaturedTagsBadRequest) IsRedirect() bool
- func (o *GetFeaturedTagsBadRequest) IsServerError() bool
- func (o *GetFeaturedTagsBadRequest) IsSuccess() bool
- func (o *GetFeaturedTagsBadRequest) String() string
- type GetFeaturedTagsInternalServerError
- func (o *GetFeaturedTagsInternalServerError) Code() int
- func (o *GetFeaturedTagsInternalServerError) Error() string
- func (o *GetFeaturedTagsInternalServerError) IsClientError() bool
- func (o *GetFeaturedTagsInternalServerError) IsCode(code int) bool
- func (o *GetFeaturedTagsInternalServerError) IsRedirect() bool
- func (o *GetFeaturedTagsInternalServerError) IsServerError() bool
- func (o *GetFeaturedTagsInternalServerError) IsSuccess() bool
- func (o *GetFeaturedTagsInternalServerError) String() string
- type GetFeaturedTagsNotAcceptable
- func (o *GetFeaturedTagsNotAcceptable) Code() int
- func (o *GetFeaturedTagsNotAcceptable) Error() string
- func (o *GetFeaturedTagsNotAcceptable) IsClientError() bool
- func (o *GetFeaturedTagsNotAcceptable) IsCode(code int) bool
- func (o *GetFeaturedTagsNotAcceptable) IsRedirect() bool
- func (o *GetFeaturedTagsNotAcceptable) IsServerError() bool
- func (o *GetFeaturedTagsNotAcceptable) IsSuccess() bool
- func (o *GetFeaturedTagsNotAcceptable) String() string
- type GetFeaturedTagsNotFound
- func (o *GetFeaturedTagsNotFound) Code() int
- func (o *GetFeaturedTagsNotFound) Error() string
- func (o *GetFeaturedTagsNotFound) IsClientError() bool
- func (o *GetFeaturedTagsNotFound) IsCode(code int) bool
- func (o *GetFeaturedTagsNotFound) IsRedirect() bool
- func (o *GetFeaturedTagsNotFound) IsServerError() bool
- func (o *GetFeaturedTagsNotFound) IsSuccess() bool
- func (o *GetFeaturedTagsNotFound) String() string
- type GetFeaturedTagsOK
- func (o *GetFeaturedTagsOK) Code() int
- func (o *GetFeaturedTagsOK) Error() string
- func (o *GetFeaturedTagsOK) GetPayload() []interface{}
- func (o *GetFeaturedTagsOK) IsClientError() bool
- func (o *GetFeaturedTagsOK) IsCode(code int) bool
- func (o *GetFeaturedTagsOK) IsRedirect() bool
- func (o *GetFeaturedTagsOK) IsServerError() bool
- func (o *GetFeaturedTagsOK) IsSuccess() bool
- func (o *GetFeaturedTagsOK) String() string
- type GetFeaturedTagsParams
- func NewGetFeaturedTagsParams() *GetFeaturedTagsParams
- func NewGetFeaturedTagsParamsWithContext(ctx context.Context) *GetFeaturedTagsParams
- func NewGetFeaturedTagsParamsWithHTTPClient(client *http.Client) *GetFeaturedTagsParams
- func NewGetFeaturedTagsParamsWithTimeout(timeout time.Duration) *GetFeaturedTagsParams
- func (o *GetFeaturedTagsParams) SetContext(ctx context.Context)
- func (o *GetFeaturedTagsParams) SetDefaults()
- func (o *GetFeaturedTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetFeaturedTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetFeaturedTagsParams) WithContext(ctx context.Context) *GetFeaturedTagsParams
- func (o *GetFeaturedTagsParams) WithDefaults() *GetFeaturedTagsParams
- func (o *GetFeaturedTagsParams) WithHTTPClient(client *http.Client) *GetFeaturedTagsParams
- func (o *GetFeaturedTagsParams) WithTimeout(timeout time.Duration) *GetFeaturedTagsParams
- func (o *GetFeaturedTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFeaturedTagsReader
- type GetFeaturedTagsUnauthorized
- func (o *GetFeaturedTagsUnauthorized) Code() int
- func (o *GetFeaturedTagsUnauthorized) Error() string
- func (o *GetFeaturedTagsUnauthorized) IsClientError() bool
- func (o *GetFeaturedTagsUnauthorized) IsCode(code int) bool
- func (o *GetFeaturedTagsUnauthorized) IsRedirect() bool
- func (o *GetFeaturedTagsUnauthorized) IsServerError() bool
- func (o *GetFeaturedTagsUnauthorized) IsSuccess() bool
- func (o *GetFeaturedTagsUnauthorized) String() string
- type GetFollowedTagsBadRequest
- func (o *GetFollowedTagsBadRequest) Code() int
- func (o *GetFollowedTagsBadRequest) Error() string
- func (o *GetFollowedTagsBadRequest) IsClientError() bool
- func (o *GetFollowedTagsBadRequest) IsCode(code int) bool
- func (o *GetFollowedTagsBadRequest) IsRedirect() bool
- func (o *GetFollowedTagsBadRequest) IsServerError() bool
- func (o *GetFollowedTagsBadRequest) IsSuccess() bool
- func (o *GetFollowedTagsBadRequest) String() string
- type GetFollowedTagsInternalServerError
- func (o *GetFollowedTagsInternalServerError) Code() int
- func (o *GetFollowedTagsInternalServerError) Error() string
- func (o *GetFollowedTagsInternalServerError) IsClientError() bool
- func (o *GetFollowedTagsInternalServerError) IsCode(code int) bool
- func (o *GetFollowedTagsInternalServerError) IsRedirect() bool
- func (o *GetFollowedTagsInternalServerError) IsServerError() bool
- func (o *GetFollowedTagsInternalServerError) IsSuccess() bool
- func (o *GetFollowedTagsInternalServerError) String() string
- type GetFollowedTagsNotAcceptable
- func (o *GetFollowedTagsNotAcceptable) Code() int
- func (o *GetFollowedTagsNotAcceptable) Error() string
- func (o *GetFollowedTagsNotAcceptable) IsClientError() bool
- func (o *GetFollowedTagsNotAcceptable) IsCode(code int) bool
- func (o *GetFollowedTagsNotAcceptable) IsRedirect() bool
- func (o *GetFollowedTagsNotAcceptable) IsServerError() bool
- func (o *GetFollowedTagsNotAcceptable) IsSuccess() bool
- func (o *GetFollowedTagsNotAcceptable) String() string
- type GetFollowedTagsNotFound
- func (o *GetFollowedTagsNotFound) Code() int
- func (o *GetFollowedTagsNotFound) Error() string
- func (o *GetFollowedTagsNotFound) IsClientError() bool
- func (o *GetFollowedTagsNotFound) IsCode(code int) bool
- func (o *GetFollowedTagsNotFound) IsRedirect() bool
- func (o *GetFollowedTagsNotFound) IsServerError() bool
- func (o *GetFollowedTagsNotFound) IsSuccess() bool
- func (o *GetFollowedTagsNotFound) String() string
- type GetFollowedTagsOK
- func (o *GetFollowedTagsOK) Code() int
- func (o *GetFollowedTagsOK) Error() string
- func (o *GetFollowedTagsOK) GetPayload() []*models.Tag
- func (o *GetFollowedTagsOK) IsClientError() bool
- func (o *GetFollowedTagsOK) IsCode(code int) bool
- func (o *GetFollowedTagsOK) IsRedirect() bool
- func (o *GetFollowedTagsOK) IsServerError() bool
- func (o *GetFollowedTagsOK) IsSuccess() bool
- func (o *GetFollowedTagsOK) String() string
- type GetFollowedTagsParams
- func NewGetFollowedTagsParams() *GetFollowedTagsParams
- func NewGetFollowedTagsParamsWithContext(ctx context.Context) *GetFollowedTagsParams
- func NewGetFollowedTagsParamsWithHTTPClient(client *http.Client) *GetFollowedTagsParams
- func NewGetFollowedTagsParamsWithTimeout(timeout time.Duration) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) SetContext(ctx context.Context)
- func (o *GetFollowedTagsParams) SetDefaults()
- func (o *GetFollowedTagsParams) SetHTTPClient(client *http.Client)
- func (o *GetFollowedTagsParams) SetLimit(limit *int64)
- func (o *GetFollowedTagsParams) SetMaxID(maxID *string)
- func (o *GetFollowedTagsParams) SetMinID(minID *string)
- func (o *GetFollowedTagsParams) SetSinceID(sinceID *string)
- func (o *GetFollowedTagsParams) SetTimeout(timeout time.Duration)
- func (o *GetFollowedTagsParams) WithContext(ctx context.Context) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WithDefaults() *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WithHTTPClient(client *http.Client) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WithLimit(limit *int64) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WithMaxID(maxID *string) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WithMinID(minID *string) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WithSinceID(sinceID *string) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WithTimeout(timeout time.Duration) *GetFollowedTagsParams
- func (o *GetFollowedTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFollowedTagsReader
- type GetFollowedTagsUnauthorized
- func (o *GetFollowedTagsUnauthorized) Code() int
- func (o *GetFollowedTagsUnauthorized) Error() string
- func (o *GetFollowedTagsUnauthorized) IsClientError() bool
- func (o *GetFollowedTagsUnauthorized) IsCode(code int) bool
- func (o *GetFollowedTagsUnauthorized) IsRedirect() bool
- func (o *GetFollowedTagsUnauthorized) IsServerError() bool
- func (o *GetFollowedTagsUnauthorized) IsSuccess() bool
- func (o *GetFollowedTagsUnauthorized) String() string
- type GetTagBadRequest
- func (o *GetTagBadRequest) Code() int
- func (o *GetTagBadRequest) Error() string
- func (o *GetTagBadRequest) IsClientError() bool
- func (o *GetTagBadRequest) IsCode(code int) bool
- func (o *GetTagBadRequest) IsRedirect() bool
- func (o *GetTagBadRequest) IsServerError() bool
- func (o *GetTagBadRequest) IsSuccess() bool
- func (o *GetTagBadRequest) String() string
- type GetTagInternalServerError
- func (o *GetTagInternalServerError) Code() int
- func (o *GetTagInternalServerError) Error() string
- func (o *GetTagInternalServerError) IsClientError() bool
- func (o *GetTagInternalServerError) IsCode(code int) bool
- func (o *GetTagInternalServerError) IsRedirect() bool
- func (o *GetTagInternalServerError) IsServerError() bool
- func (o *GetTagInternalServerError) IsSuccess() bool
- func (o *GetTagInternalServerError) String() string
- type GetTagNotAcceptable
- func (o *GetTagNotAcceptable) Code() int
- func (o *GetTagNotAcceptable) Error() string
- func (o *GetTagNotAcceptable) IsClientError() bool
- func (o *GetTagNotAcceptable) IsCode(code int) bool
- func (o *GetTagNotAcceptable) IsRedirect() bool
- func (o *GetTagNotAcceptable) IsServerError() bool
- func (o *GetTagNotAcceptable) IsSuccess() bool
- func (o *GetTagNotAcceptable) String() string
- type GetTagNotFound
- func (o *GetTagNotFound) Code() int
- func (o *GetTagNotFound) Error() string
- func (o *GetTagNotFound) IsClientError() bool
- func (o *GetTagNotFound) IsCode(code int) bool
- func (o *GetTagNotFound) IsRedirect() bool
- func (o *GetTagNotFound) IsServerError() bool
- func (o *GetTagNotFound) IsSuccess() bool
- func (o *GetTagNotFound) String() string
- type GetTagOK
- func (o *GetTagOK) Code() int
- func (o *GetTagOK) Error() string
- func (o *GetTagOK) GetPayload() *models.Tag
- func (o *GetTagOK) IsClientError() bool
- func (o *GetTagOK) IsCode(code int) bool
- func (o *GetTagOK) IsRedirect() bool
- func (o *GetTagOK) IsServerError() bool
- func (o *GetTagOK) IsSuccess() bool
- func (o *GetTagOK) String() string
- type GetTagParams
- func (o *GetTagParams) SetContext(ctx context.Context)
- func (o *GetTagParams) SetDefaults()
- func (o *GetTagParams) SetHTTPClient(client *http.Client)
- func (o *GetTagParams) SetTagName(tagName string)
- func (o *GetTagParams) SetTimeout(timeout time.Duration)
- func (o *GetTagParams) WithContext(ctx context.Context) *GetTagParams
- func (o *GetTagParams) WithDefaults() *GetTagParams
- func (o *GetTagParams) WithHTTPClient(client *http.Client) *GetTagParams
- func (o *GetTagParams) WithTagName(tagName string) *GetTagParams
- func (o *GetTagParams) WithTimeout(timeout time.Duration) *GetTagParams
- func (o *GetTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagReader
- type GetTagUnauthorized
- func (o *GetTagUnauthorized) Code() int
- func (o *GetTagUnauthorized) Error() string
- func (o *GetTagUnauthorized) IsClientError() bool
- func (o *GetTagUnauthorized) IsCode(code int) bool
- func (o *GetTagUnauthorized) IsRedirect() bool
- func (o *GetTagUnauthorized) IsServerError() bool
- func (o *GetTagUnauthorized) IsSuccess() bool
- func (o *GetTagUnauthorized) String() string
- type UnfollowTagBadRequest
- func (o *UnfollowTagBadRequest) Code() int
- func (o *UnfollowTagBadRequest) Error() string
- func (o *UnfollowTagBadRequest) IsClientError() bool
- func (o *UnfollowTagBadRequest) IsCode(code int) bool
- func (o *UnfollowTagBadRequest) IsRedirect() bool
- func (o *UnfollowTagBadRequest) IsServerError() bool
- func (o *UnfollowTagBadRequest) IsSuccess() bool
- func (o *UnfollowTagBadRequest) String() string
- type UnfollowTagForbidden
- func (o *UnfollowTagForbidden) Code() int
- func (o *UnfollowTagForbidden) Error() string
- func (o *UnfollowTagForbidden) IsClientError() bool
- func (o *UnfollowTagForbidden) IsCode(code int) bool
- func (o *UnfollowTagForbidden) IsRedirect() bool
- func (o *UnfollowTagForbidden) IsServerError() bool
- func (o *UnfollowTagForbidden) IsSuccess() bool
- func (o *UnfollowTagForbidden) String() string
- type UnfollowTagInternalServerError
- func (o *UnfollowTagInternalServerError) Code() int
- func (o *UnfollowTagInternalServerError) Error() string
- func (o *UnfollowTagInternalServerError) IsClientError() bool
- func (o *UnfollowTagInternalServerError) IsCode(code int) bool
- func (o *UnfollowTagInternalServerError) IsRedirect() bool
- func (o *UnfollowTagInternalServerError) IsServerError() bool
- func (o *UnfollowTagInternalServerError) IsSuccess() bool
- func (o *UnfollowTagInternalServerError) String() string
- type UnfollowTagNotFound
- func (o *UnfollowTagNotFound) Code() int
- func (o *UnfollowTagNotFound) Error() string
- func (o *UnfollowTagNotFound) IsClientError() bool
- func (o *UnfollowTagNotFound) IsCode(code int) bool
- func (o *UnfollowTagNotFound) IsRedirect() bool
- func (o *UnfollowTagNotFound) IsServerError() bool
- func (o *UnfollowTagNotFound) IsSuccess() bool
- func (o *UnfollowTagNotFound) String() string
- type UnfollowTagOK
- func (o *UnfollowTagOK) Code() int
- func (o *UnfollowTagOK) Error() string
- func (o *UnfollowTagOK) GetPayload() *models.Tag
- func (o *UnfollowTagOK) IsClientError() bool
- func (o *UnfollowTagOK) IsCode(code int) bool
- func (o *UnfollowTagOK) IsRedirect() bool
- func (o *UnfollowTagOK) IsServerError() bool
- func (o *UnfollowTagOK) IsSuccess() bool
- func (o *UnfollowTagOK) String() string
- type UnfollowTagParams
- func (o *UnfollowTagParams) SetContext(ctx context.Context)
- func (o *UnfollowTagParams) SetDefaults()
- func (o *UnfollowTagParams) SetHTTPClient(client *http.Client)
- func (o *UnfollowTagParams) SetTagName(tagName string)
- func (o *UnfollowTagParams) SetTimeout(timeout time.Duration)
- func (o *UnfollowTagParams) WithContext(ctx context.Context) *UnfollowTagParams
- func (o *UnfollowTagParams) WithDefaults() *UnfollowTagParams
- func (o *UnfollowTagParams) WithHTTPClient(client *http.Client) *UnfollowTagParams
- func (o *UnfollowTagParams) WithTagName(tagName string) *UnfollowTagParams
- func (o *UnfollowTagParams) WithTimeout(timeout time.Duration) *UnfollowTagParams
- func (o *UnfollowTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UnfollowTagReader
- type UnfollowTagUnauthorized
- func (o *UnfollowTagUnauthorized) Code() int
- func (o *UnfollowTagUnauthorized) Error() string
- func (o *UnfollowTagUnauthorized) IsClientError() bool
- func (o *UnfollowTagUnauthorized) IsCode(code int) bool
- func (o *UnfollowTagUnauthorized) IsRedirect() bool
- func (o *UnfollowTagUnauthorized) IsServerError() bool
- func (o *UnfollowTagUnauthorized) IsSuccess() bool
- func (o *UnfollowTagUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tags API
func (*Client) FollowTag ¶
func (a *Client) FollowTag(params *FollowTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FollowTagOK, error)
FollowTag follows a hashtag
Idempotent: if you are already following the tag, this call will still succeed.
func (*Client) GetFeaturedTags ¶
func (a *Client) GetFeaturedTags(params *GetFeaturedTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFeaturedTagsOK, error)
GetFeaturedTags gets an array of all hashtags that you currently have featured on your profile
THIS ENDPOINT IS CURRENTLY NOT FULLY IMPLEMENTED: it will always return an empty array.
func (*Client) GetFollowedTags ¶
func (a *Client) GetFollowedTags(params *GetFollowedTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFollowedTagsOK, error)
GetFollowedTags gets an array of all hashtags that you currently follow
func (*Client) GetTag ¶
func (a *Client) GetTag(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTagOK, error)
GetTag gets details for a hashtag including whether you currently follow it
If the tag does not exist, this method will not create it in the database.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UnfollowTag ¶
func (a *Client) UnfollowTag(params *UnfollowTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnfollowTagOK, error)
UnfollowTag unfollows a hashtag
Idempotent: if you are not following the tag, this call will still succeed.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
FollowTag(params *FollowTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FollowTagOK, error)
GetFeaturedTags(params *GetFeaturedTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFeaturedTagsOK, error)
GetFollowedTags(params *GetFollowedTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFollowedTagsOK, error)
GetTag(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTagOK, error)
UnfollowTag(params *UnfollowTagParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnfollowTagOK, 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 tags API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new tags 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 tags API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type FollowTagBadRequest ¶
type FollowTagBadRequest struct {
}
FollowTagBadRequest describes a response with status code 400, with default header values.
bad request
func NewFollowTagBadRequest ¶
func NewFollowTagBadRequest() *FollowTagBadRequest
NewFollowTagBadRequest creates a FollowTagBadRequest with default headers values
func (*FollowTagBadRequest) Code ¶
func (o *FollowTagBadRequest) Code() int
Code gets the status code for the follow tag bad request response
func (*FollowTagBadRequest) Error ¶
func (o *FollowTagBadRequest) Error() string
func (*FollowTagBadRequest) IsClientError ¶
func (o *FollowTagBadRequest) IsClientError() bool
IsClientError returns true when this follow tag bad request response has a 4xx status code
func (*FollowTagBadRequest) IsCode ¶
func (o *FollowTagBadRequest) IsCode(code int) bool
IsCode returns true when this follow tag bad request response a status code equal to that given
func (*FollowTagBadRequest) IsRedirect ¶
func (o *FollowTagBadRequest) IsRedirect() bool
IsRedirect returns true when this follow tag bad request response has a 3xx status code
func (*FollowTagBadRequest) IsServerError ¶
func (o *FollowTagBadRequest) IsServerError() bool
IsServerError returns true when this follow tag bad request response has a 5xx status code
func (*FollowTagBadRequest) IsSuccess ¶
func (o *FollowTagBadRequest) IsSuccess() bool
IsSuccess returns true when this follow tag bad request response has a 2xx status code
func (*FollowTagBadRequest) String ¶
func (o *FollowTagBadRequest) String() string
type FollowTagForbidden ¶
type FollowTagForbidden struct {
}
FollowTagForbidden describes a response with status code 403, with default header values.
forbidden
func NewFollowTagForbidden ¶
func NewFollowTagForbidden() *FollowTagForbidden
NewFollowTagForbidden creates a FollowTagForbidden with default headers values
func (*FollowTagForbidden) Code ¶
func (o *FollowTagForbidden) Code() int
Code gets the status code for the follow tag forbidden response
func (*FollowTagForbidden) Error ¶
func (o *FollowTagForbidden) Error() string
func (*FollowTagForbidden) IsClientError ¶
func (o *FollowTagForbidden) IsClientError() bool
IsClientError returns true when this follow tag forbidden response has a 4xx status code
func (*FollowTagForbidden) IsCode ¶
func (o *FollowTagForbidden) IsCode(code int) bool
IsCode returns true when this follow tag forbidden response a status code equal to that given
func (*FollowTagForbidden) IsRedirect ¶
func (o *FollowTagForbidden) IsRedirect() bool
IsRedirect returns true when this follow tag forbidden response has a 3xx status code
func (*FollowTagForbidden) IsServerError ¶
func (o *FollowTagForbidden) IsServerError() bool
IsServerError returns true when this follow tag forbidden response has a 5xx status code
func (*FollowTagForbidden) IsSuccess ¶
func (o *FollowTagForbidden) IsSuccess() bool
IsSuccess returns true when this follow tag forbidden response has a 2xx status code
func (*FollowTagForbidden) String ¶
func (o *FollowTagForbidden) String() string
type FollowTagInternalServerError ¶
type FollowTagInternalServerError struct {
}
FollowTagInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewFollowTagInternalServerError ¶
func NewFollowTagInternalServerError() *FollowTagInternalServerError
NewFollowTagInternalServerError creates a FollowTagInternalServerError with default headers values
func (*FollowTagInternalServerError) Code ¶
func (o *FollowTagInternalServerError) Code() int
Code gets the status code for the follow tag internal server error response
func (*FollowTagInternalServerError) Error ¶
func (o *FollowTagInternalServerError) Error() string
func (*FollowTagInternalServerError) IsClientError ¶
func (o *FollowTagInternalServerError) IsClientError() bool
IsClientError returns true when this follow tag internal server error response has a 4xx status code
func (*FollowTagInternalServerError) IsCode ¶
func (o *FollowTagInternalServerError) IsCode(code int) bool
IsCode returns true when this follow tag internal server error response a status code equal to that given
func (*FollowTagInternalServerError) IsRedirect ¶
func (o *FollowTagInternalServerError) IsRedirect() bool
IsRedirect returns true when this follow tag internal server error response has a 3xx status code
func (*FollowTagInternalServerError) IsServerError ¶
func (o *FollowTagInternalServerError) IsServerError() bool
IsServerError returns true when this follow tag internal server error response has a 5xx status code
func (*FollowTagInternalServerError) IsSuccess ¶
func (o *FollowTagInternalServerError) IsSuccess() bool
IsSuccess returns true when this follow tag internal server error response has a 2xx status code
func (*FollowTagInternalServerError) String ¶
func (o *FollowTagInternalServerError) String() string
type FollowTagOK ¶
FollowTagOK describes a response with status code 200, with default header values.
Info about the tag.
func NewFollowTagOK ¶
func NewFollowTagOK() *FollowTagOK
NewFollowTagOK creates a FollowTagOK with default headers values
func (*FollowTagOK) Code ¶
func (o *FollowTagOK) Code() int
Code gets the status code for the follow tag o k response
func (*FollowTagOK) Error ¶
func (o *FollowTagOK) Error() string
func (*FollowTagOK) GetPayload ¶
func (o *FollowTagOK) GetPayload() *models.Tag
func (*FollowTagOK) IsClientError ¶
func (o *FollowTagOK) IsClientError() bool
IsClientError returns true when this follow tag o k response has a 4xx status code
func (*FollowTagOK) IsCode ¶
func (o *FollowTagOK) IsCode(code int) bool
IsCode returns true when this follow tag o k response a status code equal to that given
func (*FollowTagOK) IsRedirect ¶
func (o *FollowTagOK) IsRedirect() bool
IsRedirect returns true when this follow tag o k response has a 3xx status code
func (*FollowTagOK) IsServerError ¶
func (o *FollowTagOK) IsServerError() bool
IsServerError returns true when this follow tag o k response has a 5xx status code
func (*FollowTagOK) IsSuccess ¶
func (o *FollowTagOK) IsSuccess() bool
IsSuccess returns true when this follow tag o k response has a 2xx status code
func (*FollowTagOK) String ¶
func (o *FollowTagOK) String() string
type FollowTagParams ¶
type FollowTagParams struct {
/* TagName.
Name of the tag (no leading `#`)
*/
TagName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
FollowTagParams contains all the parameters to send to the API endpoint
for the follow tag operation. Typically these are written to a http.Request.
func NewFollowTagParams ¶
func NewFollowTagParams() *FollowTagParams
NewFollowTagParams creates a new FollowTagParams 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 NewFollowTagParamsWithContext ¶
func NewFollowTagParamsWithContext(ctx context.Context) *FollowTagParams
NewFollowTagParamsWithContext creates a new FollowTagParams object with the ability to set a context for a request.
func NewFollowTagParamsWithHTTPClient ¶
func NewFollowTagParamsWithHTTPClient(client *http.Client) *FollowTagParams
NewFollowTagParamsWithHTTPClient creates a new FollowTagParams object with the ability to set a custom HTTPClient for a request.
func NewFollowTagParamsWithTimeout ¶
func NewFollowTagParamsWithTimeout(timeout time.Duration) *FollowTagParams
NewFollowTagParamsWithTimeout creates a new FollowTagParams object with the ability to set a timeout on a request.
func (*FollowTagParams) SetContext ¶
func (o *FollowTagParams) SetContext(ctx context.Context)
SetContext adds the context to the follow tag params
func (*FollowTagParams) SetDefaults ¶
func (o *FollowTagParams) SetDefaults()
SetDefaults hydrates default values in the follow tag params (not the query body).
All values with no default are reset to their zero value.
func (*FollowTagParams) SetHTTPClient ¶
func (o *FollowTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the follow tag params
func (*FollowTagParams) SetTagName ¶
func (o *FollowTagParams) SetTagName(tagName string)
SetTagName adds the tagName to the follow tag params
func (*FollowTagParams) SetTimeout ¶
func (o *FollowTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the follow tag params
func (*FollowTagParams) WithContext ¶
func (o *FollowTagParams) WithContext(ctx context.Context) *FollowTagParams
WithContext adds the context to the follow tag params
func (*FollowTagParams) WithDefaults ¶
func (o *FollowTagParams) WithDefaults() *FollowTagParams
WithDefaults hydrates default values in the follow tag params (not the query body).
All values with no default are reset to their zero value.
func (*FollowTagParams) WithHTTPClient ¶
func (o *FollowTagParams) WithHTTPClient(client *http.Client) *FollowTagParams
WithHTTPClient adds the HTTPClient to the follow tag params
func (*FollowTagParams) WithTagName ¶
func (o *FollowTagParams) WithTagName(tagName string) *FollowTagParams
WithTagName adds the tagName to the follow tag params
func (*FollowTagParams) WithTimeout ¶
func (o *FollowTagParams) WithTimeout(timeout time.Duration) *FollowTagParams
WithTimeout adds the timeout to the follow tag params
func (*FollowTagParams) WriteToRequest ¶
func (o *FollowTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FollowTagReader ¶
type FollowTagReader struct {
// contains filtered or unexported fields
}
FollowTagReader is a Reader for the FollowTag structure.
func (*FollowTagReader) ReadResponse ¶
func (o *FollowTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FollowTagUnauthorized ¶
type FollowTagUnauthorized struct {
}
FollowTagUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewFollowTagUnauthorized ¶
func NewFollowTagUnauthorized() *FollowTagUnauthorized
NewFollowTagUnauthorized creates a FollowTagUnauthorized with default headers values
func (*FollowTagUnauthorized) Code ¶
func (o *FollowTagUnauthorized) Code() int
Code gets the status code for the follow tag unauthorized response
func (*FollowTagUnauthorized) Error ¶
func (o *FollowTagUnauthorized) Error() string
func (*FollowTagUnauthorized) IsClientError ¶
func (o *FollowTagUnauthorized) IsClientError() bool
IsClientError returns true when this follow tag unauthorized response has a 4xx status code
func (*FollowTagUnauthorized) IsCode ¶
func (o *FollowTagUnauthorized) IsCode(code int) bool
IsCode returns true when this follow tag unauthorized response a status code equal to that given
func (*FollowTagUnauthorized) IsRedirect ¶
func (o *FollowTagUnauthorized) IsRedirect() bool
IsRedirect returns true when this follow tag unauthorized response has a 3xx status code
func (*FollowTagUnauthorized) IsServerError ¶
func (o *FollowTagUnauthorized) IsServerError() bool
IsServerError returns true when this follow tag unauthorized response has a 5xx status code
func (*FollowTagUnauthorized) IsSuccess ¶
func (o *FollowTagUnauthorized) IsSuccess() bool
IsSuccess returns true when this follow tag unauthorized response has a 2xx status code
func (*FollowTagUnauthorized) String ¶
func (o *FollowTagUnauthorized) String() string
type GetFeaturedTagsBadRequest ¶
type GetFeaturedTagsBadRequest struct {
}
GetFeaturedTagsBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetFeaturedTagsBadRequest ¶
func NewGetFeaturedTagsBadRequest() *GetFeaturedTagsBadRequest
NewGetFeaturedTagsBadRequest creates a GetFeaturedTagsBadRequest with default headers values
func (*GetFeaturedTagsBadRequest) Code ¶
func (o *GetFeaturedTagsBadRequest) Code() int
Code gets the status code for the get featured tags bad request response
func (*GetFeaturedTagsBadRequest) Error ¶
func (o *GetFeaturedTagsBadRequest) Error() string
func (*GetFeaturedTagsBadRequest) IsClientError ¶
func (o *GetFeaturedTagsBadRequest) IsClientError() bool
IsClientError returns true when this get featured tags bad request response has a 4xx status code
func (*GetFeaturedTagsBadRequest) IsCode ¶
func (o *GetFeaturedTagsBadRequest) IsCode(code int) bool
IsCode returns true when this get featured tags bad request response a status code equal to that given
func (*GetFeaturedTagsBadRequest) IsRedirect ¶
func (o *GetFeaturedTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this get featured tags bad request response has a 3xx status code
func (*GetFeaturedTagsBadRequest) IsServerError ¶
func (o *GetFeaturedTagsBadRequest) IsServerError() bool
IsServerError returns true when this get featured tags bad request response has a 5xx status code
func (*GetFeaturedTagsBadRequest) IsSuccess ¶
func (o *GetFeaturedTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this get featured tags bad request response has a 2xx status code
func (*GetFeaturedTagsBadRequest) String ¶
func (o *GetFeaturedTagsBadRequest) String() string
type GetFeaturedTagsInternalServerError ¶
type GetFeaturedTagsInternalServerError struct {
}
GetFeaturedTagsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetFeaturedTagsInternalServerError ¶
func NewGetFeaturedTagsInternalServerError() *GetFeaturedTagsInternalServerError
NewGetFeaturedTagsInternalServerError creates a GetFeaturedTagsInternalServerError with default headers values
func (*GetFeaturedTagsInternalServerError) Code ¶
func (o *GetFeaturedTagsInternalServerError) Code() int
Code gets the status code for the get featured tags internal server error response
func (*GetFeaturedTagsInternalServerError) Error ¶
func (o *GetFeaturedTagsInternalServerError) Error() string
func (*GetFeaturedTagsInternalServerError) IsClientError ¶
func (o *GetFeaturedTagsInternalServerError) IsClientError() bool
IsClientError returns true when this get featured tags internal server error response has a 4xx status code
func (*GetFeaturedTagsInternalServerError) IsCode ¶
func (o *GetFeaturedTagsInternalServerError) IsCode(code int) bool
IsCode returns true when this get featured tags internal server error response a status code equal to that given
func (*GetFeaturedTagsInternalServerError) IsRedirect ¶
func (o *GetFeaturedTagsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get featured tags internal server error response has a 3xx status code
func (*GetFeaturedTagsInternalServerError) IsServerError ¶
func (o *GetFeaturedTagsInternalServerError) IsServerError() bool
IsServerError returns true when this get featured tags internal server error response has a 5xx status code
func (*GetFeaturedTagsInternalServerError) IsSuccess ¶
func (o *GetFeaturedTagsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get featured tags internal server error response has a 2xx status code
func (*GetFeaturedTagsInternalServerError) String ¶
func (o *GetFeaturedTagsInternalServerError) String() string
type GetFeaturedTagsNotAcceptable ¶
type GetFeaturedTagsNotAcceptable struct {
}
GetFeaturedTagsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetFeaturedTagsNotAcceptable ¶
func NewGetFeaturedTagsNotAcceptable() *GetFeaturedTagsNotAcceptable
NewGetFeaturedTagsNotAcceptable creates a GetFeaturedTagsNotAcceptable with default headers values
func (*GetFeaturedTagsNotAcceptable) Code ¶
func (o *GetFeaturedTagsNotAcceptable) Code() int
Code gets the status code for the get featured tags not acceptable response
func (*GetFeaturedTagsNotAcceptable) Error ¶
func (o *GetFeaturedTagsNotAcceptable) Error() string
func (*GetFeaturedTagsNotAcceptable) IsClientError ¶
func (o *GetFeaturedTagsNotAcceptable) IsClientError() bool
IsClientError returns true when this get featured tags not acceptable response has a 4xx status code
func (*GetFeaturedTagsNotAcceptable) IsCode ¶
func (o *GetFeaturedTagsNotAcceptable) IsCode(code int) bool
IsCode returns true when this get featured tags not acceptable response a status code equal to that given
func (*GetFeaturedTagsNotAcceptable) IsRedirect ¶
func (o *GetFeaturedTagsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get featured tags not acceptable response has a 3xx status code
func (*GetFeaturedTagsNotAcceptable) IsServerError ¶
func (o *GetFeaturedTagsNotAcceptable) IsServerError() bool
IsServerError returns true when this get featured tags not acceptable response has a 5xx status code
func (*GetFeaturedTagsNotAcceptable) IsSuccess ¶
func (o *GetFeaturedTagsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get featured tags not acceptable response has a 2xx status code
func (*GetFeaturedTagsNotAcceptable) String ¶
func (o *GetFeaturedTagsNotAcceptable) String() string
type GetFeaturedTagsNotFound ¶
type GetFeaturedTagsNotFound struct {
}
GetFeaturedTagsNotFound describes a response with status code 404, with default header values.
not found
func NewGetFeaturedTagsNotFound ¶
func NewGetFeaturedTagsNotFound() *GetFeaturedTagsNotFound
NewGetFeaturedTagsNotFound creates a GetFeaturedTagsNotFound with default headers values
func (*GetFeaturedTagsNotFound) Code ¶
func (o *GetFeaturedTagsNotFound) Code() int
Code gets the status code for the get featured tags not found response
func (*GetFeaturedTagsNotFound) Error ¶
func (o *GetFeaturedTagsNotFound) Error() string
func (*GetFeaturedTagsNotFound) IsClientError ¶
func (o *GetFeaturedTagsNotFound) IsClientError() bool
IsClientError returns true when this get featured tags not found response has a 4xx status code
func (*GetFeaturedTagsNotFound) IsCode ¶
func (o *GetFeaturedTagsNotFound) IsCode(code int) bool
IsCode returns true when this get featured tags not found response a status code equal to that given
func (*GetFeaturedTagsNotFound) IsRedirect ¶
func (o *GetFeaturedTagsNotFound) IsRedirect() bool
IsRedirect returns true when this get featured tags not found response has a 3xx status code
func (*GetFeaturedTagsNotFound) IsServerError ¶
func (o *GetFeaturedTagsNotFound) IsServerError() bool
IsServerError returns true when this get featured tags not found response has a 5xx status code
func (*GetFeaturedTagsNotFound) IsSuccess ¶
func (o *GetFeaturedTagsNotFound) IsSuccess() bool
IsSuccess returns true when this get featured tags not found response has a 2xx status code
func (*GetFeaturedTagsNotFound) String ¶
func (o *GetFeaturedTagsNotFound) String() string
type GetFeaturedTagsOK ¶
type GetFeaturedTagsOK struct {
Payload []interface{}
}
GetFeaturedTagsOK describes a response with status code 200, with default header values.
GetFeaturedTagsOK get featured tags o k
func NewGetFeaturedTagsOK ¶
func NewGetFeaturedTagsOK() *GetFeaturedTagsOK
NewGetFeaturedTagsOK creates a GetFeaturedTagsOK with default headers values
func (*GetFeaturedTagsOK) Code ¶
func (o *GetFeaturedTagsOK) Code() int
Code gets the status code for the get featured tags o k response
func (*GetFeaturedTagsOK) Error ¶
func (o *GetFeaturedTagsOK) Error() string
func (*GetFeaturedTagsOK) GetPayload ¶
func (o *GetFeaturedTagsOK) GetPayload() []interface{}
func (*GetFeaturedTagsOK) IsClientError ¶
func (o *GetFeaturedTagsOK) IsClientError() bool
IsClientError returns true when this get featured tags o k response has a 4xx status code
func (*GetFeaturedTagsOK) IsCode ¶
func (o *GetFeaturedTagsOK) IsCode(code int) bool
IsCode returns true when this get featured tags o k response a status code equal to that given
func (*GetFeaturedTagsOK) IsRedirect ¶
func (o *GetFeaturedTagsOK) IsRedirect() bool
IsRedirect returns true when this get featured tags o k response has a 3xx status code
func (*GetFeaturedTagsOK) IsServerError ¶
func (o *GetFeaturedTagsOK) IsServerError() bool
IsServerError returns true when this get featured tags o k response has a 5xx status code
func (*GetFeaturedTagsOK) IsSuccess ¶
func (o *GetFeaturedTagsOK) IsSuccess() bool
IsSuccess returns true when this get featured tags o k response has a 2xx status code
func (*GetFeaturedTagsOK) String ¶
func (o *GetFeaturedTagsOK) String() string
type GetFeaturedTagsParams ¶
type GetFeaturedTagsParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetFeaturedTagsParams contains all the parameters to send to the API endpoint
for the get featured tags operation. Typically these are written to a http.Request.
func NewGetFeaturedTagsParams ¶
func NewGetFeaturedTagsParams() *GetFeaturedTagsParams
NewGetFeaturedTagsParams creates a new GetFeaturedTagsParams 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 NewGetFeaturedTagsParamsWithContext ¶
func NewGetFeaturedTagsParamsWithContext(ctx context.Context) *GetFeaturedTagsParams
NewGetFeaturedTagsParamsWithContext creates a new GetFeaturedTagsParams object with the ability to set a context for a request.
func NewGetFeaturedTagsParamsWithHTTPClient ¶
func NewGetFeaturedTagsParamsWithHTTPClient(client *http.Client) *GetFeaturedTagsParams
NewGetFeaturedTagsParamsWithHTTPClient creates a new GetFeaturedTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFeaturedTagsParamsWithTimeout ¶
func NewGetFeaturedTagsParamsWithTimeout(timeout time.Duration) *GetFeaturedTagsParams
NewGetFeaturedTagsParamsWithTimeout creates a new GetFeaturedTagsParams object with the ability to set a timeout on a request.
func (*GetFeaturedTagsParams) SetContext ¶
func (o *GetFeaturedTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get featured tags params
func (*GetFeaturedTagsParams) SetDefaults ¶
func (o *GetFeaturedTagsParams) SetDefaults()
SetDefaults hydrates default values in the get featured tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetFeaturedTagsParams) SetHTTPClient ¶
func (o *GetFeaturedTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get featured tags params
func (*GetFeaturedTagsParams) SetTimeout ¶
func (o *GetFeaturedTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get featured tags params
func (*GetFeaturedTagsParams) WithContext ¶
func (o *GetFeaturedTagsParams) WithContext(ctx context.Context) *GetFeaturedTagsParams
WithContext adds the context to the get featured tags params
func (*GetFeaturedTagsParams) WithDefaults ¶
func (o *GetFeaturedTagsParams) WithDefaults() *GetFeaturedTagsParams
WithDefaults hydrates default values in the get featured tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetFeaturedTagsParams) WithHTTPClient ¶
func (o *GetFeaturedTagsParams) WithHTTPClient(client *http.Client) *GetFeaturedTagsParams
WithHTTPClient adds the HTTPClient to the get featured tags params
func (*GetFeaturedTagsParams) WithTimeout ¶
func (o *GetFeaturedTagsParams) WithTimeout(timeout time.Duration) *GetFeaturedTagsParams
WithTimeout adds the timeout to the get featured tags params
func (*GetFeaturedTagsParams) WriteToRequest ¶
func (o *GetFeaturedTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFeaturedTagsReader ¶
type GetFeaturedTagsReader struct {
// contains filtered or unexported fields
}
GetFeaturedTagsReader is a Reader for the GetFeaturedTags structure.
func (*GetFeaturedTagsReader) ReadResponse ¶
func (o *GetFeaturedTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFeaturedTagsUnauthorized ¶
type GetFeaturedTagsUnauthorized struct {
}
GetFeaturedTagsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetFeaturedTagsUnauthorized ¶
func NewGetFeaturedTagsUnauthorized() *GetFeaturedTagsUnauthorized
NewGetFeaturedTagsUnauthorized creates a GetFeaturedTagsUnauthorized with default headers values
func (*GetFeaturedTagsUnauthorized) Code ¶
func (o *GetFeaturedTagsUnauthorized) Code() int
Code gets the status code for the get featured tags unauthorized response
func (*GetFeaturedTagsUnauthorized) Error ¶
func (o *GetFeaturedTagsUnauthorized) Error() string
func (*GetFeaturedTagsUnauthorized) IsClientError ¶
func (o *GetFeaturedTagsUnauthorized) IsClientError() bool
IsClientError returns true when this get featured tags unauthorized response has a 4xx status code
func (*GetFeaturedTagsUnauthorized) IsCode ¶
func (o *GetFeaturedTagsUnauthorized) IsCode(code int) bool
IsCode returns true when this get featured tags unauthorized response a status code equal to that given
func (*GetFeaturedTagsUnauthorized) IsRedirect ¶
func (o *GetFeaturedTagsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get featured tags unauthorized response has a 3xx status code
func (*GetFeaturedTagsUnauthorized) IsServerError ¶
func (o *GetFeaturedTagsUnauthorized) IsServerError() bool
IsServerError returns true when this get featured tags unauthorized response has a 5xx status code
func (*GetFeaturedTagsUnauthorized) IsSuccess ¶
func (o *GetFeaturedTagsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get featured tags unauthorized response has a 2xx status code
func (*GetFeaturedTagsUnauthorized) String ¶
func (o *GetFeaturedTagsUnauthorized) String() string
type GetFollowedTagsBadRequest ¶
type GetFollowedTagsBadRequest struct {
}
GetFollowedTagsBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetFollowedTagsBadRequest ¶
func NewGetFollowedTagsBadRequest() *GetFollowedTagsBadRequest
NewGetFollowedTagsBadRequest creates a GetFollowedTagsBadRequest with default headers values
func (*GetFollowedTagsBadRequest) Code ¶
func (o *GetFollowedTagsBadRequest) Code() int
Code gets the status code for the get followed tags bad request response
func (*GetFollowedTagsBadRequest) Error ¶
func (o *GetFollowedTagsBadRequest) Error() string
func (*GetFollowedTagsBadRequest) IsClientError ¶
func (o *GetFollowedTagsBadRequest) IsClientError() bool
IsClientError returns true when this get followed tags bad request response has a 4xx status code
func (*GetFollowedTagsBadRequest) IsCode ¶
func (o *GetFollowedTagsBadRequest) IsCode(code int) bool
IsCode returns true when this get followed tags bad request response a status code equal to that given
func (*GetFollowedTagsBadRequest) IsRedirect ¶
func (o *GetFollowedTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this get followed tags bad request response has a 3xx status code
func (*GetFollowedTagsBadRequest) IsServerError ¶
func (o *GetFollowedTagsBadRequest) IsServerError() bool
IsServerError returns true when this get followed tags bad request response has a 5xx status code
func (*GetFollowedTagsBadRequest) IsSuccess ¶
func (o *GetFollowedTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this get followed tags bad request response has a 2xx status code
func (*GetFollowedTagsBadRequest) String ¶
func (o *GetFollowedTagsBadRequest) String() string
type GetFollowedTagsInternalServerError ¶
type GetFollowedTagsInternalServerError struct {
}
GetFollowedTagsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetFollowedTagsInternalServerError ¶
func NewGetFollowedTagsInternalServerError() *GetFollowedTagsInternalServerError
NewGetFollowedTagsInternalServerError creates a GetFollowedTagsInternalServerError with default headers values
func (*GetFollowedTagsInternalServerError) Code ¶
func (o *GetFollowedTagsInternalServerError) Code() int
Code gets the status code for the get followed tags internal server error response
func (*GetFollowedTagsInternalServerError) Error ¶
func (o *GetFollowedTagsInternalServerError) Error() string
func (*GetFollowedTagsInternalServerError) IsClientError ¶
func (o *GetFollowedTagsInternalServerError) IsClientError() bool
IsClientError returns true when this get followed tags internal server error response has a 4xx status code
func (*GetFollowedTagsInternalServerError) IsCode ¶
func (o *GetFollowedTagsInternalServerError) IsCode(code int) bool
IsCode returns true when this get followed tags internal server error response a status code equal to that given
func (*GetFollowedTagsInternalServerError) IsRedirect ¶
func (o *GetFollowedTagsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get followed tags internal server error response has a 3xx status code
func (*GetFollowedTagsInternalServerError) IsServerError ¶
func (o *GetFollowedTagsInternalServerError) IsServerError() bool
IsServerError returns true when this get followed tags internal server error response has a 5xx status code
func (*GetFollowedTagsInternalServerError) IsSuccess ¶
func (o *GetFollowedTagsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get followed tags internal server error response has a 2xx status code
func (*GetFollowedTagsInternalServerError) String ¶
func (o *GetFollowedTagsInternalServerError) String() string
type GetFollowedTagsNotAcceptable ¶
type GetFollowedTagsNotAcceptable struct {
}
GetFollowedTagsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetFollowedTagsNotAcceptable ¶
func NewGetFollowedTagsNotAcceptable() *GetFollowedTagsNotAcceptable
NewGetFollowedTagsNotAcceptable creates a GetFollowedTagsNotAcceptable with default headers values
func (*GetFollowedTagsNotAcceptable) Code ¶
func (o *GetFollowedTagsNotAcceptable) Code() int
Code gets the status code for the get followed tags not acceptable response
func (*GetFollowedTagsNotAcceptable) Error ¶
func (o *GetFollowedTagsNotAcceptable) Error() string
func (*GetFollowedTagsNotAcceptable) IsClientError ¶
func (o *GetFollowedTagsNotAcceptable) IsClientError() bool
IsClientError returns true when this get followed tags not acceptable response has a 4xx status code
func (*GetFollowedTagsNotAcceptable) IsCode ¶
func (o *GetFollowedTagsNotAcceptable) IsCode(code int) bool
IsCode returns true when this get followed tags not acceptable response a status code equal to that given
func (*GetFollowedTagsNotAcceptable) IsRedirect ¶
func (o *GetFollowedTagsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get followed tags not acceptable response has a 3xx status code
func (*GetFollowedTagsNotAcceptable) IsServerError ¶
func (o *GetFollowedTagsNotAcceptable) IsServerError() bool
IsServerError returns true when this get followed tags not acceptable response has a 5xx status code
func (*GetFollowedTagsNotAcceptable) IsSuccess ¶
func (o *GetFollowedTagsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get followed tags not acceptable response has a 2xx status code
func (*GetFollowedTagsNotAcceptable) String ¶
func (o *GetFollowedTagsNotAcceptable) String() string
type GetFollowedTagsNotFound ¶
type GetFollowedTagsNotFound struct {
}
GetFollowedTagsNotFound describes a response with status code 404, with default header values.
not found
func NewGetFollowedTagsNotFound ¶
func NewGetFollowedTagsNotFound() *GetFollowedTagsNotFound
NewGetFollowedTagsNotFound creates a GetFollowedTagsNotFound with default headers values
func (*GetFollowedTagsNotFound) Code ¶
func (o *GetFollowedTagsNotFound) Code() int
Code gets the status code for the get followed tags not found response
func (*GetFollowedTagsNotFound) Error ¶
func (o *GetFollowedTagsNotFound) Error() string
func (*GetFollowedTagsNotFound) IsClientError ¶
func (o *GetFollowedTagsNotFound) IsClientError() bool
IsClientError returns true when this get followed tags not found response has a 4xx status code
func (*GetFollowedTagsNotFound) IsCode ¶
func (o *GetFollowedTagsNotFound) IsCode(code int) bool
IsCode returns true when this get followed tags not found response a status code equal to that given
func (*GetFollowedTagsNotFound) IsRedirect ¶
func (o *GetFollowedTagsNotFound) IsRedirect() bool
IsRedirect returns true when this get followed tags not found response has a 3xx status code
func (*GetFollowedTagsNotFound) IsServerError ¶
func (o *GetFollowedTagsNotFound) IsServerError() bool
IsServerError returns true when this get followed tags not found response has a 5xx status code
func (*GetFollowedTagsNotFound) IsSuccess ¶
func (o *GetFollowedTagsNotFound) IsSuccess() bool
IsSuccess returns true when this get followed tags not found response has a 2xx status code
func (*GetFollowedTagsNotFound) String ¶
func (o *GetFollowedTagsNotFound) String() string
type GetFollowedTagsOK ¶
type GetFollowedTagsOK struct {
/* Links to the next and previous queries.
*/
Link string
Payload []*models.Tag
}
GetFollowedTagsOK describes a response with status code 200, with default header values.
GetFollowedTagsOK get followed tags o k
func NewGetFollowedTagsOK ¶
func NewGetFollowedTagsOK() *GetFollowedTagsOK
NewGetFollowedTagsOK creates a GetFollowedTagsOK with default headers values
func (*GetFollowedTagsOK) Code ¶
func (o *GetFollowedTagsOK) Code() int
Code gets the status code for the get followed tags o k response
func (*GetFollowedTagsOK) Error ¶
func (o *GetFollowedTagsOK) Error() string
func (*GetFollowedTagsOK) GetPayload ¶
func (o *GetFollowedTagsOK) GetPayload() []*models.Tag
func (*GetFollowedTagsOK) IsClientError ¶
func (o *GetFollowedTagsOK) IsClientError() bool
IsClientError returns true when this get followed tags o k response has a 4xx status code
func (*GetFollowedTagsOK) IsCode ¶
func (o *GetFollowedTagsOK) IsCode(code int) bool
IsCode returns true when this get followed tags o k response a status code equal to that given
func (*GetFollowedTagsOK) IsRedirect ¶
func (o *GetFollowedTagsOK) IsRedirect() bool
IsRedirect returns true when this get followed tags o k response has a 3xx status code
func (*GetFollowedTagsOK) IsServerError ¶
func (o *GetFollowedTagsOK) IsServerError() bool
IsServerError returns true when this get followed tags o k response has a 5xx status code
func (*GetFollowedTagsOK) IsSuccess ¶
func (o *GetFollowedTagsOK) IsSuccess() bool
IsSuccess returns true when this get followed tags o k response has a 2xx status code
func (*GetFollowedTagsOK) String ¶
func (o *GetFollowedTagsOK) String() string
type GetFollowedTagsParams ¶
type GetFollowedTagsParams struct {
/* Limit.
Number of followed tags to return.
Default: 100
*/
Limit *int64
/* MaxID.
Return only followed tags *OLDER* than the given max ID. The followed tag with the specified ID will not be included in the response. NOTE: the ID is of the internal followed tag, NOT a tag name.
*/
MaxID *string
/* MinID.
Return only followed tags *IMMEDIATELY NEWER* than the given min ID. The followed tag with the specified ID will not be included in the response. NOTE: the ID is of the internal followed tag, NOT a tag name.
*/
MinID *string
/* SinceID.
Return only followed tags *NEWER* than the given since ID. The followed tag with the specified ID will not be included in the response. NOTE: the ID is of the internal followed tag, NOT a tag name.
*/
SinceID *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetFollowedTagsParams contains all the parameters to send to the API endpoint
for the get followed tags operation. Typically these are written to a http.Request.
func NewGetFollowedTagsParams ¶
func NewGetFollowedTagsParams() *GetFollowedTagsParams
NewGetFollowedTagsParams creates a new GetFollowedTagsParams 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 NewGetFollowedTagsParamsWithContext ¶
func NewGetFollowedTagsParamsWithContext(ctx context.Context) *GetFollowedTagsParams
NewGetFollowedTagsParamsWithContext creates a new GetFollowedTagsParams object with the ability to set a context for a request.
func NewGetFollowedTagsParamsWithHTTPClient ¶
func NewGetFollowedTagsParamsWithHTTPClient(client *http.Client) *GetFollowedTagsParams
NewGetFollowedTagsParamsWithHTTPClient creates a new GetFollowedTagsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFollowedTagsParamsWithTimeout ¶
func NewGetFollowedTagsParamsWithTimeout(timeout time.Duration) *GetFollowedTagsParams
NewGetFollowedTagsParamsWithTimeout creates a new GetFollowedTagsParams object with the ability to set a timeout on a request.
func (*GetFollowedTagsParams) SetContext ¶
func (o *GetFollowedTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get followed tags params
func (*GetFollowedTagsParams) SetDefaults ¶
func (o *GetFollowedTagsParams) SetDefaults()
SetDefaults hydrates default values in the get followed tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetFollowedTagsParams) SetHTTPClient ¶
func (o *GetFollowedTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get followed tags params
func (*GetFollowedTagsParams) SetLimit ¶
func (o *GetFollowedTagsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get followed tags params
func (*GetFollowedTagsParams) SetMaxID ¶
func (o *GetFollowedTagsParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the get followed tags params
func (*GetFollowedTagsParams) SetMinID ¶
func (o *GetFollowedTagsParams) SetMinID(minID *string)
SetMinID adds the minId to the get followed tags params
func (*GetFollowedTagsParams) SetSinceID ¶
func (o *GetFollowedTagsParams) SetSinceID(sinceID *string)
SetSinceID adds the sinceId to the get followed tags params
func (*GetFollowedTagsParams) SetTimeout ¶
func (o *GetFollowedTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get followed tags params
func (*GetFollowedTagsParams) WithContext ¶
func (o *GetFollowedTagsParams) WithContext(ctx context.Context) *GetFollowedTagsParams
WithContext adds the context to the get followed tags params
func (*GetFollowedTagsParams) WithDefaults ¶
func (o *GetFollowedTagsParams) WithDefaults() *GetFollowedTagsParams
WithDefaults hydrates default values in the get followed tags params (not the query body).
All values with no default are reset to their zero value.
func (*GetFollowedTagsParams) WithHTTPClient ¶
func (o *GetFollowedTagsParams) WithHTTPClient(client *http.Client) *GetFollowedTagsParams
WithHTTPClient adds the HTTPClient to the get followed tags params
func (*GetFollowedTagsParams) WithLimit ¶
func (o *GetFollowedTagsParams) WithLimit(limit *int64) *GetFollowedTagsParams
WithLimit adds the limit to the get followed tags params
func (*GetFollowedTagsParams) WithMaxID ¶
func (o *GetFollowedTagsParams) WithMaxID(maxID *string) *GetFollowedTagsParams
WithMaxID adds the maxID to the get followed tags params
func (*GetFollowedTagsParams) WithMinID ¶
func (o *GetFollowedTagsParams) WithMinID(minID *string) *GetFollowedTagsParams
WithMinID adds the minID to the get followed tags params
func (*GetFollowedTagsParams) WithSinceID ¶
func (o *GetFollowedTagsParams) WithSinceID(sinceID *string) *GetFollowedTagsParams
WithSinceID adds the sinceID to the get followed tags params
func (*GetFollowedTagsParams) WithTimeout ¶
func (o *GetFollowedTagsParams) WithTimeout(timeout time.Duration) *GetFollowedTagsParams
WithTimeout adds the timeout to the get followed tags params
func (*GetFollowedTagsParams) WriteToRequest ¶
func (o *GetFollowedTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFollowedTagsReader ¶
type GetFollowedTagsReader struct {
// contains filtered or unexported fields
}
GetFollowedTagsReader is a Reader for the GetFollowedTags structure.
func (*GetFollowedTagsReader) ReadResponse ¶
func (o *GetFollowedTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFollowedTagsUnauthorized ¶
type GetFollowedTagsUnauthorized struct {
}
GetFollowedTagsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetFollowedTagsUnauthorized ¶
func NewGetFollowedTagsUnauthorized() *GetFollowedTagsUnauthorized
NewGetFollowedTagsUnauthorized creates a GetFollowedTagsUnauthorized with default headers values
func (*GetFollowedTagsUnauthorized) Code ¶
func (o *GetFollowedTagsUnauthorized) Code() int
Code gets the status code for the get followed tags unauthorized response
func (*GetFollowedTagsUnauthorized) Error ¶
func (o *GetFollowedTagsUnauthorized) Error() string
func (*GetFollowedTagsUnauthorized) IsClientError ¶
func (o *GetFollowedTagsUnauthorized) IsClientError() bool
IsClientError returns true when this get followed tags unauthorized response has a 4xx status code
func (*GetFollowedTagsUnauthorized) IsCode ¶
func (o *GetFollowedTagsUnauthorized) IsCode(code int) bool
IsCode returns true when this get followed tags unauthorized response a status code equal to that given
func (*GetFollowedTagsUnauthorized) IsRedirect ¶
func (o *GetFollowedTagsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get followed tags unauthorized response has a 3xx status code
func (*GetFollowedTagsUnauthorized) IsServerError ¶
func (o *GetFollowedTagsUnauthorized) IsServerError() bool
IsServerError returns true when this get followed tags unauthorized response has a 5xx status code
func (*GetFollowedTagsUnauthorized) IsSuccess ¶
func (o *GetFollowedTagsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get followed tags unauthorized response has a 2xx status code
func (*GetFollowedTagsUnauthorized) String ¶
func (o *GetFollowedTagsUnauthorized) String() string
type GetTagBadRequest ¶
type GetTagBadRequest struct {
}
GetTagBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetTagBadRequest ¶
func NewGetTagBadRequest() *GetTagBadRequest
NewGetTagBadRequest creates a GetTagBadRequest with default headers values
func (*GetTagBadRequest) Code ¶
func (o *GetTagBadRequest) Code() int
Code gets the status code for the get tag bad request response
func (*GetTagBadRequest) Error ¶
func (o *GetTagBadRequest) Error() string
func (*GetTagBadRequest) IsClientError ¶
func (o *GetTagBadRequest) IsClientError() bool
IsClientError returns true when this get tag bad request response has a 4xx status code
func (*GetTagBadRequest) IsCode ¶
func (o *GetTagBadRequest) IsCode(code int) bool
IsCode returns true when this get tag bad request response a status code equal to that given
func (*GetTagBadRequest) IsRedirect ¶
func (o *GetTagBadRequest) IsRedirect() bool
IsRedirect returns true when this get tag bad request response has a 3xx status code
func (*GetTagBadRequest) IsServerError ¶
func (o *GetTagBadRequest) IsServerError() bool
IsServerError returns true when this get tag bad request response has a 5xx status code
func (*GetTagBadRequest) IsSuccess ¶
func (o *GetTagBadRequest) IsSuccess() bool
IsSuccess returns true when this get tag bad request response has a 2xx status code
func (*GetTagBadRequest) String ¶
func (o *GetTagBadRequest) String() string
type GetTagInternalServerError ¶
type GetTagInternalServerError struct {
}
GetTagInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetTagInternalServerError ¶
func NewGetTagInternalServerError() *GetTagInternalServerError
NewGetTagInternalServerError creates a GetTagInternalServerError with default headers values
func (*GetTagInternalServerError) Code ¶
func (o *GetTagInternalServerError) Code() int
Code gets the status code for the get tag internal server error response
func (*GetTagInternalServerError) Error ¶
func (o *GetTagInternalServerError) Error() string
func (*GetTagInternalServerError) IsClientError ¶
func (o *GetTagInternalServerError) IsClientError() bool
IsClientError returns true when this get tag internal server error response has a 4xx status code
func (*GetTagInternalServerError) IsCode ¶
func (o *GetTagInternalServerError) IsCode(code int) bool
IsCode returns true when this get tag internal server error response a status code equal to that given
func (*GetTagInternalServerError) IsRedirect ¶
func (o *GetTagInternalServerError) IsRedirect() bool
IsRedirect returns true when this get tag internal server error response has a 3xx status code
func (*GetTagInternalServerError) IsServerError ¶
func (o *GetTagInternalServerError) IsServerError() bool
IsServerError returns true when this get tag internal server error response has a 5xx status code
func (*GetTagInternalServerError) IsSuccess ¶
func (o *GetTagInternalServerError) IsSuccess() bool
IsSuccess returns true when this get tag internal server error response has a 2xx status code
func (*GetTagInternalServerError) String ¶
func (o *GetTagInternalServerError) String() string
type GetTagNotAcceptable ¶
type GetTagNotAcceptable struct {
}
GetTagNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetTagNotAcceptable ¶
func NewGetTagNotAcceptable() *GetTagNotAcceptable
NewGetTagNotAcceptable creates a GetTagNotAcceptable with default headers values
func (*GetTagNotAcceptable) Code ¶
func (o *GetTagNotAcceptable) Code() int
Code gets the status code for the get tag not acceptable response
func (*GetTagNotAcceptable) Error ¶
func (o *GetTagNotAcceptable) Error() string
func (*GetTagNotAcceptable) IsClientError ¶
func (o *GetTagNotAcceptable) IsClientError() bool
IsClientError returns true when this get tag not acceptable response has a 4xx status code
func (*GetTagNotAcceptable) IsCode ¶
func (o *GetTagNotAcceptable) IsCode(code int) bool
IsCode returns true when this get tag not acceptable response a status code equal to that given
func (*GetTagNotAcceptable) IsRedirect ¶
func (o *GetTagNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get tag not acceptable response has a 3xx status code
func (*GetTagNotAcceptable) IsServerError ¶
func (o *GetTagNotAcceptable) IsServerError() bool
IsServerError returns true when this get tag not acceptable response has a 5xx status code
func (*GetTagNotAcceptable) IsSuccess ¶
func (o *GetTagNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get tag not acceptable response has a 2xx status code
func (*GetTagNotAcceptable) String ¶
func (o *GetTagNotAcceptable) String() string
type GetTagNotFound ¶
type GetTagNotFound struct {
}
GetTagNotFound describes a response with status code 404, with default header values.
not found
func NewGetTagNotFound ¶
func NewGetTagNotFound() *GetTagNotFound
NewGetTagNotFound creates a GetTagNotFound with default headers values
func (*GetTagNotFound) Code ¶
func (o *GetTagNotFound) Code() int
Code gets the status code for the get tag not found response
func (*GetTagNotFound) Error ¶
func (o *GetTagNotFound) Error() string
func (*GetTagNotFound) IsClientError ¶
func (o *GetTagNotFound) IsClientError() bool
IsClientError returns true when this get tag not found response has a 4xx status code
func (*GetTagNotFound) IsCode ¶
func (o *GetTagNotFound) IsCode(code int) bool
IsCode returns true when this get tag not found response a status code equal to that given
func (*GetTagNotFound) IsRedirect ¶
func (o *GetTagNotFound) IsRedirect() bool
IsRedirect returns true when this get tag not found response has a 3xx status code
func (*GetTagNotFound) IsServerError ¶
func (o *GetTagNotFound) IsServerError() bool
IsServerError returns true when this get tag not found response has a 5xx status code
func (*GetTagNotFound) IsSuccess ¶
func (o *GetTagNotFound) IsSuccess() bool
IsSuccess returns true when this get tag not found response has a 2xx status code
func (*GetTagNotFound) String ¶
func (o *GetTagNotFound) String() string
type GetTagOK ¶
GetTagOK describes a response with status code 200, with default header values.
Info about the tag.
func NewGetTagOK ¶
func NewGetTagOK() *GetTagOK
NewGetTagOK creates a GetTagOK with default headers values
func (*GetTagOK) GetPayload ¶
func (*GetTagOK) IsClientError ¶
IsClientError returns true when this get tag o k response has a 4xx status code
func (*GetTagOK) IsCode ¶
IsCode returns true when this get tag o k response a status code equal to that given
func (*GetTagOK) IsRedirect ¶
IsRedirect returns true when this get tag o k response has a 3xx status code
func (*GetTagOK) IsServerError ¶
IsServerError returns true when this get tag o k response has a 5xx status code
type GetTagParams ¶
type GetTagParams struct {
/* TagName.
Name of the tag (no leading `#`)
*/
TagName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTagParams contains all the parameters to send to the API endpoint
for the get tag operation. Typically these are written to a http.Request.
func NewGetTagParams ¶
func NewGetTagParams() *GetTagParams
NewGetTagParams creates a new GetTagParams 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 NewGetTagParamsWithContext ¶
func NewGetTagParamsWithContext(ctx context.Context) *GetTagParams
NewGetTagParamsWithContext creates a new GetTagParams object with the ability to set a context for a request.
func NewGetTagParamsWithHTTPClient ¶
func NewGetTagParamsWithHTTPClient(client *http.Client) *GetTagParams
NewGetTagParamsWithHTTPClient creates a new GetTagParams object with the ability to set a custom HTTPClient for a request.
func NewGetTagParamsWithTimeout ¶
func NewGetTagParamsWithTimeout(timeout time.Duration) *GetTagParams
NewGetTagParamsWithTimeout creates a new GetTagParams object with the ability to set a timeout on a request.
func (*GetTagParams) SetContext ¶
func (o *GetTagParams) SetContext(ctx context.Context)
SetContext adds the context to the get tag params
func (*GetTagParams) SetDefaults ¶
func (o *GetTagParams) SetDefaults()
SetDefaults hydrates default values in the get tag params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagParams) SetHTTPClient ¶
func (o *GetTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tag params
func (*GetTagParams) SetTagName ¶
func (o *GetTagParams) SetTagName(tagName string)
SetTagName adds the tagName to the get tag params
func (*GetTagParams) SetTimeout ¶
func (o *GetTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tag params
func (*GetTagParams) WithContext ¶
func (o *GetTagParams) WithContext(ctx context.Context) *GetTagParams
WithContext adds the context to the get tag params
func (*GetTagParams) WithDefaults ¶
func (o *GetTagParams) WithDefaults() *GetTagParams
WithDefaults hydrates default values in the get tag params (not the query body).
All values with no default are reset to their zero value.
func (*GetTagParams) WithHTTPClient ¶
func (o *GetTagParams) WithHTTPClient(client *http.Client) *GetTagParams
WithHTTPClient adds the HTTPClient to the get tag params
func (*GetTagParams) WithTagName ¶
func (o *GetTagParams) WithTagName(tagName string) *GetTagParams
WithTagName adds the tagName to the get tag params
func (*GetTagParams) WithTimeout ¶
func (o *GetTagParams) WithTimeout(timeout time.Duration) *GetTagParams
WithTimeout adds the timeout to the get tag params
func (*GetTagParams) WriteToRequest ¶
func (o *GetTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagReader ¶
type GetTagReader struct {
// contains filtered or unexported fields
}
GetTagReader is a Reader for the GetTag structure.
func (*GetTagReader) ReadResponse ¶
func (o *GetTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTagUnauthorized ¶
type GetTagUnauthorized struct {
}
GetTagUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetTagUnauthorized ¶
func NewGetTagUnauthorized() *GetTagUnauthorized
NewGetTagUnauthorized creates a GetTagUnauthorized with default headers values
func (*GetTagUnauthorized) Code ¶
func (o *GetTagUnauthorized) Code() int
Code gets the status code for the get tag unauthorized response
func (*GetTagUnauthorized) Error ¶
func (o *GetTagUnauthorized) Error() string
func (*GetTagUnauthorized) IsClientError ¶
func (o *GetTagUnauthorized) IsClientError() bool
IsClientError returns true when this get tag unauthorized response has a 4xx status code
func (*GetTagUnauthorized) IsCode ¶
func (o *GetTagUnauthorized) IsCode(code int) bool
IsCode returns true when this get tag unauthorized response a status code equal to that given
func (*GetTagUnauthorized) IsRedirect ¶
func (o *GetTagUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tag unauthorized response has a 3xx status code
func (*GetTagUnauthorized) IsServerError ¶
func (o *GetTagUnauthorized) IsServerError() bool
IsServerError returns true when this get tag unauthorized response has a 5xx status code
func (*GetTagUnauthorized) IsSuccess ¶
func (o *GetTagUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tag unauthorized response has a 2xx status code
func (*GetTagUnauthorized) String ¶
func (o *GetTagUnauthorized) String() string
type UnfollowTagBadRequest ¶
type UnfollowTagBadRequest struct {
}
UnfollowTagBadRequest describes a response with status code 400, with default header values.
bad request
func NewUnfollowTagBadRequest ¶
func NewUnfollowTagBadRequest() *UnfollowTagBadRequest
NewUnfollowTagBadRequest creates a UnfollowTagBadRequest with default headers values
func (*UnfollowTagBadRequest) Code ¶
func (o *UnfollowTagBadRequest) Code() int
Code gets the status code for the unfollow tag bad request response
func (*UnfollowTagBadRequest) Error ¶
func (o *UnfollowTagBadRequest) Error() string
func (*UnfollowTagBadRequest) IsClientError ¶
func (o *UnfollowTagBadRequest) IsClientError() bool
IsClientError returns true when this unfollow tag bad request response has a 4xx status code
func (*UnfollowTagBadRequest) IsCode ¶
func (o *UnfollowTagBadRequest) IsCode(code int) bool
IsCode returns true when this unfollow tag bad request response a status code equal to that given
func (*UnfollowTagBadRequest) IsRedirect ¶
func (o *UnfollowTagBadRequest) IsRedirect() bool
IsRedirect returns true when this unfollow tag bad request response has a 3xx status code
func (*UnfollowTagBadRequest) IsServerError ¶
func (o *UnfollowTagBadRequest) IsServerError() bool
IsServerError returns true when this unfollow tag bad request response has a 5xx status code
func (*UnfollowTagBadRequest) IsSuccess ¶
func (o *UnfollowTagBadRequest) IsSuccess() bool
IsSuccess returns true when this unfollow tag bad request response has a 2xx status code
func (*UnfollowTagBadRequest) String ¶
func (o *UnfollowTagBadRequest) String() string
type UnfollowTagForbidden ¶
type UnfollowTagForbidden struct {
}
UnfollowTagForbidden describes a response with status code 403, with default header values.
forbidden
func NewUnfollowTagForbidden ¶
func NewUnfollowTagForbidden() *UnfollowTagForbidden
NewUnfollowTagForbidden creates a UnfollowTagForbidden with default headers values
func (*UnfollowTagForbidden) Code ¶
func (o *UnfollowTagForbidden) Code() int
Code gets the status code for the unfollow tag forbidden response
func (*UnfollowTagForbidden) Error ¶
func (o *UnfollowTagForbidden) Error() string
func (*UnfollowTagForbidden) IsClientError ¶
func (o *UnfollowTagForbidden) IsClientError() bool
IsClientError returns true when this unfollow tag forbidden response has a 4xx status code
func (*UnfollowTagForbidden) IsCode ¶
func (o *UnfollowTagForbidden) IsCode(code int) bool
IsCode returns true when this unfollow tag forbidden response a status code equal to that given
func (*UnfollowTagForbidden) IsRedirect ¶
func (o *UnfollowTagForbidden) IsRedirect() bool
IsRedirect returns true when this unfollow tag forbidden response has a 3xx status code
func (*UnfollowTagForbidden) IsServerError ¶
func (o *UnfollowTagForbidden) IsServerError() bool
IsServerError returns true when this unfollow tag forbidden response has a 5xx status code
func (*UnfollowTagForbidden) IsSuccess ¶
func (o *UnfollowTagForbidden) IsSuccess() bool
IsSuccess returns true when this unfollow tag forbidden response has a 2xx status code
func (*UnfollowTagForbidden) String ¶
func (o *UnfollowTagForbidden) String() string
type UnfollowTagInternalServerError ¶
type UnfollowTagInternalServerError struct {
}
UnfollowTagInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewUnfollowTagInternalServerError ¶
func NewUnfollowTagInternalServerError() *UnfollowTagInternalServerError
NewUnfollowTagInternalServerError creates a UnfollowTagInternalServerError with default headers values
func (*UnfollowTagInternalServerError) Code ¶
func (o *UnfollowTagInternalServerError) Code() int
Code gets the status code for the unfollow tag internal server error response
func (*UnfollowTagInternalServerError) Error ¶
func (o *UnfollowTagInternalServerError) Error() string
func (*UnfollowTagInternalServerError) IsClientError ¶
func (o *UnfollowTagInternalServerError) IsClientError() bool
IsClientError returns true when this unfollow tag internal server error response has a 4xx status code
func (*UnfollowTagInternalServerError) IsCode ¶
func (o *UnfollowTagInternalServerError) IsCode(code int) bool
IsCode returns true when this unfollow tag internal server error response a status code equal to that given
func (*UnfollowTagInternalServerError) IsRedirect ¶
func (o *UnfollowTagInternalServerError) IsRedirect() bool
IsRedirect returns true when this unfollow tag internal server error response has a 3xx status code
func (*UnfollowTagInternalServerError) IsServerError ¶
func (o *UnfollowTagInternalServerError) IsServerError() bool
IsServerError returns true when this unfollow tag internal server error response has a 5xx status code
func (*UnfollowTagInternalServerError) IsSuccess ¶
func (o *UnfollowTagInternalServerError) IsSuccess() bool
IsSuccess returns true when this unfollow tag internal server error response has a 2xx status code
func (*UnfollowTagInternalServerError) String ¶
func (o *UnfollowTagInternalServerError) String() string
type UnfollowTagNotFound ¶
type UnfollowTagNotFound struct {
}
UnfollowTagNotFound describes a response with status code 404, with default header values.
unauthorized
func NewUnfollowTagNotFound ¶
func NewUnfollowTagNotFound() *UnfollowTagNotFound
NewUnfollowTagNotFound creates a UnfollowTagNotFound with default headers values
func (*UnfollowTagNotFound) Code ¶
func (o *UnfollowTagNotFound) Code() int
Code gets the status code for the unfollow tag not found response
func (*UnfollowTagNotFound) Error ¶
func (o *UnfollowTagNotFound) Error() string
func (*UnfollowTagNotFound) IsClientError ¶
func (o *UnfollowTagNotFound) IsClientError() bool
IsClientError returns true when this unfollow tag not found response has a 4xx status code
func (*UnfollowTagNotFound) IsCode ¶
func (o *UnfollowTagNotFound) IsCode(code int) bool
IsCode returns true when this unfollow tag not found response a status code equal to that given
func (*UnfollowTagNotFound) IsRedirect ¶
func (o *UnfollowTagNotFound) IsRedirect() bool
IsRedirect returns true when this unfollow tag not found response has a 3xx status code
func (*UnfollowTagNotFound) IsServerError ¶
func (o *UnfollowTagNotFound) IsServerError() bool
IsServerError returns true when this unfollow tag not found response has a 5xx status code
func (*UnfollowTagNotFound) IsSuccess ¶
func (o *UnfollowTagNotFound) IsSuccess() bool
IsSuccess returns true when this unfollow tag not found response has a 2xx status code
func (*UnfollowTagNotFound) String ¶
func (o *UnfollowTagNotFound) String() string
type UnfollowTagOK ¶
UnfollowTagOK describes a response with status code 200, with default header values.
Info about the tag.
func NewUnfollowTagOK ¶
func NewUnfollowTagOK() *UnfollowTagOK
NewUnfollowTagOK creates a UnfollowTagOK with default headers values
func (*UnfollowTagOK) Code ¶
func (o *UnfollowTagOK) Code() int
Code gets the status code for the unfollow tag o k response
func (*UnfollowTagOK) Error ¶
func (o *UnfollowTagOK) Error() string
func (*UnfollowTagOK) GetPayload ¶
func (o *UnfollowTagOK) GetPayload() *models.Tag
func (*UnfollowTagOK) IsClientError ¶
func (o *UnfollowTagOK) IsClientError() bool
IsClientError returns true when this unfollow tag o k response has a 4xx status code
func (*UnfollowTagOK) IsCode ¶
func (o *UnfollowTagOK) IsCode(code int) bool
IsCode returns true when this unfollow tag o k response a status code equal to that given
func (*UnfollowTagOK) IsRedirect ¶
func (o *UnfollowTagOK) IsRedirect() bool
IsRedirect returns true when this unfollow tag o k response has a 3xx status code
func (*UnfollowTagOK) IsServerError ¶
func (o *UnfollowTagOK) IsServerError() bool
IsServerError returns true when this unfollow tag o k response has a 5xx status code
func (*UnfollowTagOK) IsSuccess ¶
func (o *UnfollowTagOK) IsSuccess() bool
IsSuccess returns true when this unfollow tag o k response has a 2xx status code
func (*UnfollowTagOK) String ¶
func (o *UnfollowTagOK) String() string
type UnfollowTagParams ¶
type UnfollowTagParams struct {
/* TagName.
Name of the tag (no leading `#`)
*/
TagName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UnfollowTagParams contains all the parameters to send to the API endpoint
for the unfollow tag operation. Typically these are written to a http.Request.
func NewUnfollowTagParams ¶
func NewUnfollowTagParams() *UnfollowTagParams
NewUnfollowTagParams creates a new UnfollowTagParams 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 NewUnfollowTagParamsWithContext ¶
func NewUnfollowTagParamsWithContext(ctx context.Context) *UnfollowTagParams
NewUnfollowTagParamsWithContext creates a new UnfollowTagParams object with the ability to set a context for a request.
func NewUnfollowTagParamsWithHTTPClient ¶
func NewUnfollowTagParamsWithHTTPClient(client *http.Client) *UnfollowTagParams
NewUnfollowTagParamsWithHTTPClient creates a new UnfollowTagParams object with the ability to set a custom HTTPClient for a request.
func NewUnfollowTagParamsWithTimeout ¶
func NewUnfollowTagParamsWithTimeout(timeout time.Duration) *UnfollowTagParams
NewUnfollowTagParamsWithTimeout creates a new UnfollowTagParams object with the ability to set a timeout on a request.
func (*UnfollowTagParams) SetContext ¶
func (o *UnfollowTagParams) SetContext(ctx context.Context)
SetContext adds the context to the unfollow tag params
func (*UnfollowTagParams) SetDefaults ¶
func (o *UnfollowTagParams) SetDefaults()
SetDefaults hydrates default values in the unfollow tag params (not the query body).
All values with no default are reset to their zero value.
func (*UnfollowTagParams) SetHTTPClient ¶
func (o *UnfollowTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the unfollow tag params
func (*UnfollowTagParams) SetTagName ¶
func (o *UnfollowTagParams) SetTagName(tagName string)
SetTagName adds the tagName to the unfollow tag params
func (*UnfollowTagParams) SetTimeout ¶
func (o *UnfollowTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the unfollow tag params
func (*UnfollowTagParams) WithContext ¶
func (o *UnfollowTagParams) WithContext(ctx context.Context) *UnfollowTagParams
WithContext adds the context to the unfollow tag params
func (*UnfollowTagParams) WithDefaults ¶
func (o *UnfollowTagParams) WithDefaults() *UnfollowTagParams
WithDefaults hydrates default values in the unfollow tag params (not the query body).
All values with no default are reset to their zero value.
func (*UnfollowTagParams) WithHTTPClient ¶
func (o *UnfollowTagParams) WithHTTPClient(client *http.Client) *UnfollowTagParams
WithHTTPClient adds the HTTPClient to the unfollow tag params
func (*UnfollowTagParams) WithTagName ¶
func (o *UnfollowTagParams) WithTagName(tagName string) *UnfollowTagParams
WithTagName adds the tagName to the unfollow tag params
func (*UnfollowTagParams) WithTimeout ¶
func (o *UnfollowTagParams) WithTimeout(timeout time.Duration) *UnfollowTagParams
WithTimeout adds the timeout to the unfollow tag params
func (*UnfollowTagParams) WriteToRequest ¶
func (o *UnfollowTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UnfollowTagReader ¶
type UnfollowTagReader struct {
// contains filtered or unexported fields
}
UnfollowTagReader is a Reader for the UnfollowTag structure.
func (*UnfollowTagReader) ReadResponse ¶
func (o *UnfollowTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UnfollowTagUnauthorized ¶
type UnfollowTagUnauthorized struct {
}
UnfollowTagUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUnfollowTagUnauthorized ¶
func NewUnfollowTagUnauthorized() *UnfollowTagUnauthorized
NewUnfollowTagUnauthorized creates a UnfollowTagUnauthorized with default headers values
func (*UnfollowTagUnauthorized) Code ¶
func (o *UnfollowTagUnauthorized) Code() int
Code gets the status code for the unfollow tag unauthorized response
func (*UnfollowTagUnauthorized) Error ¶
func (o *UnfollowTagUnauthorized) Error() string
func (*UnfollowTagUnauthorized) IsClientError ¶
func (o *UnfollowTagUnauthorized) IsClientError() bool
IsClientError returns true when this unfollow tag unauthorized response has a 4xx status code
func (*UnfollowTagUnauthorized) IsCode ¶
func (o *UnfollowTagUnauthorized) IsCode(code int) bool
IsCode returns true when this unfollow tag unauthorized response a status code equal to that given
func (*UnfollowTagUnauthorized) IsRedirect ¶
func (o *UnfollowTagUnauthorized) IsRedirect() bool
IsRedirect returns true when this unfollow tag unauthorized response has a 3xx status code
func (*UnfollowTagUnauthorized) IsServerError ¶
func (o *UnfollowTagUnauthorized) IsServerError() bool
IsServerError returns true when this unfollow tag unauthorized response has a 5xx status code
func (*UnfollowTagUnauthorized) IsSuccess ¶
func (o *UnfollowTagUnauthorized) IsSuccess() bool
IsSuccess returns true when this unfollow tag unauthorized response has a 2xx status code
func (*UnfollowTagUnauthorized) String ¶
func (o *UnfollowTagUnauthorized) String() string