interaction_requests

package
v0.19.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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

Code gets the status code for the authorize interaction request bad request response

func (*AuthorizeInteractionRequestBadRequest) Error

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

IsCode returns true when this authorize interaction request bad request response a status code equal to that given

func (*AuthorizeInteractionRequestBadRequest) IsRedirect

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

IsSuccess returns true when this authorize interaction request bad request response has a 2xx status code

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

Code gets the status code for the authorize interaction request internal server error response

func (*AuthorizeInteractionRequestInternalServerError) Error

func (*AuthorizeInteractionRequestInternalServerError) IsClientError

IsClientError returns true when this authorize interaction request internal server error response has a 4xx status code

func (*AuthorizeInteractionRequestInternalServerError) IsCode

IsCode returns true when this authorize interaction request internal server error response a status code equal to that given

func (*AuthorizeInteractionRequestInternalServerError) IsRedirect

IsRedirect returns true when this authorize interaction request internal server error response has a 3xx status code

func (*AuthorizeInteractionRequestInternalServerError) IsServerError

IsServerError returns true when this authorize interaction request internal server error response has a 5xx status code

func (*AuthorizeInteractionRequestInternalServerError) IsSuccess

IsSuccess returns true when this authorize interaction request internal server error response has a 2xx status code

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

Code gets the status code for the authorize interaction request not acceptable response

func (*AuthorizeInteractionRequestNotAcceptable) Error

func (*AuthorizeInteractionRequestNotAcceptable) IsClientError

IsClientError returns true when this authorize interaction request not acceptable response has a 4xx status code

func (*AuthorizeInteractionRequestNotAcceptable) IsCode

IsCode returns true when this authorize interaction request not acceptable response a status code equal to that given

func (*AuthorizeInteractionRequestNotAcceptable) IsRedirect

IsRedirect returns true when this authorize interaction request not acceptable response has a 3xx status code

func (*AuthorizeInteractionRequestNotAcceptable) IsServerError

IsServerError returns true when this authorize interaction request not acceptable response has a 5xx status code

func (*AuthorizeInteractionRequestNotAcceptable) IsSuccess

IsSuccess returns true when this authorize interaction request not acceptable response has a 2xx status code

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

Code gets the status code for the authorize interaction request not found response

func (*AuthorizeInteractionRequestNotFound) Error

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

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

IsSuccess returns true when this authorize interaction request not found response has a 2xx status code

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

Code gets the status code for the authorize interaction request o k response

func (*AuthorizeInteractionRequestOK) Error

func (*AuthorizeInteractionRequestOK) GetPayload

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

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

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

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

WithContext adds the context to the authorize interaction request params

func (*AuthorizeInteractionRequestParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the authorize interaction request params

func (*AuthorizeInteractionRequestParams) WithID

WithID adds the id to the authorize interaction request params

func (*AuthorizeInteractionRequestParams) WithTimeout

WithTimeout adds the timeout to the authorize interaction request params

func (*AuthorizeInteractionRequestParams) WriteToRequest

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

Code gets the status code for the authorize interaction request unauthorized response

func (*AuthorizeInteractionRequestUnauthorized) Error

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

IsCode returns true when this authorize interaction request unauthorized response a status code equal to that given

func (*AuthorizeInteractionRequestUnauthorized) IsRedirect

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

IsSuccess returns true when this authorize interaction request unauthorized response has a 2xx status code

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

Code gets the status code for the get interaction request bad request response

func (*GetInteractionRequestBadRequest) Error

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

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

Code gets the status code for the get interaction request internal server error response

func (*GetInteractionRequestInternalServerError) Error

func (*GetInteractionRequestInternalServerError) IsClientError

IsClientError returns true when this get interaction request internal server error response has a 4xx status code

func (*GetInteractionRequestInternalServerError) IsCode

IsCode returns true when this get interaction request internal server error response a status code equal to that given

func (*GetInteractionRequestInternalServerError) IsRedirect

IsRedirect returns true when this get interaction request internal server error response has a 3xx status code

func (*GetInteractionRequestInternalServerError) IsServerError

IsServerError returns true when this get interaction request internal server error response has a 5xx status code

func (*GetInteractionRequestInternalServerError) IsSuccess

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

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

Code gets the status code for the get interaction request not acceptable response

func (*GetInteractionRequestNotAcceptable) Error

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

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

IsSuccess returns true when this get interaction request not acceptable response has a 2xx status code

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

Code gets the status code for the get interaction request not found response

func (*GetInteractionRequestNotFound) Error

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

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

WithContext adds the context to the get interaction request params

func (*GetInteractionRequestParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get interaction request params

func (*GetInteractionRequestParams) WithID

WithID adds the id to the get interaction request params

func (*GetInteractionRequestParams) WithTimeout

WithTimeout adds the timeout to the get interaction request params

func (*GetInteractionRequestParams) WriteToRequest

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

Code gets the status code for the get interaction request unauthorized response

func (*GetInteractionRequestUnauthorized) Error

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

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

Code gets the status code for the get interaction requests bad request response

func (*GetInteractionRequestsBadRequest) Error

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

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

Code gets the status code for the get interaction requests internal server error response

func (*GetInteractionRequestsInternalServerError) Error

func (*GetInteractionRequestsInternalServerError) IsClientError

IsClientError returns true when this get interaction requests internal server error response has a 4xx status code

func (*GetInteractionRequestsInternalServerError) IsCode

IsCode returns true when this get interaction requests internal server error response a status code equal to that given

func (*GetInteractionRequestsInternalServerError) IsRedirect

IsRedirect returns true when this get interaction requests internal server error response has a 3xx status code

func (*GetInteractionRequestsInternalServerError) IsServerError

IsServerError returns true when this get interaction requests internal server error response has a 5xx status code

func (*GetInteractionRequestsInternalServerError) IsSuccess

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

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

Code gets the status code for the get interaction requests not acceptable response

func (*GetInteractionRequestsNotAcceptable) Error

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

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

IsSuccess returns true when this get interaction requests not acceptable response has a 2xx status code

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

Code gets the status code for the get interaction requests not found response

func (*GetInteractionRequestsNotFound) Error

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

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

WithContext adds the context to the get interaction requests params

func (*GetInteractionRequestsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get interaction requests params

func (*GetInteractionRequestsParams) WithLimit

WithLimit adds the limit to the get interaction requests params

func (*GetInteractionRequestsParams) WithMaxID

WithMaxID adds the maxID to the get interaction requests params

func (*GetInteractionRequestsParams) WithMinID

WithMinID adds the minID to the get interaction requests params

func (*GetInteractionRequestsParams) WithReblogs

WithReblogs adds the reblogs to the get interaction requests params

func (*GetInteractionRequestsParams) WithReplies

WithReplies adds the replies to the get interaction requests params

func (*GetInteractionRequestsParams) WithSinceID

WithSinceID adds the sinceID to the get interaction requests params

func (*GetInteractionRequestsParams) WithStatusID

WithStatusID adds the statusID to the get interaction requests params

func (*GetInteractionRequestsParams) WithTimeout

WithTimeout adds the timeout to the get interaction requests params

func (*GetInteractionRequestsParams) WriteToRequest

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

Code gets the status code for the get interaction requests unauthorized response

func (*GetInteractionRequestsUnauthorized) Error

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

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

IsSuccess returns true when this get interaction requests unauthorized response has a 2xx status code

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

Code gets the status code for the reject interaction request bad request response

func (*RejectInteractionRequestBadRequest) Error

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

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

IsSuccess returns true when this reject interaction request bad request response has a 2xx status code

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

Code gets the status code for the reject interaction request internal server error response

func (*RejectInteractionRequestInternalServerError) Error

func (*RejectInteractionRequestInternalServerError) IsClientError

IsClientError returns true when this reject interaction request internal server error response has a 4xx status code

func (*RejectInteractionRequestInternalServerError) IsCode

IsCode returns true when this reject interaction request internal server error response a status code equal to that given

func (*RejectInteractionRequestInternalServerError) IsRedirect

IsRedirect returns true when this reject interaction request internal server error response has a 3xx status code

func (*RejectInteractionRequestInternalServerError) IsServerError

IsServerError returns true when this reject interaction request internal server error response has a 5xx status code

func (*RejectInteractionRequestInternalServerError) IsSuccess

IsSuccess returns true when this reject interaction request internal server error response has a 2xx status code

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

Code gets the status code for the reject interaction request not acceptable response

func (*RejectInteractionRequestNotAcceptable) Error

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

IsCode returns true when this reject interaction request not acceptable response a status code equal to that given

func (*RejectInteractionRequestNotAcceptable) IsRedirect

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

IsSuccess returns true when this reject interaction request not acceptable response has a 2xx status code

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

Code gets the status code for the reject interaction request not found response

func (*RejectInteractionRequestNotFound) Error

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

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 (*RejectInteractionRequestOK) GetPayload

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

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

WithContext adds the context to the reject interaction request params

func (*RejectInteractionRequestParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the reject interaction request params

func (*RejectInteractionRequestParams) WithID

WithID adds the id to the reject interaction request params

func (*RejectInteractionRequestParams) WithTimeout

WithTimeout adds the timeout to the reject interaction request params

func (*RejectInteractionRequestParams) WriteToRequest

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

Code gets the status code for the reject interaction request unauthorized response

func (*RejectInteractionRequestUnauthorized) Error

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

IsCode returns true when this reject interaction request unauthorized response a status code equal to that given

func (*RejectInteractionRequestUnauthorized) IsRedirect

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

IsSuccess returns true when this reject interaction request unauthorized response has a 2xx status code

func (*RejectInteractionRequestUnauthorized) String

Jump to

Keyboard shortcuts

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