Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetAppProofsOK
- func (o *GetAppProofsOK) Code() int
- func (o *GetAppProofsOK) Error() string
- func (o *GetAppProofsOK) GetPayload() *models.GetAppProofsResponse
- func (o *GetAppProofsOK) IsClientError() bool
- func (o *GetAppProofsOK) IsCode(code int) bool
- func (o *GetAppProofsOK) IsRedirect() bool
- func (o *GetAppProofsOK) IsServerError() bool
- func (o *GetAppProofsOK) IsSuccess() bool
- func (o *GetAppProofsOK) String() string
- type GetAppProofsParams
- func (o *GetAppProofsParams) SetBody(body *models.GetAppProofsRequest)
- func (o *GetAppProofsParams) SetContext(ctx context.Context)
- func (o *GetAppProofsParams) SetDefaults()
- func (o *GetAppProofsParams) SetHTTPClient(client *http.Client)
- func (o *GetAppProofsParams) SetTimeout(timeout time.Duration)
- func (o *GetAppProofsParams) WithBody(body *models.GetAppProofsRequest) *GetAppProofsParams
- func (o *GetAppProofsParams) WithContext(ctx context.Context) *GetAppProofsParams
- func (o *GetAppProofsParams) WithDefaults() *GetAppProofsParams
- func (o *GetAppProofsParams) WithHTTPClient(client *http.Client) *GetAppProofsParams
- func (o *GetAppProofsParams) WithTimeout(timeout time.Duration) *GetAppProofsParams
- func (o *GetAppProofsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppProofsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for app proof API
func (*Client) GetAppProofs ¶
func (a *Client) GetAppProofs(params *GetAppProofsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAppProofsOK, error)
GetAppProofs lists app proofs for an activity
List the app proofs for the given activity.
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 is the option for Client methods
type ClientService ¶
type ClientService interface {
GetAppProofs(params *GetAppProofsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAppProofsOK, 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 app proof API client.
type GetAppProofsOK ¶
type GetAppProofsOK struct {
Payload *models.GetAppProofsResponse
}
GetAppProofsOK describes a response with status code 200, with default header values.
A successful response.
func NewGetAppProofsOK ¶
func NewGetAppProofsOK() *GetAppProofsOK
NewGetAppProofsOK creates a GetAppProofsOK with default headers values
func (*GetAppProofsOK) Code ¶
func (o *GetAppProofsOK) Code() int
Code gets the status code for the get app proofs o k response
func (*GetAppProofsOK) Error ¶
func (o *GetAppProofsOK) Error() string
func (*GetAppProofsOK) GetPayload ¶
func (o *GetAppProofsOK) GetPayload() *models.GetAppProofsResponse
func (*GetAppProofsOK) IsClientError ¶
func (o *GetAppProofsOK) IsClientError() bool
IsClientError returns true when this get app proofs o k response has a 4xx status code
func (*GetAppProofsOK) IsCode ¶
func (o *GetAppProofsOK) IsCode(code int) bool
IsCode returns true when this get app proofs o k response a status code equal to that given
func (*GetAppProofsOK) IsRedirect ¶
func (o *GetAppProofsOK) IsRedirect() bool
IsRedirect returns true when this get app proofs o k response has a 3xx status code
func (*GetAppProofsOK) IsServerError ¶
func (o *GetAppProofsOK) IsServerError() bool
IsServerError returns true when this get app proofs o k response has a 5xx status code
func (*GetAppProofsOK) IsSuccess ¶
func (o *GetAppProofsOK) IsSuccess() bool
IsSuccess returns true when this get app proofs o k response has a 2xx status code
func (*GetAppProofsOK) String ¶
func (o *GetAppProofsOK) String() string
type GetAppProofsParams ¶
type GetAppProofsParams struct {
// Body.
Body *models.GetAppProofsRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetAppProofsParams contains all the parameters to send to the API endpoint
for the get app proofs operation. Typically these are written to a http.Request.
func NewGetAppProofsParams ¶
func NewGetAppProofsParams() *GetAppProofsParams
NewGetAppProofsParams creates a new GetAppProofsParams 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 NewGetAppProofsParamsWithContext ¶
func NewGetAppProofsParamsWithContext(ctx context.Context) *GetAppProofsParams
NewGetAppProofsParamsWithContext creates a new GetAppProofsParams object with the ability to set a context for a request.
func NewGetAppProofsParamsWithHTTPClient ¶
func NewGetAppProofsParamsWithHTTPClient(client *http.Client) *GetAppProofsParams
NewGetAppProofsParamsWithHTTPClient creates a new GetAppProofsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAppProofsParamsWithTimeout ¶
func NewGetAppProofsParamsWithTimeout(timeout time.Duration) *GetAppProofsParams
NewGetAppProofsParamsWithTimeout creates a new GetAppProofsParams object with the ability to set a timeout on a request.
func (*GetAppProofsParams) SetBody ¶
func (o *GetAppProofsParams) SetBody(body *models.GetAppProofsRequest)
SetBody adds the body to the get app proofs params
func (*GetAppProofsParams) SetContext ¶
func (o *GetAppProofsParams) SetContext(ctx context.Context)
SetContext adds the context to the get app proofs params
func (*GetAppProofsParams) SetDefaults ¶
func (o *GetAppProofsParams) SetDefaults()
SetDefaults hydrates default values in the get app proofs params (not the query body).
All values with no default are reset to their zero value.
func (*GetAppProofsParams) SetHTTPClient ¶
func (o *GetAppProofsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get app proofs params
func (*GetAppProofsParams) SetTimeout ¶
func (o *GetAppProofsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get app proofs params
func (*GetAppProofsParams) WithBody ¶
func (o *GetAppProofsParams) WithBody(body *models.GetAppProofsRequest) *GetAppProofsParams
WithBody adds the body to the get app proofs params
func (*GetAppProofsParams) WithContext ¶
func (o *GetAppProofsParams) WithContext(ctx context.Context) *GetAppProofsParams
WithContext adds the context to the get app proofs params
func (*GetAppProofsParams) WithDefaults ¶
func (o *GetAppProofsParams) WithDefaults() *GetAppProofsParams
WithDefaults hydrates default values in the get app proofs params (not the query body).
All values with no default are reset to their zero value.
func (*GetAppProofsParams) WithHTTPClient ¶
func (o *GetAppProofsParams) WithHTTPClient(client *http.Client) *GetAppProofsParams
WithHTTPClient adds the HTTPClient to the get app proofs params
func (*GetAppProofsParams) WithTimeout ¶
func (o *GetAppProofsParams) WithTimeout(timeout time.Duration) *GetAppProofsParams
WithTimeout adds the timeout to the get app proofs params
func (*GetAppProofsParams) WriteToRequest ¶
func (o *GetAppProofsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppProofsReader ¶
type GetAppProofsReader struct {
// contains filtered or unexported fields
}
GetAppProofsReader is a Reader for the GetAppProofs structure.
func (*GetAppProofsReader) ReadResponse ¶
func (o *GetAppProofsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.