Documentation ¶
Index ¶
- type AuthorizeFollowRequestBadRequest
- func (o *AuthorizeFollowRequestBadRequest) Code() int
- func (o *AuthorizeFollowRequestBadRequest) Error() string
- func (o *AuthorizeFollowRequestBadRequest) IsClientError() bool
- func (o *AuthorizeFollowRequestBadRequest) IsCode(code int) bool
- func (o *AuthorizeFollowRequestBadRequest) IsRedirect() bool
- func (o *AuthorizeFollowRequestBadRequest) IsServerError() bool
- func (o *AuthorizeFollowRequestBadRequest) IsSuccess() bool
- func (o *AuthorizeFollowRequestBadRequest) String() string
- type AuthorizeFollowRequestInternalServerError
- func (o *AuthorizeFollowRequestInternalServerError) Code() int
- func (o *AuthorizeFollowRequestInternalServerError) Error() string
- func (o *AuthorizeFollowRequestInternalServerError) IsClientError() bool
- func (o *AuthorizeFollowRequestInternalServerError) IsCode(code int) bool
- func (o *AuthorizeFollowRequestInternalServerError) IsRedirect() bool
- func (o *AuthorizeFollowRequestInternalServerError) IsServerError() bool
- func (o *AuthorizeFollowRequestInternalServerError) IsSuccess() bool
- func (o *AuthorizeFollowRequestInternalServerError) String() string
- type AuthorizeFollowRequestNotAcceptable
- func (o *AuthorizeFollowRequestNotAcceptable) Code() int
- func (o *AuthorizeFollowRequestNotAcceptable) Error() string
- func (o *AuthorizeFollowRequestNotAcceptable) IsClientError() bool
- func (o *AuthorizeFollowRequestNotAcceptable) IsCode(code int) bool
- func (o *AuthorizeFollowRequestNotAcceptable) IsRedirect() bool
- func (o *AuthorizeFollowRequestNotAcceptable) IsServerError() bool
- func (o *AuthorizeFollowRequestNotAcceptable) IsSuccess() bool
- func (o *AuthorizeFollowRequestNotAcceptable) String() string
- type AuthorizeFollowRequestNotFound
- func (o *AuthorizeFollowRequestNotFound) Code() int
- func (o *AuthorizeFollowRequestNotFound) Error() string
- func (o *AuthorizeFollowRequestNotFound) IsClientError() bool
- func (o *AuthorizeFollowRequestNotFound) IsCode(code int) bool
- func (o *AuthorizeFollowRequestNotFound) IsRedirect() bool
- func (o *AuthorizeFollowRequestNotFound) IsServerError() bool
- func (o *AuthorizeFollowRequestNotFound) IsSuccess() bool
- func (o *AuthorizeFollowRequestNotFound) String() string
- type AuthorizeFollowRequestOK
- func (o *AuthorizeFollowRequestOK) Code() int
- func (o *AuthorizeFollowRequestOK) Error() string
- func (o *AuthorizeFollowRequestOK) GetPayload() *models.Relationship
- func (o *AuthorizeFollowRequestOK) IsClientError() bool
- func (o *AuthorizeFollowRequestOK) IsCode(code int) bool
- func (o *AuthorizeFollowRequestOK) IsRedirect() bool
- func (o *AuthorizeFollowRequestOK) IsServerError() bool
- func (o *AuthorizeFollowRequestOK) IsSuccess() bool
- func (o *AuthorizeFollowRequestOK) String() string
- type AuthorizeFollowRequestParams
- func NewAuthorizeFollowRequestParams() *AuthorizeFollowRequestParams
- func NewAuthorizeFollowRequestParamsWithContext(ctx context.Context) *AuthorizeFollowRequestParams
- func NewAuthorizeFollowRequestParamsWithHTTPClient(client *http.Client) *AuthorizeFollowRequestParams
- func NewAuthorizeFollowRequestParamsWithTimeout(timeout time.Duration) *AuthorizeFollowRequestParams
- func (o *AuthorizeFollowRequestParams) SetAccountID(accountID string)
- func (o *AuthorizeFollowRequestParams) SetContext(ctx context.Context)
- func (o *AuthorizeFollowRequestParams) SetDefaults()
- func (o *AuthorizeFollowRequestParams) SetHTTPClient(client *http.Client)
- func (o *AuthorizeFollowRequestParams) SetTimeout(timeout time.Duration)
- func (o *AuthorizeFollowRequestParams) WithAccountID(accountID string) *AuthorizeFollowRequestParams
- func (o *AuthorizeFollowRequestParams) WithContext(ctx context.Context) *AuthorizeFollowRequestParams
- func (o *AuthorizeFollowRequestParams) WithDefaults() *AuthorizeFollowRequestParams
- func (o *AuthorizeFollowRequestParams) WithHTTPClient(client *http.Client) *AuthorizeFollowRequestParams
- func (o *AuthorizeFollowRequestParams) WithTimeout(timeout time.Duration) *AuthorizeFollowRequestParams
- func (o *AuthorizeFollowRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthorizeFollowRequestReader
- type AuthorizeFollowRequestUnauthorized
- func (o *AuthorizeFollowRequestUnauthorized) Code() int
- func (o *AuthorizeFollowRequestUnauthorized) Error() string
- func (o *AuthorizeFollowRequestUnauthorized) IsClientError() bool
- func (o *AuthorizeFollowRequestUnauthorized) IsCode(code int) bool
- func (o *AuthorizeFollowRequestUnauthorized) IsRedirect() bool
- func (o *AuthorizeFollowRequestUnauthorized) IsServerError() bool
- func (o *AuthorizeFollowRequestUnauthorized) IsSuccess() bool
- func (o *AuthorizeFollowRequestUnauthorized) String() string
- type Client
- func (a *Client) AuthorizeFollowRequest(params *AuthorizeFollowRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AuthorizeFollowRequestOK, error)
- func (a *Client) GetFollowRequests(params *GetFollowRequestsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFollowRequestsOK, error)
- func (a *Client) RejectFollowRequest(params *RejectFollowRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RejectFollowRequestOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetFollowRequestsBadRequest
- func (o *GetFollowRequestsBadRequest) Code() int
- func (o *GetFollowRequestsBadRequest) Error() string
- func (o *GetFollowRequestsBadRequest) IsClientError() bool
- func (o *GetFollowRequestsBadRequest) IsCode(code int) bool
- func (o *GetFollowRequestsBadRequest) IsRedirect() bool
- func (o *GetFollowRequestsBadRequest) IsServerError() bool
- func (o *GetFollowRequestsBadRequest) IsSuccess() bool
- func (o *GetFollowRequestsBadRequest) String() string
- type GetFollowRequestsInternalServerError
- func (o *GetFollowRequestsInternalServerError) Code() int
- func (o *GetFollowRequestsInternalServerError) Error() string
- func (o *GetFollowRequestsInternalServerError) IsClientError() bool
- func (o *GetFollowRequestsInternalServerError) IsCode(code int) bool
- func (o *GetFollowRequestsInternalServerError) IsRedirect() bool
- func (o *GetFollowRequestsInternalServerError) IsServerError() bool
- func (o *GetFollowRequestsInternalServerError) IsSuccess() bool
- func (o *GetFollowRequestsInternalServerError) String() string
- type GetFollowRequestsNotAcceptable
- func (o *GetFollowRequestsNotAcceptable) Code() int
- func (o *GetFollowRequestsNotAcceptable) Error() string
- func (o *GetFollowRequestsNotAcceptable) IsClientError() bool
- func (o *GetFollowRequestsNotAcceptable) IsCode(code int) bool
- func (o *GetFollowRequestsNotAcceptable) IsRedirect() bool
- func (o *GetFollowRequestsNotAcceptable) IsServerError() bool
- func (o *GetFollowRequestsNotAcceptable) IsSuccess() bool
- func (o *GetFollowRequestsNotAcceptable) String() string
- type GetFollowRequestsNotFound
- func (o *GetFollowRequestsNotFound) Code() int
- func (o *GetFollowRequestsNotFound) Error() string
- func (o *GetFollowRequestsNotFound) IsClientError() bool
- func (o *GetFollowRequestsNotFound) IsCode(code int) bool
- func (o *GetFollowRequestsNotFound) IsRedirect() bool
- func (o *GetFollowRequestsNotFound) IsServerError() bool
- func (o *GetFollowRequestsNotFound) IsSuccess() bool
- func (o *GetFollowRequestsNotFound) String() string
- type GetFollowRequestsOK
- func (o *GetFollowRequestsOK) Code() int
- func (o *GetFollowRequestsOK) Error() string
- func (o *GetFollowRequestsOK) GetPayload() []*models.Account
- func (o *GetFollowRequestsOK) IsClientError() bool
- func (o *GetFollowRequestsOK) IsCode(code int) bool
- func (o *GetFollowRequestsOK) IsRedirect() bool
- func (o *GetFollowRequestsOK) IsServerError() bool
- func (o *GetFollowRequestsOK) IsSuccess() bool
- func (o *GetFollowRequestsOK) String() string
- type GetFollowRequestsParams
- func NewGetFollowRequestsParams() *GetFollowRequestsParams
- func NewGetFollowRequestsParamsWithContext(ctx context.Context) *GetFollowRequestsParams
- func NewGetFollowRequestsParamsWithHTTPClient(client *http.Client) *GetFollowRequestsParams
- func NewGetFollowRequestsParamsWithTimeout(timeout time.Duration) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) SetContext(ctx context.Context)
- func (o *GetFollowRequestsParams) SetDefaults()
- func (o *GetFollowRequestsParams) SetHTTPClient(client *http.Client)
- func (o *GetFollowRequestsParams) SetLimit(limit *int64)
- func (o *GetFollowRequestsParams) SetMaxID(maxID *string)
- func (o *GetFollowRequestsParams) SetMinID(minID *string)
- func (o *GetFollowRequestsParams) SetSinceID(sinceID *string)
- func (o *GetFollowRequestsParams) SetTimeout(timeout time.Duration)
- func (o *GetFollowRequestsParams) WithContext(ctx context.Context) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WithDefaults() *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WithHTTPClient(client *http.Client) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WithLimit(limit *int64) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WithMaxID(maxID *string) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WithMinID(minID *string) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WithSinceID(sinceID *string) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WithTimeout(timeout time.Duration) *GetFollowRequestsParams
- func (o *GetFollowRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFollowRequestsReader
- type GetFollowRequestsUnauthorized
- func (o *GetFollowRequestsUnauthorized) Code() int
- func (o *GetFollowRequestsUnauthorized) Error() string
- func (o *GetFollowRequestsUnauthorized) IsClientError() bool
- func (o *GetFollowRequestsUnauthorized) IsCode(code int) bool
- func (o *GetFollowRequestsUnauthorized) IsRedirect() bool
- func (o *GetFollowRequestsUnauthorized) IsServerError() bool
- func (o *GetFollowRequestsUnauthorized) IsSuccess() bool
- func (o *GetFollowRequestsUnauthorized) String() string
- type RejectFollowRequestBadRequest
- func (o *RejectFollowRequestBadRequest) Code() int
- func (o *RejectFollowRequestBadRequest) Error() string
- func (o *RejectFollowRequestBadRequest) IsClientError() bool
- func (o *RejectFollowRequestBadRequest) IsCode(code int) bool
- func (o *RejectFollowRequestBadRequest) IsRedirect() bool
- func (o *RejectFollowRequestBadRequest) IsServerError() bool
- func (o *RejectFollowRequestBadRequest) IsSuccess() bool
- func (o *RejectFollowRequestBadRequest) String() string
- type RejectFollowRequestInternalServerError
- func (o *RejectFollowRequestInternalServerError) Code() int
- func (o *RejectFollowRequestInternalServerError) Error() string
- func (o *RejectFollowRequestInternalServerError) IsClientError() bool
- func (o *RejectFollowRequestInternalServerError) IsCode(code int) bool
- func (o *RejectFollowRequestInternalServerError) IsRedirect() bool
- func (o *RejectFollowRequestInternalServerError) IsServerError() bool
- func (o *RejectFollowRequestInternalServerError) IsSuccess() bool
- func (o *RejectFollowRequestInternalServerError) String() string
- type RejectFollowRequestNotAcceptable
- func (o *RejectFollowRequestNotAcceptable) Code() int
- func (o *RejectFollowRequestNotAcceptable) Error() string
- func (o *RejectFollowRequestNotAcceptable) IsClientError() bool
- func (o *RejectFollowRequestNotAcceptable) IsCode(code int) bool
- func (o *RejectFollowRequestNotAcceptable) IsRedirect() bool
- func (o *RejectFollowRequestNotAcceptable) IsServerError() bool
- func (o *RejectFollowRequestNotAcceptable) IsSuccess() bool
- func (o *RejectFollowRequestNotAcceptable) String() string
- type RejectFollowRequestNotFound
- func (o *RejectFollowRequestNotFound) Code() int
- func (o *RejectFollowRequestNotFound) Error() string
- func (o *RejectFollowRequestNotFound) IsClientError() bool
- func (o *RejectFollowRequestNotFound) IsCode(code int) bool
- func (o *RejectFollowRequestNotFound) IsRedirect() bool
- func (o *RejectFollowRequestNotFound) IsServerError() bool
- func (o *RejectFollowRequestNotFound) IsSuccess() bool
- func (o *RejectFollowRequestNotFound) String() string
- type RejectFollowRequestOK
- func (o *RejectFollowRequestOK) Code() int
- func (o *RejectFollowRequestOK) Error() string
- func (o *RejectFollowRequestOK) GetPayload() *models.Relationship
- func (o *RejectFollowRequestOK) IsClientError() bool
- func (o *RejectFollowRequestOK) IsCode(code int) bool
- func (o *RejectFollowRequestOK) IsRedirect() bool
- func (o *RejectFollowRequestOK) IsServerError() bool
- func (o *RejectFollowRequestOK) IsSuccess() bool
- func (o *RejectFollowRequestOK) String() string
- type RejectFollowRequestParams
- func NewRejectFollowRequestParams() *RejectFollowRequestParams
- func NewRejectFollowRequestParamsWithContext(ctx context.Context) *RejectFollowRequestParams
- func NewRejectFollowRequestParamsWithHTTPClient(client *http.Client) *RejectFollowRequestParams
- func NewRejectFollowRequestParamsWithTimeout(timeout time.Duration) *RejectFollowRequestParams
- func (o *RejectFollowRequestParams) SetAccountID(accountID string)
- func (o *RejectFollowRequestParams) SetContext(ctx context.Context)
- func (o *RejectFollowRequestParams) SetDefaults()
- func (o *RejectFollowRequestParams) SetHTTPClient(client *http.Client)
- func (o *RejectFollowRequestParams) SetTimeout(timeout time.Duration)
- func (o *RejectFollowRequestParams) WithAccountID(accountID string) *RejectFollowRequestParams
- func (o *RejectFollowRequestParams) WithContext(ctx context.Context) *RejectFollowRequestParams
- func (o *RejectFollowRequestParams) WithDefaults() *RejectFollowRequestParams
- func (o *RejectFollowRequestParams) WithHTTPClient(client *http.Client) *RejectFollowRequestParams
- func (o *RejectFollowRequestParams) WithTimeout(timeout time.Duration) *RejectFollowRequestParams
- func (o *RejectFollowRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RejectFollowRequestReader
- type RejectFollowRequestUnauthorized
- func (o *RejectFollowRequestUnauthorized) Code() int
- func (o *RejectFollowRequestUnauthorized) Error() string
- func (o *RejectFollowRequestUnauthorized) IsClientError() bool
- func (o *RejectFollowRequestUnauthorized) IsCode(code int) bool
- func (o *RejectFollowRequestUnauthorized) IsRedirect() bool
- func (o *RejectFollowRequestUnauthorized) IsServerError() bool
- func (o *RejectFollowRequestUnauthorized) IsSuccess() bool
- func (o *RejectFollowRequestUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizeFollowRequestBadRequest ¶
type AuthorizeFollowRequestBadRequest struct { }
AuthorizeFollowRequestBadRequest describes a response with status code 400, with default header values.
bad request
func NewAuthorizeFollowRequestBadRequest ¶
func NewAuthorizeFollowRequestBadRequest() *AuthorizeFollowRequestBadRequest
NewAuthorizeFollowRequestBadRequest creates a AuthorizeFollowRequestBadRequest with default headers values
func (*AuthorizeFollowRequestBadRequest) Code ¶
func (o *AuthorizeFollowRequestBadRequest) Code() int
Code gets the status code for the authorize follow request bad request response
func (*AuthorizeFollowRequestBadRequest) Error ¶
func (o *AuthorizeFollowRequestBadRequest) Error() string
func (*AuthorizeFollowRequestBadRequest) IsClientError ¶
func (o *AuthorizeFollowRequestBadRequest) IsClientError() bool
IsClientError returns true when this authorize follow request bad request response has a 4xx status code
func (*AuthorizeFollowRequestBadRequest) IsCode ¶
func (o *AuthorizeFollowRequestBadRequest) IsCode(code int) bool
IsCode returns true when this authorize follow request bad request response a status code equal to that given
func (*AuthorizeFollowRequestBadRequest) IsRedirect ¶
func (o *AuthorizeFollowRequestBadRequest) IsRedirect() bool
IsRedirect returns true when this authorize follow request bad request response has a 3xx status code
func (*AuthorizeFollowRequestBadRequest) IsServerError ¶
func (o *AuthorizeFollowRequestBadRequest) IsServerError() bool
IsServerError returns true when this authorize follow request bad request response has a 5xx status code
func (*AuthorizeFollowRequestBadRequest) IsSuccess ¶
func (o *AuthorizeFollowRequestBadRequest) IsSuccess() bool
IsSuccess returns true when this authorize follow request bad request response has a 2xx status code
func (*AuthorizeFollowRequestBadRequest) String ¶
func (o *AuthorizeFollowRequestBadRequest) String() string
type AuthorizeFollowRequestInternalServerError ¶
type AuthorizeFollowRequestInternalServerError struct { }
AuthorizeFollowRequestInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAuthorizeFollowRequestInternalServerError ¶
func NewAuthorizeFollowRequestInternalServerError() *AuthorizeFollowRequestInternalServerError
NewAuthorizeFollowRequestInternalServerError creates a AuthorizeFollowRequestInternalServerError with default headers values
func (*AuthorizeFollowRequestInternalServerError) Code ¶
func (o *AuthorizeFollowRequestInternalServerError) Code() int
Code gets the status code for the authorize follow request internal server error response
func (*AuthorizeFollowRequestInternalServerError) Error ¶
func (o *AuthorizeFollowRequestInternalServerError) Error() string
func (*AuthorizeFollowRequestInternalServerError) IsClientError ¶
func (o *AuthorizeFollowRequestInternalServerError) IsClientError() bool
IsClientError returns true when this authorize follow request internal server error response has a 4xx status code
func (*AuthorizeFollowRequestInternalServerError) IsCode ¶
func (o *AuthorizeFollowRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this authorize follow request internal server error response a status code equal to that given
func (*AuthorizeFollowRequestInternalServerError) IsRedirect ¶
func (o *AuthorizeFollowRequestInternalServerError) IsRedirect() bool
IsRedirect returns true when this authorize follow request internal server error response has a 3xx status code
func (*AuthorizeFollowRequestInternalServerError) IsServerError ¶
func (o *AuthorizeFollowRequestInternalServerError) IsServerError() bool
IsServerError returns true when this authorize follow request internal server error response has a 5xx status code
func (*AuthorizeFollowRequestInternalServerError) IsSuccess ¶
func (o *AuthorizeFollowRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this authorize follow request internal server error response has a 2xx status code
func (*AuthorizeFollowRequestInternalServerError) String ¶
func (o *AuthorizeFollowRequestInternalServerError) String() string
type AuthorizeFollowRequestNotAcceptable ¶
type AuthorizeFollowRequestNotAcceptable struct { }
AuthorizeFollowRequestNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAuthorizeFollowRequestNotAcceptable ¶
func NewAuthorizeFollowRequestNotAcceptable() *AuthorizeFollowRequestNotAcceptable
NewAuthorizeFollowRequestNotAcceptable creates a AuthorizeFollowRequestNotAcceptable with default headers values
func (*AuthorizeFollowRequestNotAcceptable) Code ¶
func (o *AuthorizeFollowRequestNotAcceptable) Code() int
Code gets the status code for the authorize follow request not acceptable response
func (*AuthorizeFollowRequestNotAcceptable) Error ¶
func (o *AuthorizeFollowRequestNotAcceptable) Error() string
func (*AuthorizeFollowRequestNotAcceptable) IsClientError ¶
func (o *AuthorizeFollowRequestNotAcceptable) IsClientError() bool
IsClientError returns true when this authorize follow request not acceptable response has a 4xx status code
func (*AuthorizeFollowRequestNotAcceptable) IsCode ¶
func (o *AuthorizeFollowRequestNotAcceptable) IsCode(code int) bool
IsCode returns true when this authorize follow request not acceptable response a status code equal to that given
func (*AuthorizeFollowRequestNotAcceptable) IsRedirect ¶
func (o *AuthorizeFollowRequestNotAcceptable) IsRedirect() bool
IsRedirect returns true when this authorize follow request not acceptable response has a 3xx status code
func (*AuthorizeFollowRequestNotAcceptable) IsServerError ¶
func (o *AuthorizeFollowRequestNotAcceptable) IsServerError() bool
IsServerError returns true when this authorize follow request not acceptable response has a 5xx status code
func (*AuthorizeFollowRequestNotAcceptable) IsSuccess ¶
func (o *AuthorizeFollowRequestNotAcceptable) IsSuccess() bool
IsSuccess returns true when this authorize follow request not acceptable response has a 2xx status code
func (*AuthorizeFollowRequestNotAcceptable) String ¶
func (o *AuthorizeFollowRequestNotAcceptable) String() string
type AuthorizeFollowRequestNotFound ¶
type AuthorizeFollowRequestNotFound struct { }
AuthorizeFollowRequestNotFound describes a response with status code 404, with default header values.
not found
func NewAuthorizeFollowRequestNotFound ¶
func NewAuthorizeFollowRequestNotFound() *AuthorizeFollowRequestNotFound
NewAuthorizeFollowRequestNotFound creates a AuthorizeFollowRequestNotFound with default headers values
func (*AuthorizeFollowRequestNotFound) Code ¶
func (o *AuthorizeFollowRequestNotFound) Code() int
Code gets the status code for the authorize follow request not found response
func (*AuthorizeFollowRequestNotFound) Error ¶
func (o *AuthorizeFollowRequestNotFound) Error() string
func (*AuthorizeFollowRequestNotFound) IsClientError ¶
func (o *AuthorizeFollowRequestNotFound) IsClientError() bool
IsClientError returns true when this authorize follow request not found response has a 4xx status code
func (*AuthorizeFollowRequestNotFound) IsCode ¶
func (o *AuthorizeFollowRequestNotFound) IsCode(code int) bool
IsCode returns true when this authorize follow request not found response a status code equal to that given
func (*AuthorizeFollowRequestNotFound) IsRedirect ¶
func (o *AuthorizeFollowRequestNotFound) IsRedirect() bool
IsRedirect returns true when this authorize follow request not found response has a 3xx status code
func (*AuthorizeFollowRequestNotFound) IsServerError ¶
func (o *AuthorizeFollowRequestNotFound) IsServerError() bool
IsServerError returns true when this authorize follow request not found response has a 5xx status code
func (*AuthorizeFollowRequestNotFound) IsSuccess ¶
func (o *AuthorizeFollowRequestNotFound) IsSuccess() bool
IsSuccess returns true when this authorize follow request not found response has a 2xx status code
func (*AuthorizeFollowRequestNotFound) String ¶
func (o *AuthorizeFollowRequestNotFound) String() string
type AuthorizeFollowRequestOK ¶
type AuthorizeFollowRequestOK struct {
Payload *models.Relationship
}
AuthorizeFollowRequestOK describes a response with status code 200, with default header values.
Your relationship to this account.
func NewAuthorizeFollowRequestOK ¶
func NewAuthorizeFollowRequestOK() *AuthorizeFollowRequestOK
NewAuthorizeFollowRequestOK creates a AuthorizeFollowRequestOK with default headers values
func (*AuthorizeFollowRequestOK) Code ¶
func (o *AuthorizeFollowRequestOK) Code() int
Code gets the status code for the authorize follow request o k response
func (*AuthorizeFollowRequestOK) Error ¶
func (o *AuthorizeFollowRequestOK) Error() string
func (*AuthorizeFollowRequestOK) GetPayload ¶
func (o *AuthorizeFollowRequestOK) GetPayload() *models.Relationship
func (*AuthorizeFollowRequestOK) IsClientError ¶
func (o *AuthorizeFollowRequestOK) IsClientError() bool
IsClientError returns true when this authorize follow request o k response has a 4xx status code
func (*AuthorizeFollowRequestOK) IsCode ¶
func (o *AuthorizeFollowRequestOK) IsCode(code int) bool
IsCode returns true when this authorize follow request o k response a status code equal to that given
func (*AuthorizeFollowRequestOK) IsRedirect ¶
func (o *AuthorizeFollowRequestOK) IsRedirect() bool
IsRedirect returns true when this authorize follow request o k response has a 3xx status code
func (*AuthorizeFollowRequestOK) IsServerError ¶
func (o *AuthorizeFollowRequestOK) IsServerError() bool
IsServerError returns true when this authorize follow request o k response has a 5xx status code
func (*AuthorizeFollowRequestOK) IsSuccess ¶
func (o *AuthorizeFollowRequestOK) IsSuccess() bool
IsSuccess returns true when this authorize follow request o k response has a 2xx status code
func (*AuthorizeFollowRequestOK) String ¶
func (o *AuthorizeFollowRequestOK) String() string
type AuthorizeFollowRequestParams ¶
type AuthorizeFollowRequestParams struct { /* AccountID. ID of the account requesting to follow you. */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthorizeFollowRequestParams contains all the parameters to send to the API endpoint
for the authorize follow request operation. Typically these are written to a http.Request.
func NewAuthorizeFollowRequestParams ¶
func NewAuthorizeFollowRequestParams() *AuthorizeFollowRequestParams
NewAuthorizeFollowRequestParams creates a new AuthorizeFollowRequestParams 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 NewAuthorizeFollowRequestParamsWithContext ¶
func NewAuthorizeFollowRequestParamsWithContext(ctx context.Context) *AuthorizeFollowRequestParams
NewAuthorizeFollowRequestParamsWithContext creates a new AuthorizeFollowRequestParams object with the ability to set a context for a request.
func NewAuthorizeFollowRequestParamsWithHTTPClient ¶
func NewAuthorizeFollowRequestParamsWithHTTPClient(client *http.Client) *AuthorizeFollowRequestParams
NewAuthorizeFollowRequestParamsWithHTTPClient creates a new AuthorizeFollowRequestParams object with the ability to set a custom HTTPClient for a request.
func NewAuthorizeFollowRequestParamsWithTimeout ¶
func NewAuthorizeFollowRequestParamsWithTimeout(timeout time.Duration) *AuthorizeFollowRequestParams
NewAuthorizeFollowRequestParamsWithTimeout creates a new AuthorizeFollowRequestParams object with the ability to set a timeout on a request.
func (*AuthorizeFollowRequestParams) SetAccountID ¶
func (o *AuthorizeFollowRequestParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the authorize follow request params
func (*AuthorizeFollowRequestParams) SetContext ¶
func (o *AuthorizeFollowRequestParams) SetContext(ctx context.Context)
SetContext adds the context to the authorize follow request params
func (*AuthorizeFollowRequestParams) SetDefaults ¶
func (o *AuthorizeFollowRequestParams) SetDefaults()
SetDefaults hydrates default values in the authorize follow request params (not the query body).
All values with no default are reset to their zero value.
func (*AuthorizeFollowRequestParams) SetHTTPClient ¶
func (o *AuthorizeFollowRequestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the authorize follow request params
func (*AuthorizeFollowRequestParams) SetTimeout ¶
func (o *AuthorizeFollowRequestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the authorize follow request params
func (*AuthorizeFollowRequestParams) WithAccountID ¶
func (o *AuthorizeFollowRequestParams) WithAccountID(accountID string) *AuthorizeFollowRequestParams
WithAccountID adds the accountID to the authorize follow request params
func (*AuthorizeFollowRequestParams) WithContext ¶
func (o *AuthorizeFollowRequestParams) WithContext(ctx context.Context) *AuthorizeFollowRequestParams
WithContext adds the context to the authorize follow request params
func (*AuthorizeFollowRequestParams) WithDefaults ¶
func (o *AuthorizeFollowRequestParams) WithDefaults() *AuthorizeFollowRequestParams
WithDefaults hydrates default values in the authorize follow request params (not the query body).
All values with no default are reset to their zero value.
func (*AuthorizeFollowRequestParams) WithHTTPClient ¶
func (o *AuthorizeFollowRequestParams) WithHTTPClient(client *http.Client) *AuthorizeFollowRequestParams
WithHTTPClient adds the HTTPClient to the authorize follow request params
func (*AuthorizeFollowRequestParams) WithTimeout ¶
func (o *AuthorizeFollowRequestParams) WithTimeout(timeout time.Duration) *AuthorizeFollowRequestParams
WithTimeout adds the timeout to the authorize follow request params
func (*AuthorizeFollowRequestParams) WriteToRequest ¶
func (o *AuthorizeFollowRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthorizeFollowRequestReader ¶
type AuthorizeFollowRequestReader struct {
// contains filtered or unexported fields
}
AuthorizeFollowRequestReader is a Reader for the AuthorizeFollowRequest structure.
func (*AuthorizeFollowRequestReader) ReadResponse ¶
func (o *AuthorizeFollowRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthorizeFollowRequestUnauthorized ¶
type AuthorizeFollowRequestUnauthorized struct { }
AuthorizeFollowRequestUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAuthorizeFollowRequestUnauthorized ¶
func NewAuthorizeFollowRequestUnauthorized() *AuthorizeFollowRequestUnauthorized
NewAuthorizeFollowRequestUnauthorized creates a AuthorizeFollowRequestUnauthorized with default headers values
func (*AuthorizeFollowRequestUnauthorized) Code ¶
func (o *AuthorizeFollowRequestUnauthorized) Code() int
Code gets the status code for the authorize follow request unauthorized response
func (*AuthorizeFollowRequestUnauthorized) Error ¶
func (o *AuthorizeFollowRequestUnauthorized) Error() string
func (*AuthorizeFollowRequestUnauthorized) IsClientError ¶
func (o *AuthorizeFollowRequestUnauthorized) IsClientError() bool
IsClientError returns true when this authorize follow request unauthorized response has a 4xx status code
func (*AuthorizeFollowRequestUnauthorized) IsCode ¶
func (o *AuthorizeFollowRequestUnauthorized) IsCode(code int) bool
IsCode returns true when this authorize follow request unauthorized response a status code equal to that given
func (*AuthorizeFollowRequestUnauthorized) IsRedirect ¶
func (o *AuthorizeFollowRequestUnauthorized) IsRedirect() bool
IsRedirect returns true when this authorize follow request unauthorized response has a 3xx status code
func (*AuthorizeFollowRequestUnauthorized) IsServerError ¶
func (o *AuthorizeFollowRequestUnauthorized) IsServerError() bool
IsServerError returns true when this authorize follow request unauthorized response has a 5xx status code
func (*AuthorizeFollowRequestUnauthorized) IsSuccess ¶
func (o *AuthorizeFollowRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this authorize follow request unauthorized response has a 2xx status code
func (*AuthorizeFollowRequestUnauthorized) String ¶
func (o *AuthorizeFollowRequestUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for follow requests API
func (*Client) AuthorizeFollowRequest ¶
func (a *Client) AuthorizeFollowRequest(params *AuthorizeFollowRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthorizeFollowRequestOK, error)
AuthorizeFollowRequest accepts authorize follow request from the given account ID
Accept a follow request and put the requesting account in your 'followers' list.
func (*Client) GetFollowRequests ¶
func (a *Client) GetFollowRequests(params *GetFollowRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFollowRequestsOK, error)
GetFollowRequests gets an array of accounts that have requested to follow you The next and previous queries can be parsed from the returned Link header.
Example:
``` <https://example.org/api/v1/follow_requests?limit=80&max_id=01FC0SKA48HNSVR6YKZCQGS2V8>; rel="next", <https://example.org/api/v1/follow_requests?limit=80&min_id=01FC0SKW5JK2Q4EVAV2B462YY0>; rel="prev" ````
func (*Client) RejectFollowRequest ¶
func (a *Client) RejectFollowRequest(params *RejectFollowRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectFollowRequestOK, error)
RejectFollowRequest rejects deny follow request from the given account ID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { AuthorizeFollowRequest(params *AuthorizeFollowRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthorizeFollowRequestOK, error) GetFollowRequests(params *GetFollowRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFollowRequestsOK, error) RejectFollowRequest(params *RejectFollowRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectFollowRequestOK, 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 follow requests API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new follow requests 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 follow requests 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 GetFollowRequestsBadRequest ¶
type GetFollowRequestsBadRequest struct { }
GetFollowRequestsBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetFollowRequestsBadRequest ¶
func NewGetFollowRequestsBadRequest() *GetFollowRequestsBadRequest
NewGetFollowRequestsBadRequest creates a GetFollowRequestsBadRequest with default headers values
func (*GetFollowRequestsBadRequest) Code ¶
func (o *GetFollowRequestsBadRequest) Code() int
Code gets the status code for the get follow requests bad request response
func (*GetFollowRequestsBadRequest) Error ¶
func (o *GetFollowRequestsBadRequest) Error() string
func (*GetFollowRequestsBadRequest) IsClientError ¶
func (o *GetFollowRequestsBadRequest) IsClientError() bool
IsClientError returns true when this get follow requests bad request response has a 4xx status code
func (*GetFollowRequestsBadRequest) IsCode ¶
func (o *GetFollowRequestsBadRequest) IsCode(code int) bool
IsCode returns true when this get follow requests bad request response a status code equal to that given
func (*GetFollowRequestsBadRequest) IsRedirect ¶
func (o *GetFollowRequestsBadRequest) IsRedirect() bool
IsRedirect returns true when this get follow requests bad request response has a 3xx status code
func (*GetFollowRequestsBadRequest) IsServerError ¶
func (o *GetFollowRequestsBadRequest) IsServerError() bool
IsServerError returns true when this get follow requests bad request response has a 5xx status code
func (*GetFollowRequestsBadRequest) IsSuccess ¶
func (o *GetFollowRequestsBadRequest) IsSuccess() bool
IsSuccess returns true when this get follow requests bad request response has a 2xx status code
func (*GetFollowRequestsBadRequest) String ¶
func (o *GetFollowRequestsBadRequest) String() string
type GetFollowRequestsInternalServerError ¶
type GetFollowRequestsInternalServerError struct { }
GetFollowRequestsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetFollowRequestsInternalServerError ¶
func NewGetFollowRequestsInternalServerError() *GetFollowRequestsInternalServerError
NewGetFollowRequestsInternalServerError creates a GetFollowRequestsInternalServerError with default headers values
func (*GetFollowRequestsInternalServerError) Code ¶
func (o *GetFollowRequestsInternalServerError) Code() int
Code gets the status code for the get follow requests internal server error response
func (*GetFollowRequestsInternalServerError) Error ¶
func (o *GetFollowRequestsInternalServerError) Error() string
func (*GetFollowRequestsInternalServerError) IsClientError ¶
func (o *GetFollowRequestsInternalServerError) IsClientError() bool
IsClientError returns true when this get follow requests internal server error response has a 4xx status code
func (*GetFollowRequestsInternalServerError) IsCode ¶
func (o *GetFollowRequestsInternalServerError) IsCode(code int) bool
IsCode returns true when this get follow requests internal server error response a status code equal to that given
func (*GetFollowRequestsInternalServerError) IsRedirect ¶
func (o *GetFollowRequestsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get follow requests internal server error response has a 3xx status code
func (*GetFollowRequestsInternalServerError) IsServerError ¶
func (o *GetFollowRequestsInternalServerError) IsServerError() bool
IsServerError returns true when this get follow requests internal server error response has a 5xx status code
func (*GetFollowRequestsInternalServerError) IsSuccess ¶
func (o *GetFollowRequestsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get follow requests internal server error response has a 2xx status code
func (*GetFollowRequestsInternalServerError) String ¶
func (o *GetFollowRequestsInternalServerError) String() string
type GetFollowRequestsNotAcceptable ¶
type GetFollowRequestsNotAcceptable struct { }
GetFollowRequestsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetFollowRequestsNotAcceptable ¶
func NewGetFollowRequestsNotAcceptable() *GetFollowRequestsNotAcceptable
NewGetFollowRequestsNotAcceptable creates a GetFollowRequestsNotAcceptable with default headers values
func (*GetFollowRequestsNotAcceptable) Code ¶
func (o *GetFollowRequestsNotAcceptable) Code() int
Code gets the status code for the get follow requests not acceptable response
func (*GetFollowRequestsNotAcceptable) Error ¶
func (o *GetFollowRequestsNotAcceptable) Error() string
func (*GetFollowRequestsNotAcceptable) IsClientError ¶
func (o *GetFollowRequestsNotAcceptable) IsClientError() bool
IsClientError returns true when this get follow requests not acceptable response has a 4xx status code
func (*GetFollowRequestsNotAcceptable) IsCode ¶
func (o *GetFollowRequestsNotAcceptable) IsCode(code int) bool
IsCode returns true when this get follow requests not acceptable response a status code equal to that given
func (*GetFollowRequestsNotAcceptable) IsRedirect ¶
func (o *GetFollowRequestsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get follow requests not acceptable response has a 3xx status code
func (*GetFollowRequestsNotAcceptable) IsServerError ¶
func (o *GetFollowRequestsNotAcceptable) IsServerError() bool
IsServerError returns true when this get follow requests not acceptable response has a 5xx status code
func (*GetFollowRequestsNotAcceptable) IsSuccess ¶
func (o *GetFollowRequestsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get follow requests not acceptable response has a 2xx status code
func (*GetFollowRequestsNotAcceptable) String ¶
func (o *GetFollowRequestsNotAcceptable) String() string
type GetFollowRequestsNotFound ¶
type GetFollowRequestsNotFound struct { }
GetFollowRequestsNotFound describes a response with status code 404, with default header values.
not found
func NewGetFollowRequestsNotFound ¶
func NewGetFollowRequestsNotFound() *GetFollowRequestsNotFound
NewGetFollowRequestsNotFound creates a GetFollowRequestsNotFound with default headers values
func (*GetFollowRequestsNotFound) Code ¶
func (o *GetFollowRequestsNotFound) Code() int
Code gets the status code for the get follow requests not found response
func (*GetFollowRequestsNotFound) Error ¶
func (o *GetFollowRequestsNotFound) Error() string
func (*GetFollowRequestsNotFound) IsClientError ¶
func (o *GetFollowRequestsNotFound) IsClientError() bool
IsClientError returns true when this get follow requests not found response has a 4xx status code
func (*GetFollowRequestsNotFound) IsCode ¶
func (o *GetFollowRequestsNotFound) IsCode(code int) bool
IsCode returns true when this get follow requests not found response a status code equal to that given
func (*GetFollowRequestsNotFound) IsRedirect ¶
func (o *GetFollowRequestsNotFound) IsRedirect() bool
IsRedirect returns true when this get follow requests not found response has a 3xx status code
func (*GetFollowRequestsNotFound) IsServerError ¶
func (o *GetFollowRequestsNotFound) IsServerError() bool
IsServerError returns true when this get follow requests not found response has a 5xx status code
func (*GetFollowRequestsNotFound) IsSuccess ¶
func (o *GetFollowRequestsNotFound) IsSuccess() bool
IsSuccess returns true when this get follow requests not found response has a 2xx status code
func (*GetFollowRequestsNotFound) String ¶
func (o *GetFollowRequestsNotFound) String() string
type GetFollowRequestsOK ¶
type GetFollowRequestsOK struct { /* Links to the next and previous queries. */ Link string Payload []*models.Account }
GetFollowRequestsOK describes a response with status code 200, with default header values.
GetFollowRequestsOK get follow requests o k
func NewGetFollowRequestsOK ¶
func NewGetFollowRequestsOK() *GetFollowRequestsOK
NewGetFollowRequestsOK creates a GetFollowRequestsOK with default headers values
func (*GetFollowRequestsOK) Code ¶
func (o *GetFollowRequestsOK) Code() int
Code gets the status code for the get follow requests o k response
func (*GetFollowRequestsOK) Error ¶
func (o *GetFollowRequestsOK) Error() string
func (*GetFollowRequestsOK) GetPayload ¶
func (o *GetFollowRequestsOK) GetPayload() []*models.Account
func (*GetFollowRequestsOK) IsClientError ¶
func (o *GetFollowRequestsOK) IsClientError() bool
IsClientError returns true when this get follow requests o k response has a 4xx status code
func (*GetFollowRequestsOK) IsCode ¶
func (o *GetFollowRequestsOK) IsCode(code int) bool
IsCode returns true when this get follow requests o k response a status code equal to that given
func (*GetFollowRequestsOK) IsRedirect ¶
func (o *GetFollowRequestsOK) IsRedirect() bool
IsRedirect returns true when this get follow requests o k response has a 3xx status code
func (*GetFollowRequestsOK) IsServerError ¶
func (o *GetFollowRequestsOK) IsServerError() bool
IsServerError returns true when this get follow requests o k response has a 5xx status code
func (*GetFollowRequestsOK) IsSuccess ¶
func (o *GetFollowRequestsOK) IsSuccess() bool
IsSuccess returns true when this get follow requests o k response has a 2xx status code
func (*GetFollowRequestsOK) String ¶
func (o *GetFollowRequestsOK) String() string
type GetFollowRequestsParams ¶
type GetFollowRequestsParams struct { /* Limit. Number of follow requesting accounts to return. Default: 40 */ Limit *int64 /* MaxID. Return only follow requesting accounts *OLDER* than the given max ID. The follow requester with the specified ID will not be included in the response. NOTE: the ID is of the internal follow request, NOT any of the returned accounts. */ MaxID *string /* MinID. Return only follow requesting accounts *IMMEDIATELY NEWER* than the given min ID. The follow requester with the specified ID will not be included in the response. NOTE: the ID is of the internal follow request, NOT any of the returned accounts. */ MinID *string /* SinceID. Return only follow requesting accounts *NEWER* than the given since ID. The follow requester with the specified ID will not be included in the response. NOTE: the ID is of the internal follow request, NOT any of the returned accounts. */ SinceID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFollowRequestsParams contains all the parameters to send to the API endpoint
for the get follow requests operation. Typically these are written to a http.Request.
func NewGetFollowRequestsParams ¶
func NewGetFollowRequestsParams() *GetFollowRequestsParams
NewGetFollowRequestsParams creates a new GetFollowRequestsParams 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 NewGetFollowRequestsParamsWithContext ¶
func NewGetFollowRequestsParamsWithContext(ctx context.Context) *GetFollowRequestsParams
NewGetFollowRequestsParamsWithContext creates a new GetFollowRequestsParams object with the ability to set a context for a request.
func NewGetFollowRequestsParamsWithHTTPClient ¶
func NewGetFollowRequestsParamsWithHTTPClient(client *http.Client) *GetFollowRequestsParams
NewGetFollowRequestsParamsWithHTTPClient creates a new GetFollowRequestsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFollowRequestsParamsWithTimeout ¶
func NewGetFollowRequestsParamsWithTimeout(timeout time.Duration) *GetFollowRequestsParams
NewGetFollowRequestsParamsWithTimeout creates a new GetFollowRequestsParams object with the ability to set a timeout on a request.
func (*GetFollowRequestsParams) SetContext ¶
func (o *GetFollowRequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the get follow requests params
func (*GetFollowRequestsParams) SetDefaults ¶
func (o *GetFollowRequestsParams) SetDefaults()
SetDefaults hydrates default values in the get follow requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetFollowRequestsParams) SetHTTPClient ¶
func (o *GetFollowRequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get follow requests params
func (*GetFollowRequestsParams) SetLimit ¶
func (o *GetFollowRequestsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get follow requests params
func (*GetFollowRequestsParams) SetMaxID ¶
func (o *GetFollowRequestsParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the get follow requests params
func (*GetFollowRequestsParams) SetMinID ¶
func (o *GetFollowRequestsParams) SetMinID(minID *string)
SetMinID adds the minId to the get follow requests params
func (*GetFollowRequestsParams) SetSinceID ¶
func (o *GetFollowRequestsParams) SetSinceID(sinceID *string)
SetSinceID adds the sinceId to the get follow requests params
func (*GetFollowRequestsParams) SetTimeout ¶
func (o *GetFollowRequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get follow requests params
func (*GetFollowRequestsParams) WithContext ¶
func (o *GetFollowRequestsParams) WithContext(ctx context.Context) *GetFollowRequestsParams
WithContext adds the context to the get follow requests params
func (*GetFollowRequestsParams) WithDefaults ¶
func (o *GetFollowRequestsParams) WithDefaults() *GetFollowRequestsParams
WithDefaults hydrates default values in the get follow requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetFollowRequestsParams) WithHTTPClient ¶
func (o *GetFollowRequestsParams) WithHTTPClient(client *http.Client) *GetFollowRequestsParams
WithHTTPClient adds the HTTPClient to the get follow requests params
func (*GetFollowRequestsParams) WithLimit ¶
func (o *GetFollowRequestsParams) WithLimit(limit *int64) *GetFollowRequestsParams
WithLimit adds the limit to the get follow requests params
func (*GetFollowRequestsParams) WithMaxID ¶
func (o *GetFollowRequestsParams) WithMaxID(maxID *string) *GetFollowRequestsParams
WithMaxID adds the maxID to the get follow requests params
func (*GetFollowRequestsParams) WithMinID ¶
func (o *GetFollowRequestsParams) WithMinID(minID *string) *GetFollowRequestsParams
WithMinID adds the minID to the get follow requests params
func (*GetFollowRequestsParams) WithSinceID ¶
func (o *GetFollowRequestsParams) WithSinceID(sinceID *string) *GetFollowRequestsParams
WithSinceID adds the sinceID to the get follow requests params
func (*GetFollowRequestsParams) WithTimeout ¶
func (o *GetFollowRequestsParams) WithTimeout(timeout time.Duration) *GetFollowRequestsParams
WithTimeout adds the timeout to the get follow requests params
func (*GetFollowRequestsParams) WriteToRequest ¶
func (o *GetFollowRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFollowRequestsReader ¶
type GetFollowRequestsReader struct {
// contains filtered or unexported fields
}
GetFollowRequestsReader is a Reader for the GetFollowRequests structure.
func (*GetFollowRequestsReader) ReadResponse ¶
func (o *GetFollowRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFollowRequestsUnauthorized ¶
type GetFollowRequestsUnauthorized struct { }
GetFollowRequestsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetFollowRequestsUnauthorized ¶
func NewGetFollowRequestsUnauthorized() *GetFollowRequestsUnauthorized
NewGetFollowRequestsUnauthorized creates a GetFollowRequestsUnauthorized with default headers values
func (*GetFollowRequestsUnauthorized) Code ¶
func (o *GetFollowRequestsUnauthorized) Code() int
Code gets the status code for the get follow requests unauthorized response
func (*GetFollowRequestsUnauthorized) Error ¶
func (o *GetFollowRequestsUnauthorized) Error() string
func (*GetFollowRequestsUnauthorized) IsClientError ¶
func (o *GetFollowRequestsUnauthorized) IsClientError() bool
IsClientError returns true when this get follow requests unauthorized response has a 4xx status code
func (*GetFollowRequestsUnauthorized) IsCode ¶
func (o *GetFollowRequestsUnauthorized) IsCode(code int) bool
IsCode returns true when this get follow requests unauthorized response a status code equal to that given
func (*GetFollowRequestsUnauthorized) IsRedirect ¶
func (o *GetFollowRequestsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get follow requests unauthorized response has a 3xx status code
func (*GetFollowRequestsUnauthorized) IsServerError ¶
func (o *GetFollowRequestsUnauthorized) IsServerError() bool
IsServerError returns true when this get follow requests unauthorized response has a 5xx status code
func (*GetFollowRequestsUnauthorized) IsSuccess ¶
func (o *GetFollowRequestsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get follow requests unauthorized response has a 2xx status code
func (*GetFollowRequestsUnauthorized) String ¶
func (o *GetFollowRequestsUnauthorized) String() string
type RejectFollowRequestBadRequest ¶
type RejectFollowRequestBadRequest struct { }
RejectFollowRequestBadRequest describes a response with status code 400, with default header values.
bad request
func NewRejectFollowRequestBadRequest ¶
func NewRejectFollowRequestBadRequest() *RejectFollowRequestBadRequest
NewRejectFollowRequestBadRequest creates a RejectFollowRequestBadRequest with default headers values
func (*RejectFollowRequestBadRequest) Code ¶
func (o *RejectFollowRequestBadRequest) Code() int
Code gets the status code for the reject follow request bad request response
func (*RejectFollowRequestBadRequest) Error ¶
func (o *RejectFollowRequestBadRequest) Error() string
func (*RejectFollowRequestBadRequest) IsClientError ¶
func (o *RejectFollowRequestBadRequest) IsClientError() bool
IsClientError returns true when this reject follow request bad request response has a 4xx status code
func (*RejectFollowRequestBadRequest) IsCode ¶
func (o *RejectFollowRequestBadRequest) IsCode(code int) bool
IsCode returns true when this reject follow request bad request response a status code equal to that given
func (*RejectFollowRequestBadRequest) IsRedirect ¶
func (o *RejectFollowRequestBadRequest) IsRedirect() bool
IsRedirect returns true when this reject follow request bad request response has a 3xx status code
func (*RejectFollowRequestBadRequest) IsServerError ¶
func (o *RejectFollowRequestBadRequest) IsServerError() bool
IsServerError returns true when this reject follow request bad request response has a 5xx status code
func (*RejectFollowRequestBadRequest) IsSuccess ¶
func (o *RejectFollowRequestBadRequest) IsSuccess() bool
IsSuccess returns true when this reject follow request bad request response has a 2xx status code
func (*RejectFollowRequestBadRequest) String ¶
func (o *RejectFollowRequestBadRequest) String() string
type RejectFollowRequestInternalServerError ¶
type RejectFollowRequestInternalServerError struct { }
RejectFollowRequestInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewRejectFollowRequestInternalServerError ¶
func NewRejectFollowRequestInternalServerError() *RejectFollowRequestInternalServerError
NewRejectFollowRequestInternalServerError creates a RejectFollowRequestInternalServerError with default headers values
func (*RejectFollowRequestInternalServerError) Code ¶
func (o *RejectFollowRequestInternalServerError) Code() int
Code gets the status code for the reject follow request internal server error response
func (*RejectFollowRequestInternalServerError) Error ¶
func (o *RejectFollowRequestInternalServerError) Error() string
func (*RejectFollowRequestInternalServerError) IsClientError ¶
func (o *RejectFollowRequestInternalServerError) IsClientError() bool
IsClientError returns true when this reject follow request internal server error response has a 4xx status code
func (*RejectFollowRequestInternalServerError) IsCode ¶
func (o *RejectFollowRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this reject follow request internal server error response a status code equal to that given
func (*RejectFollowRequestInternalServerError) IsRedirect ¶
func (o *RejectFollowRequestInternalServerError) IsRedirect() bool
IsRedirect returns true when this reject follow request internal server error response has a 3xx status code
func (*RejectFollowRequestInternalServerError) IsServerError ¶
func (o *RejectFollowRequestInternalServerError) IsServerError() bool
IsServerError returns true when this reject follow request internal server error response has a 5xx status code
func (*RejectFollowRequestInternalServerError) IsSuccess ¶
func (o *RejectFollowRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this reject follow request internal server error response has a 2xx status code
func (*RejectFollowRequestInternalServerError) String ¶
func (o *RejectFollowRequestInternalServerError) String() string
type RejectFollowRequestNotAcceptable ¶
type RejectFollowRequestNotAcceptable struct { }
RejectFollowRequestNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewRejectFollowRequestNotAcceptable ¶
func NewRejectFollowRequestNotAcceptable() *RejectFollowRequestNotAcceptable
NewRejectFollowRequestNotAcceptable creates a RejectFollowRequestNotAcceptable with default headers values
func (*RejectFollowRequestNotAcceptable) Code ¶
func (o *RejectFollowRequestNotAcceptable) Code() int
Code gets the status code for the reject follow request not acceptable response
func (*RejectFollowRequestNotAcceptable) Error ¶
func (o *RejectFollowRequestNotAcceptable) Error() string
func (*RejectFollowRequestNotAcceptable) IsClientError ¶
func (o *RejectFollowRequestNotAcceptable) IsClientError() bool
IsClientError returns true when this reject follow request not acceptable response has a 4xx status code
func (*RejectFollowRequestNotAcceptable) IsCode ¶
func (o *RejectFollowRequestNotAcceptable) IsCode(code int) bool
IsCode returns true when this reject follow request not acceptable response a status code equal to that given
func (*RejectFollowRequestNotAcceptable) IsRedirect ¶
func (o *RejectFollowRequestNotAcceptable) IsRedirect() bool
IsRedirect returns true when this reject follow request not acceptable response has a 3xx status code
func (*RejectFollowRequestNotAcceptable) IsServerError ¶
func (o *RejectFollowRequestNotAcceptable) IsServerError() bool
IsServerError returns true when this reject follow request not acceptable response has a 5xx status code
func (*RejectFollowRequestNotAcceptable) IsSuccess ¶
func (o *RejectFollowRequestNotAcceptable) IsSuccess() bool
IsSuccess returns true when this reject follow request not acceptable response has a 2xx status code
func (*RejectFollowRequestNotAcceptable) String ¶
func (o *RejectFollowRequestNotAcceptable) String() string
type RejectFollowRequestNotFound ¶
type RejectFollowRequestNotFound struct { }
RejectFollowRequestNotFound describes a response with status code 404, with default header values.
not found
func NewRejectFollowRequestNotFound ¶
func NewRejectFollowRequestNotFound() *RejectFollowRequestNotFound
NewRejectFollowRequestNotFound creates a RejectFollowRequestNotFound with default headers values
func (*RejectFollowRequestNotFound) Code ¶
func (o *RejectFollowRequestNotFound) Code() int
Code gets the status code for the reject follow request not found response
func (*RejectFollowRequestNotFound) Error ¶
func (o *RejectFollowRequestNotFound) Error() string
func (*RejectFollowRequestNotFound) IsClientError ¶
func (o *RejectFollowRequestNotFound) IsClientError() bool
IsClientError returns true when this reject follow request not found response has a 4xx status code
func (*RejectFollowRequestNotFound) IsCode ¶
func (o *RejectFollowRequestNotFound) IsCode(code int) bool
IsCode returns true when this reject follow request not found response a status code equal to that given
func (*RejectFollowRequestNotFound) IsRedirect ¶
func (o *RejectFollowRequestNotFound) IsRedirect() bool
IsRedirect returns true when this reject follow request not found response has a 3xx status code
func (*RejectFollowRequestNotFound) IsServerError ¶
func (o *RejectFollowRequestNotFound) IsServerError() bool
IsServerError returns true when this reject follow request not found response has a 5xx status code
func (*RejectFollowRequestNotFound) IsSuccess ¶
func (o *RejectFollowRequestNotFound) IsSuccess() bool
IsSuccess returns true when this reject follow request not found response has a 2xx status code
func (*RejectFollowRequestNotFound) String ¶
func (o *RejectFollowRequestNotFound) String() string
type RejectFollowRequestOK ¶
type RejectFollowRequestOK struct {
Payload *models.Relationship
}
RejectFollowRequestOK describes a response with status code 200, with default header values.
Your relationship to this account.
func NewRejectFollowRequestOK ¶
func NewRejectFollowRequestOK() *RejectFollowRequestOK
NewRejectFollowRequestOK creates a RejectFollowRequestOK with default headers values
func (*RejectFollowRequestOK) Code ¶
func (o *RejectFollowRequestOK) Code() int
Code gets the status code for the reject follow request o k response
func (*RejectFollowRequestOK) Error ¶
func (o *RejectFollowRequestOK) Error() string
func (*RejectFollowRequestOK) GetPayload ¶
func (o *RejectFollowRequestOK) GetPayload() *models.Relationship
func (*RejectFollowRequestOK) IsClientError ¶
func (o *RejectFollowRequestOK) IsClientError() bool
IsClientError returns true when this reject follow request o k response has a 4xx status code
func (*RejectFollowRequestOK) IsCode ¶
func (o *RejectFollowRequestOK) IsCode(code int) bool
IsCode returns true when this reject follow request o k response a status code equal to that given
func (*RejectFollowRequestOK) IsRedirect ¶
func (o *RejectFollowRequestOK) IsRedirect() bool
IsRedirect returns true when this reject follow request o k response has a 3xx status code
func (*RejectFollowRequestOK) IsServerError ¶
func (o *RejectFollowRequestOK) IsServerError() bool
IsServerError returns true when this reject follow request o k response has a 5xx status code
func (*RejectFollowRequestOK) IsSuccess ¶
func (o *RejectFollowRequestOK) IsSuccess() bool
IsSuccess returns true when this reject follow request o k response has a 2xx status code
func (*RejectFollowRequestOK) String ¶
func (o *RejectFollowRequestOK) String() string
type RejectFollowRequestParams ¶
type RejectFollowRequestParams struct { /* AccountID. ID of the account requesting to follow you. */ AccountID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RejectFollowRequestParams contains all the parameters to send to the API endpoint
for the reject follow request operation. Typically these are written to a http.Request.
func NewRejectFollowRequestParams ¶
func NewRejectFollowRequestParams() *RejectFollowRequestParams
NewRejectFollowRequestParams creates a new RejectFollowRequestParams 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 NewRejectFollowRequestParamsWithContext ¶
func NewRejectFollowRequestParamsWithContext(ctx context.Context) *RejectFollowRequestParams
NewRejectFollowRequestParamsWithContext creates a new RejectFollowRequestParams object with the ability to set a context for a request.
func NewRejectFollowRequestParamsWithHTTPClient ¶
func NewRejectFollowRequestParamsWithHTTPClient(client *http.Client) *RejectFollowRequestParams
NewRejectFollowRequestParamsWithHTTPClient creates a new RejectFollowRequestParams object with the ability to set a custom HTTPClient for a request.
func NewRejectFollowRequestParamsWithTimeout ¶
func NewRejectFollowRequestParamsWithTimeout(timeout time.Duration) *RejectFollowRequestParams
NewRejectFollowRequestParamsWithTimeout creates a new RejectFollowRequestParams object with the ability to set a timeout on a request.
func (*RejectFollowRequestParams) SetAccountID ¶
func (o *RejectFollowRequestParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the reject follow request params
func (*RejectFollowRequestParams) SetContext ¶
func (o *RejectFollowRequestParams) SetContext(ctx context.Context)
SetContext adds the context to the reject follow request params
func (*RejectFollowRequestParams) SetDefaults ¶
func (o *RejectFollowRequestParams) SetDefaults()
SetDefaults hydrates default values in the reject follow request params (not the query body).
All values with no default are reset to their zero value.
func (*RejectFollowRequestParams) SetHTTPClient ¶
func (o *RejectFollowRequestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reject follow request params
func (*RejectFollowRequestParams) SetTimeout ¶
func (o *RejectFollowRequestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reject follow request params
func (*RejectFollowRequestParams) WithAccountID ¶
func (o *RejectFollowRequestParams) WithAccountID(accountID string) *RejectFollowRequestParams
WithAccountID adds the accountID to the reject follow request params
func (*RejectFollowRequestParams) WithContext ¶
func (o *RejectFollowRequestParams) WithContext(ctx context.Context) *RejectFollowRequestParams
WithContext adds the context to the reject follow request params
func (*RejectFollowRequestParams) WithDefaults ¶
func (o *RejectFollowRequestParams) WithDefaults() *RejectFollowRequestParams
WithDefaults hydrates default values in the reject follow request params (not the query body).
All values with no default are reset to their zero value.
func (*RejectFollowRequestParams) WithHTTPClient ¶
func (o *RejectFollowRequestParams) WithHTTPClient(client *http.Client) *RejectFollowRequestParams
WithHTTPClient adds the HTTPClient to the reject follow request params
func (*RejectFollowRequestParams) WithTimeout ¶
func (o *RejectFollowRequestParams) WithTimeout(timeout time.Duration) *RejectFollowRequestParams
WithTimeout adds the timeout to the reject follow request params
func (*RejectFollowRequestParams) WriteToRequest ¶
func (o *RejectFollowRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RejectFollowRequestReader ¶
type RejectFollowRequestReader struct {
// contains filtered or unexported fields
}
RejectFollowRequestReader is a Reader for the RejectFollowRequest structure.
func (*RejectFollowRequestReader) ReadResponse ¶
func (o *RejectFollowRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RejectFollowRequestUnauthorized ¶
type RejectFollowRequestUnauthorized struct { }
RejectFollowRequestUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewRejectFollowRequestUnauthorized ¶
func NewRejectFollowRequestUnauthorized() *RejectFollowRequestUnauthorized
NewRejectFollowRequestUnauthorized creates a RejectFollowRequestUnauthorized with default headers values
func (*RejectFollowRequestUnauthorized) Code ¶
func (o *RejectFollowRequestUnauthorized) Code() int
Code gets the status code for the reject follow request unauthorized response
func (*RejectFollowRequestUnauthorized) Error ¶
func (o *RejectFollowRequestUnauthorized) Error() string
func (*RejectFollowRequestUnauthorized) IsClientError ¶
func (o *RejectFollowRequestUnauthorized) IsClientError() bool
IsClientError returns true when this reject follow request unauthorized response has a 4xx status code
func (*RejectFollowRequestUnauthorized) IsCode ¶
func (o *RejectFollowRequestUnauthorized) IsCode(code int) bool
IsCode returns true when this reject follow request unauthorized response a status code equal to that given
func (*RejectFollowRequestUnauthorized) IsRedirect ¶
func (o *RejectFollowRequestUnauthorized) IsRedirect() bool
IsRedirect returns true when this reject follow request unauthorized response has a 3xx status code
func (*RejectFollowRequestUnauthorized) IsServerError ¶
func (o *RejectFollowRequestUnauthorized) IsServerError() bool
IsServerError returns true when this reject follow request unauthorized response has a 5xx status code
func (*RejectFollowRequestUnauthorized) IsSuccess ¶
func (o *RejectFollowRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this reject follow request unauthorized response has a 2xx status code
func (*RejectFollowRequestUnauthorized) String ¶
func (o *RejectFollowRequestUnauthorized) String() string