tags

package
v0.20.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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

Code gets the status code for the follow tag internal server error response

func (*FollowTagInternalServerError) Error

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

type FollowTagOK

type FollowTagOK struct {
	Payload *models.Tag
}

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

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

func (*GetFeaturedTagsInternalServerError) Error

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

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

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

func (*GetFeaturedTagsInternalServerError) 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

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

func (*GetFeaturedTagsNotAcceptable) Error

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

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

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 (*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

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

func (*GetFollowedTagsInternalServerError) Error

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

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

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

func (*GetFollowedTagsInternalServerError) 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

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

func (*GetFollowedTagsNotAcceptable) Error

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

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

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 (*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

type GetTagOK struct {
	Payload *models.Tag
}

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) Code

func (o *GetTagOK) Code() int

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

func (*GetTagOK) Error

func (o *GetTagOK) Error() string

func (*GetTagOK) GetPayload

func (o *GetTagOK) GetPayload() *models.Tag

func (*GetTagOK) IsClientError

func (o *GetTagOK) IsClientError() bool

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

func (*GetTagOK) IsCode

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

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

func (*GetTagOK) IsRedirect

func (o *GetTagOK) IsRedirect() bool

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

func (*GetTagOK) IsServerError

func (o *GetTagOK) IsServerError() bool

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

func (*GetTagOK) IsSuccess

func (o *GetTagOK) IsSuccess() bool

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

func (*GetTagOK) String

func (o *GetTagOK) String() string

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

Code gets the status code for the unfollow tag internal server error response

func (*UnfollowTagInternalServerError) Error

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

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

type UnfollowTagOK struct {
	Payload *models.Tag
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL