Documentation ¶
Index ¶
- Constants
- type GetDoubleBakingsList
- type GetDoubleBakingsListBadRequest
- type GetDoubleBakingsListHandler
- type GetDoubleBakingsListHandlerFunc
- type GetDoubleBakingsListNotFound
- type GetDoubleBakingsListOK
- func (o *GetDoubleBakingsListOK) SetPayload(payload []*models.OperationsRow)
- func (o *GetDoubleBakingsListOK) SetXTotalCount(xTotalCount int64)
- func (o *GetDoubleBakingsListOK) WithPayload(payload []*models.OperationsRow) *GetDoubleBakingsListOK
- func (o *GetDoubleBakingsListOK) WithXTotalCount(xTotalCount int64) *GetDoubleBakingsListOK
- func (o *GetDoubleBakingsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDoubleBakingsListParams
- type GetDoubleBakingsListURL
- func (o *GetDoubleBakingsListURL) Build() (*url.URL, error)
- func (o *GetDoubleBakingsListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDoubleBakingsListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDoubleBakingsListURL) SetBasePath(bp string)
- func (o *GetDoubleBakingsListURL) String() string
- func (o *GetDoubleBakingsListURL) StringFull(scheme, host string) string
- func (o *GetDoubleBakingsListURL) WithBasePath(bp string) *GetDoubleBakingsListURL
- type GetDoubleEndorsementsList
- type GetDoubleEndorsementsListBadRequest
- type GetDoubleEndorsementsListHandler
- type GetDoubleEndorsementsListHandlerFunc
- type GetDoubleEndorsementsListNotFound
- type GetDoubleEndorsementsListOK
- func (o *GetDoubleEndorsementsListOK) SetPayload(payload []*models.OperationsRow)
- func (o *GetDoubleEndorsementsListOK) SetXTotalCount(xTotalCount int64)
- func (o *GetDoubleEndorsementsListOK) WithPayload(payload []*models.OperationsRow) *GetDoubleEndorsementsListOK
- func (o *GetDoubleEndorsementsListOK) WithXTotalCount(xTotalCount int64) *GetDoubleEndorsementsListOK
- func (o *GetDoubleEndorsementsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDoubleEndorsementsListParams
- type GetDoubleEndorsementsListURL
- func (o *GetDoubleEndorsementsListURL) Build() (*url.URL, error)
- func (o *GetDoubleEndorsementsListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDoubleEndorsementsListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDoubleEndorsementsListURL) SetBasePath(bp string)
- func (o *GetDoubleEndorsementsListURL) String() string
- func (o *GetDoubleEndorsementsListURL) StringFull(scheme, host string) string
- func (o *GetDoubleEndorsementsListURL) WithBasePath(bp string) *GetDoubleEndorsementsListURL
- type GetOperationsList
- type GetOperationsListBadRequest
- type GetOperationsListHandler
- type GetOperationsListHandlerFunc
- type GetOperationsListNotFound
- type GetOperationsListOK
- func (o *GetOperationsListOK) SetPayload(payload []*models.OperationsRow)
- func (o *GetOperationsListOK) SetXTotalCount(xTotalCount int64)
- func (o *GetOperationsListOK) WithPayload(payload []*models.OperationsRow) *GetOperationsListOK
- func (o *GetOperationsListOK) WithXTotalCount(xTotalCount int64) *GetOperationsListOK
- func (o *GetOperationsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetOperationsListParams
- type GetOperationsListURL
- func (o *GetOperationsListURL) Build() (*url.URL, error)
- func (o *GetOperationsListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetOperationsListURL) Must(u *url.URL, err error) *url.URL
- func (o *GetOperationsListURL) SetBasePath(bp string)
- func (o *GetOperationsListURL) String() string
- func (o *GetOperationsListURL) StringFull(scheme, host string) string
- func (o *GetOperationsListURL) WithBasePath(bp string) *GetOperationsListURL
- type GetWhaleTranfers
- type GetWhaleTranfersBadRequest
- type GetWhaleTranfersHandler
- type GetWhaleTranfersHandlerFunc
- type GetWhaleTranfersInternalServerError
- type GetWhaleTranfersNotFound
- type GetWhaleTranfersOK
- type GetWhaleTranfersParams
- type GetWhaleTranfersURL
- func (o *GetWhaleTranfersURL) Build() (*url.URL, error)
- func (o *GetWhaleTranfersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetWhaleTranfersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetWhaleTranfersURL) SetBasePath(bp string)
- func (o *GetWhaleTranfersURL) String() string
- func (o *GetWhaleTranfersURL) StringFull(scheme, host string) string
- func (o *GetWhaleTranfersURL) WithBasePath(bp string) *GetWhaleTranfersURL
Constants ¶
const GetDoubleBakingsListBadRequestCode int = 400
GetDoubleBakingsListBadRequestCode is the HTTP code returned for type GetDoubleBakingsListBadRequest
const GetDoubleBakingsListNotFoundCode int = 404
GetDoubleBakingsListNotFoundCode is the HTTP code returned for type GetDoubleBakingsListNotFound
const GetDoubleBakingsListOKCode int = 200
GetDoubleBakingsListOKCode is the HTTP code returned for type GetDoubleBakingsListOK
const GetDoubleEndorsementsListBadRequestCode int = 400
GetDoubleEndorsementsListBadRequestCode is the HTTP code returned for type GetDoubleEndorsementsListBadRequest
const GetDoubleEndorsementsListNotFoundCode int = 404
GetDoubleEndorsementsListNotFoundCode is the HTTP code returned for type GetDoubleEndorsementsListNotFound
const GetDoubleEndorsementsListOKCode int = 200
GetDoubleEndorsementsListOKCode is the HTTP code returned for type GetDoubleEndorsementsListOK
const GetOperationsListBadRequestCode int = 400
GetOperationsListBadRequestCode is the HTTP code returned for type GetOperationsListBadRequest
const GetOperationsListNotFoundCode int = 404
GetOperationsListNotFoundCode is the HTTP code returned for type GetOperationsListNotFound
const GetOperationsListOKCode int = 200
GetOperationsListOKCode is the HTTP code returned for type GetOperationsListOK
const GetWhaleTranfersBadRequestCode int = 400
GetWhaleTranfersBadRequestCode is the HTTP code returned for type GetWhaleTranfersBadRequest
const GetWhaleTranfersInternalServerErrorCode int = 500
GetWhaleTranfersInternalServerErrorCode is the HTTP code returned for type GetWhaleTranfersInternalServerError
const GetWhaleTranfersNotFoundCode int = 404
GetWhaleTranfersNotFoundCode is the HTTP code returned for type GetWhaleTranfersNotFound
const GetWhaleTranfersOKCode int = 200
GetWhaleTranfersOKCode is the HTTP code returned for type GetWhaleTranfersOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDoubleBakingsList ¶
type GetDoubleBakingsList struct { Context *middleware.Context Handler GetDoubleBakingsListHandler }
GetDoubleBakingsList swagger:route GET /v2/data/{platform}/{network}/double_bakings OperationsList getDoubleBakingsList
GetDoubleBakingsList get double bakings list API
func NewGetDoubleBakingsList ¶
func NewGetDoubleBakingsList(ctx *middleware.Context, handler GetDoubleBakingsListHandler) *GetDoubleBakingsList
NewGetDoubleBakingsList creates a new http.Handler for the get double bakings list operation
func (*GetDoubleBakingsList) ServeHTTP ¶
func (o *GetDoubleBakingsList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDoubleBakingsListBadRequest ¶
type GetDoubleBakingsListBadRequest struct { }
GetDoubleBakingsListBadRequest Bad request
swagger:response getDoubleBakingsListBadRequest
func NewGetDoubleBakingsListBadRequest ¶
func NewGetDoubleBakingsListBadRequest() *GetDoubleBakingsListBadRequest
NewGetDoubleBakingsListBadRequest creates GetDoubleBakingsListBadRequest with default headers values
func (*GetDoubleBakingsListBadRequest) WriteResponse ¶
func (o *GetDoubleBakingsListBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDoubleBakingsListHandler ¶
type GetDoubleBakingsListHandler interface {
Handle(GetDoubleBakingsListParams) middleware.Responder
}
GetDoubleBakingsListHandler interface for that can handle valid get double bakings list params
type GetDoubleBakingsListHandlerFunc ¶
type GetDoubleBakingsListHandlerFunc func(GetDoubleBakingsListParams) middleware.Responder
GetDoubleBakingsListHandlerFunc turns a function with the right signature into a get double bakings list handler
func (GetDoubleBakingsListHandlerFunc) Handle ¶
func (fn GetDoubleBakingsListHandlerFunc) Handle(params GetDoubleBakingsListParams) middleware.Responder
Handle executing the request and returning a response
type GetDoubleBakingsListNotFound ¶
type GetDoubleBakingsListNotFound struct { }
GetDoubleBakingsListNotFound Not Found
swagger:response getDoubleBakingsListNotFound
func NewGetDoubleBakingsListNotFound ¶
func NewGetDoubleBakingsListNotFound() *GetDoubleBakingsListNotFound
NewGetDoubleBakingsListNotFound creates GetDoubleBakingsListNotFound with default headers values
func (*GetDoubleBakingsListNotFound) WriteResponse ¶
func (o *GetDoubleBakingsListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDoubleBakingsListOK ¶
type GetDoubleBakingsListOK struct { /*The total number of data entries. */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.OperationsRow `json:"body,omitempty"` }
GetDoubleBakingsListOK Query compatibility endpoint for operations
swagger:response getDoubleBakingsListOK
func NewGetDoubleBakingsListOK ¶
func NewGetDoubleBakingsListOK() *GetDoubleBakingsListOK
NewGetDoubleBakingsListOK creates GetDoubleBakingsListOK with default headers values
func (*GetDoubleBakingsListOK) SetPayload ¶
func (o *GetDoubleBakingsListOK) SetPayload(payload []*models.OperationsRow)
SetPayload sets the payload to the get double bakings list o k response
func (*GetDoubleBakingsListOK) SetXTotalCount ¶
func (o *GetDoubleBakingsListOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get double bakings list o k response
func (*GetDoubleBakingsListOK) WithPayload ¶
func (o *GetDoubleBakingsListOK) WithPayload(payload []*models.OperationsRow) *GetDoubleBakingsListOK
WithPayload adds the payload to the get double bakings list o k response
func (*GetDoubleBakingsListOK) WithXTotalCount ¶
func (o *GetDoubleBakingsListOK) WithXTotalCount(xTotalCount int64) *GetDoubleBakingsListOK
WithXTotalCount adds the xTotalCount to the get double bakings list o k response
func (*GetDoubleBakingsListOK) WriteResponse ¶
func (o *GetDoubleBakingsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDoubleBakingsListParams ¶
type GetDoubleBakingsListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query Collection Format: multi */ AccountID []string /* In: query Collection Format: multi */ BlockID []string /*Not used In: query Collection Format: multi */ BlockLevel []int64 /* Maximum: 500 Minimum: 1 In: query Default: 20 */ Limit *int64 /*Not used Required: true In: path */ Network string /*Offset Minimum: 0 In: query Default: 0 */ Offset *int64 /*Operation hash In: query Collection Format: multi */ OperationID []string /*Not used Required: true In: path */ Platform string }
GetDoubleBakingsListParams contains all the bound params for the get double bakings list operation typically these are obtained from a http.Request
swagger:parameters getDoubleBakingsList
func NewGetDoubleBakingsListParams ¶
func NewGetDoubleBakingsListParams() GetDoubleBakingsListParams
NewGetDoubleBakingsListParams creates a new GetDoubleBakingsListParams object with the default values initialized.
func (*GetDoubleBakingsListParams) BindRequest ¶
func (o *GetDoubleBakingsListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDoubleBakingsListParams() beforehand.
type GetDoubleBakingsListURL ¶
type GetDoubleBakingsListURL struct { Network string Platform string AccountID []string BlockID []string BlockLevel []int64 Limit *int64 Offset *int64 OperationID []string // contains filtered or unexported fields }
GetDoubleBakingsListURL generates an URL for the get double bakings list operation
func (*GetDoubleBakingsListURL) Build ¶
func (o *GetDoubleBakingsListURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDoubleBakingsListURL) BuildFull ¶
func (o *GetDoubleBakingsListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDoubleBakingsListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDoubleBakingsListURL) SetBasePath ¶
func (o *GetDoubleBakingsListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDoubleBakingsListURL) String ¶
func (o *GetDoubleBakingsListURL) String() string
String returns the string representation of the path with query string
func (*GetDoubleBakingsListURL) StringFull ¶
func (o *GetDoubleBakingsListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDoubleBakingsListURL) WithBasePath ¶
func (o *GetDoubleBakingsListURL) WithBasePath(bp string) *GetDoubleBakingsListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDoubleEndorsementsList ¶
type GetDoubleEndorsementsList struct { Context *middleware.Context Handler GetDoubleEndorsementsListHandler }
GetDoubleEndorsementsList swagger:route GET /v2/data/{platform}/{network}/double_endorsements OperationsList getDoubleEndorsementsList
GetDoubleEndorsementsList get double endorsements list API
func NewGetDoubleEndorsementsList ¶
func NewGetDoubleEndorsementsList(ctx *middleware.Context, handler GetDoubleEndorsementsListHandler) *GetDoubleEndorsementsList
NewGetDoubleEndorsementsList creates a new http.Handler for the get double endorsements list operation
func (*GetDoubleEndorsementsList) ServeHTTP ¶
func (o *GetDoubleEndorsementsList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDoubleEndorsementsListBadRequest ¶
type GetDoubleEndorsementsListBadRequest struct { }
GetDoubleEndorsementsListBadRequest Bad request
swagger:response getDoubleEndorsementsListBadRequest
func NewGetDoubleEndorsementsListBadRequest ¶
func NewGetDoubleEndorsementsListBadRequest() *GetDoubleEndorsementsListBadRequest
NewGetDoubleEndorsementsListBadRequest creates GetDoubleEndorsementsListBadRequest with default headers values
func (*GetDoubleEndorsementsListBadRequest) WriteResponse ¶
func (o *GetDoubleEndorsementsListBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDoubleEndorsementsListHandler ¶
type GetDoubleEndorsementsListHandler interface {
Handle(GetDoubleEndorsementsListParams) middleware.Responder
}
GetDoubleEndorsementsListHandler interface for that can handle valid get double endorsements list params
type GetDoubleEndorsementsListHandlerFunc ¶
type GetDoubleEndorsementsListHandlerFunc func(GetDoubleEndorsementsListParams) middleware.Responder
GetDoubleEndorsementsListHandlerFunc turns a function with the right signature into a get double endorsements list handler
func (GetDoubleEndorsementsListHandlerFunc) Handle ¶
func (fn GetDoubleEndorsementsListHandlerFunc) Handle(params GetDoubleEndorsementsListParams) middleware.Responder
Handle executing the request and returning a response
type GetDoubleEndorsementsListNotFound ¶
type GetDoubleEndorsementsListNotFound struct { }
GetDoubleEndorsementsListNotFound Not Found
swagger:response getDoubleEndorsementsListNotFound
func NewGetDoubleEndorsementsListNotFound ¶
func NewGetDoubleEndorsementsListNotFound() *GetDoubleEndorsementsListNotFound
NewGetDoubleEndorsementsListNotFound creates GetDoubleEndorsementsListNotFound with default headers values
func (*GetDoubleEndorsementsListNotFound) WriteResponse ¶
func (o *GetDoubleEndorsementsListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDoubleEndorsementsListOK ¶
type GetDoubleEndorsementsListOK struct { /*The total number of data entries. */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.OperationsRow `json:"body,omitempty"` }
GetDoubleEndorsementsListOK Query compatibility endpoint for operations
swagger:response getDoubleEndorsementsListOK
func NewGetDoubleEndorsementsListOK ¶
func NewGetDoubleEndorsementsListOK() *GetDoubleEndorsementsListOK
NewGetDoubleEndorsementsListOK creates GetDoubleEndorsementsListOK with default headers values
func (*GetDoubleEndorsementsListOK) SetPayload ¶
func (o *GetDoubleEndorsementsListOK) SetPayload(payload []*models.OperationsRow)
SetPayload sets the payload to the get double endorsements list o k response
func (*GetDoubleEndorsementsListOK) SetXTotalCount ¶
func (o *GetDoubleEndorsementsListOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get double endorsements list o k response
func (*GetDoubleEndorsementsListOK) WithPayload ¶
func (o *GetDoubleEndorsementsListOK) WithPayload(payload []*models.OperationsRow) *GetDoubleEndorsementsListOK
WithPayload adds the payload to the get double endorsements list o k response
func (*GetDoubleEndorsementsListOK) WithXTotalCount ¶
func (o *GetDoubleEndorsementsListOK) WithXTotalCount(xTotalCount int64) *GetDoubleEndorsementsListOK
WithXTotalCount adds the xTotalCount to the get double endorsements list o k response
func (*GetDoubleEndorsementsListOK) WriteResponse ¶
func (o *GetDoubleEndorsementsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDoubleEndorsementsListParams ¶
type GetDoubleEndorsementsListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query Collection Format: multi */ AccountID []string /* In: query Collection Format: multi */ BlockID []string /*Not used In: query Collection Format: multi */ BlockLevel []int64 /* Maximum: 500 Minimum: 1 In: query Default: 20 */ Limit *int64 /*Not used Required: true In: path */ Network string /*Offset Minimum: 0 In: query Default: 0 */ Offset *int64 /*Operation hash In: query Collection Format: multi */ OperationID []string /*Not used Required: true In: path */ Platform string }
GetDoubleEndorsementsListParams contains all the bound params for the get double endorsements list operation typically these are obtained from a http.Request
swagger:parameters getDoubleEndorsementsList
func NewGetDoubleEndorsementsListParams ¶
func NewGetDoubleEndorsementsListParams() GetDoubleEndorsementsListParams
NewGetDoubleEndorsementsListParams creates a new GetDoubleEndorsementsListParams object with the default values initialized.
func (*GetDoubleEndorsementsListParams) BindRequest ¶
func (o *GetDoubleEndorsementsListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDoubleEndorsementsListParams() beforehand.
type GetDoubleEndorsementsListURL ¶
type GetDoubleEndorsementsListURL struct { Network string Platform string AccountID []string BlockID []string BlockLevel []int64 Limit *int64 Offset *int64 OperationID []string // contains filtered or unexported fields }
GetDoubleEndorsementsListURL generates an URL for the get double endorsements list operation
func (*GetDoubleEndorsementsListURL) Build ¶
func (o *GetDoubleEndorsementsListURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDoubleEndorsementsListURL) BuildFull ¶
func (o *GetDoubleEndorsementsListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDoubleEndorsementsListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDoubleEndorsementsListURL) SetBasePath ¶
func (o *GetDoubleEndorsementsListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDoubleEndorsementsListURL) String ¶
func (o *GetDoubleEndorsementsListURL) String() string
String returns the string representation of the path with query string
func (*GetDoubleEndorsementsListURL) StringFull ¶
func (o *GetDoubleEndorsementsListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDoubleEndorsementsListURL) WithBasePath ¶
func (o *GetDoubleEndorsementsListURL) WithBasePath(bp string) *GetDoubleEndorsementsListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetOperationsList ¶
type GetOperationsList struct { Context *middleware.Context Handler GetOperationsListHandler }
GetOperationsList swagger:route GET /v2/data/{platform}/{network}/operations OperationsList getOperationsList
GetOperationsList get operations list API
func NewGetOperationsList ¶
func NewGetOperationsList(ctx *middleware.Context, handler GetOperationsListHandler) *GetOperationsList
NewGetOperationsList creates a new http.Handler for the get operations list operation
func (*GetOperationsList) ServeHTTP ¶
func (o *GetOperationsList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetOperationsListBadRequest ¶
type GetOperationsListBadRequest struct { }
GetOperationsListBadRequest Bad request
swagger:response getOperationsListBadRequest
func NewGetOperationsListBadRequest ¶
func NewGetOperationsListBadRequest() *GetOperationsListBadRequest
NewGetOperationsListBadRequest creates GetOperationsListBadRequest with default headers values
func (*GetOperationsListBadRequest) WriteResponse ¶
func (o *GetOperationsListBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOperationsListHandler ¶
type GetOperationsListHandler interface {
Handle(GetOperationsListParams) middleware.Responder
}
GetOperationsListHandler interface for that can handle valid get operations list params
type GetOperationsListHandlerFunc ¶
type GetOperationsListHandlerFunc func(GetOperationsListParams) middleware.Responder
GetOperationsListHandlerFunc turns a function with the right signature into a get operations list handler
func (GetOperationsListHandlerFunc) Handle ¶
func (fn GetOperationsListHandlerFunc) Handle(params GetOperationsListParams) middleware.Responder
Handle executing the request and returning a response
type GetOperationsListNotFound ¶
type GetOperationsListNotFound struct { }
GetOperationsListNotFound Not Found
swagger:response getOperationsListNotFound
func NewGetOperationsListNotFound ¶
func NewGetOperationsListNotFound() *GetOperationsListNotFound
NewGetOperationsListNotFound creates GetOperationsListNotFound with default headers values
func (*GetOperationsListNotFound) WriteResponse ¶
func (o *GetOperationsListNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOperationsListOK ¶
type GetOperationsListOK struct { /*The total number of data entries. */ XTotalCount int64 `json:"X-Total-Count"` /* In: Body */ Payload []*models.OperationsRow `json:"body,omitempty"` }
GetOperationsListOK Query compatibility endpoint for operations
swagger:response getOperationsListOK
func NewGetOperationsListOK ¶
func NewGetOperationsListOK() *GetOperationsListOK
NewGetOperationsListOK creates GetOperationsListOK with default headers values
func (*GetOperationsListOK) SetPayload ¶
func (o *GetOperationsListOK) SetPayload(payload []*models.OperationsRow)
SetPayload sets the payload to the get operations list o k response
func (*GetOperationsListOK) SetXTotalCount ¶
func (o *GetOperationsListOK) SetXTotalCount(xTotalCount int64)
SetXTotalCount sets the xTotalCount to the get operations list o k response
func (*GetOperationsListOK) WithPayload ¶
func (o *GetOperationsListOK) WithPayload(payload []*models.OperationsRow) *GetOperationsListOK
WithPayload adds the payload to the get operations list o k response
func (*GetOperationsListOK) WithXTotalCount ¶
func (o *GetOperationsListOK) WithXTotalCount(xTotalCount int64) *GetOperationsListOK
WithXTotalCount adds the xTotalCount to the get operations list o k response
func (*GetOperationsListOK) WriteResponse ¶
func (o *GetOperationsListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetOperationsListParams ¶
type GetOperationsListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Not used In: query Collection Format: multi */ AccountDelegate []string /* In: query Collection Format: multi */ AccountID []string /*Not used In: query Collection Format: multi */ AccountManager []string /* In: query */ BeforeID *int64 /* In: query Collection Format: multi */ BlockID []string /*Not used In: query Collection Format: multi */ BlockLevel []int64 /*Not used In: query Collection Format: multi */ BlockNetid []string /*Not used In: query Collection Format: multi */ BlockProtocol []string /* Maximum: 500 Minimum: 1 In: query Default: 20 */ Limit *int64 /*Not used Required: true In: path */ Network string /*Offset Minimum: 0 In: query Default: 0 */ Offset *int64 /*Not used In: query Collection Format: multi */ OperationDestination []string /*Operation hash In: query Collection Format: multi */ OperationID []string /* In: query Collection Format: multi */ OperationKind []string /*Not used In: query Collection Format: multi */ OperationParticipant []string /*Not used In: query Collection Format: multi */ OperationSource []string /*Not used In: query */ Order *string /*Not used Required: true In: path */ Platform string /*Not used In: query */ SortBy *string }
GetOperationsListParams contains all the bound params for the get operations list operation typically these are obtained from a http.Request
swagger:parameters getOperationsList
func NewGetOperationsListParams ¶
func NewGetOperationsListParams() GetOperationsListParams
NewGetOperationsListParams creates a new GetOperationsListParams object with the default values initialized.
func (*GetOperationsListParams) BindRequest ¶
func (o *GetOperationsListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetOperationsListParams() beforehand.
type GetOperationsListURL ¶
type GetOperationsListURL struct { Network string Platform string AccountDelegate []string AccountID []string AccountManager []string BeforeID *int64 BlockID []string BlockLevel []int64 BlockNetid []string BlockProtocol []string Limit *int64 Offset *int64 OperationDestination []string OperationID []string OperationKind []string OperationParticipant []string OperationSource []string Order *string SortBy *string // contains filtered or unexported fields }
GetOperationsListURL generates an URL for the get operations list operation
func (*GetOperationsListURL) Build ¶
func (o *GetOperationsListURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetOperationsListURL) BuildFull ¶
func (o *GetOperationsListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetOperationsListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetOperationsListURL) SetBasePath ¶
func (o *GetOperationsListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetOperationsListURL) String ¶
func (o *GetOperationsListURL) String() string
String returns the string representation of the path with query string
func (*GetOperationsListURL) StringFull ¶
func (o *GetOperationsListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetOperationsListURL) WithBasePath ¶
func (o *GetOperationsListURL) WithBasePath(bp string) *GetOperationsListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetWhaleTranfers ¶
type GetWhaleTranfers struct { Context *middleware.Context Handler GetWhaleTranfersHandler }
GetWhaleTranfers swagger:route GET /v2/data/{platform}/{network}/whale/transfers OperationsList getWhaleTranfers
GetWhaleTranfers get whale tranfers API
func NewGetWhaleTranfers ¶
func NewGetWhaleTranfers(ctx *middleware.Context, handler GetWhaleTranfersHandler) *GetWhaleTranfers
NewGetWhaleTranfers creates a new http.Handler for the get whale tranfers operation
func (*GetWhaleTranfers) ServeHTTP ¶
func (o *GetWhaleTranfers) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetWhaleTranfersBadRequest ¶
type GetWhaleTranfersBadRequest struct { }
GetWhaleTranfersBadRequest Bad request
swagger:response getWhaleTranfersBadRequest
func NewGetWhaleTranfersBadRequest ¶
func NewGetWhaleTranfersBadRequest() *GetWhaleTranfersBadRequest
NewGetWhaleTranfersBadRequest creates GetWhaleTranfersBadRequest with default headers values
func (*GetWhaleTranfersBadRequest) WriteResponse ¶
func (o *GetWhaleTranfersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWhaleTranfersHandler ¶
type GetWhaleTranfersHandler interface {
Handle(GetWhaleTranfersParams) middleware.Responder
}
GetWhaleTranfersHandler interface for that can handle valid get whale tranfers params
type GetWhaleTranfersHandlerFunc ¶
type GetWhaleTranfersHandlerFunc func(GetWhaleTranfersParams) middleware.Responder
GetWhaleTranfersHandlerFunc turns a function with the right signature into a get whale tranfers handler
func (GetWhaleTranfersHandlerFunc) Handle ¶
func (fn GetWhaleTranfersHandlerFunc) Handle(params GetWhaleTranfersParams) middleware.Responder
Handle executing the request and returning a response
type GetWhaleTranfersInternalServerError ¶
type GetWhaleTranfersInternalServerError struct { }
GetWhaleTranfersInternalServerError Internal error
swagger:response getWhaleTranfersInternalServerError
func NewGetWhaleTranfersInternalServerError ¶
func NewGetWhaleTranfersInternalServerError() *GetWhaleTranfersInternalServerError
NewGetWhaleTranfersInternalServerError creates GetWhaleTranfersInternalServerError with default headers values
func (*GetWhaleTranfersInternalServerError) WriteResponse ¶
func (o *GetWhaleTranfersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWhaleTranfersNotFound ¶
type GetWhaleTranfersNotFound struct { }
GetWhaleTranfersNotFound Not Found
swagger:response getWhaleTranfersNotFound
func NewGetWhaleTranfersNotFound ¶
func NewGetWhaleTranfersNotFound() *GetWhaleTranfersNotFound
NewGetWhaleTranfersNotFound creates GetWhaleTranfersNotFound with default headers values
func (*GetWhaleTranfersNotFound) WriteResponse ¶
func (o *GetWhaleTranfersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWhaleTranfersOK ¶
type GetWhaleTranfersOK struct { /* In: Body */ Payload []*models.OperationsRow `json:"body,omitempty"` }
GetWhaleTranfersOK List of large transfers
swagger:response getWhaleTranfersOK
func NewGetWhaleTranfersOK ¶
func NewGetWhaleTranfersOK() *GetWhaleTranfersOK
NewGetWhaleTranfersOK creates GetWhaleTranfersOK with default headers values
func (*GetWhaleTranfersOK) SetPayload ¶
func (o *GetWhaleTranfersOK) SetPayload(payload []*models.OperationsRow)
SetPayload sets the payload to the get whale tranfers o k response
func (*GetWhaleTranfersOK) WithPayload ¶
func (o *GetWhaleTranfersOK) WithPayload(payload []*models.OperationsRow) *GetWhaleTranfersOK
WithPayload adds the payload to the get whale tranfers o k response
func (*GetWhaleTranfersOK) WriteResponse ¶
func (o *GetWhaleTranfersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetWhaleTranfersParams ¶
type GetWhaleTranfersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Maximum: 500 Minimum: 1 In: query Default: 20 */ Limit *int64 /*Not used Required: true In: path */ Network string /*Offset Minimum: 0 In: query Default: 0 */ Offset *int64 /* In: query Default: "D" */ Period *string /*Not used Required: true In: path */ Platform string }
GetWhaleTranfersParams contains all the bound params for the get whale tranfers operation typically these are obtained from a http.Request
swagger:parameters getWhaleTranfers
func NewGetWhaleTranfersParams ¶
func NewGetWhaleTranfersParams() GetWhaleTranfersParams
NewGetWhaleTranfersParams creates a new GetWhaleTranfersParams object with the default values initialized.
func (*GetWhaleTranfersParams) BindRequest ¶
func (o *GetWhaleTranfersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetWhaleTranfersParams() beforehand.
type GetWhaleTranfersURL ¶
type GetWhaleTranfersURL struct { Network string Platform string Limit *int64 Offset *int64 Period *string // contains filtered or unexported fields }
GetWhaleTranfersURL generates an URL for the get whale tranfers operation
func (*GetWhaleTranfersURL) Build ¶
func (o *GetWhaleTranfersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetWhaleTranfersURL) BuildFull ¶
func (o *GetWhaleTranfersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetWhaleTranfersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetWhaleTranfersURL) SetBasePath ¶
func (o *GetWhaleTranfersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetWhaleTranfersURL) String ¶
func (o *GetWhaleTranfersURL) String() string
String returns the string representation of the path with query string
func (*GetWhaleTranfersURL) StringFull ¶
func (o *GetWhaleTranfersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetWhaleTranfersURL) WithBasePath ¶
func (o *GetWhaleTranfersURL) WithBasePath(bp string) *GetWhaleTranfersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- get_double_bakings_list.go
- get_double_bakings_list_parameters.go
- get_double_bakings_list_responses.go
- get_double_bakings_list_urlbuilder.go
- get_double_endorsements_list.go
- get_double_endorsements_list_parameters.go
- get_double_endorsements_list_responses.go
- get_double_endorsements_list_urlbuilder.go
- get_operations_list.go
- get_operations_list_parameters.go
- get_operations_list_responses.go
- get_operations_list_urlbuilder.go
- get_whale_tranfers.go
- get_whale_tranfers_parameters.go
- get_whale_tranfers_responses.go
- get_whale_tranfers_urlbuilder.go