operations_list

package
v0.0.0-...-71505b4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const GetDoubleBakingsListBadRequestCode int = 400

GetDoubleBakingsListBadRequestCode is the HTTP code returned for type GetDoubleBakingsListBadRequest

View Source
const GetDoubleBakingsListNotFoundCode int = 404

GetDoubleBakingsListNotFoundCode is the HTTP code returned for type GetDoubleBakingsListNotFound

View Source
const GetDoubleBakingsListOKCode int = 200

GetDoubleBakingsListOKCode is the HTTP code returned for type GetDoubleBakingsListOK

View Source
const GetOperationsListBadRequestCode int = 400

GetOperationsListBadRequestCode is the HTTP code returned for type GetOperationsListBadRequest

View Source
const GetOperationsListNotFoundCode int = 404

GetOperationsListNotFoundCode is the HTTP code returned for type GetOperationsListNotFound

View Source
const GetOperationsListOKCode int = 200

GetOperationsListOKCode is the HTTP code returned for type GetOperationsListOK

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

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

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

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

func (o *GetDoubleBakingsListURL) Must(u *url.URL, err error) *url.URL

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

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

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

func (o *GetOperationsListURL) Must(u *url.URL, err error) *url.URL

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

Jump to

Keyboard shortcuts

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