Documentation
¶
Index ¶
- type AuthorizeInteractionRequestBadRequest
- func (o *AuthorizeInteractionRequestBadRequest) Code() int
- func (o *AuthorizeInteractionRequestBadRequest) Error() string
- func (o *AuthorizeInteractionRequestBadRequest) IsClientError() bool
- func (o *AuthorizeInteractionRequestBadRequest) IsCode(code int) bool
- func (o *AuthorizeInteractionRequestBadRequest) IsRedirect() bool
- func (o *AuthorizeInteractionRequestBadRequest) IsServerError() bool
- func (o *AuthorizeInteractionRequestBadRequest) IsSuccess() bool
- func (o *AuthorizeInteractionRequestBadRequest) String() string
- type AuthorizeInteractionRequestInternalServerError
- func (o *AuthorizeInteractionRequestInternalServerError) Code() int
- func (o *AuthorizeInteractionRequestInternalServerError) Error() string
- func (o *AuthorizeInteractionRequestInternalServerError) IsClientError() bool
- func (o *AuthorizeInteractionRequestInternalServerError) IsCode(code int) bool
- func (o *AuthorizeInteractionRequestInternalServerError) IsRedirect() bool
- func (o *AuthorizeInteractionRequestInternalServerError) IsServerError() bool
- func (o *AuthorizeInteractionRequestInternalServerError) IsSuccess() bool
- func (o *AuthorizeInteractionRequestInternalServerError) String() string
- type AuthorizeInteractionRequestNotAcceptable
- func (o *AuthorizeInteractionRequestNotAcceptable) Code() int
- func (o *AuthorizeInteractionRequestNotAcceptable) Error() string
- func (o *AuthorizeInteractionRequestNotAcceptable) IsClientError() bool
- func (o *AuthorizeInteractionRequestNotAcceptable) IsCode(code int) bool
- func (o *AuthorizeInteractionRequestNotAcceptable) IsRedirect() bool
- func (o *AuthorizeInteractionRequestNotAcceptable) IsServerError() bool
- func (o *AuthorizeInteractionRequestNotAcceptable) IsSuccess() bool
- func (o *AuthorizeInteractionRequestNotAcceptable) String() string
- type AuthorizeInteractionRequestNotFound
- func (o *AuthorizeInteractionRequestNotFound) Code() int
- func (o *AuthorizeInteractionRequestNotFound) Error() string
- func (o *AuthorizeInteractionRequestNotFound) IsClientError() bool
- func (o *AuthorizeInteractionRequestNotFound) IsCode(code int) bool
- func (o *AuthorizeInteractionRequestNotFound) IsRedirect() bool
- func (o *AuthorizeInteractionRequestNotFound) IsServerError() bool
- func (o *AuthorizeInteractionRequestNotFound) IsSuccess() bool
- func (o *AuthorizeInteractionRequestNotFound) String() string
- type AuthorizeInteractionRequestOK
- func (o *AuthorizeInteractionRequestOK) Code() int
- func (o *AuthorizeInteractionRequestOK) Error() string
- func (o *AuthorizeInteractionRequestOK) GetPayload() *models.InteractionRequest
- func (o *AuthorizeInteractionRequestOK) IsClientError() bool
- func (o *AuthorizeInteractionRequestOK) IsCode(code int) bool
- func (o *AuthorizeInteractionRequestOK) IsRedirect() bool
- func (o *AuthorizeInteractionRequestOK) IsServerError() bool
- func (o *AuthorizeInteractionRequestOK) IsSuccess() bool
- func (o *AuthorizeInteractionRequestOK) String() string
- type AuthorizeInteractionRequestParams
- func NewAuthorizeInteractionRequestParams() *AuthorizeInteractionRequestParams
- func NewAuthorizeInteractionRequestParamsWithContext(ctx context.Context) *AuthorizeInteractionRequestParams
- func NewAuthorizeInteractionRequestParamsWithHTTPClient(client *http.Client) *AuthorizeInteractionRequestParams
- func NewAuthorizeInteractionRequestParamsWithTimeout(timeout time.Duration) *AuthorizeInteractionRequestParams
- func (o *AuthorizeInteractionRequestParams) SetContext(ctx context.Context)
- func (o *AuthorizeInteractionRequestParams) SetDefaults()
- func (o *AuthorizeInteractionRequestParams) SetHTTPClient(client *http.Client)
- func (o *AuthorizeInteractionRequestParams) SetID(id string)
- func (o *AuthorizeInteractionRequestParams) SetTimeout(timeout time.Duration)
- func (o *AuthorizeInteractionRequestParams) WithContext(ctx context.Context) *AuthorizeInteractionRequestParams
- func (o *AuthorizeInteractionRequestParams) WithDefaults() *AuthorizeInteractionRequestParams
- func (o *AuthorizeInteractionRequestParams) WithHTTPClient(client *http.Client) *AuthorizeInteractionRequestParams
- func (o *AuthorizeInteractionRequestParams) WithID(id string) *AuthorizeInteractionRequestParams
- func (o *AuthorizeInteractionRequestParams) WithTimeout(timeout time.Duration) *AuthorizeInteractionRequestParams
- func (o *AuthorizeInteractionRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuthorizeInteractionRequestReader
- type AuthorizeInteractionRequestUnauthorized
- func (o *AuthorizeInteractionRequestUnauthorized) Code() int
- func (o *AuthorizeInteractionRequestUnauthorized) Error() string
- func (o *AuthorizeInteractionRequestUnauthorized) IsClientError() bool
- func (o *AuthorizeInteractionRequestUnauthorized) IsCode(code int) bool
- func (o *AuthorizeInteractionRequestUnauthorized) IsRedirect() bool
- func (o *AuthorizeInteractionRequestUnauthorized) IsServerError() bool
- func (o *AuthorizeInteractionRequestUnauthorized) IsSuccess() bool
- func (o *AuthorizeInteractionRequestUnauthorized) String() string
- type Client
- func (a *Client) AuthorizeInteractionRequest(params *AuthorizeInteractionRequestParams, ...) (*AuthorizeInteractionRequestOK, error)
- func (a *Client) GetInteractionRequest(params *GetInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInteractionRequestOK, error)
- func (a *Client) GetInteractionRequests(params *GetInteractionRequestsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetInteractionRequestsOK, error)
- func (a *Client) RejectInteractionRequest(params *RejectInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RejectInteractionRequestOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetInteractionRequestBadRequest
- func (o *GetInteractionRequestBadRequest) Code() int
- func (o *GetInteractionRequestBadRequest) Error() string
- func (o *GetInteractionRequestBadRequest) IsClientError() bool
- func (o *GetInteractionRequestBadRequest) IsCode(code int) bool
- func (o *GetInteractionRequestBadRequest) IsRedirect() bool
- func (o *GetInteractionRequestBadRequest) IsServerError() bool
- func (o *GetInteractionRequestBadRequest) IsSuccess() bool
- func (o *GetInteractionRequestBadRequest) String() string
- type GetInteractionRequestInternalServerError
- func (o *GetInteractionRequestInternalServerError) Code() int
- func (o *GetInteractionRequestInternalServerError) Error() string
- func (o *GetInteractionRequestInternalServerError) IsClientError() bool
- func (o *GetInteractionRequestInternalServerError) IsCode(code int) bool
- func (o *GetInteractionRequestInternalServerError) IsRedirect() bool
- func (o *GetInteractionRequestInternalServerError) IsServerError() bool
- func (o *GetInteractionRequestInternalServerError) IsSuccess() bool
- func (o *GetInteractionRequestInternalServerError) String() string
- type GetInteractionRequestNotAcceptable
- func (o *GetInteractionRequestNotAcceptable) Code() int
- func (o *GetInteractionRequestNotAcceptable) Error() string
- func (o *GetInteractionRequestNotAcceptable) IsClientError() bool
- func (o *GetInteractionRequestNotAcceptable) IsCode(code int) bool
- func (o *GetInteractionRequestNotAcceptable) IsRedirect() bool
- func (o *GetInteractionRequestNotAcceptable) IsServerError() bool
- func (o *GetInteractionRequestNotAcceptable) IsSuccess() bool
- func (o *GetInteractionRequestNotAcceptable) String() string
- type GetInteractionRequestNotFound
- func (o *GetInteractionRequestNotFound) Code() int
- func (o *GetInteractionRequestNotFound) Error() string
- func (o *GetInteractionRequestNotFound) IsClientError() bool
- func (o *GetInteractionRequestNotFound) IsCode(code int) bool
- func (o *GetInteractionRequestNotFound) IsRedirect() bool
- func (o *GetInteractionRequestNotFound) IsServerError() bool
- func (o *GetInteractionRequestNotFound) IsSuccess() bool
- func (o *GetInteractionRequestNotFound) String() string
- type GetInteractionRequestOK
- func (o *GetInteractionRequestOK) Code() int
- func (o *GetInteractionRequestOK) Error() string
- func (o *GetInteractionRequestOK) GetPayload() *models.InteractionRequest
- func (o *GetInteractionRequestOK) IsClientError() bool
- func (o *GetInteractionRequestOK) IsCode(code int) bool
- func (o *GetInteractionRequestOK) IsRedirect() bool
- func (o *GetInteractionRequestOK) IsServerError() bool
- func (o *GetInteractionRequestOK) IsSuccess() bool
- func (o *GetInteractionRequestOK) String() string
- type GetInteractionRequestParams
- func NewGetInteractionRequestParams() *GetInteractionRequestParams
- func NewGetInteractionRequestParamsWithContext(ctx context.Context) *GetInteractionRequestParams
- func NewGetInteractionRequestParamsWithHTTPClient(client *http.Client) *GetInteractionRequestParams
- func NewGetInteractionRequestParamsWithTimeout(timeout time.Duration) *GetInteractionRequestParams
- func (o *GetInteractionRequestParams) SetContext(ctx context.Context)
- func (o *GetInteractionRequestParams) SetDefaults()
- func (o *GetInteractionRequestParams) SetHTTPClient(client *http.Client)
- func (o *GetInteractionRequestParams) SetID(id string)
- func (o *GetInteractionRequestParams) SetTimeout(timeout time.Duration)
- func (o *GetInteractionRequestParams) WithContext(ctx context.Context) *GetInteractionRequestParams
- func (o *GetInteractionRequestParams) WithDefaults() *GetInteractionRequestParams
- func (o *GetInteractionRequestParams) WithHTTPClient(client *http.Client) *GetInteractionRequestParams
- func (o *GetInteractionRequestParams) WithID(id string) *GetInteractionRequestParams
- func (o *GetInteractionRequestParams) WithTimeout(timeout time.Duration) *GetInteractionRequestParams
- func (o *GetInteractionRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInteractionRequestReader
- type GetInteractionRequestUnauthorized
- func (o *GetInteractionRequestUnauthorized) Code() int
- func (o *GetInteractionRequestUnauthorized) Error() string
- func (o *GetInteractionRequestUnauthorized) IsClientError() bool
- func (o *GetInteractionRequestUnauthorized) IsCode(code int) bool
- func (o *GetInteractionRequestUnauthorized) IsRedirect() bool
- func (o *GetInteractionRequestUnauthorized) IsServerError() bool
- func (o *GetInteractionRequestUnauthorized) IsSuccess() bool
- func (o *GetInteractionRequestUnauthorized) String() string
- type GetInteractionRequestsBadRequest
- func (o *GetInteractionRequestsBadRequest) Code() int
- func (o *GetInteractionRequestsBadRequest) Error() string
- func (o *GetInteractionRequestsBadRequest) IsClientError() bool
- func (o *GetInteractionRequestsBadRequest) IsCode(code int) bool
- func (o *GetInteractionRequestsBadRequest) IsRedirect() bool
- func (o *GetInteractionRequestsBadRequest) IsServerError() bool
- func (o *GetInteractionRequestsBadRequest) IsSuccess() bool
- func (o *GetInteractionRequestsBadRequest) String() string
- type GetInteractionRequestsInternalServerError
- func (o *GetInteractionRequestsInternalServerError) Code() int
- func (o *GetInteractionRequestsInternalServerError) Error() string
- func (o *GetInteractionRequestsInternalServerError) IsClientError() bool
- func (o *GetInteractionRequestsInternalServerError) IsCode(code int) bool
- func (o *GetInteractionRequestsInternalServerError) IsRedirect() bool
- func (o *GetInteractionRequestsInternalServerError) IsServerError() bool
- func (o *GetInteractionRequestsInternalServerError) IsSuccess() bool
- func (o *GetInteractionRequestsInternalServerError) String() string
- type GetInteractionRequestsNotAcceptable
- func (o *GetInteractionRequestsNotAcceptable) Code() int
- func (o *GetInteractionRequestsNotAcceptable) Error() string
- func (o *GetInteractionRequestsNotAcceptable) IsClientError() bool
- func (o *GetInteractionRequestsNotAcceptable) IsCode(code int) bool
- func (o *GetInteractionRequestsNotAcceptable) IsRedirect() bool
- func (o *GetInteractionRequestsNotAcceptable) IsServerError() bool
- func (o *GetInteractionRequestsNotAcceptable) IsSuccess() bool
- func (o *GetInteractionRequestsNotAcceptable) String() string
- type GetInteractionRequestsNotFound
- func (o *GetInteractionRequestsNotFound) Code() int
- func (o *GetInteractionRequestsNotFound) Error() string
- func (o *GetInteractionRequestsNotFound) IsClientError() bool
- func (o *GetInteractionRequestsNotFound) IsCode(code int) bool
- func (o *GetInteractionRequestsNotFound) IsRedirect() bool
- func (o *GetInteractionRequestsNotFound) IsServerError() bool
- func (o *GetInteractionRequestsNotFound) IsSuccess() bool
- func (o *GetInteractionRequestsNotFound) String() string
- type GetInteractionRequestsOK
- func (o *GetInteractionRequestsOK) Code() int
- func (o *GetInteractionRequestsOK) Error() string
- func (o *GetInteractionRequestsOK) GetPayload() []*models.InteractionRequest
- func (o *GetInteractionRequestsOK) IsClientError() bool
- func (o *GetInteractionRequestsOK) IsCode(code int) bool
- func (o *GetInteractionRequestsOK) IsRedirect() bool
- func (o *GetInteractionRequestsOK) IsServerError() bool
- func (o *GetInteractionRequestsOK) IsSuccess() bool
- func (o *GetInteractionRequestsOK) String() string
- type GetInteractionRequestsParams
- func NewGetInteractionRequestsParams() *GetInteractionRequestsParams
- func NewGetInteractionRequestsParamsWithContext(ctx context.Context) *GetInteractionRequestsParams
- func NewGetInteractionRequestsParamsWithHTTPClient(client *http.Client) *GetInteractionRequestsParams
- func NewGetInteractionRequestsParamsWithTimeout(timeout time.Duration) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) SetContext(ctx context.Context)
- func (o *GetInteractionRequestsParams) SetDefaults()
- func (o *GetInteractionRequestsParams) SetFavourites(favourites *bool)
- func (o *GetInteractionRequestsParams) SetHTTPClient(client *http.Client)
- func (o *GetInteractionRequestsParams) SetLimit(limit *int64)
- func (o *GetInteractionRequestsParams) SetMaxID(maxID *string)
- func (o *GetInteractionRequestsParams) SetMinID(minID *string)
- func (o *GetInteractionRequestsParams) SetReblogs(reblogs *bool)
- func (o *GetInteractionRequestsParams) SetReplies(replies *bool)
- func (o *GetInteractionRequestsParams) SetSinceID(sinceID *string)
- func (o *GetInteractionRequestsParams) SetStatusID(statusID *string)
- func (o *GetInteractionRequestsParams) SetTimeout(timeout time.Duration)
- func (o *GetInteractionRequestsParams) WithContext(ctx context.Context) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithDefaults() *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithFavourites(favourites *bool) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithHTTPClient(client *http.Client) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithLimit(limit *int64) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithMaxID(maxID *string) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithMinID(minID *string) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithReblogs(reblogs *bool) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithReplies(replies *bool) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithSinceID(sinceID *string) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithStatusID(statusID *string) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WithTimeout(timeout time.Duration) *GetInteractionRequestsParams
- func (o *GetInteractionRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetInteractionRequestsReader
- type GetInteractionRequestsUnauthorized
- func (o *GetInteractionRequestsUnauthorized) Code() int
- func (o *GetInteractionRequestsUnauthorized) Error() string
- func (o *GetInteractionRequestsUnauthorized) IsClientError() bool
- func (o *GetInteractionRequestsUnauthorized) IsCode(code int) bool
- func (o *GetInteractionRequestsUnauthorized) IsRedirect() bool
- func (o *GetInteractionRequestsUnauthorized) IsServerError() bool
- func (o *GetInteractionRequestsUnauthorized) IsSuccess() bool
- func (o *GetInteractionRequestsUnauthorized) String() string
- type RejectInteractionRequestBadRequest
- func (o *RejectInteractionRequestBadRequest) Code() int
- func (o *RejectInteractionRequestBadRequest) Error() string
- func (o *RejectInteractionRequestBadRequest) IsClientError() bool
- func (o *RejectInteractionRequestBadRequest) IsCode(code int) bool
- func (o *RejectInteractionRequestBadRequest) IsRedirect() bool
- func (o *RejectInteractionRequestBadRequest) IsServerError() bool
- func (o *RejectInteractionRequestBadRequest) IsSuccess() bool
- func (o *RejectInteractionRequestBadRequest) String() string
- type RejectInteractionRequestInternalServerError
- func (o *RejectInteractionRequestInternalServerError) Code() int
- func (o *RejectInteractionRequestInternalServerError) Error() string
- func (o *RejectInteractionRequestInternalServerError) IsClientError() bool
- func (o *RejectInteractionRequestInternalServerError) IsCode(code int) bool
- func (o *RejectInteractionRequestInternalServerError) IsRedirect() bool
- func (o *RejectInteractionRequestInternalServerError) IsServerError() bool
- func (o *RejectInteractionRequestInternalServerError) IsSuccess() bool
- func (o *RejectInteractionRequestInternalServerError) String() string
- type RejectInteractionRequestNotAcceptable
- func (o *RejectInteractionRequestNotAcceptable) Code() int
- func (o *RejectInteractionRequestNotAcceptable) Error() string
- func (o *RejectInteractionRequestNotAcceptable) IsClientError() bool
- func (o *RejectInteractionRequestNotAcceptable) IsCode(code int) bool
- func (o *RejectInteractionRequestNotAcceptable) IsRedirect() bool
- func (o *RejectInteractionRequestNotAcceptable) IsServerError() bool
- func (o *RejectInteractionRequestNotAcceptable) IsSuccess() bool
- func (o *RejectInteractionRequestNotAcceptable) String() string
- type RejectInteractionRequestNotFound
- func (o *RejectInteractionRequestNotFound) Code() int
- func (o *RejectInteractionRequestNotFound) Error() string
- func (o *RejectInteractionRequestNotFound) IsClientError() bool
- func (o *RejectInteractionRequestNotFound) IsCode(code int) bool
- func (o *RejectInteractionRequestNotFound) IsRedirect() bool
- func (o *RejectInteractionRequestNotFound) IsServerError() bool
- func (o *RejectInteractionRequestNotFound) IsSuccess() bool
- func (o *RejectInteractionRequestNotFound) String() string
- type RejectInteractionRequestOK
- func (o *RejectInteractionRequestOK) Code() int
- func (o *RejectInteractionRequestOK) Error() string
- func (o *RejectInteractionRequestOK) GetPayload() *models.InteractionRequest
- func (o *RejectInteractionRequestOK) IsClientError() bool
- func (o *RejectInteractionRequestOK) IsCode(code int) bool
- func (o *RejectInteractionRequestOK) IsRedirect() bool
- func (o *RejectInteractionRequestOK) IsServerError() bool
- func (o *RejectInteractionRequestOK) IsSuccess() bool
- func (o *RejectInteractionRequestOK) String() string
- type RejectInteractionRequestParams
- func NewRejectInteractionRequestParams() *RejectInteractionRequestParams
- func NewRejectInteractionRequestParamsWithContext(ctx context.Context) *RejectInteractionRequestParams
- func NewRejectInteractionRequestParamsWithHTTPClient(client *http.Client) *RejectInteractionRequestParams
- func NewRejectInteractionRequestParamsWithTimeout(timeout time.Duration) *RejectInteractionRequestParams
- func (o *RejectInteractionRequestParams) SetContext(ctx context.Context)
- func (o *RejectInteractionRequestParams) SetDefaults()
- func (o *RejectInteractionRequestParams) SetHTTPClient(client *http.Client)
- func (o *RejectInteractionRequestParams) SetID(id string)
- func (o *RejectInteractionRequestParams) SetTimeout(timeout time.Duration)
- func (o *RejectInteractionRequestParams) WithContext(ctx context.Context) *RejectInteractionRequestParams
- func (o *RejectInteractionRequestParams) WithDefaults() *RejectInteractionRequestParams
- func (o *RejectInteractionRequestParams) WithHTTPClient(client *http.Client) *RejectInteractionRequestParams
- func (o *RejectInteractionRequestParams) WithID(id string) *RejectInteractionRequestParams
- func (o *RejectInteractionRequestParams) WithTimeout(timeout time.Duration) *RejectInteractionRequestParams
- func (o *RejectInteractionRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RejectInteractionRequestReader
- type RejectInteractionRequestUnauthorized
- func (o *RejectInteractionRequestUnauthorized) Code() int
- func (o *RejectInteractionRequestUnauthorized) Error() string
- func (o *RejectInteractionRequestUnauthorized) IsClientError() bool
- func (o *RejectInteractionRequestUnauthorized) IsCode(code int) bool
- func (o *RejectInteractionRequestUnauthorized) IsRedirect() bool
- func (o *RejectInteractionRequestUnauthorized) IsServerError() bool
- func (o *RejectInteractionRequestUnauthorized) IsSuccess() bool
- func (o *RejectInteractionRequestUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizeInteractionRequestBadRequest ¶
type AuthorizeInteractionRequestBadRequest struct { }
AuthorizeInteractionRequestBadRequest describes a response with status code 400, with default header values.
bad request
func NewAuthorizeInteractionRequestBadRequest ¶
func NewAuthorizeInteractionRequestBadRequest() *AuthorizeInteractionRequestBadRequest
NewAuthorizeInteractionRequestBadRequest creates a AuthorizeInteractionRequestBadRequest with default headers values
func (*AuthorizeInteractionRequestBadRequest) Code ¶
func (o *AuthorizeInteractionRequestBadRequest) Code() int
Code gets the status code for the authorize interaction request bad request response
func (*AuthorizeInteractionRequestBadRequest) Error ¶
func (o *AuthorizeInteractionRequestBadRequest) Error() string
func (*AuthorizeInteractionRequestBadRequest) IsClientError ¶
func (o *AuthorizeInteractionRequestBadRequest) IsClientError() bool
IsClientError returns true when this authorize interaction request bad request response has a 4xx status code
func (*AuthorizeInteractionRequestBadRequest) IsCode ¶
func (o *AuthorizeInteractionRequestBadRequest) IsCode(code int) bool
IsCode returns true when this authorize interaction request bad request response a status code equal to that given
func (*AuthorizeInteractionRequestBadRequest) IsRedirect ¶
func (o *AuthorizeInteractionRequestBadRequest) IsRedirect() bool
IsRedirect returns true when this authorize interaction request bad request response has a 3xx status code
func (*AuthorizeInteractionRequestBadRequest) IsServerError ¶
func (o *AuthorizeInteractionRequestBadRequest) IsServerError() bool
IsServerError returns true when this authorize interaction request bad request response has a 5xx status code
func (*AuthorizeInteractionRequestBadRequest) IsSuccess ¶
func (o *AuthorizeInteractionRequestBadRequest) IsSuccess() bool
IsSuccess returns true when this authorize interaction request bad request response has a 2xx status code
func (*AuthorizeInteractionRequestBadRequest) String ¶
func (o *AuthorizeInteractionRequestBadRequest) String() string
type AuthorizeInteractionRequestInternalServerError ¶
type AuthorizeInteractionRequestInternalServerError struct { }
AuthorizeInteractionRequestInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewAuthorizeInteractionRequestInternalServerError ¶
func NewAuthorizeInteractionRequestInternalServerError() *AuthorizeInteractionRequestInternalServerError
NewAuthorizeInteractionRequestInternalServerError creates a AuthorizeInteractionRequestInternalServerError with default headers values
func (*AuthorizeInteractionRequestInternalServerError) Code ¶
func (o *AuthorizeInteractionRequestInternalServerError) Code() int
Code gets the status code for the authorize interaction request internal server error response
func (*AuthorizeInteractionRequestInternalServerError) Error ¶
func (o *AuthorizeInteractionRequestInternalServerError) Error() string
func (*AuthorizeInteractionRequestInternalServerError) IsClientError ¶
func (o *AuthorizeInteractionRequestInternalServerError) IsClientError() bool
IsClientError returns true when this authorize interaction request internal server error response has a 4xx status code
func (*AuthorizeInteractionRequestInternalServerError) IsCode ¶
func (o *AuthorizeInteractionRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this authorize interaction request internal server error response a status code equal to that given
func (*AuthorizeInteractionRequestInternalServerError) IsRedirect ¶
func (o *AuthorizeInteractionRequestInternalServerError) IsRedirect() bool
IsRedirect returns true when this authorize interaction request internal server error response has a 3xx status code
func (*AuthorizeInteractionRequestInternalServerError) IsServerError ¶
func (o *AuthorizeInteractionRequestInternalServerError) IsServerError() bool
IsServerError returns true when this authorize interaction request internal server error response has a 5xx status code
func (*AuthorizeInteractionRequestInternalServerError) IsSuccess ¶
func (o *AuthorizeInteractionRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this authorize interaction request internal server error response has a 2xx status code
func (*AuthorizeInteractionRequestInternalServerError) String ¶
func (o *AuthorizeInteractionRequestInternalServerError) String() string
type AuthorizeInteractionRequestNotAcceptable ¶
type AuthorizeInteractionRequestNotAcceptable struct { }
AuthorizeInteractionRequestNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewAuthorizeInteractionRequestNotAcceptable ¶
func NewAuthorizeInteractionRequestNotAcceptable() *AuthorizeInteractionRequestNotAcceptable
NewAuthorizeInteractionRequestNotAcceptable creates a AuthorizeInteractionRequestNotAcceptable with default headers values
func (*AuthorizeInteractionRequestNotAcceptable) Code ¶
func (o *AuthorizeInteractionRequestNotAcceptable) Code() int
Code gets the status code for the authorize interaction request not acceptable response
func (*AuthorizeInteractionRequestNotAcceptable) Error ¶
func (o *AuthorizeInteractionRequestNotAcceptable) Error() string
func (*AuthorizeInteractionRequestNotAcceptable) IsClientError ¶
func (o *AuthorizeInteractionRequestNotAcceptable) IsClientError() bool
IsClientError returns true when this authorize interaction request not acceptable response has a 4xx status code
func (*AuthorizeInteractionRequestNotAcceptable) IsCode ¶
func (o *AuthorizeInteractionRequestNotAcceptable) IsCode(code int) bool
IsCode returns true when this authorize interaction request not acceptable response a status code equal to that given
func (*AuthorizeInteractionRequestNotAcceptable) IsRedirect ¶
func (o *AuthorizeInteractionRequestNotAcceptable) IsRedirect() bool
IsRedirect returns true when this authorize interaction request not acceptable response has a 3xx status code
func (*AuthorizeInteractionRequestNotAcceptable) IsServerError ¶
func (o *AuthorizeInteractionRequestNotAcceptable) IsServerError() bool
IsServerError returns true when this authorize interaction request not acceptable response has a 5xx status code
func (*AuthorizeInteractionRequestNotAcceptable) IsSuccess ¶
func (o *AuthorizeInteractionRequestNotAcceptable) IsSuccess() bool
IsSuccess returns true when this authorize interaction request not acceptable response has a 2xx status code
func (*AuthorizeInteractionRequestNotAcceptable) String ¶
func (o *AuthorizeInteractionRequestNotAcceptable) String() string
type AuthorizeInteractionRequestNotFound ¶
type AuthorizeInteractionRequestNotFound struct { }
AuthorizeInteractionRequestNotFound describes a response with status code 404, with default header values.
not found
func NewAuthorizeInteractionRequestNotFound ¶
func NewAuthorizeInteractionRequestNotFound() *AuthorizeInteractionRequestNotFound
NewAuthorizeInteractionRequestNotFound creates a AuthorizeInteractionRequestNotFound with default headers values
func (*AuthorizeInteractionRequestNotFound) Code ¶
func (o *AuthorizeInteractionRequestNotFound) Code() int
Code gets the status code for the authorize interaction request not found response
func (*AuthorizeInteractionRequestNotFound) Error ¶
func (o *AuthorizeInteractionRequestNotFound) Error() string
func (*AuthorizeInteractionRequestNotFound) IsClientError ¶
func (o *AuthorizeInteractionRequestNotFound) IsClientError() bool
IsClientError returns true when this authorize interaction request not found response has a 4xx status code
func (*AuthorizeInteractionRequestNotFound) IsCode ¶
func (o *AuthorizeInteractionRequestNotFound) IsCode(code int) bool
IsCode returns true when this authorize interaction request not found response a status code equal to that given
func (*AuthorizeInteractionRequestNotFound) IsRedirect ¶
func (o *AuthorizeInteractionRequestNotFound) IsRedirect() bool
IsRedirect returns true when this authorize interaction request not found response has a 3xx status code
func (*AuthorizeInteractionRequestNotFound) IsServerError ¶
func (o *AuthorizeInteractionRequestNotFound) IsServerError() bool
IsServerError returns true when this authorize interaction request not found response has a 5xx status code
func (*AuthorizeInteractionRequestNotFound) IsSuccess ¶
func (o *AuthorizeInteractionRequestNotFound) IsSuccess() bool
IsSuccess returns true when this authorize interaction request not found response has a 2xx status code
func (*AuthorizeInteractionRequestNotFound) String ¶
func (o *AuthorizeInteractionRequestNotFound) String() string
type AuthorizeInteractionRequestOK ¶
type AuthorizeInteractionRequestOK struct {
Payload *models.InteractionRequest
}
AuthorizeInteractionRequestOK describes a response with status code 200, with default header values.
The now-approved interaction request.
func NewAuthorizeInteractionRequestOK ¶
func NewAuthorizeInteractionRequestOK() *AuthorizeInteractionRequestOK
NewAuthorizeInteractionRequestOK creates a AuthorizeInteractionRequestOK with default headers values
func (*AuthorizeInteractionRequestOK) Code ¶
func (o *AuthorizeInteractionRequestOK) Code() int
Code gets the status code for the authorize interaction request o k response
func (*AuthorizeInteractionRequestOK) Error ¶
func (o *AuthorizeInteractionRequestOK) Error() string
func (*AuthorizeInteractionRequestOK) GetPayload ¶
func (o *AuthorizeInteractionRequestOK) GetPayload() *models.InteractionRequest
func (*AuthorizeInteractionRequestOK) IsClientError ¶
func (o *AuthorizeInteractionRequestOK) IsClientError() bool
IsClientError returns true when this authorize interaction request o k response has a 4xx status code
func (*AuthorizeInteractionRequestOK) IsCode ¶
func (o *AuthorizeInteractionRequestOK) IsCode(code int) bool
IsCode returns true when this authorize interaction request o k response a status code equal to that given
func (*AuthorizeInteractionRequestOK) IsRedirect ¶
func (o *AuthorizeInteractionRequestOK) IsRedirect() bool
IsRedirect returns true when this authorize interaction request o k response has a 3xx status code
func (*AuthorizeInteractionRequestOK) IsServerError ¶
func (o *AuthorizeInteractionRequestOK) IsServerError() bool
IsServerError returns true when this authorize interaction request o k response has a 5xx status code
func (*AuthorizeInteractionRequestOK) IsSuccess ¶
func (o *AuthorizeInteractionRequestOK) IsSuccess() bool
IsSuccess returns true when this authorize interaction request o k response has a 2xx status code
func (*AuthorizeInteractionRequestOK) String ¶
func (o *AuthorizeInteractionRequestOK) String() string
type AuthorizeInteractionRequestParams ¶
type AuthorizeInteractionRequestParams struct { /* ID. ID of the interaction request targeting you. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AuthorizeInteractionRequestParams contains all the parameters to send to the API endpoint
for the authorize interaction request operation. Typically these are written to a http.Request.
func NewAuthorizeInteractionRequestParams ¶
func NewAuthorizeInteractionRequestParams() *AuthorizeInteractionRequestParams
NewAuthorizeInteractionRequestParams creates a new AuthorizeInteractionRequestParams 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 NewAuthorizeInteractionRequestParamsWithContext ¶
func NewAuthorizeInteractionRequestParamsWithContext(ctx context.Context) *AuthorizeInteractionRequestParams
NewAuthorizeInteractionRequestParamsWithContext creates a new AuthorizeInteractionRequestParams object with the ability to set a context for a request.
func NewAuthorizeInteractionRequestParamsWithHTTPClient ¶
func NewAuthorizeInteractionRequestParamsWithHTTPClient(client *http.Client) *AuthorizeInteractionRequestParams
NewAuthorizeInteractionRequestParamsWithHTTPClient creates a new AuthorizeInteractionRequestParams object with the ability to set a custom HTTPClient for a request.
func NewAuthorizeInteractionRequestParamsWithTimeout ¶
func NewAuthorizeInteractionRequestParamsWithTimeout(timeout time.Duration) *AuthorizeInteractionRequestParams
NewAuthorizeInteractionRequestParamsWithTimeout creates a new AuthorizeInteractionRequestParams object with the ability to set a timeout on a request.
func (*AuthorizeInteractionRequestParams) SetContext ¶
func (o *AuthorizeInteractionRequestParams) SetContext(ctx context.Context)
SetContext adds the context to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) SetDefaults ¶
func (o *AuthorizeInteractionRequestParams) SetDefaults()
SetDefaults hydrates default values in the authorize interaction request params (not the query body).
All values with no default are reset to their zero value.
func (*AuthorizeInteractionRequestParams) SetHTTPClient ¶
func (o *AuthorizeInteractionRequestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) SetID ¶
func (o *AuthorizeInteractionRequestParams) SetID(id string)
SetID adds the id to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) SetTimeout ¶
func (o *AuthorizeInteractionRequestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) WithContext ¶
func (o *AuthorizeInteractionRequestParams) WithContext(ctx context.Context) *AuthorizeInteractionRequestParams
WithContext adds the context to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) WithDefaults ¶
func (o *AuthorizeInteractionRequestParams) WithDefaults() *AuthorizeInteractionRequestParams
WithDefaults hydrates default values in the authorize interaction request params (not the query body).
All values with no default are reset to their zero value.
func (*AuthorizeInteractionRequestParams) WithHTTPClient ¶
func (o *AuthorizeInteractionRequestParams) WithHTTPClient(client *http.Client) *AuthorizeInteractionRequestParams
WithHTTPClient adds the HTTPClient to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) WithID ¶
func (o *AuthorizeInteractionRequestParams) WithID(id string) *AuthorizeInteractionRequestParams
WithID adds the id to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) WithTimeout ¶
func (o *AuthorizeInteractionRequestParams) WithTimeout(timeout time.Duration) *AuthorizeInteractionRequestParams
WithTimeout adds the timeout to the authorize interaction request params
func (*AuthorizeInteractionRequestParams) WriteToRequest ¶
func (o *AuthorizeInteractionRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AuthorizeInteractionRequestReader ¶
type AuthorizeInteractionRequestReader struct {
// contains filtered or unexported fields
}
AuthorizeInteractionRequestReader is a Reader for the AuthorizeInteractionRequest structure.
func (*AuthorizeInteractionRequestReader) ReadResponse ¶
func (o *AuthorizeInteractionRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AuthorizeInteractionRequestUnauthorized ¶
type AuthorizeInteractionRequestUnauthorized struct { }
AuthorizeInteractionRequestUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewAuthorizeInteractionRequestUnauthorized ¶
func NewAuthorizeInteractionRequestUnauthorized() *AuthorizeInteractionRequestUnauthorized
NewAuthorizeInteractionRequestUnauthorized creates a AuthorizeInteractionRequestUnauthorized with default headers values
func (*AuthorizeInteractionRequestUnauthorized) Code ¶
func (o *AuthorizeInteractionRequestUnauthorized) Code() int
Code gets the status code for the authorize interaction request unauthorized response
func (*AuthorizeInteractionRequestUnauthorized) Error ¶
func (o *AuthorizeInteractionRequestUnauthorized) Error() string
func (*AuthorizeInteractionRequestUnauthorized) IsClientError ¶
func (o *AuthorizeInteractionRequestUnauthorized) IsClientError() bool
IsClientError returns true when this authorize interaction request unauthorized response has a 4xx status code
func (*AuthorizeInteractionRequestUnauthorized) IsCode ¶
func (o *AuthorizeInteractionRequestUnauthorized) IsCode(code int) bool
IsCode returns true when this authorize interaction request unauthorized response a status code equal to that given
func (*AuthorizeInteractionRequestUnauthorized) IsRedirect ¶
func (o *AuthorizeInteractionRequestUnauthorized) IsRedirect() bool
IsRedirect returns true when this authorize interaction request unauthorized response has a 3xx status code
func (*AuthorizeInteractionRequestUnauthorized) IsServerError ¶
func (o *AuthorizeInteractionRequestUnauthorized) IsServerError() bool
IsServerError returns true when this authorize interaction request unauthorized response has a 5xx status code
func (*AuthorizeInteractionRequestUnauthorized) IsSuccess ¶
func (o *AuthorizeInteractionRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this authorize interaction request unauthorized response has a 2xx status code
func (*AuthorizeInteractionRequestUnauthorized) String ¶
func (o *AuthorizeInteractionRequestUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for interaction requests API
func (*Client) AuthorizeInteractionRequest ¶
func (a *Client) AuthorizeInteractionRequest(params *AuthorizeInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthorizeInteractionRequestOK, error)
AuthorizeInteractionRequest accepts authorize approve an interaction request with the given ID
func (*Client) GetInteractionRequest ¶
func (a *Client) GetInteractionRequest(params *GetInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInteractionRequestOK, error)
GetInteractionRequest gets interaction request with the given ID
func (*Client) GetInteractionRequests ¶
func (a *Client) GetInteractionRequests(params *GetInteractionRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInteractionRequestsOK, error)
GetInteractionRequests gets an array of interactions requested on your statuses by other accounts and pending your approval ```
<https://example.org/api/v1/interaction_requests?limit=80&max_id=01FC0SKA48HNSVR6YKZCQGS2V8>; rel="next", <https://example.org/api/v1/interaction_requests?limit=80&min_id=01FC0SKW5JK2Q4EVAV2B462YY0>; rel="prev" ````
func (*Client) RejectInteractionRequest ¶
func (a *Client) RejectInteractionRequest(params *RejectInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectInteractionRequestOK, error)
RejectInteractionRequest rejects an interaction request with the given 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 { AuthorizeInteractionRequest(params *AuthorizeInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AuthorizeInteractionRequestOK, error) GetInteractionRequest(params *GetInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInteractionRequestOK, error) GetInteractionRequests(params *GetInteractionRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetInteractionRequestsOK, error) RejectInteractionRequest(params *RejectInteractionRequestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RejectInteractionRequestOK, 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 interaction requests API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new interaction 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 interaction 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 GetInteractionRequestBadRequest ¶
type GetInteractionRequestBadRequest struct { }
GetInteractionRequestBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetInteractionRequestBadRequest ¶
func NewGetInteractionRequestBadRequest() *GetInteractionRequestBadRequest
NewGetInteractionRequestBadRequest creates a GetInteractionRequestBadRequest with default headers values
func (*GetInteractionRequestBadRequest) Code ¶
func (o *GetInteractionRequestBadRequest) Code() int
Code gets the status code for the get interaction request bad request response
func (*GetInteractionRequestBadRequest) Error ¶
func (o *GetInteractionRequestBadRequest) Error() string
func (*GetInteractionRequestBadRequest) IsClientError ¶
func (o *GetInteractionRequestBadRequest) IsClientError() bool
IsClientError returns true when this get interaction request bad request response has a 4xx status code
func (*GetInteractionRequestBadRequest) IsCode ¶
func (o *GetInteractionRequestBadRequest) IsCode(code int) bool
IsCode returns true when this get interaction request bad request response a status code equal to that given
func (*GetInteractionRequestBadRequest) IsRedirect ¶
func (o *GetInteractionRequestBadRequest) IsRedirect() bool
IsRedirect returns true when this get interaction request bad request response has a 3xx status code
func (*GetInteractionRequestBadRequest) IsServerError ¶
func (o *GetInteractionRequestBadRequest) IsServerError() bool
IsServerError returns true when this get interaction request bad request response has a 5xx status code
func (*GetInteractionRequestBadRequest) IsSuccess ¶
func (o *GetInteractionRequestBadRequest) IsSuccess() bool
IsSuccess returns true when this get interaction request bad request response has a 2xx status code
func (*GetInteractionRequestBadRequest) String ¶
func (o *GetInteractionRequestBadRequest) String() string
type GetInteractionRequestInternalServerError ¶
type GetInteractionRequestInternalServerError struct { }
GetInteractionRequestInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetInteractionRequestInternalServerError ¶
func NewGetInteractionRequestInternalServerError() *GetInteractionRequestInternalServerError
NewGetInteractionRequestInternalServerError creates a GetInteractionRequestInternalServerError with default headers values
func (*GetInteractionRequestInternalServerError) Code ¶
func (o *GetInteractionRequestInternalServerError) Code() int
Code gets the status code for the get interaction request internal server error response
func (*GetInteractionRequestInternalServerError) Error ¶
func (o *GetInteractionRequestInternalServerError) Error() string
func (*GetInteractionRequestInternalServerError) IsClientError ¶
func (o *GetInteractionRequestInternalServerError) IsClientError() bool
IsClientError returns true when this get interaction request internal server error response has a 4xx status code
func (*GetInteractionRequestInternalServerError) IsCode ¶
func (o *GetInteractionRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this get interaction request internal server error response a status code equal to that given
func (*GetInteractionRequestInternalServerError) IsRedirect ¶
func (o *GetInteractionRequestInternalServerError) IsRedirect() bool
IsRedirect returns true when this get interaction request internal server error response has a 3xx status code
func (*GetInteractionRequestInternalServerError) IsServerError ¶
func (o *GetInteractionRequestInternalServerError) IsServerError() bool
IsServerError returns true when this get interaction request internal server error response has a 5xx status code
func (*GetInteractionRequestInternalServerError) IsSuccess ¶
func (o *GetInteractionRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this get interaction request internal server error response has a 2xx status code
func (*GetInteractionRequestInternalServerError) String ¶
func (o *GetInteractionRequestInternalServerError) String() string
type GetInteractionRequestNotAcceptable ¶
type GetInteractionRequestNotAcceptable struct { }
GetInteractionRequestNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetInteractionRequestNotAcceptable ¶
func NewGetInteractionRequestNotAcceptable() *GetInteractionRequestNotAcceptable
NewGetInteractionRequestNotAcceptable creates a GetInteractionRequestNotAcceptable with default headers values
func (*GetInteractionRequestNotAcceptable) Code ¶
func (o *GetInteractionRequestNotAcceptable) Code() int
Code gets the status code for the get interaction request not acceptable response
func (*GetInteractionRequestNotAcceptable) Error ¶
func (o *GetInteractionRequestNotAcceptable) Error() string
func (*GetInteractionRequestNotAcceptable) IsClientError ¶
func (o *GetInteractionRequestNotAcceptable) IsClientError() bool
IsClientError returns true when this get interaction request not acceptable response has a 4xx status code
func (*GetInteractionRequestNotAcceptable) IsCode ¶
func (o *GetInteractionRequestNotAcceptable) IsCode(code int) bool
IsCode returns true when this get interaction request not acceptable response a status code equal to that given
func (*GetInteractionRequestNotAcceptable) IsRedirect ¶
func (o *GetInteractionRequestNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get interaction request not acceptable response has a 3xx status code
func (*GetInteractionRequestNotAcceptable) IsServerError ¶
func (o *GetInteractionRequestNotAcceptable) IsServerError() bool
IsServerError returns true when this get interaction request not acceptable response has a 5xx status code
func (*GetInteractionRequestNotAcceptable) IsSuccess ¶
func (o *GetInteractionRequestNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get interaction request not acceptable response has a 2xx status code
func (*GetInteractionRequestNotAcceptable) String ¶
func (o *GetInteractionRequestNotAcceptable) String() string
type GetInteractionRequestNotFound ¶
type GetInteractionRequestNotFound struct { }
GetInteractionRequestNotFound describes a response with status code 404, with default header values.
not found
func NewGetInteractionRequestNotFound ¶
func NewGetInteractionRequestNotFound() *GetInteractionRequestNotFound
NewGetInteractionRequestNotFound creates a GetInteractionRequestNotFound with default headers values
func (*GetInteractionRequestNotFound) Code ¶
func (o *GetInteractionRequestNotFound) Code() int
Code gets the status code for the get interaction request not found response
func (*GetInteractionRequestNotFound) Error ¶
func (o *GetInteractionRequestNotFound) Error() string
func (*GetInteractionRequestNotFound) IsClientError ¶
func (o *GetInteractionRequestNotFound) IsClientError() bool
IsClientError returns true when this get interaction request not found response has a 4xx status code
func (*GetInteractionRequestNotFound) IsCode ¶
func (o *GetInteractionRequestNotFound) IsCode(code int) bool
IsCode returns true when this get interaction request not found response a status code equal to that given
func (*GetInteractionRequestNotFound) IsRedirect ¶
func (o *GetInteractionRequestNotFound) IsRedirect() bool
IsRedirect returns true when this get interaction request not found response has a 3xx status code
func (*GetInteractionRequestNotFound) IsServerError ¶
func (o *GetInteractionRequestNotFound) IsServerError() bool
IsServerError returns true when this get interaction request not found response has a 5xx status code
func (*GetInteractionRequestNotFound) IsSuccess ¶
func (o *GetInteractionRequestNotFound) IsSuccess() bool
IsSuccess returns true when this get interaction request not found response has a 2xx status code
func (*GetInteractionRequestNotFound) String ¶
func (o *GetInteractionRequestNotFound) String() string
type GetInteractionRequestOK ¶
type GetInteractionRequestOK struct {
Payload *models.InteractionRequest
}
GetInteractionRequestOK describes a response with status code 200, with default header values.
Interaction request.
func NewGetInteractionRequestOK ¶
func NewGetInteractionRequestOK() *GetInteractionRequestOK
NewGetInteractionRequestOK creates a GetInteractionRequestOK with default headers values
func (*GetInteractionRequestOK) Code ¶
func (o *GetInteractionRequestOK) Code() int
Code gets the status code for the get interaction request o k response
func (*GetInteractionRequestOK) Error ¶
func (o *GetInteractionRequestOK) Error() string
func (*GetInteractionRequestOK) GetPayload ¶
func (o *GetInteractionRequestOK) GetPayload() *models.InteractionRequest
func (*GetInteractionRequestOK) IsClientError ¶
func (o *GetInteractionRequestOK) IsClientError() bool
IsClientError returns true when this get interaction request o k response has a 4xx status code
func (*GetInteractionRequestOK) IsCode ¶
func (o *GetInteractionRequestOK) IsCode(code int) bool
IsCode returns true when this get interaction request o k response a status code equal to that given
func (*GetInteractionRequestOK) IsRedirect ¶
func (o *GetInteractionRequestOK) IsRedirect() bool
IsRedirect returns true when this get interaction request o k response has a 3xx status code
func (*GetInteractionRequestOK) IsServerError ¶
func (o *GetInteractionRequestOK) IsServerError() bool
IsServerError returns true when this get interaction request o k response has a 5xx status code
func (*GetInteractionRequestOK) IsSuccess ¶
func (o *GetInteractionRequestOK) IsSuccess() bool
IsSuccess returns true when this get interaction request o k response has a 2xx status code
func (*GetInteractionRequestOK) String ¶
func (o *GetInteractionRequestOK) String() string
type GetInteractionRequestParams ¶
type GetInteractionRequestParams struct { /* ID. ID of the interaction request targeting you. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInteractionRequestParams contains all the parameters to send to the API endpoint
for the get interaction request operation. Typically these are written to a http.Request.
func NewGetInteractionRequestParams ¶
func NewGetInteractionRequestParams() *GetInteractionRequestParams
NewGetInteractionRequestParams creates a new GetInteractionRequestParams 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 NewGetInteractionRequestParamsWithContext ¶
func NewGetInteractionRequestParamsWithContext(ctx context.Context) *GetInteractionRequestParams
NewGetInteractionRequestParamsWithContext creates a new GetInteractionRequestParams object with the ability to set a context for a request.
func NewGetInteractionRequestParamsWithHTTPClient ¶
func NewGetInteractionRequestParamsWithHTTPClient(client *http.Client) *GetInteractionRequestParams
NewGetInteractionRequestParamsWithHTTPClient creates a new GetInteractionRequestParams object with the ability to set a custom HTTPClient for a request.
func NewGetInteractionRequestParamsWithTimeout ¶
func NewGetInteractionRequestParamsWithTimeout(timeout time.Duration) *GetInteractionRequestParams
NewGetInteractionRequestParamsWithTimeout creates a new GetInteractionRequestParams object with the ability to set a timeout on a request.
func (*GetInteractionRequestParams) SetContext ¶
func (o *GetInteractionRequestParams) SetContext(ctx context.Context)
SetContext adds the context to the get interaction request params
func (*GetInteractionRequestParams) SetDefaults ¶
func (o *GetInteractionRequestParams) SetDefaults()
SetDefaults hydrates default values in the get interaction request params (not the query body).
All values with no default are reset to their zero value.
func (*GetInteractionRequestParams) SetHTTPClient ¶
func (o *GetInteractionRequestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get interaction request params
func (*GetInteractionRequestParams) SetID ¶
func (o *GetInteractionRequestParams) SetID(id string)
SetID adds the id to the get interaction request params
func (*GetInteractionRequestParams) SetTimeout ¶
func (o *GetInteractionRequestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get interaction request params
func (*GetInteractionRequestParams) WithContext ¶
func (o *GetInteractionRequestParams) WithContext(ctx context.Context) *GetInteractionRequestParams
WithContext adds the context to the get interaction request params
func (*GetInteractionRequestParams) WithDefaults ¶
func (o *GetInteractionRequestParams) WithDefaults() *GetInteractionRequestParams
WithDefaults hydrates default values in the get interaction request params (not the query body).
All values with no default are reset to their zero value.
func (*GetInteractionRequestParams) WithHTTPClient ¶
func (o *GetInteractionRequestParams) WithHTTPClient(client *http.Client) *GetInteractionRequestParams
WithHTTPClient adds the HTTPClient to the get interaction request params
func (*GetInteractionRequestParams) WithID ¶
func (o *GetInteractionRequestParams) WithID(id string) *GetInteractionRequestParams
WithID adds the id to the get interaction request params
func (*GetInteractionRequestParams) WithTimeout ¶
func (o *GetInteractionRequestParams) WithTimeout(timeout time.Duration) *GetInteractionRequestParams
WithTimeout adds the timeout to the get interaction request params
func (*GetInteractionRequestParams) WriteToRequest ¶
func (o *GetInteractionRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInteractionRequestReader ¶
type GetInteractionRequestReader struct {
// contains filtered or unexported fields
}
GetInteractionRequestReader is a Reader for the GetInteractionRequest structure.
func (*GetInteractionRequestReader) ReadResponse ¶
func (o *GetInteractionRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInteractionRequestUnauthorized ¶
type GetInteractionRequestUnauthorized struct { }
GetInteractionRequestUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetInteractionRequestUnauthorized ¶
func NewGetInteractionRequestUnauthorized() *GetInteractionRequestUnauthorized
NewGetInteractionRequestUnauthorized creates a GetInteractionRequestUnauthorized with default headers values
func (*GetInteractionRequestUnauthorized) Code ¶
func (o *GetInteractionRequestUnauthorized) Code() int
Code gets the status code for the get interaction request unauthorized response
func (*GetInteractionRequestUnauthorized) Error ¶
func (o *GetInteractionRequestUnauthorized) Error() string
func (*GetInteractionRequestUnauthorized) IsClientError ¶
func (o *GetInteractionRequestUnauthorized) IsClientError() bool
IsClientError returns true when this get interaction request unauthorized response has a 4xx status code
func (*GetInteractionRequestUnauthorized) IsCode ¶
func (o *GetInteractionRequestUnauthorized) IsCode(code int) bool
IsCode returns true when this get interaction request unauthorized response a status code equal to that given
func (*GetInteractionRequestUnauthorized) IsRedirect ¶
func (o *GetInteractionRequestUnauthorized) IsRedirect() bool
IsRedirect returns true when this get interaction request unauthorized response has a 3xx status code
func (*GetInteractionRequestUnauthorized) IsServerError ¶
func (o *GetInteractionRequestUnauthorized) IsServerError() bool
IsServerError returns true when this get interaction request unauthorized response has a 5xx status code
func (*GetInteractionRequestUnauthorized) IsSuccess ¶
func (o *GetInteractionRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this get interaction request unauthorized response has a 2xx status code
func (*GetInteractionRequestUnauthorized) String ¶
func (o *GetInteractionRequestUnauthorized) String() string
type GetInteractionRequestsBadRequest ¶
type GetInteractionRequestsBadRequest struct { }
GetInteractionRequestsBadRequest describes a response with status code 400, with default header values.
bad request
func NewGetInteractionRequestsBadRequest ¶
func NewGetInteractionRequestsBadRequest() *GetInteractionRequestsBadRequest
NewGetInteractionRequestsBadRequest creates a GetInteractionRequestsBadRequest with default headers values
func (*GetInteractionRequestsBadRequest) Code ¶
func (o *GetInteractionRequestsBadRequest) Code() int
Code gets the status code for the get interaction requests bad request response
func (*GetInteractionRequestsBadRequest) Error ¶
func (o *GetInteractionRequestsBadRequest) Error() string
func (*GetInteractionRequestsBadRequest) IsClientError ¶
func (o *GetInteractionRequestsBadRequest) IsClientError() bool
IsClientError returns true when this get interaction requests bad request response has a 4xx status code
func (*GetInteractionRequestsBadRequest) IsCode ¶
func (o *GetInteractionRequestsBadRequest) IsCode(code int) bool
IsCode returns true when this get interaction requests bad request response a status code equal to that given
func (*GetInteractionRequestsBadRequest) IsRedirect ¶
func (o *GetInteractionRequestsBadRequest) IsRedirect() bool
IsRedirect returns true when this get interaction requests bad request response has a 3xx status code
func (*GetInteractionRequestsBadRequest) IsServerError ¶
func (o *GetInteractionRequestsBadRequest) IsServerError() bool
IsServerError returns true when this get interaction requests bad request response has a 5xx status code
func (*GetInteractionRequestsBadRequest) IsSuccess ¶
func (o *GetInteractionRequestsBadRequest) IsSuccess() bool
IsSuccess returns true when this get interaction requests bad request response has a 2xx status code
func (*GetInteractionRequestsBadRequest) String ¶
func (o *GetInteractionRequestsBadRequest) String() string
type GetInteractionRequestsInternalServerError ¶
type GetInteractionRequestsInternalServerError struct { }
GetInteractionRequestsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewGetInteractionRequestsInternalServerError ¶
func NewGetInteractionRequestsInternalServerError() *GetInteractionRequestsInternalServerError
NewGetInteractionRequestsInternalServerError creates a GetInteractionRequestsInternalServerError with default headers values
func (*GetInteractionRequestsInternalServerError) Code ¶
func (o *GetInteractionRequestsInternalServerError) Code() int
Code gets the status code for the get interaction requests internal server error response
func (*GetInteractionRequestsInternalServerError) Error ¶
func (o *GetInteractionRequestsInternalServerError) Error() string
func (*GetInteractionRequestsInternalServerError) IsClientError ¶
func (o *GetInteractionRequestsInternalServerError) IsClientError() bool
IsClientError returns true when this get interaction requests internal server error response has a 4xx status code
func (*GetInteractionRequestsInternalServerError) IsCode ¶
func (o *GetInteractionRequestsInternalServerError) IsCode(code int) bool
IsCode returns true when this get interaction requests internal server error response a status code equal to that given
func (*GetInteractionRequestsInternalServerError) IsRedirect ¶
func (o *GetInteractionRequestsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get interaction requests internal server error response has a 3xx status code
func (*GetInteractionRequestsInternalServerError) IsServerError ¶
func (o *GetInteractionRequestsInternalServerError) IsServerError() bool
IsServerError returns true when this get interaction requests internal server error response has a 5xx status code
func (*GetInteractionRequestsInternalServerError) IsSuccess ¶
func (o *GetInteractionRequestsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get interaction requests internal server error response has a 2xx status code
func (*GetInteractionRequestsInternalServerError) String ¶
func (o *GetInteractionRequestsInternalServerError) String() string
type GetInteractionRequestsNotAcceptable ¶
type GetInteractionRequestsNotAcceptable struct { }
GetInteractionRequestsNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewGetInteractionRequestsNotAcceptable ¶
func NewGetInteractionRequestsNotAcceptable() *GetInteractionRequestsNotAcceptable
NewGetInteractionRequestsNotAcceptable creates a GetInteractionRequestsNotAcceptable with default headers values
func (*GetInteractionRequestsNotAcceptable) Code ¶
func (o *GetInteractionRequestsNotAcceptable) Code() int
Code gets the status code for the get interaction requests not acceptable response
func (*GetInteractionRequestsNotAcceptable) Error ¶
func (o *GetInteractionRequestsNotAcceptable) Error() string
func (*GetInteractionRequestsNotAcceptable) IsClientError ¶
func (o *GetInteractionRequestsNotAcceptable) IsClientError() bool
IsClientError returns true when this get interaction requests not acceptable response has a 4xx status code
func (*GetInteractionRequestsNotAcceptable) IsCode ¶
func (o *GetInteractionRequestsNotAcceptable) IsCode(code int) bool
IsCode returns true when this get interaction requests not acceptable response a status code equal to that given
func (*GetInteractionRequestsNotAcceptable) IsRedirect ¶
func (o *GetInteractionRequestsNotAcceptable) IsRedirect() bool
IsRedirect returns true when this get interaction requests not acceptable response has a 3xx status code
func (*GetInteractionRequestsNotAcceptable) IsServerError ¶
func (o *GetInteractionRequestsNotAcceptable) IsServerError() bool
IsServerError returns true when this get interaction requests not acceptable response has a 5xx status code
func (*GetInteractionRequestsNotAcceptable) IsSuccess ¶
func (o *GetInteractionRequestsNotAcceptable) IsSuccess() bool
IsSuccess returns true when this get interaction requests not acceptable response has a 2xx status code
func (*GetInteractionRequestsNotAcceptable) String ¶
func (o *GetInteractionRequestsNotAcceptable) String() string
type GetInteractionRequestsNotFound ¶
type GetInteractionRequestsNotFound struct { }
GetInteractionRequestsNotFound describes a response with status code 404, with default header values.
not found
func NewGetInteractionRequestsNotFound ¶
func NewGetInteractionRequestsNotFound() *GetInteractionRequestsNotFound
NewGetInteractionRequestsNotFound creates a GetInteractionRequestsNotFound with default headers values
func (*GetInteractionRequestsNotFound) Code ¶
func (o *GetInteractionRequestsNotFound) Code() int
Code gets the status code for the get interaction requests not found response
func (*GetInteractionRequestsNotFound) Error ¶
func (o *GetInteractionRequestsNotFound) Error() string
func (*GetInteractionRequestsNotFound) IsClientError ¶
func (o *GetInteractionRequestsNotFound) IsClientError() bool
IsClientError returns true when this get interaction requests not found response has a 4xx status code
func (*GetInteractionRequestsNotFound) IsCode ¶
func (o *GetInteractionRequestsNotFound) IsCode(code int) bool
IsCode returns true when this get interaction requests not found response a status code equal to that given
func (*GetInteractionRequestsNotFound) IsRedirect ¶
func (o *GetInteractionRequestsNotFound) IsRedirect() bool
IsRedirect returns true when this get interaction requests not found response has a 3xx status code
func (*GetInteractionRequestsNotFound) IsServerError ¶
func (o *GetInteractionRequestsNotFound) IsServerError() bool
IsServerError returns true when this get interaction requests not found response has a 5xx status code
func (*GetInteractionRequestsNotFound) IsSuccess ¶
func (o *GetInteractionRequestsNotFound) IsSuccess() bool
IsSuccess returns true when this get interaction requests not found response has a 2xx status code
func (*GetInteractionRequestsNotFound) String ¶
func (o *GetInteractionRequestsNotFound) String() string
type GetInteractionRequestsOK ¶
type GetInteractionRequestsOK struct { /* Links to the next and previous queries. */ Link string Payload []*models.InteractionRequest }
GetInteractionRequestsOK describes a response with status code 200, with default header values.
GetInteractionRequestsOK get interaction requests o k
func NewGetInteractionRequestsOK ¶
func NewGetInteractionRequestsOK() *GetInteractionRequestsOK
NewGetInteractionRequestsOK creates a GetInteractionRequestsOK with default headers values
func (*GetInteractionRequestsOK) Code ¶
func (o *GetInteractionRequestsOK) Code() int
Code gets the status code for the get interaction requests o k response
func (*GetInteractionRequestsOK) Error ¶
func (o *GetInteractionRequestsOK) Error() string
func (*GetInteractionRequestsOK) GetPayload ¶
func (o *GetInteractionRequestsOK) GetPayload() []*models.InteractionRequest
func (*GetInteractionRequestsOK) IsClientError ¶
func (o *GetInteractionRequestsOK) IsClientError() bool
IsClientError returns true when this get interaction requests o k response has a 4xx status code
func (*GetInteractionRequestsOK) IsCode ¶
func (o *GetInteractionRequestsOK) IsCode(code int) bool
IsCode returns true when this get interaction requests o k response a status code equal to that given
func (*GetInteractionRequestsOK) IsRedirect ¶
func (o *GetInteractionRequestsOK) IsRedirect() bool
IsRedirect returns true when this get interaction requests o k response has a 3xx status code
func (*GetInteractionRequestsOK) IsServerError ¶
func (o *GetInteractionRequestsOK) IsServerError() bool
IsServerError returns true when this get interaction requests o k response has a 5xx status code
func (*GetInteractionRequestsOK) IsSuccess ¶
func (o *GetInteractionRequestsOK) IsSuccess() bool
IsSuccess returns true when this get interaction requests o k response has a 2xx status code
func (*GetInteractionRequestsOK) String ¶
func (o *GetInteractionRequestsOK) String() string
type GetInteractionRequestsParams ¶
type GetInteractionRequestsParams struct { /* Favourites. If true or not set, pending favourites will be included in the results. At least one of favourites, replies, and reblogs must be true. Default: true */ Favourites *bool /* Limit. Number of interaction requests to return. Default: 40 */ Limit *int64 /* MaxID. Return only interaction requests *OLDER* than the given max ID. The interaction with the specified ID will not be included in the response. */ MaxID *string /* MinID. Return only interaction requests *IMMEDIATELY NEWER* than the given min ID. The interaction with the specified ID will not be included in the response. */ MinID *string /* Reblogs. If true or not set, pending reblogs will be included in the results. At least one of favourites, replies, and reblogs must be true. Default: true */ Reblogs *bool /* Replies. If true or not set, pending replies will be included in the results. At least one of favourites, replies, and reblogs must be true. Default: true */ Replies *bool /* SinceID. Return only interaction requests *NEWER* than the given since ID. The interaction with the specified ID will not be included in the response. */ SinceID *string /* StatusID. If set, then only interactions targeting the given status_id will be included in the results. */ StatusID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetInteractionRequestsParams contains all the parameters to send to the API endpoint
for the get interaction requests operation. Typically these are written to a http.Request.
func NewGetInteractionRequestsParams ¶
func NewGetInteractionRequestsParams() *GetInteractionRequestsParams
NewGetInteractionRequestsParams creates a new GetInteractionRequestsParams 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 NewGetInteractionRequestsParamsWithContext ¶
func NewGetInteractionRequestsParamsWithContext(ctx context.Context) *GetInteractionRequestsParams
NewGetInteractionRequestsParamsWithContext creates a new GetInteractionRequestsParams object with the ability to set a context for a request.
func NewGetInteractionRequestsParamsWithHTTPClient ¶
func NewGetInteractionRequestsParamsWithHTTPClient(client *http.Client) *GetInteractionRequestsParams
NewGetInteractionRequestsParamsWithHTTPClient creates a new GetInteractionRequestsParams object with the ability to set a custom HTTPClient for a request.
func NewGetInteractionRequestsParamsWithTimeout ¶
func NewGetInteractionRequestsParamsWithTimeout(timeout time.Duration) *GetInteractionRequestsParams
NewGetInteractionRequestsParamsWithTimeout creates a new GetInteractionRequestsParams object with the ability to set a timeout on a request.
func (*GetInteractionRequestsParams) SetContext ¶
func (o *GetInteractionRequestsParams) SetContext(ctx context.Context)
SetContext adds the context to the get interaction requests params
func (*GetInteractionRequestsParams) SetDefaults ¶
func (o *GetInteractionRequestsParams) SetDefaults()
SetDefaults hydrates default values in the get interaction requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetInteractionRequestsParams) SetFavourites ¶
func (o *GetInteractionRequestsParams) SetFavourites(favourites *bool)
SetFavourites adds the favourites to the get interaction requests params
func (*GetInteractionRequestsParams) SetHTTPClient ¶
func (o *GetInteractionRequestsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get interaction requests params
func (*GetInteractionRequestsParams) SetLimit ¶
func (o *GetInteractionRequestsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get interaction requests params
func (*GetInteractionRequestsParams) SetMaxID ¶
func (o *GetInteractionRequestsParams) SetMaxID(maxID *string)
SetMaxID adds the maxId to the get interaction requests params
func (*GetInteractionRequestsParams) SetMinID ¶
func (o *GetInteractionRequestsParams) SetMinID(minID *string)
SetMinID adds the minId to the get interaction requests params
func (*GetInteractionRequestsParams) SetReblogs ¶
func (o *GetInteractionRequestsParams) SetReblogs(reblogs *bool)
SetReblogs adds the reblogs to the get interaction requests params
func (*GetInteractionRequestsParams) SetReplies ¶
func (o *GetInteractionRequestsParams) SetReplies(replies *bool)
SetReplies adds the replies to the get interaction requests params
func (*GetInteractionRequestsParams) SetSinceID ¶
func (o *GetInteractionRequestsParams) SetSinceID(sinceID *string)
SetSinceID adds the sinceId to the get interaction requests params
func (*GetInteractionRequestsParams) SetStatusID ¶
func (o *GetInteractionRequestsParams) SetStatusID(statusID *string)
SetStatusID adds the statusId to the get interaction requests params
func (*GetInteractionRequestsParams) SetTimeout ¶
func (o *GetInteractionRequestsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get interaction requests params
func (*GetInteractionRequestsParams) WithContext ¶
func (o *GetInteractionRequestsParams) WithContext(ctx context.Context) *GetInteractionRequestsParams
WithContext adds the context to the get interaction requests params
func (*GetInteractionRequestsParams) WithDefaults ¶
func (o *GetInteractionRequestsParams) WithDefaults() *GetInteractionRequestsParams
WithDefaults hydrates default values in the get interaction requests params (not the query body).
All values with no default are reset to their zero value.
func (*GetInteractionRequestsParams) WithFavourites ¶
func (o *GetInteractionRequestsParams) WithFavourites(favourites *bool) *GetInteractionRequestsParams
WithFavourites adds the favourites to the get interaction requests params
func (*GetInteractionRequestsParams) WithHTTPClient ¶
func (o *GetInteractionRequestsParams) WithHTTPClient(client *http.Client) *GetInteractionRequestsParams
WithHTTPClient adds the HTTPClient to the get interaction requests params
func (*GetInteractionRequestsParams) WithLimit ¶
func (o *GetInteractionRequestsParams) WithLimit(limit *int64) *GetInteractionRequestsParams
WithLimit adds the limit to the get interaction requests params
func (*GetInteractionRequestsParams) WithMaxID ¶
func (o *GetInteractionRequestsParams) WithMaxID(maxID *string) *GetInteractionRequestsParams
WithMaxID adds the maxID to the get interaction requests params
func (*GetInteractionRequestsParams) WithMinID ¶
func (o *GetInteractionRequestsParams) WithMinID(minID *string) *GetInteractionRequestsParams
WithMinID adds the minID to the get interaction requests params
func (*GetInteractionRequestsParams) WithReblogs ¶
func (o *GetInteractionRequestsParams) WithReblogs(reblogs *bool) *GetInteractionRequestsParams
WithReblogs adds the reblogs to the get interaction requests params
func (*GetInteractionRequestsParams) WithReplies ¶
func (o *GetInteractionRequestsParams) WithReplies(replies *bool) *GetInteractionRequestsParams
WithReplies adds the replies to the get interaction requests params
func (*GetInteractionRequestsParams) WithSinceID ¶
func (o *GetInteractionRequestsParams) WithSinceID(sinceID *string) *GetInteractionRequestsParams
WithSinceID adds the sinceID to the get interaction requests params
func (*GetInteractionRequestsParams) WithStatusID ¶
func (o *GetInteractionRequestsParams) WithStatusID(statusID *string) *GetInteractionRequestsParams
WithStatusID adds the statusID to the get interaction requests params
func (*GetInteractionRequestsParams) WithTimeout ¶
func (o *GetInteractionRequestsParams) WithTimeout(timeout time.Duration) *GetInteractionRequestsParams
WithTimeout adds the timeout to the get interaction requests params
func (*GetInteractionRequestsParams) WriteToRequest ¶
func (o *GetInteractionRequestsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetInteractionRequestsReader ¶
type GetInteractionRequestsReader struct {
// contains filtered or unexported fields
}
GetInteractionRequestsReader is a Reader for the GetInteractionRequests structure.
func (*GetInteractionRequestsReader) ReadResponse ¶
func (o *GetInteractionRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetInteractionRequestsUnauthorized ¶
type GetInteractionRequestsUnauthorized struct { }
GetInteractionRequestsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewGetInteractionRequestsUnauthorized ¶
func NewGetInteractionRequestsUnauthorized() *GetInteractionRequestsUnauthorized
NewGetInteractionRequestsUnauthorized creates a GetInteractionRequestsUnauthorized with default headers values
func (*GetInteractionRequestsUnauthorized) Code ¶
func (o *GetInteractionRequestsUnauthorized) Code() int
Code gets the status code for the get interaction requests unauthorized response
func (*GetInteractionRequestsUnauthorized) Error ¶
func (o *GetInteractionRequestsUnauthorized) Error() string
func (*GetInteractionRequestsUnauthorized) IsClientError ¶
func (o *GetInteractionRequestsUnauthorized) IsClientError() bool
IsClientError returns true when this get interaction requests unauthorized response has a 4xx status code
func (*GetInteractionRequestsUnauthorized) IsCode ¶
func (o *GetInteractionRequestsUnauthorized) IsCode(code int) bool
IsCode returns true when this get interaction requests unauthorized response a status code equal to that given
func (*GetInteractionRequestsUnauthorized) IsRedirect ¶
func (o *GetInteractionRequestsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get interaction requests unauthorized response has a 3xx status code
func (*GetInteractionRequestsUnauthorized) IsServerError ¶
func (o *GetInteractionRequestsUnauthorized) IsServerError() bool
IsServerError returns true when this get interaction requests unauthorized response has a 5xx status code
func (*GetInteractionRequestsUnauthorized) IsSuccess ¶
func (o *GetInteractionRequestsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get interaction requests unauthorized response has a 2xx status code
func (*GetInteractionRequestsUnauthorized) String ¶
func (o *GetInteractionRequestsUnauthorized) String() string
type RejectInteractionRequestBadRequest ¶
type RejectInteractionRequestBadRequest struct { }
RejectInteractionRequestBadRequest describes a response with status code 400, with default header values.
bad request
func NewRejectInteractionRequestBadRequest ¶
func NewRejectInteractionRequestBadRequest() *RejectInteractionRequestBadRequest
NewRejectInteractionRequestBadRequest creates a RejectInteractionRequestBadRequest with default headers values
func (*RejectInteractionRequestBadRequest) Code ¶
func (o *RejectInteractionRequestBadRequest) Code() int
Code gets the status code for the reject interaction request bad request response
func (*RejectInteractionRequestBadRequest) Error ¶
func (o *RejectInteractionRequestBadRequest) Error() string
func (*RejectInteractionRequestBadRequest) IsClientError ¶
func (o *RejectInteractionRequestBadRequest) IsClientError() bool
IsClientError returns true when this reject interaction request bad request response has a 4xx status code
func (*RejectInteractionRequestBadRequest) IsCode ¶
func (o *RejectInteractionRequestBadRequest) IsCode(code int) bool
IsCode returns true when this reject interaction request bad request response a status code equal to that given
func (*RejectInteractionRequestBadRequest) IsRedirect ¶
func (o *RejectInteractionRequestBadRequest) IsRedirect() bool
IsRedirect returns true when this reject interaction request bad request response has a 3xx status code
func (*RejectInteractionRequestBadRequest) IsServerError ¶
func (o *RejectInteractionRequestBadRequest) IsServerError() bool
IsServerError returns true when this reject interaction request bad request response has a 5xx status code
func (*RejectInteractionRequestBadRequest) IsSuccess ¶
func (o *RejectInteractionRequestBadRequest) IsSuccess() bool
IsSuccess returns true when this reject interaction request bad request response has a 2xx status code
func (*RejectInteractionRequestBadRequest) String ¶
func (o *RejectInteractionRequestBadRequest) String() string
type RejectInteractionRequestInternalServerError ¶
type RejectInteractionRequestInternalServerError struct { }
RejectInteractionRequestInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewRejectInteractionRequestInternalServerError ¶
func NewRejectInteractionRequestInternalServerError() *RejectInteractionRequestInternalServerError
NewRejectInteractionRequestInternalServerError creates a RejectInteractionRequestInternalServerError with default headers values
func (*RejectInteractionRequestInternalServerError) Code ¶
func (o *RejectInteractionRequestInternalServerError) Code() int
Code gets the status code for the reject interaction request internal server error response
func (*RejectInteractionRequestInternalServerError) Error ¶
func (o *RejectInteractionRequestInternalServerError) Error() string
func (*RejectInteractionRequestInternalServerError) IsClientError ¶
func (o *RejectInteractionRequestInternalServerError) IsClientError() bool
IsClientError returns true when this reject interaction request internal server error response has a 4xx status code
func (*RejectInteractionRequestInternalServerError) IsCode ¶
func (o *RejectInteractionRequestInternalServerError) IsCode(code int) bool
IsCode returns true when this reject interaction request internal server error response a status code equal to that given
func (*RejectInteractionRequestInternalServerError) IsRedirect ¶
func (o *RejectInteractionRequestInternalServerError) IsRedirect() bool
IsRedirect returns true when this reject interaction request internal server error response has a 3xx status code
func (*RejectInteractionRequestInternalServerError) IsServerError ¶
func (o *RejectInteractionRequestInternalServerError) IsServerError() bool
IsServerError returns true when this reject interaction request internal server error response has a 5xx status code
func (*RejectInteractionRequestInternalServerError) IsSuccess ¶
func (o *RejectInteractionRequestInternalServerError) IsSuccess() bool
IsSuccess returns true when this reject interaction request internal server error response has a 2xx status code
func (*RejectInteractionRequestInternalServerError) String ¶
func (o *RejectInteractionRequestInternalServerError) String() string
type RejectInteractionRequestNotAcceptable ¶
type RejectInteractionRequestNotAcceptable struct { }
RejectInteractionRequestNotAcceptable describes a response with status code 406, with default header values.
not acceptable
func NewRejectInteractionRequestNotAcceptable ¶
func NewRejectInteractionRequestNotAcceptable() *RejectInteractionRequestNotAcceptable
NewRejectInteractionRequestNotAcceptable creates a RejectInteractionRequestNotAcceptable with default headers values
func (*RejectInteractionRequestNotAcceptable) Code ¶
func (o *RejectInteractionRequestNotAcceptable) Code() int
Code gets the status code for the reject interaction request not acceptable response
func (*RejectInteractionRequestNotAcceptable) Error ¶
func (o *RejectInteractionRequestNotAcceptable) Error() string
func (*RejectInteractionRequestNotAcceptable) IsClientError ¶
func (o *RejectInteractionRequestNotAcceptable) IsClientError() bool
IsClientError returns true when this reject interaction request not acceptable response has a 4xx status code
func (*RejectInteractionRequestNotAcceptable) IsCode ¶
func (o *RejectInteractionRequestNotAcceptable) IsCode(code int) bool
IsCode returns true when this reject interaction request not acceptable response a status code equal to that given
func (*RejectInteractionRequestNotAcceptable) IsRedirect ¶
func (o *RejectInteractionRequestNotAcceptable) IsRedirect() bool
IsRedirect returns true when this reject interaction request not acceptable response has a 3xx status code
func (*RejectInteractionRequestNotAcceptable) IsServerError ¶
func (o *RejectInteractionRequestNotAcceptable) IsServerError() bool
IsServerError returns true when this reject interaction request not acceptable response has a 5xx status code
func (*RejectInteractionRequestNotAcceptable) IsSuccess ¶
func (o *RejectInteractionRequestNotAcceptable) IsSuccess() bool
IsSuccess returns true when this reject interaction request not acceptable response has a 2xx status code
func (*RejectInteractionRequestNotAcceptable) String ¶
func (o *RejectInteractionRequestNotAcceptable) String() string
type RejectInteractionRequestNotFound ¶
type RejectInteractionRequestNotFound struct { }
RejectInteractionRequestNotFound describes a response with status code 404, with default header values.
not found
func NewRejectInteractionRequestNotFound ¶
func NewRejectInteractionRequestNotFound() *RejectInteractionRequestNotFound
NewRejectInteractionRequestNotFound creates a RejectInteractionRequestNotFound with default headers values
func (*RejectInteractionRequestNotFound) Code ¶
func (o *RejectInteractionRequestNotFound) Code() int
Code gets the status code for the reject interaction request not found response
func (*RejectInteractionRequestNotFound) Error ¶
func (o *RejectInteractionRequestNotFound) Error() string
func (*RejectInteractionRequestNotFound) IsClientError ¶
func (o *RejectInteractionRequestNotFound) IsClientError() bool
IsClientError returns true when this reject interaction request not found response has a 4xx status code
func (*RejectInteractionRequestNotFound) IsCode ¶
func (o *RejectInteractionRequestNotFound) IsCode(code int) bool
IsCode returns true when this reject interaction request not found response a status code equal to that given
func (*RejectInteractionRequestNotFound) IsRedirect ¶
func (o *RejectInteractionRequestNotFound) IsRedirect() bool
IsRedirect returns true when this reject interaction request not found response has a 3xx status code
func (*RejectInteractionRequestNotFound) IsServerError ¶
func (o *RejectInteractionRequestNotFound) IsServerError() bool
IsServerError returns true when this reject interaction request not found response has a 5xx status code
func (*RejectInteractionRequestNotFound) IsSuccess ¶
func (o *RejectInteractionRequestNotFound) IsSuccess() bool
IsSuccess returns true when this reject interaction request not found response has a 2xx status code
func (*RejectInteractionRequestNotFound) String ¶
func (o *RejectInteractionRequestNotFound) String() string
type RejectInteractionRequestOK ¶
type RejectInteractionRequestOK struct {
Payload *models.InteractionRequest
}
RejectInteractionRequestOK describes a response with status code 200, with default header values.
The now-rejected interaction request.
func NewRejectInteractionRequestOK ¶
func NewRejectInteractionRequestOK() *RejectInteractionRequestOK
NewRejectInteractionRequestOK creates a RejectInteractionRequestOK with default headers values
func (*RejectInteractionRequestOK) Code ¶
func (o *RejectInteractionRequestOK) Code() int
Code gets the status code for the reject interaction request o k response
func (*RejectInteractionRequestOK) Error ¶
func (o *RejectInteractionRequestOK) Error() string
func (*RejectInteractionRequestOK) GetPayload ¶
func (o *RejectInteractionRequestOK) GetPayload() *models.InteractionRequest
func (*RejectInteractionRequestOK) IsClientError ¶
func (o *RejectInteractionRequestOK) IsClientError() bool
IsClientError returns true when this reject interaction request o k response has a 4xx status code
func (*RejectInteractionRequestOK) IsCode ¶
func (o *RejectInteractionRequestOK) IsCode(code int) bool
IsCode returns true when this reject interaction request o k response a status code equal to that given
func (*RejectInteractionRequestOK) IsRedirect ¶
func (o *RejectInteractionRequestOK) IsRedirect() bool
IsRedirect returns true when this reject interaction request o k response has a 3xx status code
func (*RejectInteractionRequestOK) IsServerError ¶
func (o *RejectInteractionRequestOK) IsServerError() bool
IsServerError returns true when this reject interaction request o k response has a 5xx status code
func (*RejectInteractionRequestOK) IsSuccess ¶
func (o *RejectInteractionRequestOK) IsSuccess() bool
IsSuccess returns true when this reject interaction request o k response has a 2xx status code
func (*RejectInteractionRequestOK) String ¶
func (o *RejectInteractionRequestOK) String() string
type RejectInteractionRequestParams ¶
type RejectInteractionRequestParams struct { /* ID. ID of the interaction request targeting you. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RejectInteractionRequestParams contains all the parameters to send to the API endpoint
for the reject interaction request operation. Typically these are written to a http.Request.
func NewRejectInteractionRequestParams ¶
func NewRejectInteractionRequestParams() *RejectInteractionRequestParams
NewRejectInteractionRequestParams creates a new RejectInteractionRequestParams 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 NewRejectInteractionRequestParamsWithContext ¶
func NewRejectInteractionRequestParamsWithContext(ctx context.Context) *RejectInteractionRequestParams
NewRejectInteractionRequestParamsWithContext creates a new RejectInteractionRequestParams object with the ability to set a context for a request.
func NewRejectInteractionRequestParamsWithHTTPClient ¶
func NewRejectInteractionRequestParamsWithHTTPClient(client *http.Client) *RejectInteractionRequestParams
NewRejectInteractionRequestParamsWithHTTPClient creates a new RejectInteractionRequestParams object with the ability to set a custom HTTPClient for a request.
func NewRejectInteractionRequestParamsWithTimeout ¶
func NewRejectInteractionRequestParamsWithTimeout(timeout time.Duration) *RejectInteractionRequestParams
NewRejectInteractionRequestParamsWithTimeout creates a new RejectInteractionRequestParams object with the ability to set a timeout on a request.
func (*RejectInteractionRequestParams) SetContext ¶
func (o *RejectInteractionRequestParams) SetContext(ctx context.Context)
SetContext adds the context to the reject interaction request params
func (*RejectInteractionRequestParams) SetDefaults ¶
func (o *RejectInteractionRequestParams) SetDefaults()
SetDefaults hydrates default values in the reject interaction request params (not the query body).
All values with no default are reset to their zero value.
func (*RejectInteractionRequestParams) SetHTTPClient ¶
func (o *RejectInteractionRequestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reject interaction request params
func (*RejectInteractionRequestParams) SetID ¶
func (o *RejectInteractionRequestParams) SetID(id string)
SetID adds the id to the reject interaction request params
func (*RejectInteractionRequestParams) SetTimeout ¶
func (o *RejectInteractionRequestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reject interaction request params
func (*RejectInteractionRequestParams) WithContext ¶
func (o *RejectInteractionRequestParams) WithContext(ctx context.Context) *RejectInteractionRequestParams
WithContext adds the context to the reject interaction request params
func (*RejectInteractionRequestParams) WithDefaults ¶
func (o *RejectInteractionRequestParams) WithDefaults() *RejectInteractionRequestParams
WithDefaults hydrates default values in the reject interaction request params (not the query body).
All values with no default are reset to their zero value.
func (*RejectInteractionRequestParams) WithHTTPClient ¶
func (o *RejectInteractionRequestParams) WithHTTPClient(client *http.Client) *RejectInteractionRequestParams
WithHTTPClient adds the HTTPClient to the reject interaction request params
func (*RejectInteractionRequestParams) WithID ¶
func (o *RejectInteractionRequestParams) WithID(id string) *RejectInteractionRequestParams
WithID adds the id to the reject interaction request params
func (*RejectInteractionRequestParams) WithTimeout ¶
func (o *RejectInteractionRequestParams) WithTimeout(timeout time.Duration) *RejectInteractionRequestParams
WithTimeout adds the timeout to the reject interaction request params
func (*RejectInteractionRequestParams) WriteToRequest ¶
func (o *RejectInteractionRequestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RejectInteractionRequestReader ¶
type RejectInteractionRequestReader struct {
// contains filtered or unexported fields
}
RejectInteractionRequestReader is a Reader for the RejectInteractionRequest structure.
func (*RejectInteractionRequestReader) ReadResponse ¶
func (o *RejectInteractionRequestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RejectInteractionRequestUnauthorized ¶
type RejectInteractionRequestUnauthorized struct { }
RejectInteractionRequestUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewRejectInteractionRequestUnauthorized ¶
func NewRejectInteractionRequestUnauthorized() *RejectInteractionRequestUnauthorized
NewRejectInteractionRequestUnauthorized creates a RejectInteractionRequestUnauthorized with default headers values
func (*RejectInteractionRequestUnauthorized) Code ¶
func (o *RejectInteractionRequestUnauthorized) Code() int
Code gets the status code for the reject interaction request unauthorized response
func (*RejectInteractionRequestUnauthorized) Error ¶
func (o *RejectInteractionRequestUnauthorized) Error() string
func (*RejectInteractionRequestUnauthorized) IsClientError ¶
func (o *RejectInteractionRequestUnauthorized) IsClientError() bool
IsClientError returns true when this reject interaction request unauthorized response has a 4xx status code
func (*RejectInteractionRequestUnauthorized) IsCode ¶
func (o *RejectInteractionRequestUnauthorized) IsCode(code int) bool
IsCode returns true when this reject interaction request unauthorized response a status code equal to that given
func (*RejectInteractionRequestUnauthorized) IsRedirect ¶
func (o *RejectInteractionRequestUnauthorized) IsRedirect() bool
IsRedirect returns true when this reject interaction request unauthorized response has a 3xx status code
func (*RejectInteractionRequestUnauthorized) IsServerError ¶
func (o *RejectInteractionRequestUnauthorized) IsServerError() bool
IsServerError returns true when this reject interaction request unauthorized response has a 5xx status code
func (*RejectInteractionRequestUnauthorized) IsSuccess ¶
func (o *RejectInteractionRequestUnauthorized) IsSuccess() bool
IsSuccess returns true when this reject interaction request unauthorized response has a 2xx status code
func (*RejectInteractionRequestUnauthorized) String ¶
func (o *RejectInteractionRequestUnauthorized) String() string
Source Files
¶
- authorize_interaction_request_parameters.go
- authorize_interaction_request_responses.go
- get_interaction_request_parameters.go
- get_interaction_request_responses.go
- get_interaction_requests_parameters.go
- get_interaction_requests_responses.go
- interaction_requests_client.go
- reject_interaction_request_parameters.go
- reject_interaction_request_responses.go