Documentation
¶
Index ¶
- type Client
- func (a *Client) GETReceiveInfo(params *GETReceiveInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GETReceiveInfoOK, *GETReceiveInfoAccepted, error)
- func (a *Client) GETSendInfo(params *GETSendInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GETSendInfoOK, *GETSendInfoAccepted, error)
- func (a *Client) Prepare(params *PrepareParams, authInfo runtime.ClientAuthInfoWriter) (*PrepareOK, *PrepareAccepted, error)
- func (a *Client) Receive(params *ReceiveParams, authInfo runtime.ClientAuthInfoWriter) (*ReceiveOK, *ReceiveAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GETReceiveInfoAccepted
- type GETReceiveInfoForbidden
- type GETReceiveInfoInternalServerError
- type GETReceiveInfoMethodNotAllowed
- type GETReceiveInfoNotAcceptable
- type GETReceiveInfoNotFound
- type GETReceiveInfoOK
- type GETReceiveInfoParams
- func NewGETReceiveInfoParams() *GETReceiveInfoParams
- func NewGETReceiveInfoParamsWithContext(ctx context.Context) *GETReceiveInfoParams
- func NewGETReceiveInfoParamsWithHTTPClient(client *http.Client) *GETReceiveInfoParams
- func NewGETReceiveInfoParamsWithTimeout(timeout time.Duration) *GETReceiveInfoParams
- func (o *GETReceiveInfoParams) SetContext(ctx context.Context)
- func (o *GETReceiveInfoParams) SetHTTPClient(client *http.Client)
- func (o *GETReceiveInfoParams) SetID4N(id4n string)
- func (o *GETReceiveInfoParams) SetTimeout(timeout time.Duration)
- func (o *GETReceiveInfoParams) WithContext(ctx context.Context) *GETReceiveInfoParams
- func (o *GETReceiveInfoParams) WithHTTPClient(client *http.Client) *GETReceiveInfoParams
- func (o *GETReceiveInfoParams) WithID4N(id4n string) *GETReceiveInfoParams
- func (o *GETReceiveInfoParams) WithTimeout(timeout time.Duration) *GETReceiveInfoParams
- func (o *GETReceiveInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GETReceiveInfoReader
- type GETReceiveInfoUnauthorized
- type GETReceiveInfoUnsupportedMediaType
- type GETSendInfoAccepted
- type GETSendInfoForbidden
- type GETSendInfoInternalServerError
- type GETSendInfoMethodNotAllowed
- type GETSendInfoNotAcceptable
- type GETSendInfoNotFound
- type GETSendInfoOK
- type GETSendInfoParams
- func (o *GETSendInfoParams) SetContext(ctx context.Context)
- func (o *GETSendInfoParams) SetHTTPClient(client *http.Client)
- func (o *GETSendInfoParams) SetID4N(id4n string)
- func (o *GETSendInfoParams) SetTimeout(timeout time.Duration)
- func (o *GETSendInfoParams) WithContext(ctx context.Context) *GETSendInfoParams
- func (o *GETSendInfoParams) WithHTTPClient(client *http.Client) *GETSendInfoParams
- func (o *GETSendInfoParams) WithID4N(id4n string) *GETSendInfoParams
- func (o *GETSendInfoParams) WithTimeout(timeout time.Duration) *GETSendInfoParams
- func (o *GETSendInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GETSendInfoReader
- type GETSendInfoUnauthorized
- type GETSendInfoUnsupportedMediaType
- type PrepareAccepted
- type PrepareBadRequest
- type PrepareConflict
- type PrepareForbidden
- type PrepareInternalServerError
- type PrepareMethodNotAllowed
- type PrepareNotAcceptable
- type PrepareNotFound
- type PrepareOK
- type PrepareParams
- func (o *PrepareParams) SetContext(ctx context.Context)
- func (o *PrepareParams) SetHTTPClient(client *http.Client)
- func (o *PrepareParams) SetID4N(id4n string)
- func (o *PrepareParams) SetRequest(request *api_models.TransferSendInfo)
- func (o *PrepareParams) SetTimeout(timeout time.Duration)
- func (o *PrepareParams) WithContext(ctx context.Context) *PrepareParams
- func (o *PrepareParams) WithHTTPClient(client *http.Client) *PrepareParams
- func (o *PrepareParams) WithID4N(id4n string) *PrepareParams
- func (o *PrepareParams) WithRequest(request *api_models.TransferSendInfo) *PrepareParams
- func (o *PrepareParams) WithTimeout(timeout time.Duration) *PrepareParams
- func (o *PrepareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PrepareReader
- type PrepareUnauthorized
- type PrepareUnsupportedMediaType
- type ReceiveAccepted
- type ReceiveBadRequest
- type ReceiveConflict
- type ReceiveForbidden
- type ReceiveInternalServerError
- type ReceiveMethodNotAllowed
- type ReceiveNotAcceptable
- type ReceiveNotFound
- type ReceiveOK
- type ReceiveParams
- func (o *ReceiveParams) SetContext(ctx context.Context)
- func (o *ReceiveParams) SetHTTPClient(client *http.Client)
- func (o *ReceiveParams) SetID4N(id4n string)
- func (o *ReceiveParams) SetRequest(request *api_models.TransferReceiveInfo)
- func (o *ReceiveParams) SetTimeout(timeout time.Duration)
- func (o *ReceiveParams) WithContext(ctx context.Context) *ReceiveParams
- func (o *ReceiveParams) WithHTTPClient(client *http.Client) *ReceiveParams
- func (o *ReceiveParams) WithID4N(id4n string) *ReceiveParams
- func (o *ReceiveParams) WithRequest(request *api_models.TransferReceiveInfo) *ReceiveParams
- func (o *ReceiveParams) WithTimeout(timeout time.Duration) *ReceiveParams
- func (o *ReceiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReceiveReader
- type ReceiveUnauthorized
- type ReceiveUnsupportedMediaType
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 transfer API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new transfer API client.
func (*Client) GETReceiveInfo ¶
func (a *Client) GETReceiveInfo(params *GETReceiveInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GETReceiveInfoOK, *GETReceiveInfoAccepted, error)
GETReceiveInfo shows transfer information
func (*Client) GETSendInfo ¶
func (a *Client) GETSendInfo(params *GETSendInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GETSendInfoOK, *GETSendInfoAccepted, error)
GETSendInfo shows transfer preparation information
func (*Client) Prepare ¶
func (a *Client) Prepare(params *PrepareParams, authInfo runtime.ClientAuthInfoWriter) (*PrepareOK, *PrepareAccepted, error)
Prepare prepares an object for transfer
func (*Client) Receive ¶
func (a *Client) Receive(params *ReceiveParams, authInfo runtime.ClientAuthInfoWriter) (*ReceiveOK, *ReceiveAccepted, error)
Receive transfers a GUID or collection obtaining it i e becoming the holder and if allowed also taking ownership
Taking ownership can be forbidden by a previous owner. See methods prepare and getInfo
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GETReceiveInfoAccepted ¶
type GETReceiveInfoAccepted struct {
}
GETReceiveInfoAccepted handles this case with default header values.
Accepted
func NewGETReceiveInfoAccepted ¶
func NewGETReceiveInfoAccepted() *GETReceiveInfoAccepted
NewGETReceiveInfoAccepted creates a GETReceiveInfoAccepted with default headers values
func (*GETReceiveInfoAccepted) Error ¶
func (o *GETReceiveInfoAccepted) Error() string
type GETReceiveInfoForbidden ¶
type GETReceiveInfoForbidden struct {
Payload *api_models.APIError
}
GETReceiveInfoForbidden handles this case with default header values.
Forbidden
func NewGETReceiveInfoForbidden ¶
func NewGETReceiveInfoForbidden() *GETReceiveInfoForbidden
NewGETReceiveInfoForbidden creates a GETReceiveInfoForbidden with default headers values
func (*GETReceiveInfoForbidden) Error ¶
func (o *GETReceiveInfoForbidden) Error() string
type GETReceiveInfoInternalServerError ¶
type GETReceiveInfoInternalServerError struct {
Payload *api_models.APIError
}
GETReceiveInfoInternalServerError handles this case with default header values.
Internal Server Error
func NewGETReceiveInfoInternalServerError ¶
func NewGETReceiveInfoInternalServerError() *GETReceiveInfoInternalServerError
NewGETReceiveInfoInternalServerError creates a GETReceiveInfoInternalServerError with default headers values
func (*GETReceiveInfoInternalServerError) Error ¶
func (o *GETReceiveInfoInternalServerError) Error() string
type GETReceiveInfoMethodNotAllowed ¶
type GETReceiveInfoMethodNotAllowed struct {
Payload *api_models.APIError
}
GETReceiveInfoMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGETReceiveInfoMethodNotAllowed ¶
func NewGETReceiveInfoMethodNotAllowed() *GETReceiveInfoMethodNotAllowed
NewGETReceiveInfoMethodNotAllowed creates a GETReceiveInfoMethodNotAllowed with default headers values
func (*GETReceiveInfoMethodNotAllowed) Error ¶
func (o *GETReceiveInfoMethodNotAllowed) Error() string
type GETReceiveInfoNotAcceptable ¶
type GETReceiveInfoNotAcceptable struct {
Payload *api_models.APIError
}
GETReceiveInfoNotAcceptable handles this case with default header values.
Not Acceptable
func NewGETReceiveInfoNotAcceptable ¶
func NewGETReceiveInfoNotAcceptable() *GETReceiveInfoNotAcceptable
NewGETReceiveInfoNotAcceptable creates a GETReceiveInfoNotAcceptable with default headers values
func (*GETReceiveInfoNotAcceptable) Error ¶
func (o *GETReceiveInfoNotAcceptable) Error() string
type GETReceiveInfoNotFound ¶
type GETReceiveInfoNotFound struct {
Payload *api_models.APIError
}
GETReceiveInfoNotFound handles this case with default header values.
Not Found
func NewGETReceiveInfoNotFound ¶
func NewGETReceiveInfoNotFound() *GETReceiveInfoNotFound
NewGETReceiveInfoNotFound creates a GETReceiveInfoNotFound with default headers values
func (*GETReceiveInfoNotFound) Error ¶
func (o *GETReceiveInfoNotFound) Error() string
type GETReceiveInfoOK ¶
type GETReceiveInfoOK struct {
Payload *api_models.TransferReceiveInfo
}
GETReceiveInfoOK handles this case with default header values.
OK
func NewGETReceiveInfoOK ¶
func NewGETReceiveInfoOK() *GETReceiveInfoOK
NewGETReceiveInfoOK creates a GETReceiveInfoOK with default headers values
func (*GETReceiveInfoOK) Error ¶
func (o *GETReceiveInfoOK) Error() string
type GETReceiveInfoParams ¶
type GETReceiveInfoParams struct {
/*ID4N
The ID4N to retrieve information about
*/
ID4N string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GETReceiveInfoParams contains all the parameters to send to the API endpoint for the get receive info operation typically these are written to a http.Request
func NewGETReceiveInfoParams ¶
func NewGETReceiveInfoParams() *GETReceiveInfoParams
NewGETReceiveInfoParams creates a new GETReceiveInfoParams object with the default values initialized.
func NewGETReceiveInfoParamsWithContext ¶
func NewGETReceiveInfoParamsWithContext(ctx context.Context) *GETReceiveInfoParams
NewGETReceiveInfoParamsWithContext creates a new GETReceiveInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGETReceiveInfoParamsWithHTTPClient ¶
func NewGETReceiveInfoParamsWithHTTPClient(client *http.Client) *GETReceiveInfoParams
NewGETReceiveInfoParamsWithHTTPClient creates a new GETReceiveInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGETReceiveInfoParamsWithTimeout ¶
func NewGETReceiveInfoParamsWithTimeout(timeout time.Duration) *GETReceiveInfoParams
NewGETReceiveInfoParamsWithTimeout creates a new GETReceiveInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GETReceiveInfoParams) SetContext ¶
func (o *GETReceiveInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get receive info params
func (*GETReceiveInfoParams) SetHTTPClient ¶
func (o *GETReceiveInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get receive info params
func (*GETReceiveInfoParams) SetID4N ¶
func (o *GETReceiveInfoParams) SetID4N(id4n string)
SetID4N adds the id4n to the get receive info params
func (*GETReceiveInfoParams) SetTimeout ¶
func (o *GETReceiveInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get receive info params
func (*GETReceiveInfoParams) WithContext ¶
func (o *GETReceiveInfoParams) WithContext(ctx context.Context) *GETReceiveInfoParams
WithContext adds the context to the get receive info params
func (*GETReceiveInfoParams) WithHTTPClient ¶
func (o *GETReceiveInfoParams) WithHTTPClient(client *http.Client) *GETReceiveInfoParams
WithHTTPClient adds the HTTPClient to the get receive info params
func (*GETReceiveInfoParams) WithID4N ¶
func (o *GETReceiveInfoParams) WithID4N(id4n string) *GETReceiveInfoParams
WithID4N adds the id4n to the get receive info params
func (*GETReceiveInfoParams) WithTimeout ¶
func (o *GETReceiveInfoParams) WithTimeout(timeout time.Duration) *GETReceiveInfoParams
WithTimeout adds the timeout to the get receive info params
func (*GETReceiveInfoParams) WriteToRequest ¶
func (o *GETReceiveInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GETReceiveInfoReader ¶
type GETReceiveInfoReader struct {
// contains filtered or unexported fields
}
GETReceiveInfoReader is a Reader for the GETReceiveInfo structure.
func (*GETReceiveInfoReader) ReadResponse ¶
func (o *GETReceiveInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GETReceiveInfoUnauthorized ¶
type GETReceiveInfoUnauthorized struct {
}
GETReceiveInfoUnauthorized handles this case with default header values.
Unauthorized
func NewGETReceiveInfoUnauthorized ¶
func NewGETReceiveInfoUnauthorized() *GETReceiveInfoUnauthorized
NewGETReceiveInfoUnauthorized creates a GETReceiveInfoUnauthorized with default headers values
func (*GETReceiveInfoUnauthorized) Error ¶
func (o *GETReceiveInfoUnauthorized) Error() string
type GETReceiveInfoUnsupportedMediaType ¶
type GETReceiveInfoUnsupportedMediaType struct {
Payload *api_models.APIError
}
GETReceiveInfoUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewGETReceiveInfoUnsupportedMediaType ¶
func NewGETReceiveInfoUnsupportedMediaType() *GETReceiveInfoUnsupportedMediaType
NewGETReceiveInfoUnsupportedMediaType creates a GETReceiveInfoUnsupportedMediaType with default headers values
func (*GETReceiveInfoUnsupportedMediaType) Error ¶
func (o *GETReceiveInfoUnsupportedMediaType) Error() string
type GETSendInfoAccepted ¶
type GETSendInfoAccepted struct {
}
GETSendInfoAccepted handles this case with default header values.
Accepted
func NewGETSendInfoAccepted ¶
func NewGETSendInfoAccepted() *GETSendInfoAccepted
NewGETSendInfoAccepted creates a GETSendInfoAccepted with default headers values
func (*GETSendInfoAccepted) Error ¶
func (o *GETSendInfoAccepted) Error() string
type GETSendInfoForbidden ¶
type GETSendInfoForbidden struct {
Payload *api_models.APIError
}
GETSendInfoForbidden handles this case with default header values.
Forbidden
func NewGETSendInfoForbidden ¶
func NewGETSendInfoForbidden() *GETSendInfoForbidden
NewGETSendInfoForbidden creates a GETSendInfoForbidden with default headers values
func (*GETSendInfoForbidden) Error ¶
func (o *GETSendInfoForbidden) Error() string
type GETSendInfoInternalServerError ¶
type GETSendInfoInternalServerError struct {
Payload *api_models.APIError
}
GETSendInfoInternalServerError handles this case with default header values.
Internal Server Error
func NewGETSendInfoInternalServerError ¶
func NewGETSendInfoInternalServerError() *GETSendInfoInternalServerError
NewGETSendInfoInternalServerError creates a GETSendInfoInternalServerError with default headers values
func (*GETSendInfoInternalServerError) Error ¶
func (o *GETSendInfoInternalServerError) Error() string
type GETSendInfoMethodNotAllowed ¶
type GETSendInfoMethodNotAllowed struct {
Payload *api_models.APIError
}
GETSendInfoMethodNotAllowed handles this case with default header values.
Method not allowed
func NewGETSendInfoMethodNotAllowed ¶
func NewGETSendInfoMethodNotAllowed() *GETSendInfoMethodNotAllowed
NewGETSendInfoMethodNotAllowed creates a GETSendInfoMethodNotAllowed with default headers values
func (*GETSendInfoMethodNotAllowed) Error ¶
func (o *GETSendInfoMethodNotAllowed) Error() string
type GETSendInfoNotAcceptable ¶
type GETSendInfoNotAcceptable struct {
Payload *api_models.APIError
}
GETSendInfoNotAcceptable handles this case with default header values.
Not Acceptable
func NewGETSendInfoNotAcceptable ¶
func NewGETSendInfoNotAcceptable() *GETSendInfoNotAcceptable
NewGETSendInfoNotAcceptable creates a GETSendInfoNotAcceptable with default headers values
func (*GETSendInfoNotAcceptable) Error ¶
func (o *GETSendInfoNotAcceptable) Error() string
type GETSendInfoNotFound ¶
type GETSendInfoNotFound struct {
Payload *api_models.APIError
}
GETSendInfoNotFound handles this case with default header values.
Not Found
func NewGETSendInfoNotFound ¶
func NewGETSendInfoNotFound() *GETSendInfoNotFound
NewGETSendInfoNotFound creates a GETSendInfoNotFound with default headers values
func (*GETSendInfoNotFound) Error ¶
func (o *GETSendInfoNotFound) Error() string
type GETSendInfoOK ¶
type GETSendInfoOK struct {
Payload *api_models.TransferSendInfo
}
GETSendInfoOK handles this case with default header values.
OK
func NewGETSendInfoOK ¶
func NewGETSendInfoOK() *GETSendInfoOK
NewGETSendInfoOK creates a GETSendInfoOK with default headers values
func (*GETSendInfoOK) Error ¶
func (o *GETSendInfoOK) Error() string
type GETSendInfoParams ¶
type GETSendInfoParams struct {
/*ID4N
The ID4N to retrieve information about
*/
ID4N string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GETSendInfoParams contains all the parameters to send to the API endpoint for the get send info operation typically these are written to a http.Request
func NewGETSendInfoParams ¶
func NewGETSendInfoParams() *GETSendInfoParams
NewGETSendInfoParams creates a new GETSendInfoParams object with the default values initialized.
func NewGETSendInfoParamsWithContext ¶
func NewGETSendInfoParamsWithContext(ctx context.Context) *GETSendInfoParams
NewGETSendInfoParamsWithContext creates a new GETSendInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGETSendInfoParamsWithHTTPClient ¶
func NewGETSendInfoParamsWithHTTPClient(client *http.Client) *GETSendInfoParams
NewGETSendInfoParamsWithHTTPClient creates a new GETSendInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGETSendInfoParamsWithTimeout ¶
func NewGETSendInfoParamsWithTimeout(timeout time.Duration) *GETSendInfoParams
NewGETSendInfoParamsWithTimeout creates a new GETSendInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GETSendInfoParams) SetContext ¶
func (o *GETSendInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get send info params
func (*GETSendInfoParams) SetHTTPClient ¶
func (o *GETSendInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get send info params
func (*GETSendInfoParams) SetID4N ¶
func (o *GETSendInfoParams) SetID4N(id4n string)
SetID4N adds the id4n to the get send info params
func (*GETSendInfoParams) SetTimeout ¶
func (o *GETSendInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get send info params
func (*GETSendInfoParams) WithContext ¶
func (o *GETSendInfoParams) WithContext(ctx context.Context) *GETSendInfoParams
WithContext adds the context to the get send info params
func (*GETSendInfoParams) WithHTTPClient ¶
func (o *GETSendInfoParams) WithHTTPClient(client *http.Client) *GETSendInfoParams
WithHTTPClient adds the HTTPClient to the get send info params
func (*GETSendInfoParams) WithID4N ¶
func (o *GETSendInfoParams) WithID4N(id4n string) *GETSendInfoParams
WithID4N adds the id4n to the get send info params
func (*GETSendInfoParams) WithTimeout ¶
func (o *GETSendInfoParams) WithTimeout(timeout time.Duration) *GETSendInfoParams
WithTimeout adds the timeout to the get send info params
func (*GETSendInfoParams) WriteToRequest ¶
func (o *GETSendInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GETSendInfoReader ¶
type GETSendInfoReader struct {
// contains filtered or unexported fields
}
GETSendInfoReader is a Reader for the GETSendInfo structure.
func (*GETSendInfoReader) ReadResponse ¶
func (o *GETSendInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GETSendInfoUnauthorized ¶
type GETSendInfoUnauthorized struct {
}
GETSendInfoUnauthorized handles this case with default header values.
Unauthorized
func NewGETSendInfoUnauthorized ¶
func NewGETSendInfoUnauthorized() *GETSendInfoUnauthorized
NewGETSendInfoUnauthorized creates a GETSendInfoUnauthorized with default headers values
func (*GETSendInfoUnauthorized) Error ¶
func (o *GETSendInfoUnauthorized) Error() string
type GETSendInfoUnsupportedMediaType ¶
type GETSendInfoUnsupportedMediaType struct {
Payload *api_models.APIError
}
GETSendInfoUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewGETSendInfoUnsupportedMediaType ¶
func NewGETSendInfoUnsupportedMediaType() *GETSendInfoUnsupportedMediaType
NewGETSendInfoUnsupportedMediaType creates a GETSendInfoUnsupportedMediaType with default headers values
func (*GETSendInfoUnsupportedMediaType) Error ¶
func (o *GETSendInfoUnsupportedMediaType) Error() string
type PrepareAccepted ¶
type PrepareAccepted struct {
}
PrepareAccepted handles this case with default header values.
Accepted
func NewPrepareAccepted ¶
func NewPrepareAccepted() *PrepareAccepted
NewPrepareAccepted creates a PrepareAccepted with default headers values
func (*PrepareAccepted) Error ¶
func (o *PrepareAccepted) Error() string
type PrepareBadRequest ¶
type PrepareBadRequest struct {
Payload *api_models.APIError
}
PrepareBadRequest handles this case with default header values.
Bad Request
func NewPrepareBadRequest ¶
func NewPrepareBadRequest() *PrepareBadRequest
NewPrepareBadRequest creates a PrepareBadRequest with default headers values
func (*PrepareBadRequest) Error ¶
func (o *PrepareBadRequest) Error() string
type PrepareConflict ¶
type PrepareConflict struct {
Payload *api_models.APIError
}
PrepareConflict handles this case with default header values.
Conflict
func NewPrepareConflict ¶
func NewPrepareConflict() *PrepareConflict
NewPrepareConflict creates a PrepareConflict with default headers values
func (*PrepareConflict) Error ¶
func (o *PrepareConflict) Error() string
type PrepareForbidden ¶
type PrepareForbidden struct {
Payload *api_models.APIError
}
PrepareForbidden handles this case with default header values.
Forbidden
func NewPrepareForbidden ¶
func NewPrepareForbidden() *PrepareForbidden
NewPrepareForbidden creates a PrepareForbidden with default headers values
func (*PrepareForbidden) Error ¶
func (o *PrepareForbidden) Error() string
type PrepareInternalServerError ¶
type PrepareInternalServerError struct {
Payload *api_models.APIError
}
PrepareInternalServerError handles this case with default header values.
Internal Server Error
func NewPrepareInternalServerError ¶
func NewPrepareInternalServerError() *PrepareInternalServerError
NewPrepareInternalServerError creates a PrepareInternalServerError with default headers values
func (*PrepareInternalServerError) Error ¶
func (o *PrepareInternalServerError) Error() string
type PrepareMethodNotAllowed ¶
type PrepareMethodNotAllowed struct {
Payload *api_models.APIError
}
PrepareMethodNotAllowed handles this case with default header values.
Method not allowed
func NewPrepareMethodNotAllowed ¶
func NewPrepareMethodNotAllowed() *PrepareMethodNotAllowed
NewPrepareMethodNotAllowed creates a PrepareMethodNotAllowed with default headers values
func (*PrepareMethodNotAllowed) Error ¶
func (o *PrepareMethodNotAllowed) Error() string
type PrepareNotAcceptable ¶
type PrepareNotAcceptable struct {
Payload *api_models.APIError
}
PrepareNotAcceptable handles this case with default header values.
Not Acceptable
func NewPrepareNotAcceptable ¶
func NewPrepareNotAcceptable() *PrepareNotAcceptable
NewPrepareNotAcceptable creates a PrepareNotAcceptable with default headers values
func (*PrepareNotAcceptable) Error ¶
func (o *PrepareNotAcceptable) Error() string
type PrepareNotFound ¶
type PrepareNotFound struct {
Payload *api_models.APIError
}
PrepareNotFound handles this case with default header values.
Not Found
func NewPrepareNotFound ¶
func NewPrepareNotFound() *PrepareNotFound
NewPrepareNotFound creates a PrepareNotFound with default headers values
func (*PrepareNotFound) Error ¶
func (o *PrepareNotFound) Error() string
type PrepareOK ¶
type PrepareOK struct {
Payload interface{}
}
PrepareOK handles this case with default header values.
OK
func NewPrepareOK ¶
func NewPrepareOK() *PrepareOK
NewPrepareOK creates a PrepareOK with default headers values
type PrepareParams ¶
type PrepareParams struct {
/*ID4N
The ID4N to prepare for transfer
*/
ID4N string
/*Request
Transfer preparation status
*/
Request *api_models.TransferSendInfo
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PrepareParams contains all the parameters to send to the API endpoint for the prepare operation typically these are written to a http.Request
func NewPrepareParams ¶
func NewPrepareParams() *PrepareParams
NewPrepareParams creates a new PrepareParams object with the default values initialized.
func NewPrepareParamsWithContext ¶
func NewPrepareParamsWithContext(ctx context.Context) *PrepareParams
NewPrepareParamsWithContext creates a new PrepareParams object with the default values initialized, and the ability to set a context for a request
func NewPrepareParamsWithHTTPClient ¶
func NewPrepareParamsWithHTTPClient(client *http.Client) *PrepareParams
NewPrepareParamsWithHTTPClient creates a new PrepareParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPrepareParamsWithTimeout ¶
func NewPrepareParamsWithTimeout(timeout time.Duration) *PrepareParams
NewPrepareParamsWithTimeout creates a new PrepareParams object with the default values initialized, and the ability to set a timeout on a request
func (*PrepareParams) SetContext ¶
func (o *PrepareParams) SetContext(ctx context.Context)
SetContext adds the context to the prepare params
func (*PrepareParams) SetHTTPClient ¶
func (o *PrepareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the prepare params
func (*PrepareParams) SetID4N ¶
func (o *PrepareParams) SetID4N(id4n string)
SetID4N adds the id4n to the prepare params
func (*PrepareParams) SetRequest ¶
func (o *PrepareParams) SetRequest(request *api_models.TransferSendInfo)
SetRequest adds the request to the prepare params
func (*PrepareParams) SetTimeout ¶
func (o *PrepareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the prepare params
func (*PrepareParams) WithContext ¶
func (o *PrepareParams) WithContext(ctx context.Context) *PrepareParams
WithContext adds the context to the prepare params
func (*PrepareParams) WithHTTPClient ¶
func (o *PrepareParams) WithHTTPClient(client *http.Client) *PrepareParams
WithHTTPClient adds the HTTPClient to the prepare params
func (*PrepareParams) WithID4N ¶
func (o *PrepareParams) WithID4N(id4n string) *PrepareParams
WithID4N adds the id4n to the prepare params
func (*PrepareParams) WithRequest ¶
func (o *PrepareParams) WithRequest(request *api_models.TransferSendInfo) *PrepareParams
WithRequest adds the request to the prepare params
func (*PrepareParams) WithTimeout ¶
func (o *PrepareParams) WithTimeout(timeout time.Duration) *PrepareParams
WithTimeout adds the timeout to the prepare params
func (*PrepareParams) WriteToRequest ¶
func (o *PrepareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PrepareReader ¶
type PrepareReader struct {
// contains filtered or unexported fields
}
PrepareReader is a Reader for the Prepare structure.
func (*PrepareReader) ReadResponse ¶
func (o *PrepareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PrepareUnauthorized ¶
type PrepareUnauthorized struct {
}
PrepareUnauthorized handles this case with default header values.
Unauthorized
func NewPrepareUnauthorized ¶
func NewPrepareUnauthorized() *PrepareUnauthorized
NewPrepareUnauthorized creates a PrepareUnauthorized with default headers values
func (*PrepareUnauthorized) Error ¶
func (o *PrepareUnauthorized) Error() string
type PrepareUnsupportedMediaType ¶
type PrepareUnsupportedMediaType struct {
Payload *api_models.APIError
}
PrepareUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewPrepareUnsupportedMediaType ¶
func NewPrepareUnsupportedMediaType() *PrepareUnsupportedMediaType
NewPrepareUnsupportedMediaType creates a PrepareUnsupportedMediaType with default headers values
func (*PrepareUnsupportedMediaType) Error ¶
func (o *PrepareUnsupportedMediaType) Error() string
type ReceiveAccepted ¶
type ReceiveAccepted struct {
}
ReceiveAccepted handles this case with default header values.
Accepted
func NewReceiveAccepted ¶
func NewReceiveAccepted() *ReceiveAccepted
NewReceiveAccepted creates a ReceiveAccepted with default headers values
func (*ReceiveAccepted) Error ¶
func (o *ReceiveAccepted) Error() string
type ReceiveBadRequest ¶
type ReceiveBadRequest struct {
Payload *api_models.APIError
}
ReceiveBadRequest handles this case with default header values.
Bad Request
func NewReceiveBadRequest ¶
func NewReceiveBadRequest() *ReceiveBadRequest
NewReceiveBadRequest creates a ReceiveBadRequest with default headers values
func (*ReceiveBadRequest) Error ¶
func (o *ReceiveBadRequest) Error() string
type ReceiveConflict ¶
type ReceiveConflict struct {
Payload *api_models.APIError
}
ReceiveConflict handles this case with default header values.
Conflict
func NewReceiveConflict ¶
func NewReceiveConflict() *ReceiveConflict
NewReceiveConflict creates a ReceiveConflict with default headers values
func (*ReceiveConflict) Error ¶
func (o *ReceiveConflict) Error() string
type ReceiveForbidden ¶
type ReceiveForbidden struct {
Payload *api_models.APIError
}
ReceiveForbidden handles this case with default header values.
Forbidden
func NewReceiveForbidden ¶
func NewReceiveForbidden() *ReceiveForbidden
NewReceiveForbidden creates a ReceiveForbidden with default headers values
func (*ReceiveForbidden) Error ¶
func (o *ReceiveForbidden) Error() string
type ReceiveInternalServerError ¶
type ReceiveInternalServerError struct {
Payload *api_models.APIError
}
ReceiveInternalServerError handles this case with default header values.
Internal Server Error
func NewReceiveInternalServerError ¶
func NewReceiveInternalServerError() *ReceiveInternalServerError
NewReceiveInternalServerError creates a ReceiveInternalServerError with default headers values
func (*ReceiveInternalServerError) Error ¶
func (o *ReceiveInternalServerError) Error() string
type ReceiveMethodNotAllowed ¶
type ReceiveMethodNotAllowed struct {
Payload *api_models.APIError
}
ReceiveMethodNotAllowed handles this case with default header values.
Method not allowed
func NewReceiveMethodNotAllowed ¶
func NewReceiveMethodNotAllowed() *ReceiveMethodNotAllowed
NewReceiveMethodNotAllowed creates a ReceiveMethodNotAllowed with default headers values
func (*ReceiveMethodNotAllowed) Error ¶
func (o *ReceiveMethodNotAllowed) Error() string
type ReceiveNotAcceptable ¶
type ReceiveNotAcceptable struct {
Payload *api_models.APIError
}
ReceiveNotAcceptable handles this case with default header values.
Not Acceptable
func NewReceiveNotAcceptable ¶
func NewReceiveNotAcceptable() *ReceiveNotAcceptable
NewReceiveNotAcceptable creates a ReceiveNotAcceptable with default headers values
func (*ReceiveNotAcceptable) Error ¶
func (o *ReceiveNotAcceptable) Error() string
type ReceiveNotFound ¶
type ReceiveNotFound struct {
Payload *api_models.APIError
}
ReceiveNotFound handles this case with default header values.
Not Found
func NewReceiveNotFound ¶
func NewReceiveNotFound() *ReceiveNotFound
NewReceiveNotFound creates a ReceiveNotFound with default headers values
func (*ReceiveNotFound) Error ¶
func (o *ReceiveNotFound) Error() string
type ReceiveOK ¶
type ReceiveOK struct {
}
ReceiveOK handles this case with default header values.
OK
func NewReceiveOK ¶
func NewReceiveOK() *ReceiveOK
NewReceiveOK creates a ReceiveOK with default headers values
type ReceiveParams ¶
type ReceiveParams struct {
/*ID4N
This ID4N identifies the object to take hold of
*/
ID4N string
/*Request
Required information to receive an id4n object
*/
Request *api_models.TransferReceiveInfo
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ReceiveParams contains all the parameters to send to the API endpoint for the receive operation typically these are written to a http.Request
func NewReceiveParams ¶
func NewReceiveParams() *ReceiveParams
NewReceiveParams creates a new ReceiveParams object with the default values initialized.
func NewReceiveParamsWithContext ¶
func NewReceiveParamsWithContext(ctx context.Context) *ReceiveParams
NewReceiveParamsWithContext creates a new ReceiveParams object with the default values initialized, and the ability to set a context for a request
func NewReceiveParamsWithHTTPClient ¶
func NewReceiveParamsWithHTTPClient(client *http.Client) *ReceiveParams
NewReceiveParamsWithHTTPClient creates a new ReceiveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewReceiveParamsWithTimeout ¶
func NewReceiveParamsWithTimeout(timeout time.Duration) *ReceiveParams
NewReceiveParamsWithTimeout creates a new ReceiveParams object with the default values initialized, and the ability to set a timeout on a request
func (*ReceiveParams) SetContext ¶
func (o *ReceiveParams) SetContext(ctx context.Context)
SetContext adds the context to the receive params
func (*ReceiveParams) SetHTTPClient ¶
func (o *ReceiveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the receive params
func (*ReceiveParams) SetID4N ¶
func (o *ReceiveParams) SetID4N(id4n string)
SetID4N adds the id4n to the receive params
func (*ReceiveParams) SetRequest ¶
func (o *ReceiveParams) SetRequest(request *api_models.TransferReceiveInfo)
SetRequest adds the request to the receive params
func (*ReceiveParams) SetTimeout ¶
func (o *ReceiveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the receive params
func (*ReceiveParams) WithContext ¶
func (o *ReceiveParams) WithContext(ctx context.Context) *ReceiveParams
WithContext adds the context to the receive params
func (*ReceiveParams) WithHTTPClient ¶
func (o *ReceiveParams) WithHTTPClient(client *http.Client) *ReceiveParams
WithHTTPClient adds the HTTPClient to the receive params
func (*ReceiveParams) WithID4N ¶
func (o *ReceiveParams) WithID4N(id4n string) *ReceiveParams
WithID4N adds the id4n to the receive params
func (*ReceiveParams) WithRequest ¶
func (o *ReceiveParams) WithRequest(request *api_models.TransferReceiveInfo) *ReceiveParams
WithRequest adds the request to the receive params
func (*ReceiveParams) WithTimeout ¶
func (o *ReceiveParams) WithTimeout(timeout time.Duration) *ReceiveParams
WithTimeout adds the timeout to the receive params
func (*ReceiveParams) WriteToRequest ¶
func (o *ReceiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReceiveReader ¶
type ReceiveReader struct {
// contains filtered or unexported fields
}
ReceiveReader is a Reader for the Receive structure.
func (*ReceiveReader) ReadResponse ¶
func (o *ReceiveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReceiveUnauthorized ¶
type ReceiveUnauthorized struct {
}
ReceiveUnauthorized handles this case with default header values.
Unauthorized
func NewReceiveUnauthorized ¶
func NewReceiveUnauthorized() *ReceiveUnauthorized
NewReceiveUnauthorized creates a ReceiveUnauthorized with default headers values
func (*ReceiveUnauthorized) Error ¶
func (o *ReceiveUnauthorized) Error() string
type ReceiveUnsupportedMediaType ¶
type ReceiveUnsupportedMediaType struct {
Payload *api_models.APIError
}
ReceiveUnsupportedMediaType handles this case with default header values.
Unsupported Media Type
func NewReceiveUnsupportedMediaType ¶
func NewReceiveUnsupportedMediaType() *ReceiveUnsupportedMediaType
NewReceiveUnsupportedMediaType creates a ReceiveUnsupportedMediaType with default headers values
func (*ReceiveUnsupportedMediaType) Error ¶
func (o *ReceiveUnsupportedMediaType) Error() string