app_info

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const GetBakerChartInfoBadRequestCode int = 400

GetBakerChartInfoBadRequestCode is the HTTP code returned for type GetBakerChartInfoBadRequest

View Source
const GetBakerChartInfoInternalServerErrorCode int = 500

GetBakerChartInfoInternalServerErrorCode is the HTTP code returned for type GetBakerChartInfoInternalServerError

View Source
const GetBakerChartInfoOKCode int = 200

GetBakerChartInfoOKCode is the HTTP code returned for type GetBakerChartInfoOK

View Source
const GetBlocksPriorityChartInfoBadRequestCode int = 400

GetBlocksPriorityChartInfoBadRequestCode is the HTTP code returned for type GetBlocksPriorityChartInfoBadRequest

View Source
const GetBlocksPriorityChartInfoInternalServerErrorCode int = 500

GetBlocksPriorityChartInfoInternalServerErrorCode is the HTTP code returned for type GetBlocksPriorityChartInfoInternalServerError

View Source
const GetBlocksPriorityChartInfoOKCode int = 200

GetBlocksPriorityChartInfoOKCode is the HTTP code returned for type GetBlocksPriorityChartInfoOK

View Source
const GetChartsInfoBadRequestCode int = 400

GetChartsInfoBadRequestCode is the HTTP code returned for type GetChartsInfoBadRequest

View Source
const GetChartsInfoInternalServerErrorCode int = 500

GetChartsInfoInternalServerErrorCode is the HTTP code returned for type GetChartsInfoInternalServerError

View Source
const GetChartsInfoOKCode int = 200

GetChartsInfoOKCode is the HTTP code returned for type GetChartsInfoOK

View Source
const GetHealthCheckInfoBadRequestCode int = 400

GetHealthCheckInfoBadRequestCode is the HTTP code returned for type GetHealthCheckInfoBadRequest

View Source
const GetHealthCheckInfoInternalServerErrorCode int = 500

GetHealthCheckInfoInternalServerErrorCode is the HTTP code returned for type GetHealthCheckInfoInternalServerError

View Source
const GetHealthCheckInfoOKCode int = 200

GetHealthCheckInfoOKCode is the HTTP code returned for type GetHealthCheckInfoOK

View Source
const GetInfoBadRequestCode int = 400

GetInfoBadRequestCode is the HTTP code returned for type GetInfoBadRequest

View Source
const GetInfoInternalServerErrorCode int = 500

GetInfoInternalServerErrorCode is the HTTP code returned for type GetInfoInternalServerError

View Source
const GetInfoOKCode int = 200

GetInfoOKCode is the HTTP code returned for type GetInfoOK

View Source
const GetThirdPartyBakersHandlerBadRequestCode int = 400

GetThirdPartyBakersHandlerBadRequestCode is the HTTP code returned for type GetThirdPartyBakersHandlerBadRequest

View Source
const GetThirdPartyBakersHandlerInternalServerErrorCode int = 500

GetThirdPartyBakersHandlerInternalServerErrorCode is the HTTP code returned for type GetThirdPartyBakersHandlerInternalServerError

View Source
const GetThirdPartyBakersHandlerOKCode int = 200

GetThirdPartyBakersHandlerOKCode is the HTTP code returned for type GetThirdPartyBakersHandlerOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetBakerChartInfo

type GetBakerChartInfo struct {
	Context *middleware.Context
	Handler GetBakerChartInfoHandler
}

GetBakerChartInfo swagger:route GET /v2/data/{platform}/{network}/charts/bakers App Info getBakerChartInfo

GetBakerChartInfo get baker chart info API

func NewGetBakerChartInfo

func NewGetBakerChartInfo(ctx *middleware.Context, handler GetBakerChartInfoHandler) *GetBakerChartInfo

NewGetBakerChartInfo creates a new http.Handler for the get baker chart info operation

func (*GetBakerChartInfo) ServeHTTP

func (o *GetBakerChartInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetBakerChartInfoBadRequest

type GetBakerChartInfoBadRequest struct {
}

GetBakerChartInfoBadRequest Bad request

swagger:response getBakerChartInfoBadRequest

func NewGetBakerChartInfoBadRequest

func NewGetBakerChartInfoBadRequest() *GetBakerChartInfoBadRequest

NewGetBakerChartInfoBadRequest creates GetBakerChartInfoBadRequest with default headers values

func (*GetBakerChartInfoBadRequest) WriteResponse

func (o *GetBakerChartInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBakerChartInfoHandler

type GetBakerChartInfoHandler interface {
	Handle(GetBakerChartInfoParams) middleware.Responder
}

GetBakerChartInfoHandler interface for that can handle valid get baker chart info params

type GetBakerChartInfoHandlerFunc

type GetBakerChartInfoHandlerFunc func(GetBakerChartInfoParams) middleware.Responder

GetBakerChartInfoHandlerFunc turns a function with the right signature into a get baker chart info handler

func (GetBakerChartInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetBakerChartInfoInternalServerError

type GetBakerChartInfoInternalServerError struct {
}

GetBakerChartInfoInternalServerError Internal error

swagger:response getBakerChartInfoInternalServerError

func NewGetBakerChartInfoInternalServerError

func NewGetBakerChartInfoInternalServerError() *GetBakerChartInfoInternalServerError

NewGetBakerChartInfoInternalServerError creates GetBakerChartInfoInternalServerError with default headers values

func (*GetBakerChartInfoInternalServerError) WriteResponse

WriteResponse to the client

type GetBakerChartInfoOK

type GetBakerChartInfoOK struct {

	/*
	  In: Body
	*/
	Payload []*models.BakerChartData `json:"body,omitempty"`
}

GetBakerChartInfoOK Application info endpoint

swagger:response getBakerChartInfoOK

func NewGetBakerChartInfoOK

func NewGetBakerChartInfoOK() *GetBakerChartInfoOK

NewGetBakerChartInfoOK creates GetBakerChartInfoOK with default headers values

func (*GetBakerChartInfoOK) SetPayload

func (o *GetBakerChartInfoOK) SetPayload(payload []*models.BakerChartData)

SetPayload sets the payload to the get baker chart info o k response

func (*GetBakerChartInfoOK) WithPayload

func (o *GetBakerChartInfoOK) WithPayload(payload []*models.BakerChartData) *GetBakerChartInfoOK

WithPayload adds the payload to the get baker chart info o k response

func (*GetBakerChartInfoOK) WriteResponse

func (o *GetBakerChartInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBakerChartInfoParams

type GetBakerChartInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	  Default: 20
	*/
	Limit *int64
	/*Not used
	  Required: true
	  In: path
	*/
	Network string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetBakerChartInfoParams contains all the bound params for the get baker chart info operation typically these are obtained from a http.Request

swagger:parameters getBakerChartInfo

func NewGetBakerChartInfoParams

func NewGetBakerChartInfoParams() GetBakerChartInfoParams

NewGetBakerChartInfoParams creates a new GetBakerChartInfoParams object with the default values initialized.

func (*GetBakerChartInfoParams) BindRequest

func (o *GetBakerChartInfoParams) 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 NewGetBakerChartInfoParams() beforehand.

type GetBakerChartInfoURL

type GetBakerChartInfoURL struct {
	Network  string
	Platform string

	Limit *int64
	// contains filtered or unexported fields
}

GetBakerChartInfoURL generates an URL for the get baker chart info operation

func (*GetBakerChartInfoURL) Build

func (o *GetBakerChartInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBakerChartInfoURL) BuildFull

func (o *GetBakerChartInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBakerChartInfoURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBakerChartInfoURL) SetBasePath

func (o *GetBakerChartInfoURL) 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 (*GetBakerChartInfoURL) String

func (o *GetBakerChartInfoURL) String() string

String returns the string representation of the path with query string

func (*GetBakerChartInfoURL) StringFull

func (o *GetBakerChartInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetBakerChartInfoURL) WithBasePath

func (o *GetBakerChartInfoURL) WithBasePath(bp string) *GetBakerChartInfoURL

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 GetBlocksPriorityChartInfo

type GetBlocksPriorityChartInfo struct {
	Context *middleware.Context
	Handler GetBlocksPriorityChartInfoHandler
}

GetBlocksPriorityChartInfo swagger:route GET /v2/data/{platform}/{network}/charts/blocks_priority App Info getBlocksPriorityChartInfo

GetBlocksPriorityChartInfo get blocks priority chart info API

func NewGetBlocksPriorityChartInfo

func NewGetBlocksPriorityChartInfo(ctx *middleware.Context, handler GetBlocksPriorityChartInfoHandler) *GetBlocksPriorityChartInfo

NewGetBlocksPriorityChartInfo creates a new http.Handler for the get blocks priority chart info operation

func (*GetBlocksPriorityChartInfo) ServeHTTP

type GetBlocksPriorityChartInfoBadRequest

type GetBlocksPriorityChartInfoBadRequest struct {
}

GetBlocksPriorityChartInfoBadRequest Bad request

swagger:response getBlocksPriorityChartInfoBadRequest

func NewGetBlocksPriorityChartInfoBadRequest

func NewGetBlocksPriorityChartInfoBadRequest() *GetBlocksPriorityChartInfoBadRequest

NewGetBlocksPriorityChartInfoBadRequest creates GetBlocksPriorityChartInfoBadRequest with default headers values

func (*GetBlocksPriorityChartInfoBadRequest) WriteResponse

WriteResponse to the client

type GetBlocksPriorityChartInfoHandler

type GetBlocksPriorityChartInfoHandler interface {
	Handle(GetBlocksPriorityChartInfoParams) middleware.Responder
}

GetBlocksPriorityChartInfoHandler interface for that can handle valid get blocks priority chart info params

type GetBlocksPriorityChartInfoHandlerFunc

type GetBlocksPriorityChartInfoHandlerFunc func(GetBlocksPriorityChartInfoParams) middleware.Responder

GetBlocksPriorityChartInfoHandlerFunc turns a function with the right signature into a get blocks priority chart info handler

func (GetBlocksPriorityChartInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetBlocksPriorityChartInfoInternalServerError

type GetBlocksPriorityChartInfoInternalServerError struct {
}

GetBlocksPriorityChartInfoInternalServerError Internal error

swagger:response getBlocksPriorityChartInfoInternalServerError

func NewGetBlocksPriorityChartInfoInternalServerError

func NewGetBlocksPriorityChartInfoInternalServerError() *GetBlocksPriorityChartInfoInternalServerError

NewGetBlocksPriorityChartInfoInternalServerError creates GetBlocksPriorityChartInfoInternalServerError with default headers values

func (*GetBlocksPriorityChartInfoInternalServerError) WriteResponse

WriteResponse to the client

type GetBlocksPriorityChartInfoOK

type GetBlocksPriorityChartInfoOK struct {

	/*
	  In: Body
	*/
	Payload []*models.BlockPriorityChartData `json:"body,omitempty"`
}

GetBlocksPriorityChartInfoOK Application info endpoint

swagger:response getBlocksPriorityChartInfoOK

func NewGetBlocksPriorityChartInfoOK

func NewGetBlocksPriorityChartInfoOK() *GetBlocksPriorityChartInfoOK

NewGetBlocksPriorityChartInfoOK creates GetBlocksPriorityChartInfoOK with default headers values

func (*GetBlocksPriorityChartInfoOK) SetPayload

SetPayload sets the payload to the get blocks priority chart info o k response

func (*GetBlocksPriorityChartInfoOK) WithPayload

WithPayload adds the payload to the get blocks priority chart info o k response

func (*GetBlocksPriorityChartInfoOK) WriteResponse

func (o *GetBlocksPriorityChartInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetBlocksPriorityChartInfoParams

type GetBlocksPriorityChartInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	  Default: 10
	*/
	Limit *int64
	/*Not used
	  Required: true
	  In: path
	*/
	Network string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetBlocksPriorityChartInfoParams contains all the bound params for the get blocks priority chart info operation typically these are obtained from a http.Request

swagger:parameters getBlocksPriorityChartInfo

func NewGetBlocksPriorityChartInfoParams

func NewGetBlocksPriorityChartInfoParams() GetBlocksPriorityChartInfoParams

NewGetBlocksPriorityChartInfoParams creates a new GetBlocksPriorityChartInfoParams object with the default values initialized.

func (*GetBlocksPriorityChartInfoParams) 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 NewGetBlocksPriorityChartInfoParams() beforehand.

type GetBlocksPriorityChartInfoURL

type GetBlocksPriorityChartInfoURL struct {
	Network  string
	Platform string

	Limit *int64
	// contains filtered or unexported fields
}

GetBlocksPriorityChartInfoURL generates an URL for the get blocks priority chart info operation

func (*GetBlocksPriorityChartInfoURL) Build

func (o *GetBlocksPriorityChartInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetBlocksPriorityChartInfoURL) BuildFull

func (o *GetBlocksPriorityChartInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetBlocksPriorityChartInfoURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetBlocksPriorityChartInfoURL) SetBasePath

func (o *GetBlocksPriorityChartInfoURL) 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 (*GetBlocksPriorityChartInfoURL) String

String returns the string representation of the path with query string

func (*GetBlocksPriorityChartInfoURL) StringFull

func (o *GetBlocksPriorityChartInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

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

type GetChartsInfo struct {
	Context *middleware.Context
	Handler GetChartsInfoHandler
}

GetChartsInfo swagger:route GET /v2/data/{platform}/{network}/charts App Info getChartsInfo

GetChartsInfo get charts info API

func NewGetChartsInfo

func NewGetChartsInfo(ctx *middleware.Context, handler GetChartsInfoHandler) *GetChartsInfo

NewGetChartsInfo creates a new http.Handler for the get charts info operation

func (*GetChartsInfo) ServeHTTP

func (o *GetChartsInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetChartsInfoBadRequest

type GetChartsInfoBadRequest struct {
}

GetChartsInfoBadRequest Bad request

swagger:response getChartsInfoBadRequest

func NewGetChartsInfoBadRequest

func NewGetChartsInfoBadRequest() *GetChartsInfoBadRequest

NewGetChartsInfoBadRequest creates GetChartsInfoBadRequest with default headers values

func (*GetChartsInfoBadRequest) WriteResponse

func (o *GetChartsInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetChartsInfoHandler

type GetChartsInfoHandler interface {
	Handle(GetChartsInfoParams) middleware.Responder
}

GetChartsInfoHandler interface for that can handle valid get charts info params

type GetChartsInfoHandlerFunc

type GetChartsInfoHandlerFunc func(GetChartsInfoParams) middleware.Responder

GetChartsInfoHandlerFunc turns a function with the right signature into a get charts info handler

func (GetChartsInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetChartsInfoInternalServerError

type GetChartsInfoInternalServerError struct {
}

GetChartsInfoInternalServerError Internal error

swagger:response getChartsInfoInternalServerError

func NewGetChartsInfoInternalServerError

func NewGetChartsInfoInternalServerError() *GetChartsInfoInternalServerError

NewGetChartsInfoInternalServerError creates GetChartsInfoInternalServerError with default headers values

func (*GetChartsInfoInternalServerError) WriteResponse

func (o *GetChartsInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetChartsInfoOK

type GetChartsInfoOK struct {

	/*
	  In: Body
	*/
	Payload []*models.ChartsData `json:"body,omitempty"`
}

GetChartsInfoOK Application info endpoint

swagger:response getChartsInfoOK

func NewGetChartsInfoOK

func NewGetChartsInfoOK() *GetChartsInfoOK

NewGetChartsInfoOK creates GetChartsInfoOK with default headers values

func (*GetChartsInfoOK) SetPayload

func (o *GetChartsInfoOK) SetPayload(payload []*models.ChartsData)

SetPayload sets the payload to the get charts info o k response

func (*GetChartsInfoOK) WithPayload

func (o *GetChartsInfoOK) WithPayload(payload []*models.ChartsData) *GetChartsInfoOK

WithPayload adds the payload to the get charts info o k response

func (*GetChartsInfoOK) WriteResponse

func (o *GetChartsInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetChartsInfoParams

type GetChartsInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: query
	*/
	Columns []string
	/*
	  Required: true
	  In: query
	*/
	From int64
	/*Not used
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  Required: true
	  In: query
	*/
	To int64
}

GetChartsInfoParams contains all the bound params for the get charts info operation typically these are obtained from a http.Request

swagger:parameters getChartsInfo

func NewGetChartsInfoParams

func NewGetChartsInfoParams() GetChartsInfoParams

NewGetChartsInfoParams creates a new GetChartsInfoParams object no default values defined in spec.

func (*GetChartsInfoParams) BindRequest

func (o *GetChartsInfoParams) 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 NewGetChartsInfoParams() beforehand.

type GetChartsInfoURL

type GetChartsInfoURL struct {
	Network  string
	Platform string

	Columns []string
	From    int64
	Period  string
	To      int64
	// contains filtered or unexported fields
}

GetChartsInfoURL generates an URL for the get charts info operation

func (*GetChartsInfoURL) Build

func (o *GetChartsInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetChartsInfoURL) BuildFull

func (o *GetChartsInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetChartsInfoURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetChartsInfoURL) SetBasePath

func (o *GetChartsInfoURL) 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 (*GetChartsInfoURL) String

func (o *GetChartsInfoURL) String() string

String returns the string representation of the path with query string

func (*GetChartsInfoURL) StringFull

func (o *GetChartsInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetChartsInfoURL) WithBasePath

func (o *GetChartsInfoURL) WithBasePath(bp string) *GetChartsInfoURL

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 GetHealthCheckInfo

type GetHealthCheckInfo struct {
	Context *middleware.Context
	Handler GetHealthCheckInfoHandler
}

GetHealthCheckInfo swagger:route GET /v2/data/{platform}/{network}/health App Info getHealthCheckInfo

GetHealthCheckInfo get health check info API

func NewGetHealthCheckInfo

func NewGetHealthCheckInfo(ctx *middleware.Context, handler GetHealthCheckInfoHandler) *GetHealthCheckInfo

NewGetHealthCheckInfo creates a new http.Handler for the get health check info operation

func (*GetHealthCheckInfo) ServeHTTP

func (o *GetHealthCheckInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetHealthCheckInfoBadRequest

type GetHealthCheckInfoBadRequest struct {
}

GetHealthCheckInfoBadRequest Bad request

swagger:response getHealthCheckInfoBadRequest

func NewGetHealthCheckInfoBadRequest

func NewGetHealthCheckInfoBadRequest() *GetHealthCheckInfoBadRequest

NewGetHealthCheckInfoBadRequest creates GetHealthCheckInfoBadRequest with default headers values

func (*GetHealthCheckInfoBadRequest) WriteResponse

func (o *GetHealthCheckInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetHealthCheckInfoHandler

type GetHealthCheckInfoHandler interface {
	Handle(GetHealthCheckInfoParams) middleware.Responder
}

GetHealthCheckInfoHandler interface for that can handle valid get health check info params

type GetHealthCheckInfoHandlerFunc

type GetHealthCheckInfoHandlerFunc func(GetHealthCheckInfoParams) middleware.Responder

GetHealthCheckInfoHandlerFunc turns a function with the right signature into a get health check info handler

func (GetHealthCheckInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetHealthCheckInfoInternalServerError

type GetHealthCheckInfoInternalServerError struct {
}

GetHealthCheckInfoInternalServerError Internal error

swagger:response getHealthCheckInfoInternalServerError

func NewGetHealthCheckInfoInternalServerError

func NewGetHealthCheckInfoInternalServerError() *GetHealthCheckInfoInternalServerError

NewGetHealthCheckInfoInternalServerError creates GetHealthCheckInfoInternalServerError with default headers values

func (*GetHealthCheckInfoInternalServerError) WriteResponse

WriteResponse to the client

type GetHealthCheckInfoOK

type GetHealthCheckInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.Health `json:"body,omitempty"`
}

GetHealthCheckInfoOK Application health info endpoint

swagger:response getHealthCheckInfoOK

func NewGetHealthCheckInfoOK

func NewGetHealthCheckInfoOK() *GetHealthCheckInfoOK

NewGetHealthCheckInfoOK creates GetHealthCheckInfoOK with default headers values

func (*GetHealthCheckInfoOK) SetPayload

func (o *GetHealthCheckInfoOK) SetPayload(payload *models.Health)

SetPayload sets the payload to the get health check info o k response

func (*GetHealthCheckInfoOK) WithPayload

func (o *GetHealthCheckInfoOK) WithPayload(payload *models.Health) *GetHealthCheckInfoOK

WithPayload adds the payload to the get health check info o k response

func (*GetHealthCheckInfoOK) WriteResponse

func (o *GetHealthCheckInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetHealthCheckInfoParams

type GetHealthCheckInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Not used
	  Required: true
	  In: path
	*/
	Network string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetHealthCheckInfoParams contains all the bound params for the get health check info operation typically these are obtained from a http.Request

swagger:parameters getHealthCheckInfo

func NewGetHealthCheckInfoParams

func NewGetHealthCheckInfoParams() GetHealthCheckInfoParams

NewGetHealthCheckInfoParams creates a new GetHealthCheckInfoParams object no default values defined in spec.

func (*GetHealthCheckInfoParams) 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 NewGetHealthCheckInfoParams() beforehand.

type GetHealthCheckInfoURL

type GetHealthCheckInfoURL struct {
	Network  string
	Platform string
	// contains filtered or unexported fields
}

GetHealthCheckInfoURL generates an URL for the get health check info operation

func (*GetHealthCheckInfoURL) Build

func (o *GetHealthCheckInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetHealthCheckInfoURL) BuildFull

func (o *GetHealthCheckInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetHealthCheckInfoURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetHealthCheckInfoURL) SetBasePath

func (o *GetHealthCheckInfoURL) 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 (*GetHealthCheckInfoURL) String

func (o *GetHealthCheckInfoURL) String() string

String returns the string representation of the path with query string

func (*GetHealthCheckInfoURL) StringFull

func (o *GetHealthCheckInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetHealthCheckInfoURL) WithBasePath

func (o *GetHealthCheckInfoURL) WithBasePath(bp string) *GetHealthCheckInfoURL

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 GetInfo

type GetInfo struct {
	Context *middleware.Context
	Handler GetInfoHandler
}

GetInfo swagger:route GET /v2/data/{platform}/{network}/info App Info getInfo

GetInfo get info API

func NewGetInfo

func NewGetInfo(ctx *middleware.Context, handler GetInfoHandler) *GetInfo

NewGetInfo creates a new http.Handler for the get info operation

func (*GetInfo) ServeHTTP

func (o *GetInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetInfoBadRequest

type GetInfoBadRequest struct {
}

GetInfoBadRequest Bad request

swagger:response getInfoBadRequest

func NewGetInfoBadRequest

func NewGetInfoBadRequest() *GetInfoBadRequest

NewGetInfoBadRequest creates GetInfoBadRequest with default headers values

func (*GetInfoBadRequest) WriteResponse

func (o *GetInfoBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetInfoHandler

type GetInfoHandler interface {
	Handle(GetInfoParams) middleware.Responder
}

GetInfoHandler interface for that can handle valid get info params

type GetInfoHandlerFunc

type GetInfoHandlerFunc func(GetInfoParams) middleware.Responder

GetInfoHandlerFunc turns a function with the right signature into a get info handler

func (GetInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetInfoInternalServerError

type GetInfoInternalServerError struct {
}

GetInfoInternalServerError Internal error

swagger:response getInfoInternalServerError

func NewGetInfoInternalServerError

func NewGetInfoInternalServerError() *GetInfoInternalServerError

NewGetInfoInternalServerError creates GetInfoInternalServerError with default headers values

func (*GetInfoInternalServerError) WriteResponse

func (o *GetInfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetInfoOK

type GetInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.Info `json:"body,omitempty"`
}

GetInfoOK Application info endpoint

swagger:response getInfoOK

func NewGetInfoOK

func NewGetInfoOK() *GetInfoOK

NewGetInfoOK creates GetInfoOK with default headers values

func (*GetInfoOK) SetPayload

func (o *GetInfoOK) SetPayload(payload *models.Info)

SetPayload sets the payload to the get info o k response

func (*GetInfoOK) WithPayload

func (o *GetInfoOK) WithPayload(payload *models.Info) *GetInfoOK

WithPayload adds the payload to the get info o k response

func (*GetInfoOK) WriteResponse

func (o *GetInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetInfoParams

type GetInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	  Default: "usd"
	*/
	Currency *string
	/*Not used
	  Required: true
	  In: path
	*/
	Network string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetInfoParams contains all the bound params for the get info operation typically these are obtained from a http.Request

swagger:parameters getInfo

func NewGetInfoParams

func NewGetInfoParams() GetInfoParams

NewGetInfoParams creates a new GetInfoParams object with the default values initialized.

func (*GetInfoParams) BindRequest

func (o *GetInfoParams) 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 NewGetInfoParams() beforehand.

type GetInfoURL

type GetInfoURL struct {
	Network  string
	Platform string

	Currency *string
	// contains filtered or unexported fields
}

GetInfoURL generates an URL for the get info operation

func (*GetInfoURL) Build

func (o *GetInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetInfoURL) BuildFull

func (o *GetInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetInfoURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetInfoURL) SetBasePath

func (o *GetInfoURL) 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 (*GetInfoURL) String

func (o *GetInfoURL) String() string

String returns the string representation of the path with query string

func (*GetInfoURL) StringFull

func (o *GetInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetInfoURL) WithBasePath

func (o *GetInfoURL) WithBasePath(bp string) *GetInfoURL

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 GetThirdPartyBakersHandler

type GetThirdPartyBakersHandler struct {
	Context *middleware.Context
	Handler GetThirdPartyBakersHandlerHandler
}

GetThirdPartyBakersHandler swagger:route GET /v2/data/thirdparty/bakers App Info getThirdPartyBakersHandler

GetThirdPartyBakersHandler get third party bakers handler API

func NewGetThirdPartyBakersHandler

func NewGetThirdPartyBakersHandler(ctx *middleware.Context, handler GetThirdPartyBakersHandlerHandler) *GetThirdPartyBakersHandler

NewGetThirdPartyBakersHandler creates a new http.Handler for the get third party bakers handler operation

func (*GetThirdPartyBakersHandler) ServeHTTP

type GetThirdPartyBakersHandlerBadRequest

type GetThirdPartyBakersHandlerBadRequest struct {
}

GetThirdPartyBakersHandlerBadRequest Bad request

swagger:response getThirdPartyBakersHandlerBadRequest

func NewGetThirdPartyBakersHandlerBadRequest

func NewGetThirdPartyBakersHandlerBadRequest() *GetThirdPartyBakersHandlerBadRequest

NewGetThirdPartyBakersHandlerBadRequest creates GetThirdPartyBakersHandlerBadRequest with default headers values

func (*GetThirdPartyBakersHandlerBadRequest) WriteResponse

WriteResponse to the client

type GetThirdPartyBakersHandlerHandler

type GetThirdPartyBakersHandlerHandler interface {
	Handle(GetThirdPartyBakersHandlerParams) middleware.Responder
}

GetThirdPartyBakersHandlerHandler interface for that can handle valid get third party bakers handler params

type GetThirdPartyBakersHandlerHandlerFunc

type GetThirdPartyBakersHandlerHandlerFunc func(GetThirdPartyBakersHandlerParams) middleware.Responder

GetThirdPartyBakersHandlerHandlerFunc turns a function with the right signature into a get third party bakers handler handler

func (GetThirdPartyBakersHandlerHandlerFunc) Handle

Handle executing the request and returning a response

type GetThirdPartyBakersHandlerInternalServerError

type GetThirdPartyBakersHandlerInternalServerError struct {
}

GetThirdPartyBakersHandlerInternalServerError Internal error

swagger:response getThirdPartyBakersHandlerInternalServerError

func NewGetThirdPartyBakersHandlerInternalServerError

func NewGetThirdPartyBakersHandlerInternalServerError() *GetThirdPartyBakersHandlerInternalServerError

NewGetThirdPartyBakersHandlerInternalServerError creates GetThirdPartyBakersHandlerInternalServerError with default headers values

func (*GetThirdPartyBakersHandlerInternalServerError) WriteResponse

WriteResponse to the client

type GetThirdPartyBakersHandlerOK

type GetThirdPartyBakersHandlerOK struct {

	/*
	  In: Body
	*/
	Payload []*models.ThirdPartyBakers `json:"body,omitempty"`
}

GetThirdPartyBakersHandlerOK Application info endpoint

swagger:response getThirdPartyBakersHandlerOK

func NewGetThirdPartyBakersHandlerOK

func NewGetThirdPartyBakersHandlerOK() *GetThirdPartyBakersHandlerOK

NewGetThirdPartyBakersHandlerOK creates GetThirdPartyBakersHandlerOK with default headers values

func (*GetThirdPartyBakersHandlerOK) SetPayload

func (o *GetThirdPartyBakersHandlerOK) SetPayload(payload []*models.ThirdPartyBakers)

SetPayload sets the payload to the get third party bakers handler o k response

func (*GetThirdPartyBakersHandlerOK) WithPayload

WithPayload adds the payload to the get third party bakers handler o k response

func (*GetThirdPartyBakersHandlerOK) WriteResponse

func (o *GetThirdPartyBakersHandlerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetThirdPartyBakersHandlerParams

type GetThirdPartyBakersHandlerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetThirdPartyBakersHandlerParams contains all the bound params for the get third party bakers handler operation typically these are obtained from a http.Request

swagger:parameters getThirdPartyBakersHandler

func NewGetThirdPartyBakersHandlerParams

func NewGetThirdPartyBakersHandlerParams() GetThirdPartyBakersHandlerParams

NewGetThirdPartyBakersHandlerParams creates a new GetThirdPartyBakersHandlerParams object no default values defined in spec.

func (*GetThirdPartyBakersHandlerParams) 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 NewGetThirdPartyBakersHandlerParams() beforehand.

type GetThirdPartyBakersHandlerURL

type GetThirdPartyBakersHandlerURL struct {
	// contains filtered or unexported fields
}

GetThirdPartyBakersHandlerURL generates an URL for the get third party bakers handler operation

func (*GetThirdPartyBakersHandlerURL) Build

func (o *GetThirdPartyBakersHandlerURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetThirdPartyBakersHandlerURL) BuildFull

func (o *GetThirdPartyBakersHandlerURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetThirdPartyBakersHandlerURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetThirdPartyBakersHandlerURL) SetBasePath

func (o *GetThirdPartyBakersHandlerURL) 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 (*GetThirdPartyBakersHandlerURL) String

String returns the string representation of the path with query string

func (*GetThirdPartyBakersHandlerURL) StringFull

func (o *GetThirdPartyBakersHandlerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

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

Jump to

Keyboard shortcuts

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