accounts

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const GetAccountAssetsBalancesListBadRequestCode int = 400

GetAccountAssetsBalancesListBadRequestCode is the HTTP code returned for type GetAccountAssetsBalancesListBadRequest

View Source
const GetAccountAssetsBalancesListInternalServerErrorCode int = 500

GetAccountAssetsBalancesListInternalServerErrorCode is the HTTP code returned for type GetAccountAssetsBalancesListInternalServerError

View Source
const GetAccountAssetsBalancesListNotFoundCode int = 404

GetAccountAssetsBalancesListNotFoundCode is the HTTP code returned for type GetAccountAssetsBalancesListNotFound

View Source
const GetAccountAssetsBalancesListOKCode int = 200

GetAccountAssetsBalancesListOKCode is the HTTP code returned for type GetAccountAssetsBalancesListOK

View Source
const GetAccountBadRequestCode int = 400

GetAccountBadRequestCode is the HTTP code returned for type GetAccountBadRequest

View Source
const GetAccountBakedBlocksListBadRequestCode int = 400

GetAccountBakedBlocksListBadRequestCode is the HTTP code returned for type GetAccountBakedBlocksListBadRequest

View Source
const GetAccountBakedBlocksListNotFoundCode int = 404

GetAccountBakedBlocksListNotFoundCode is the HTTP code returned for type GetAccountBakedBlocksListNotFound

View Source
const GetAccountBakedBlocksListOKCode int = 200

GetAccountBakedBlocksListOKCode is the HTTP code returned for type GetAccountBakedBlocksListOK

View Source
const GetAccountBakingListBadRequestCode int = 400

GetAccountBakingListBadRequestCode is the HTTP code returned for type GetAccountBakingListBadRequest

View Source
const GetAccountBakingListNotFoundCode int = 404

GetAccountBakingListNotFoundCode is the HTTP code returned for type GetAccountBakingListNotFound

View Source
const GetAccountBakingListOKCode int = 200

GetAccountBakingListOKCode is the HTTP code returned for type GetAccountBakingListOK

View Source
const GetAccountBalanceListBadRequestCode int = 400

GetAccountBalanceListBadRequestCode is the HTTP code returned for type GetAccountBalanceListBadRequest

View Source
const GetAccountBalanceListNotFoundCode int = 404

GetAccountBalanceListNotFoundCode is the HTTP code returned for type GetAccountBalanceListNotFound

View Source
const GetAccountBalanceListOKCode int = 200

GetAccountBalanceListOKCode is the HTTP code returned for type GetAccountBalanceListOK

View Source
const GetAccountDelegatorsBadRequestCode int = 400

GetAccountDelegatorsBadRequestCode is the HTTP code returned for type GetAccountDelegatorsBadRequest

View Source
const GetAccountDelegatorsByCycleListBadRequestCode int = 400

GetAccountDelegatorsByCycleListBadRequestCode is the HTTP code returned for type GetAccountDelegatorsByCycleListBadRequest

View Source
const GetAccountDelegatorsByCycleListNotFoundCode int = 404

GetAccountDelegatorsByCycleListNotFoundCode is the HTTP code returned for type GetAccountDelegatorsByCycleListNotFound

View Source
const GetAccountDelegatorsByCycleListOKCode int = 200

GetAccountDelegatorsByCycleListOKCode is the HTTP code returned for type GetAccountDelegatorsByCycleListOK

View Source
const GetAccountDelegatorsInternalServerErrorCode int = 500

GetAccountDelegatorsInternalServerErrorCode is the HTTP code returned for type GetAccountDelegatorsInternalServerError

View Source
const GetAccountDelegatorsOKCode int = 200

GetAccountDelegatorsOKCode is the HTTP code returned for type GetAccountDelegatorsOK

View Source
const GetAccountEndorsementsByCycleListBadRequestCode int = 400

GetAccountEndorsementsByCycleListBadRequestCode is the HTTP code returned for type GetAccountEndorsementsByCycleListBadRequest

View Source
const GetAccountEndorsementsByCycleListNotFoundCode int = 404

GetAccountEndorsementsByCycleListNotFoundCode is the HTTP code returned for type GetAccountEndorsementsByCycleListNotFound

View Source
const GetAccountEndorsementsByCycleListOKCode int = 200

GetAccountEndorsementsByCycleListOKCode is the HTTP code returned for type GetAccountEndorsementsByCycleListOK

View Source
const GetAccountEndorsingListBadRequestCode int = 400

GetAccountEndorsingListBadRequestCode is the HTTP code returned for type GetAccountEndorsingListBadRequest

View Source
const GetAccountEndorsingListNotFoundCode int = 404

GetAccountEndorsingListNotFoundCode is the HTTP code returned for type GetAccountEndorsingListNotFound

View Source
const GetAccountEndorsingListOKCode int = 200

GetAccountEndorsingListOKCode is the HTTP code returned for type GetAccountEndorsingListOK

View Source
const GetAccountFutureBakingBadRequestCode int = 400

GetAccountFutureBakingBadRequestCode is the HTTP code returned for type GetAccountFutureBakingBadRequest

View Source
const GetAccountFutureBakingNotFoundCode int = 404

GetAccountFutureBakingNotFoundCode is the HTTP code returned for type GetAccountFutureBakingNotFound

View Source
const GetAccountFutureBakingOKCode int = 200

GetAccountFutureBakingOKCode is the HTTP code returned for type GetAccountFutureBakingOK

View Source
const GetAccountFutureBakingRightsByCycleBadRequestCode int = 400

GetAccountFutureBakingRightsByCycleBadRequestCode is the HTTP code returned for type GetAccountFutureBakingRightsByCycleBadRequest

View Source
const GetAccountFutureBakingRightsByCycleNotFoundCode int = 404

GetAccountFutureBakingRightsByCycleNotFoundCode is the HTTP code returned for type GetAccountFutureBakingRightsByCycleNotFound

View Source
const GetAccountFutureBakingRightsByCycleOKCode int = 200

GetAccountFutureBakingRightsByCycleOKCode is the HTTP code returned for type GetAccountFutureBakingRightsByCycleOK

View Source
const GetAccountFutureEndorsementRightsByCycleBadRequestCode int = 400

GetAccountFutureEndorsementRightsByCycleBadRequestCode is the HTTP code returned for type GetAccountFutureEndorsementRightsByCycleBadRequest

View Source
const GetAccountFutureEndorsementRightsByCycleNotFoundCode int = 404

GetAccountFutureEndorsementRightsByCycleNotFoundCode is the HTTP code returned for type GetAccountFutureEndorsementRightsByCycleNotFound

View Source
const GetAccountFutureEndorsementRightsByCycleOKCode int = 200

GetAccountFutureEndorsementRightsByCycleOKCode is the HTTP code returned for type GetAccountFutureEndorsementRightsByCycleOK

View Source
const GetAccountFutureEndorsingBadRequestCode int = 400

GetAccountFutureEndorsingBadRequestCode is the HTTP code returned for type GetAccountFutureEndorsingBadRequest

View Source
const GetAccountFutureEndorsingNotFoundCode int = 404

GetAccountFutureEndorsingNotFoundCode is the HTTP code returned for type GetAccountFutureEndorsingNotFound

View Source
const GetAccountFutureEndorsingOKCode int = 200

GetAccountFutureEndorsingOKCode is the HTTP code returned for type GetAccountFutureEndorsingOK

View Source
const GetAccountInternalServerErrorCode int = 500

GetAccountInternalServerErrorCode is the HTTP code returned for type GetAccountInternalServerError

View Source
const GetAccountNotFoundCode int = 404

GetAccountNotFoundCode is the HTTP code returned for type GetAccountNotFound

View Source
const GetAccountOKCode int = 200

GetAccountOKCode is the HTTP code returned for type GetAccountOK

View Source
const GetAccountReportBadRequestCode int = 400

GetAccountReportBadRequestCode is the HTTP code returned for type GetAccountReportBadRequest

View Source
const GetAccountReportInternalServerErrorCode int = 500

GetAccountReportInternalServerErrorCode is the HTTP code returned for type GetAccountReportInternalServerError

View Source
const GetAccountReportNotFoundCode int = 404

GetAccountReportNotFoundCode is the HTTP code returned for type GetAccountReportNotFound

View Source
const GetAccountReportOKCode int = 200

GetAccountReportOKCode is the HTTP code returned for type GetAccountReportOK

View Source
const GetAccountRewardsListBadRequestCode int = 400

GetAccountRewardsListBadRequestCode is the HTTP code returned for type GetAccountRewardsListBadRequest

View Source
const GetAccountRewardsListNotFoundCode int = 404

GetAccountRewardsListNotFoundCode is the HTTP code returned for type GetAccountRewardsListNotFound

View Source
const GetAccountRewardsListOKCode int = 200

GetAccountRewardsListOKCode is the HTTP code returned for type GetAccountRewardsListOK

View Source
const GetAccountSecurityDepositListBadRequestCode int = 400

GetAccountSecurityDepositListBadRequestCode is the HTTP code returned for type GetAccountSecurityDepositListBadRequest

View Source
const GetAccountSecurityDepositListNotFoundCode int = 404

GetAccountSecurityDepositListNotFoundCode is the HTTP code returned for type GetAccountSecurityDepositListNotFound

View Source
const GetAccountSecurityDepositListOKCode int = 200

GetAccountSecurityDepositListOKCode is the HTTP code returned for type GetAccountSecurityDepositListOK

View Source
const GetAccountTotalBakingBadRequestCode int = 400

GetAccountTotalBakingBadRequestCode is the HTTP code returned for type GetAccountTotalBakingBadRequest

View Source
const GetAccountTotalBakingListBadRequestCode int = 400

GetAccountTotalBakingListBadRequestCode is the HTTP code returned for type GetAccountTotalBakingListBadRequest

View Source
const GetAccountTotalBakingListNotFoundCode int = 404

GetAccountTotalBakingListNotFoundCode is the HTTP code returned for type GetAccountTotalBakingListNotFound

View Source
const GetAccountTotalBakingListOKCode int = 200

GetAccountTotalBakingListOKCode is the HTTP code returned for type GetAccountTotalBakingListOK

View Source
const GetAccountTotalBakingNotFoundCode int = 404

GetAccountTotalBakingNotFoundCode is the HTTP code returned for type GetAccountTotalBakingNotFound

View Source
const GetAccountTotalBakingOKCode int = 200

GetAccountTotalBakingOKCode is the HTTP code returned for type GetAccountTotalBakingOK

View Source
const GetAccountTotalEndorsingBadRequestCode int = 400

GetAccountTotalEndorsingBadRequestCode is the HTTP code returned for type GetAccountTotalEndorsingBadRequest

View Source
const GetAccountTotalEndorsingListBadRequestCode int = 400

GetAccountTotalEndorsingListBadRequestCode is the HTTP code returned for type GetAccountTotalEndorsingListBadRequest

View Source
const GetAccountTotalEndorsingListNotFoundCode int = 404

GetAccountTotalEndorsingListNotFoundCode is the HTTP code returned for type GetAccountTotalEndorsingListNotFound

View Source
const GetAccountTotalEndorsingListOKCode int = 200

GetAccountTotalEndorsingListOKCode is the HTTP code returned for type GetAccountTotalEndorsingListOK

View Source
const GetAccountTotalEndorsingNotFoundCode int = 404

GetAccountTotalEndorsingNotFoundCode is the HTTP code returned for type GetAccountTotalEndorsingNotFound

View Source
const GetAccountTotalEndorsingOKCode int = 200

GetAccountTotalEndorsingOKCode is the HTTP code returned for type GetAccountTotalEndorsingOK

View Source
const GetAccountTotalEndorsingingListBadRequestCode int = 400

GetAccountTotalEndorsingingListBadRequestCode is the HTTP code returned for type GetAccountTotalEndorsingingListBadRequest

View Source
const GetAccountTotalEndorsingingListNotFoundCode int = 404

GetAccountTotalEndorsingingListNotFoundCode is the HTTP code returned for type GetAccountTotalEndorsingingListNotFound

View Source
const GetAccountTotalEndorsingingListOKCode int = 200

GetAccountTotalEndorsingingListOKCode is the HTTP code returned for type GetAccountTotalEndorsingingListOK

View Source
const GetAccountsAggCountBadRequestCode int = 400

GetAccountsAggCountBadRequestCode is the HTTP code returned for type GetAccountsAggCountBadRequest

View Source
const GetAccountsAggCountInternalServerErrorCode int = 500

GetAccountsAggCountInternalServerErrorCode is the HTTP code returned for type GetAccountsAggCountInternalServerError

View Source
const GetAccountsAggCountNotFoundCode int = 404

GetAccountsAggCountNotFoundCode is the HTTP code returned for type GetAccountsAggCountNotFound

View Source
const GetAccountsAggCountOKCode int = 200

GetAccountsAggCountOKCode is the HTTP code returned for type GetAccountsAggCountOK

View Source
const GetAccountsListBadRequestCode int = 400

GetAccountsListBadRequestCode is the HTTP code returned for type GetAccountsListBadRequest

View Source
const GetAccountsListNotFoundCode int = 404

GetAccountsListNotFoundCode is the HTTP code returned for type GetAccountsListNotFound

View Source
const GetAccountsListOKCode int = 200

GetAccountsListOKCode is the HTTP code returned for type GetAccountsListOK

View Source
const GetAccountsTopBalanceListBadRequestCode int = 400

GetAccountsTopBalanceListBadRequestCode is the HTTP code returned for type GetAccountsTopBalanceListBadRequest

View Source
const GetAccountsTopBalanceListNotFoundCode int = 404

GetAccountsTopBalanceListNotFoundCode is the HTTP code returned for type GetAccountsTopBalanceListNotFound

View Source
const GetAccountsTopBalanceListOKCode int = 200

GetAccountsTopBalanceListOKCode is the HTTP code returned for type GetAccountsTopBalanceListOK

View Source
const GetAccountsTotalAggCountBadRequestCode int = 400

GetAccountsTotalAggCountBadRequestCode is the HTTP code returned for type GetAccountsTotalAggCountBadRequest

View Source
const GetAccountsTotalAggCountInternalServerErrorCode int = 500

GetAccountsTotalAggCountInternalServerErrorCode is the HTTP code returned for type GetAccountsTotalAggCountInternalServerError

View Source
const GetAccountsTotalAggCountNotFoundCode int = 404

GetAccountsTotalAggCountNotFoundCode is the HTTP code returned for type GetAccountsTotalAggCountNotFound

View Source
const GetAccountsTotalAggCountOKCode int = 200

GetAccountsTotalAggCountOKCode is the HTTP code returned for type GetAccountsTotalAggCountOK

View Source
const GetActiveAccountsAggCountBadRequestCode int = 400

GetActiveAccountsAggCountBadRequestCode is the HTTP code returned for type GetActiveAccountsAggCountBadRequest

View Source
const GetActiveAccountsAggCountInternalServerErrorCode int = 500

GetActiveAccountsAggCountInternalServerErrorCode is the HTTP code returned for type GetActiveAccountsAggCountInternalServerError

View Source
const GetActiveAccountsAggCountNotFoundCode int = 404

GetActiveAccountsAggCountNotFoundCode is the HTTP code returned for type GetActiveAccountsAggCountNotFound

View Source
const GetActiveAccountsAggCountOKCode int = 200

GetActiveAccountsAggCountOKCode is the HTTP code returned for type GetActiveAccountsAggCountOK

View Source
const GetBakersDelegatorsBadRequestCode int = 400

GetBakersDelegatorsBadRequestCode is the HTTP code returned for type GetBakersDelegatorsBadRequest

View Source
const GetBakersDelegatorsInternalServerErrorCode int = 500

GetBakersDelegatorsInternalServerErrorCode is the HTTP code returned for type GetBakersDelegatorsInternalServerError

View Source
const GetBakersDelegatorsNotFoundCode int = 404

GetBakersDelegatorsNotFoundCode is the HTTP code returned for type GetBakersDelegatorsNotFound

View Source
const GetBakersDelegatorsOKCode int = 200

GetBakersDelegatorsOKCode is the HTTP code returned for type GetBakersDelegatorsOK

View Source
const GetBakersHoldingBadRequestCode int = 400

GetBakersHoldingBadRequestCode is the HTTP code returned for type GetBakersHoldingBadRequest

View Source
const GetBakersHoldingInternalServerErrorCode int = 500

GetBakersHoldingInternalServerErrorCode is the HTTP code returned for type GetBakersHoldingInternalServerError

View Source
const GetBakersHoldingNotFoundCode int = 404

GetBakersHoldingNotFoundCode is the HTTP code returned for type GetBakersHoldingNotFound

View Source
const GetBakersHoldingOKCode int = 200

GetBakersHoldingOKCode is the HTTP code returned for type GetBakersHoldingOK

View Source
const GetBakersListBadRequestCode int = 400

GetBakersListBadRequestCode is the HTTP code returned for type GetBakersListBadRequest

View Source
const GetBakersListNotFoundCode int = 404

GetBakersListNotFoundCode is the HTTP code returned for type GetBakersListNotFound

View Source
const GetBakersListOKCode int = 200

GetBakersListOKCode is the HTTP code returned for type GetBakersListOK

View Source
const GetBakersStakeChangeBadRequestCode int = 400

GetBakersStakeChangeBadRequestCode is the HTTP code returned for type GetBakersStakeChangeBadRequest

View Source
const GetBakersStakeChangeInternalServerErrorCode int = 500

GetBakersStakeChangeInternalServerErrorCode is the HTTP code returned for type GetBakersStakeChangeInternalServerError

View Source
const GetBakersStakeChangeNotFoundCode int = 404

GetBakersStakeChangeNotFoundCode is the HTTP code returned for type GetBakersStakeChangeNotFound

View Source
const GetBakersStakeChangeOKCode int = 200

GetBakersStakeChangeOKCode is the HTTP code returned for type GetBakersStakeChangeOK

View Source
const GetBakersVotingBadRequestCode int = 400

GetBakersVotingBadRequestCode is the HTTP code returned for type GetBakersVotingBadRequest

View Source
const GetBakersVotingInternalServerErrorCode int = 500

GetBakersVotingInternalServerErrorCode is the HTTP code returned for type GetBakersVotingInternalServerError

View Source
const GetBakersVotingNotFoundCode int = 404

GetBakersVotingNotFoundCode is the HTTP code returned for type GetBakersVotingNotFound

View Source
const GetBakersVotingOKCode int = 200

GetBakersVotingOKCode is the HTTP code returned for type GetBakersVotingOK

View Source
const GetContractsAggCountBadRequestCode int = 400

GetContractsAggCountBadRequestCode is the HTTP code returned for type GetContractsAggCountBadRequest

View Source
const GetContractsAggCountInternalServerErrorCode int = 500

GetContractsAggCountInternalServerErrorCode is the HTTP code returned for type GetContractsAggCountInternalServerError

View Source
const GetContractsAggCountNotFoundCode int = 404

GetContractsAggCountNotFoundCode is the HTTP code returned for type GetContractsAggCountNotFound

View Source
const GetContractsAggCountOKCode int = 200

GetContractsAggCountOKCode is the HTTP code returned for type GetContractsAggCountOK

View Source
const GetContractsListBadRequestCode int = 400

GetContractsListBadRequestCode is the HTTP code returned for type GetContractsListBadRequest

View Source
const GetContractsListNotFoundCode int = 404

GetContractsListNotFoundCode is the HTTP code returned for type GetContractsListNotFound

View Source
const GetContractsListOKCode int = 200

GetContractsListOKCode is the HTTP code returned for type GetContractsListOK

View Source
const GetContractsTotalAggCountBadRequestCode int = 400

GetContractsTotalAggCountBadRequestCode is the HTTP code returned for type GetContractsTotalAggCountBadRequest

View Source
const GetContractsTotalAggCountInternalServerErrorCode int = 500

GetContractsTotalAggCountInternalServerErrorCode is the HTTP code returned for type GetContractsTotalAggCountInternalServerError

View Source
const GetContractsTotalAggCountNotFoundCode int = 404

GetContractsTotalAggCountNotFoundCode is the HTTP code returned for type GetContractsTotalAggCountNotFound

View Source
const GetContractsTotalAggCountOKCode int = 200

GetContractsTotalAggCountOKCode is the HTTP code returned for type GetContractsTotalAggCountOK

View Source
const GetInactiveAccountsAggCountBadRequestCode int = 400

GetInactiveAccountsAggCountBadRequestCode is the HTTP code returned for type GetInactiveAccountsAggCountBadRequest

View Source
const GetInactiveAccountsAggCountInternalServerErrorCode int = 500

GetInactiveAccountsAggCountInternalServerErrorCode is the HTTP code returned for type GetInactiveAccountsAggCountInternalServerError

View Source
const GetInactiveAccountsAggCountNotFoundCode int = 404

GetInactiveAccountsAggCountNotFoundCode is the HTTP code returned for type GetInactiveAccountsAggCountNotFound

View Source
const GetInactiveAccountsAggCountOKCode int = 200

GetInactiveAccountsAggCountOKCode is the HTTP code returned for type GetInactiveAccountsAggCountOK

View Source
const GetLostBlocksAggCountBadRequestCode int = 400

GetLostBlocksAggCountBadRequestCode is the HTTP code returned for type GetLostBlocksAggCountBadRequest

View Source
const GetLostBlocksAggCountInternalServerErrorCode int = 500

GetLostBlocksAggCountInternalServerErrorCode is the HTTP code returned for type GetLostBlocksAggCountInternalServerError

View Source
const GetLostBlocksAggCountNotFoundCode int = 404

GetLostBlocksAggCountNotFoundCode is the HTTP code returned for type GetLostBlocksAggCountNotFound

View Source
const GetLostBlocksAggCountOKCode int = 200

GetLostBlocksAggCountOKCode is the HTTP code returned for type GetLostBlocksAggCountOK

View Source
const GetLostEndorsermentsAggCountBadRequestCode int = 400

GetLostEndorsermentsAggCountBadRequestCode is the HTTP code returned for type GetLostEndorsermentsAggCountBadRequest

View Source
const GetLostEndorsermentsAggCountInternalServerErrorCode int = 500

GetLostEndorsermentsAggCountInternalServerErrorCode is the HTTP code returned for type GetLostEndorsermentsAggCountInternalServerError

View Source
const GetLostEndorsermentsAggCountNotFoundCode int = 404

GetLostEndorsermentsAggCountNotFoundCode is the HTTP code returned for type GetLostEndorsermentsAggCountNotFound

View Source
const GetLostEndorsermentsAggCountOKCode int = 200

GetLostEndorsermentsAggCountOKCode is the HTTP code returned for type GetLostEndorsermentsAggCountOK

View Source
const GetLostRewardsAggBadRequestCode int = 400

GetLostRewardsAggBadRequestCode is the HTTP code returned for type GetLostRewardsAggBadRequest

View Source
const GetLostRewardsAggInternalServerErrorCode int = 500

GetLostRewardsAggInternalServerErrorCode is the HTTP code returned for type GetLostRewardsAggInternalServerError

View Source
const GetLostRewardsAggNotFoundCode int = 404

GetLostRewardsAggNotFoundCode is the HTTP code returned for type GetLostRewardsAggNotFound

View Source
const GetLostRewardsAggOKCode int = 200

GetLostRewardsAggOKCode is the HTTP code returned for type GetLostRewardsAggOK

View Source
const GetLowBalanceTotalAggCountBadRequestCode int = 400

GetLowBalanceTotalAggCountBadRequestCode is the HTTP code returned for type GetLowBalanceTotalAggCountBadRequest

View Source
const GetLowBalanceTotalAggCountInternalServerErrorCode int = 500

GetLowBalanceTotalAggCountInternalServerErrorCode is the HTTP code returned for type GetLowBalanceTotalAggCountInternalServerError

View Source
const GetLowBalanceTotalAggCountNotFoundCode int = 404

GetLowBalanceTotalAggCountNotFoundCode is the HTTP code returned for type GetLowBalanceTotalAggCountNotFound

View Source
const GetLowBalanceTotalAggCountOKCode int = 200

GetLowBalanceTotalAggCountOKCode is the HTTP code returned for type GetLowBalanceTotalAggCountOK

View Source
const GetPublicBakersListBadRequestCode int = 400

GetPublicBakersListBadRequestCode is the HTTP code returned for type GetPublicBakersListBadRequest

View Source
const GetPublicBakersListForSearchBadRequestCode int = 400

GetPublicBakersListForSearchBadRequestCode is the HTTP code returned for type GetPublicBakersListForSearchBadRequest

View Source
const GetPublicBakersListForSearchNotFoundCode int = 404

GetPublicBakersListForSearchNotFoundCode is the HTTP code returned for type GetPublicBakersListForSearchNotFound

View Source
const GetPublicBakersListForSearchOKCode int = 200

GetPublicBakersListForSearchOKCode is the HTTP code returned for type GetPublicBakersListForSearchOK

View Source
const GetPublicBakersListNotFoundCode int = 404

GetPublicBakersListNotFoundCode is the HTTP code returned for type GetPublicBakersListNotFound

View Source
const GetPublicBakersListOKCode int = 200

GetPublicBakersListOKCode is the HTTP code returned for type GetPublicBakersListOK

View Source
const GetWhaleAccountsBadRequestCode int = 400

GetWhaleAccountsBadRequestCode is the HTTP code returned for type GetWhaleAccountsBadRequest

View Source
const GetWhaleAccountsNotFoundCode int = 404

GetWhaleAccountsNotFoundCode is the HTTP code returned for type GetWhaleAccountsNotFound

View Source
const GetWhaleAccountsOKCode int = 200

GetWhaleAccountsOKCode is the HTTP code returned for type GetWhaleAccountsOK

View Source
const GetWhaleMoversBadRequestCode int = 400

GetWhaleMoversBadRequestCode is the HTTP code returned for type GetWhaleMoversBadRequest

View Source
const GetWhaleMoversInternalServerErrorCode int = 500

GetWhaleMoversInternalServerErrorCode is the HTTP code returned for type GetWhaleMoversInternalServerError

View Source
const GetWhaleMoversNotFoundCode int = 404

GetWhaleMoversNotFoundCode is the HTTP code returned for type GetWhaleMoversNotFound

View Source
const GetWhaleMoversOKCode int = 200

GetWhaleMoversOKCode is the HTTP code returned for type GetWhaleMoversOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetAccount

type GetAccount struct {
	Context *middleware.Context
	Handler GetAccountHandler
}

GetAccount swagger:route GET /v2/data/{platform}/{network}/accounts/{accountId} Accounts getAccount

GetAccount get account API

func NewGetAccount

func NewGetAccount(ctx *middleware.Context, handler GetAccountHandler) *GetAccount

NewGetAccount creates a new http.Handler for the get account operation

func (*GetAccount) ServeHTTP

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

type GetAccountAssetsBalancesList

type GetAccountAssetsBalancesList struct {
	Context *middleware.Context
	Handler GetAccountAssetsBalancesListHandler
}

GetAccountAssetsBalancesList swagger:route GET /v2/data/{platform}/{network}/accounts/{accountId}/assets Accounts getAccountAssetsBalancesList

GetAccountAssetsBalancesList get account assets balances list API

func NewGetAccountAssetsBalancesList

func NewGetAccountAssetsBalancesList(ctx *middleware.Context, handler GetAccountAssetsBalancesListHandler) *GetAccountAssetsBalancesList

NewGetAccountAssetsBalancesList creates a new http.Handler for the get account assets balances list operation

func (*GetAccountAssetsBalancesList) ServeHTTP

type GetAccountAssetsBalancesListBadRequest

type GetAccountAssetsBalancesListBadRequest struct {
}

GetAccountAssetsBalancesListBadRequest Bad request

swagger:response getAccountAssetsBalancesListBadRequest

func NewGetAccountAssetsBalancesListBadRequest

func NewGetAccountAssetsBalancesListBadRequest() *GetAccountAssetsBalancesListBadRequest

NewGetAccountAssetsBalancesListBadRequest creates GetAccountAssetsBalancesListBadRequest with default headers values

func (*GetAccountAssetsBalancesListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountAssetsBalancesListHandler

type GetAccountAssetsBalancesListHandler interface {
	Handle(GetAccountAssetsBalancesListParams) middleware.Responder
}

GetAccountAssetsBalancesListHandler interface for that can handle valid get account assets balances list params

type GetAccountAssetsBalancesListHandlerFunc

type GetAccountAssetsBalancesListHandlerFunc func(GetAccountAssetsBalancesListParams) middleware.Responder

GetAccountAssetsBalancesListHandlerFunc turns a function with the right signature into a get account assets balances list handler

func (GetAccountAssetsBalancesListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountAssetsBalancesListInternalServerError

type GetAccountAssetsBalancesListInternalServerError struct {
}

GetAccountAssetsBalancesListInternalServerError Internal error

swagger:response getAccountAssetsBalancesListInternalServerError

func NewGetAccountAssetsBalancesListInternalServerError

func NewGetAccountAssetsBalancesListInternalServerError() *GetAccountAssetsBalancesListInternalServerError

NewGetAccountAssetsBalancesListInternalServerError creates GetAccountAssetsBalancesListInternalServerError with default headers values

func (*GetAccountAssetsBalancesListInternalServerError) WriteResponse

WriteResponse to the client

type GetAccountAssetsBalancesListNotFound

type GetAccountAssetsBalancesListNotFound struct {
}

GetAccountAssetsBalancesListNotFound Not Found

swagger:response getAccountAssetsBalancesListNotFound

func NewGetAccountAssetsBalancesListNotFound

func NewGetAccountAssetsBalancesListNotFound() *GetAccountAssetsBalancesListNotFound

NewGetAccountAssetsBalancesListNotFound creates GetAccountAssetsBalancesListNotFound with default headers values

func (*GetAccountAssetsBalancesListNotFound) WriteResponse

WriteResponse to the client

type GetAccountAssetsBalancesListOK

type GetAccountAssetsBalancesListOK struct {

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

GetAccountAssetsBalancesListOK Query compatibility endpoint for account

swagger:response getAccountAssetsBalancesListOK

func NewGetAccountAssetsBalancesListOK

func NewGetAccountAssetsBalancesListOK() *GetAccountAssetsBalancesListOK

NewGetAccountAssetsBalancesListOK creates GetAccountAssetsBalancesListOK with default headers values

func (*GetAccountAssetsBalancesListOK) SetPayload

SetPayload sets the payload to the get account assets balances list o k response

func (*GetAccountAssetsBalancesListOK) WithPayload

WithPayload adds the payload to the get account assets balances list o k response

func (*GetAccountAssetsBalancesListOK) WriteResponse

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

WriteResponse to the client

type GetAccountAssetsBalancesListParams

type GetAccountAssetsBalancesListParams struct {

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

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

GetAccountAssetsBalancesListParams contains all the bound params for the get account assets balances list operation typically these are obtained from a http.Request

swagger:parameters getAccountAssetsBalancesList

func NewGetAccountAssetsBalancesListParams

func NewGetAccountAssetsBalancesListParams() GetAccountAssetsBalancesListParams

NewGetAccountAssetsBalancesListParams creates a new GetAccountAssetsBalancesListParams object no default values defined in spec.

func (*GetAccountAssetsBalancesListParams) 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 NewGetAccountAssetsBalancesListParams() beforehand.

type GetAccountAssetsBalancesListURL

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

GetAccountAssetsBalancesListURL generates an URL for the get account assets balances list operation

func (*GetAccountAssetsBalancesListURL) Build

Build a url path and query string

func (*GetAccountAssetsBalancesListURL) BuildFull

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

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

func (*GetAccountAssetsBalancesListURL) Must

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

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

func (*GetAccountAssetsBalancesListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountAssetsBalancesListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountBadRequest struct {
}

GetAccountBadRequest Bad request

swagger:response getAccountBadRequest

func NewGetAccountBadRequest

func NewGetAccountBadRequest() *GetAccountBadRequest

NewGetAccountBadRequest creates GetAccountBadRequest with default headers values

func (*GetAccountBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountBakedBlocksList

type GetAccountBakedBlocksList struct {
	Context *middleware.Context
	Handler GetAccountBakedBlocksListHandler
}

GetAccountBakedBlocksList swagger:route GET /v2/data/{platform}/{network}/accounts/baking/{accountId}/blocks/{cycleId} Accounts getAccountBakedBlocksList

GetAccountBakedBlocksList get account baked blocks list API

func NewGetAccountBakedBlocksList

func NewGetAccountBakedBlocksList(ctx *middleware.Context, handler GetAccountBakedBlocksListHandler) *GetAccountBakedBlocksList

NewGetAccountBakedBlocksList creates a new http.Handler for the get account baked blocks list operation

func (*GetAccountBakedBlocksList) ServeHTTP

type GetAccountBakedBlocksListBadRequest

type GetAccountBakedBlocksListBadRequest struct {
}

GetAccountBakedBlocksListBadRequest Bad request

swagger:response getAccountBakedBlocksListBadRequest

func NewGetAccountBakedBlocksListBadRequest

func NewGetAccountBakedBlocksListBadRequest() *GetAccountBakedBlocksListBadRequest

NewGetAccountBakedBlocksListBadRequest creates GetAccountBakedBlocksListBadRequest with default headers values

func (*GetAccountBakedBlocksListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountBakedBlocksListHandler

type GetAccountBakedBlocksListHandler interface {
	Handle(GetAccountBakedBlocksListParams) middleware.Responder
}

GetAccountBakedBlocksListHandler interface for that can handle valid get account baked blocks list params

type GetAccountBakedBlocksListHandlerFunc

type GetAccountBakedBlocksListHandlerFunc func(GetAccountBakedBlocksListParams) middleware.Responder

GetAccountBakedBlocksListHandlerFunc turns a function with the right signature into a get account baked blocks list handler

func (GetAccountBakedBlocksListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountBakedBlocksListNotFound

type GetAccountBakedBlocksListNotFound struct {
}

GetAccountBakedBlocksListNotFound Not Found

swagger:response getAccountBakedBlocksListNotFound

func NewGetAccountBakedBlocksListNotFound

func NewGetAccountBakedBlocksListNotFound() *GetAccountBakedBlocksListNotFound

NewGetAccountBakedBlocksListNotFound creates GetAccountBakedBlocksListNotFound with default headers values

func (*GetAccountBakedBlocksListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountBakedBlocksListOK

type GetAccountBakedBlocksListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountBakedBlocksListOK Query compatibility endpoint for account baking

swagger:response getAccountBakedBlocksListOK

func NewGetAccountBakedBlocksListOK

func NewGetAccountBakedBlocksListOK() *GetAccountBakedBlocksListOK

NewGetAccountBakedBlocksListOK creates GetAccountBakedBlocksListOK with default headers values

func (*GetAccountBakedBlocksListOK) SetPayload

func (o *GetAccountBakedBlocksListOK) SetPayload(payload []*models.BlocksRow)

SetPayload sets the payload to the get account baked blocks list o k response

func (*GetAccountBakedBlocksListOK) SetXTotalCount

func (o *GetAccountBakedBlocksListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account baked blocks list o k response

func (*GetAccountBakedBlocksListOK) WithPayload

WithPayload adds the payload to the get account baked blocks list o k response

func (*GetAccountBakedBlocksListOK) WithXTotalCount

func (o *GetAccountBakedBlocksListOK) WithXTotalCount(xTotalCount int64) *GetAccountBakedBlocksListOK

WithXTotalCount adds the xTotalCount to the get account baked blocks list o k response

func (*GetAccountBakedBlocksListOK) WriteResponse

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

WriteResponse to the client

type GetAccountBakedBlocksListParams

type GetAccountBakedBlocksListParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID string
	/*
	  Required: true
	  In: path
	*/
	CycleID 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
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountBakedBlocksListParams contains all the bound params for the get account baked blocks list operation typically these are obtained from a http.Request

swagger:parameters getAccountBakedBlocksList

func NewGetAccountBakedBlocksListParams

func NewGetAccountBakedBlocksListParams() GetAccountBakedBlocksListParams

NewGetAccountBakedBlocksListParams creates a new GetAccountBakedBlocksListParams object with the default values initialized.

func (*GetAccountBakedBlocksListParams) 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 NewGetAccountBakedBlocksListParams() beforehand.

type GetAccountBakedBlocksListURL

type GetAccountBakedBlocksListURL struct {
	AccountID string
	CycleID   int64
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountBakedBlocksListURL generates an URL for the get account baked blocks list operation

func (*GetAccountBakedBlocksListURL) Build

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

Build a url path and query string

func (*GetAccountBakedBlocksListURL) BuildFull

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

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

func (*GetAccountBakedBlocksListURL) Must

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

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

func (*GetAccountBakedBlocksListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountBakedBlocksListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountBakingList struct {
	Context *middleware.Context
	Handler GetAccountBakingListHandler
}

GetAccountBakingList swagger:route GET /v2/data/{platform}/{network}/accounts/baking/{accountId} Accounts getAccountBakingList

GetAccountBakingList get account baking list API

func NewGetAccountBakingList

func NewGetAccountBakingList(ctx *middleware.Context, handler GetAccountBakingListHandler) *GetAccountBakingList

NewGetAccountBakingList creates a new http.Handler for the get account baking list operation

func (*GetAccountBakingList) ServeHTTP

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

type GetAccountBakingListBadRequest

type GetAccountBakingListBadRequest struct {
}

GetAccountBakingListBadRequest Bad request

swagger:response getAccountBakingListBadRequest

func NewGetAccountBakingListBadRequest

func NewGetAccountBakingListBadRequest() *GetAccountBakingListBadRequest

NewGetAccountBakingListBadRequest creates GetAccountBakingListBadRequest with default headers values

func (*GetAccountBakingListBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountBakingListHandler

type GetAccountBakingListHandler interface {
	Handle(GetAccountBakingListParams) middleware.Responder
}

GetAccountBakingListHandler interface for that can handle valid get account baking list params

type GetAccountBakingListHandlerFunc

type GetAccountBakingListHandlerFunc func(GetAccountBakingListParams) middleware.Responder

GetAccountBakingListHandlerFunc turns a function with the right signature into a get account baking list handler

func (GetAccountBakingListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountBakingListNotFound

type GetAccountBakingListNotFound struct {
}

GetAccountBakingListNotFound Not Found

swagger:response getAccountBakingListNotFound

func NewGetAccountBakingListNotFound

func NewGetAccountBakingListNotFound() *GetAccountBakingListNotFound

NewGetAccountBakingListNotFound creates GetAccountBakingListNotFound with default headers values

func (*GetAccountBakingListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountBakingListOK

type GetAccountBakingListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountBakingListOK Query compatibility endpoint for account baking

swagger:response getAccountBakingListOK

func NewGetAccountBakingListOK

func NewGetAccountBakingListOK() *GetAccountBakingListOK

NewGetAccountBakingListOK creates GetAccountBakingListOK with default headers values

func (*GetAccountBakingListOK) SetPayload

func (o *GetAccountBakingListOK) SetPayload(payload []*models.AccountBakingRow)

SetPayload sets the payload to the get account baking list o k response

func (*GetAccountBakingListOK) SetXTotalCount

func (o *GetAccountBakingListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account baking list o k response

func (*GetAccountBakingListOK) WithPayload

WithPayload adds the payload to the get account baking list o k response

func (*GetAccountBakingListOK) WithXTotalCount

func (o *GetAccountBakingListOK) WithXTotalCount(xTotalCount int64) *GetAccountBakingListOK

WithXTotalCount adds the xTotalCount to the get account baking list o k response

func (*GetAccountBakingListOK) WriteResponse

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

WriteResponse to the client

type GetAccountBakingListParams

type GetAccountBakingListParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID 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
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountBakingListParams contains all the bound params for the get account baking list operation typically these are obtained from a http.Request

swagger:parameters getAccountBakingList

func NewGetAccountBakingListParams

func NewGetAccountBakingListParams() GetAccountBakingListParams

NewGetAccountBakingListParams creates a new GetAccountBakingListParams object with the default values initialized.

func (*GetAccountBakingListParams) 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 NewGetAccountBakingListParams() beforehand.

type GetAccountBakingListURL

type GetAccountBakingListURL struct {
	AccountID string
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountBakingListURL generates an URL for the get account baking list operation

func (*GetAccountBakingListURL) Build

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

Build a url path and query string

func (*GetAccountBakingListURL) BuildFull

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

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

func (*GetAccountBakingListURL) Must

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

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

func (*GetAccountBakingListURL) SetBasePath

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

func (o *GetAccountBakingListURL) String() string

String returns the string representation of the path with query string

func (*GetAccountBakingListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountBalanceList struct {
	Context *middleware.Context
	Handler GetAccountBalanceListHandler
}

GetAccountBalanceList swagger:route GET /v2/data/{platform}/{network}/accounts/balances/{accountId} Accounts getAccountBalanceList

GetAccountBalanceList get account balance list API

func NewGetAccountBalanceList

func NewGetAccountBalanceList(ctx *middleware.Context, handler GetAccountBalanceListHandler) *GetAccountBalanceList

NewGetAccountBalanceList creates a new http.Handler for the get account balance list operation

func (*GetAccountBalanceList) ServeHTTP

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

type GetAccountBalanceListBadRequest

type GetAccountBalanceListBadRequest struct {
}

GetAccountBalanceListBadRequest Bad request

swagger:response getAccountBalanceListBadRequest

func NewGetAccountBalanceListBadRequest

func NewGetAccountBalanceListBadRequest() *GetAccountBalanceListBadRequest

NewGetAccountBalanceListBadRequest creates GetAccountBalanceListBadRequest with default headers values

func (*GetAccountBalanceListBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountBalanceListHandler

type GetAccountBalanceListHandler interface {
	Handle(GetAccountBalanceListParams) middleware.Responder
}

GetAccountBalanceListHandler interface for that can handle valid get account balance list params

type GetAccountBalanceListHandlerFunc

type GetAccountBalanceListHandlerFunc func(GetAccountBalanceListParams) middleware.Responder

GetAccountBalanceListHandlerFunc turns a function with the right signature into a get account balance list handler

func (GetAccountBalanceListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountBalanceListNotFound

type GetAccountBalanceListNotFound struct {
}

GetAccountBalanceListNotFound Not Found

swagger:response getAccountBalanceListNotFound

func NewGetAccountBalanceListNotFound

func NewGetAccountBalanceListNotFound() *GetAccountBalanceListNotFound

NewGetAccountBalanceListNotFound creates GetAccountBalanceListNotFound with default headers values

func (*GetAccountBalanceListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountBalanceListOK

type GetAccountBalanceListOK struct {

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

GetAccountBalanceListOK Query compatibility endpoint for account balances

swagger:response getAccountBalanceListOK

func NewGetAccountBalanceListOK

func NewGetAccountBalanceListOK() *GetAccountBalanceListOK

NewGetAccountBalanceListOK creates GetAccountBalanceListOK with default headers values

func (*GetAccountBalanceListOK) SetPayload

func (o *GetAccountBalanceListOK) SetPayload(payload []*models.AccountBalance)

SetPayload sets the payload to the get account balance list o k response

func (*GetAccountBalanceListOK) WithPayload

WithPayload adds the payload to the get account balance list o k response

func (*GetAccountBalanceListOK) WriteResponse

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

WriteResponse to the client

type GetAccountBalanceListParams

type GetAccountBalanceListParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID string
	/*
	  Required: true
	  In: query
	*/
	From int64
	/*Not used
	  Required: true
	  In: path
	*/
	Network string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  Required: true
	  In: query
	*/
	To int64
}

GetAccountBalanceListParams contains all the bound params for the get account balance list operation typically these are obtained from a http.Request

swagger:parameters getAccountBalanceList

func NewGetAccountBalanceListParams

func NewGetAccountBalanceListParams() GetAccountBalanceListParams

NewGetAccountBalanceListParams creates a new GetAccountBalanceListParams object no default values defined in spec.

func (*GetAccountBalanceListParams) 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 NewGetAccountBalanceListParams() beforehand.

type GetAccountBalanceListURL

type GetAccountBalanceListURL struct {
	AccountID string
	Network   string
	Platform  string

	From int64
	To   int64
	// contains filtered or unexported fields
}

GetAccountBalanceListURL generates an URL for the get account balance list operation

func (*GetAccountBalanceListURL) Build

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

Build a url path and query string

func (*GetAccountBalanceListURL) BuildFull

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

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

func (*GetAccountBalanceListURL) Must

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

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

func (*GetAccountBalanceListURL) SetBasePath

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

func (o *GetAccountBalanceListURL) String() string

String returns the string representation of the path with query string

func (*GetAccountBalanceListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountDelegators struct {
	Context *middleware.Context
	Handler GetAccountDelegatorsHandler
}

GetAccountDelegators swagger:route GET /v2/data/{platform}/{network}/accounts/{accountId}/delegators Accounts getAccountDelegators

GetAccountDelegators get account delegators API

func NewGetAccountDelegators

func NewGetAccountDelegators(ctx *middleware.Context, handler GetAccountDelegatorsHandler) *GetAccountDelegators

NewGetAccountDelegators creates a new http.Handler for the get account delegators operation

func (*GetAccountDelegators) ServeHTTP

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

type GetAccountDelegatorsBadRequest

type GetAccountDelegatorsBadRequest struct {
}

GetAccountDelegatorsBadRequest Bad request

swagger:response getAccountDelegatorsBadRequest

func NewGetAccountDelegatorsBadRequest

func NewGetAccountDelegatorsBadRequest() *GetAccountDelegatorsBadRequest

NewGetAccountDelegatorsBadRequest creates GetAccountDelegatorsBadRequest with default headers values

func (*GetAccountDelegatorsBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountDelegatorsByCycleList

type GetAccountDelegatorsByCycleList struct {
	Context *middleware.Context
	Handler GetAccountDelegatorsByCycleListHandler
}

GetAccountDelegatorsByCycleList swagger:route GET /v2/data/{platform}/{network}/accounts/{accountId}/delegators/{cycleId} Accounts getAccountDelegatorsByCycleList

GetAccountDelegatorsByCycleList get account delegators by cycle list API

func NewGetAccountDelegatorsByCycleList

func NewGetAccountDelegatorsByCycleList(ctx *middleware.Context, handler GetAccountDelegatorsByCycleListHandler) *GetAccountDelegatorsByCycleList

NewGetAccountDelegatorsByCycleList creates a new http.Handler for the get account delegators by cycle list operation

func (*GetAccountDelegatorsByCycleList) ServeHTTP

type GetAccountDelegatorsByCycleListBadRequest

type GetAccountDelegatorsByCycleListBadRequest struct {
}

GetAccountDelegatorsByCycleListBadRequest Bad request

swagger:response getAccountDelegatorsByCycleListBadRequest

func NewGetAccountDelegatorsByCycleListBadRequest

func NewGetAccountDelegatorsByCycleListBadRequest() *GetAccountDelegatorsByCycleListBadRequest

NewGetAccountDelegatorsByCycleListBadRequest creates GetAccountDelegatorsByCycleListBadRequest with default headers values

func (*GetAccountDelegatorsByCycleListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountDelegatorsByCycleListHandler

type GetAccountDelegatorsByCycleListHandler interface {
	Handle(GetAccountDelegatorsByCycleListParams) middleware.Responder
}

GetAccountDelegatorsByCycleListHandler interface for that can handle valid get account delegators by cycle list params

type GetAccountDelegatorsByCycleListHandlerFunc

type GetAccountDelegatorsByCycleListHandlerFunc func(GetAccountDelegatorsByCycleListParams) middleware.Responder

GetAccountDelegatorsByCycleListHandlerFunc turns a function with the right signature into a get account delegators by cycle list handler

func (GetAccountDelegatorsByCycleListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountDelegatorsByCycleListNotFound

type GetAccountDelegatorsByCycleListNotFound struct {
}

GetAccountDelegatorsByCycleListNotFound Not Found

swagger:response getAccountDelegatorsByCycleListNotFound

func NewGetAccountDelegatorsByCycleListNotFound

func NewGetAccountDelegatorsByCycleListNotFound() *GetAccountDelegatorsByCycleListNotFound

NewGetAccountDelegatorsByCycleListNotFound creates GetAccountDelegatorsByCycleListNotFound with default headers values

func (*GetAccountDelegatorsByCycleListNotFound) WriteResponse

WriteResponse to the client

type GetAccountDelegatorsByCycleListOK

type GetAccountDelegatorsByCycleListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountDelegatorsByCycleListOK Query compatibility endpoint for account rewards

swagger:response getAccountDelegatorsByCycleListOK

func NewGetAccountDelegatorsByCycleListOK

func NewGetAccountDelegatorsByCycleListOK() *GetAccountDelegatorsByCycleListOK

NewGetAccountDelegatorsByCycleListOK creates GetAccountDelegatorsByCycleListOK with default headers values

func (*GetAccountDelegatorsByCycleListOK) SetPayload

func (o *GetAccountDelegatorsByCycleListOK) SetPayload(payload []*models.BakerDelegator)

SetPayload sets the payload to the get account delegators by cycle list o k response

func (*GetAccountDelegatorsByCycleListOK) SetXTotalCount

func (o *GetAccountDelegatorsByCycleListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account delegators by cycle list o k response

func (*GetAccountDelegatorsByCycleListOK) WithPayload

WithPayload adds the payload to the get account delegators by cycle list o k response

func (*GetAccountDelegatorsByCycleListOK) WithXTotalCount

WithXTotalCount adds the xTotalCount to the get account delegators by cycle list o k response

func (*GetAccountDelegatorsByCycleListOK) WriteResponse

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

WriteResponse to the client

type GetAccountDelegatorsByCycleListParams

type GetAccountDelegatorsByCycleListParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID string
	/*
	  Required: true
	  In: path
	*/
	CycleID 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
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountDelegatorsByCycleListParams contains all the bound params for the get account delegators by cycle list operation typically these are obtained from a http.Request

swagger:parameters getAccountDelegatorsByCycleList

func NewGetAccountDelegatorsByCycleListParams

func NewGetAccountDelegatorsByCycleListParams() GetAccountDelegatorsByCycleListParams

NewGetAccountDelegatorsByCycleListParams creates a new GetAccountDelegatorsByCycleListParams object with the default values initialized.

func (*GetAccountDelegatorsByCycleListParams) 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 NewGetAccountDelegatorsByCycleListParams() beforehand.

type GetAccountDelegatorsByCycleListURL

type GetAccountDelegatorsByCycleListURL struct {
	AccountID string
	CycleID   int64
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountDelegatorsByCycleListURL generates an URL for the get account delegators by cycle list operation

func (*GetAccountDelegatorsByCycleListURL) Build

Build a url path and query string

func (*GetAccountDelegatorsByCycleListURL) BuildFull

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

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

func (*GetAccountDelegatorsByCycleListURL) Must

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

func (*GetAccountDelegatorsByCycleListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountDelegatorsByCycleListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountDelegatorsHandler interface {
	Handle(GetAccountDelegatorsParams) middleware.Responder
}

GetAccountDelegatorsHandler interface for that can handle valid get account delegators params

type GetAccountDelegatorsHandlerFunc

type GetAccountDelegatorsHandlerFunc func(GetAccountDelegatorsParams) middleware.Responder

GetAccountDelegatorsHandlerFunc turns a function with the right signature into a get account delegators handler

func (GetAccountDelegatorsHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountDelegatorsInternalServerError

type GetAccountDelegatorsInternalServerError struct {
}

GetAccountDelegatorsInternalServerError Internal error

swagger:response getAccountDelegatorsInternalServerError

func NewGetAccountDelegatorsInternalServerError

func NewGetAccountDelegatorsInternalServerError() *GetAccountDelegatorsInternalServerError

NewGetAccountDelegatorsInternalServerError creates GetAccountDelegatorsInternalServerError with default headers values

func (*GetAccountDelegatorsInternalServerError) WriteResponse

WriteResponse to the client

type GetAccountDelegatorsOK

type GetAccountDelegatorsOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountDelegatorsOK Endpoint for account delegators

swagger:response getAccountDelegatorsOK

func NewGetAccountDelegatorsOK

func NewGetAccountDelegatorsOK() *GetAccountDelegatorsOK

NewGetAccountDelegatorsOK creates GetAccountDelegatorsOK with default headers values

func (*GetAccountDelegatorsOK) SetPayload

func (o *GetAccountDelegatorsOK) SetPayload(payload []*models.AccountsRow)

SetPayload sets the payload to the get account delegators o k response

func (*GetAccountDelegatorsOK) SetXTotalCount

func (o *GetAccountDelegatorsOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account delegators o k response

func (*GetAccountDelegatorsOK) WithPayload

WithPayload adds the payload to the get account delegators o k response

func (*GetAccountDelegatorsOK) WithXTotalCount

func (o *GetAccountDelegatorsOK) WithXTotalCount(xTotalCount int64) *GetAccountDelegatorsOK

WithXTotalCount adds the xTotalCount to the get account delegators o k response

func (*GetAccountDelegatorsOK) WriteResponse

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

WriteResponse to the client

type GetAccountDelegatorsParams

type GetAccountDelegatorsParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID 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
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountDelegatorsParams contains all the bound params for the get account delegators operation typically these are obtained from a http.Request

swagger:parameters getAccountDelegators

func NewGetAccountDelegatorsParams

func NewGetAccountDelegatorsParams() GetAccountDelegatorsParams

NewGetAccountDelegatorsParams creates a new GetAccountDelegatorsParams object with the default values initialized.

func (*GetAccountDelegatorsParams) 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 NewGetAccountDelegatorsParams() beforehand.

type GetAccountDelegatorsURL

type GetAccountDelegatorsURL struct {
	AccountID string
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountDelegatorsURL generates an URL for the get account delegators operation

func (*GetAccountDelegatorsURL) Build

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

Build a url path and query string

func (*GetAccountDelegatorsURL) BuildFull

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

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

func (*GetAccountDelegatorsURL) Must

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

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

func (*GetAccountDelegatorsURL) SetBasePath

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

func (o *GetAccountDelegatorsURL) String() string

String returns the string representation of the path with query string

func (*GetAccountDelegatorsURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountEndorsementsByCycleList struct {
	Context *middleware.Context
	Handler GetAccountEndorsementsByCycleListHandler
}

GetAccountEndorsementsByCycleList swagger:route GET /v2/data/{platform}/{network}/accounts/endorsing/{accountId}/endorsements/{cycleId} Accounts getAccountEndorsementsByCycleList

GetAccountEndorsementsByCycleList get account endorsements by cycle list API

func NewGetAccountEndorsementsByCycleList

func NewGetAccountEndorsementsByCycleList(ctx *middleware.Context, handler GetAccountEndorsementsByCycleListHandler) *GetAccountEndorsementsByCycleList

NewGetAccountEndorsementsByCycleList creates a new http.Handler for the get account endorsements by cycle list operation

func (*GetAccountEndorsementsByCycleList) ServeHTTP

type GetAccountEndorsementsByCycleListBadRequest

type GetAccountEndorsementsByCycleListBadRequest struct {
}

GetAccountEndorsementsByCycleListBadRequest Bad request

swagger:response getAccountEndorsementsByCycleListBadRequest

func NewGetAccountEndorsementsByCycleListBadRequest

func NewGetAccountEndorsementsByCycleListBadRequest() *GetAccountEndorsementsByCycleListBadRequest

NewGetAccountEndorsementsByCycleListBadRequest creates GetAccountEndorsementsByCycleListBadRequest with default headers values

func (*GetAccountEndorsementsByCycleListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountEndorsementsByCycleListHandler

type GetAccountEndorsementsByCycleListHandler interface {
	Handle(GetAccountEndorsementsByCycleListParams) middleware.Responder
}

GetAccountEndorsementsByCycleListHandler interface for that can handle valid get account endorsements by cycle list params

type GetAccountEndorsementsByCycleListHandlerFunc

type GetAccountEndorsementsByCycleListHandlerFunc func(GetAccountEndorsementsByCycleListParams) middleware.Responder

GetAccountEndorsementsByCycleListHandlerFunc turns a function with the right signature into a get account endorsements by cycle list handler

func (GetAccountEndorsementsByCycleListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountEndorsementsByCycleListNotFound

type GetAccountEndorsementsByCycleListNotFound struct {
}

GetAccountEndorsementsByCycleListNotFound Not Found

swagger:response getAccountEndorsementsByCycleListNotFound

func NewGetAccountEndorsementsByCycleListNotFound

func NewGetAccountEndorsementsByCycleListNotFound() *GetAccountEndorsementsByCycleListNotFound

NewGetAccountEndorsementsByCycleListNotFound creates GetAccountEndorsementsByCycleListNotFound with default headers values

func (*GetAccountEndorsementsByCycleListNotFound) WriteResponse

WriteResponse to the client

type GetAccountEndorsementsByCycleListOK

type GetAccountEndorsementsByCycleListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountEndorsementsByCycleListOK Query compatibility endpoint for account baking

swagger:response getAccountEndorsementsByCycleListOK

func NewGetAccountEndorsementsByCycleListOK

func NewGetAccountEndorsementsByCycleListOK() *GetAccountEndorsementsByCycleListOK

NewGetAccountEndorsementsByCycleListOK creates GetAccountEndorsementsByCycleListOK with default headers values

func (*GetAccountEndorsementsByCycleListOK) SetPayload

func (o *GetAccountEndorsementsByCycleListOK) SetPayload(payload []*models.OperationsRow)

SetPayload sets the payload to the get account endorsements by cycle list o k response

func (*GetAccountEndorsementsByCycleListOK) SetXTotalCount

func (o *GetAccountEndorsementsByCycleListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account endorsements by cycle list o k response

func (*GetAccountEndorsementsByCycleListOK) WithPayload

WithPayload adds the payload to the get account endorsements by cycle list o k response

func (*GetAccountEndorsementsByCycleListOK) WithXTotalCount

WithXTotalCount adds the xTotalCount to the get account endorsements by cycle list o k response

func (*GetAccountEndorsementsByCycleListOK) WriteResponse

WriteResponse to the client

type GetAccountEndorsementsByCycleListParams

type GetAccountEndorsementsByCycleListParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID string
	/*
	  Required: true
	  In: path
	*/
	CycleID 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
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountEndorsementsByCycleListParams contains all the bound params for the get account endorsements by cycle list operation typically these are obtained from a http.Request

swagger:parameters getAccountEndorsementsByCycleList

func NewGetAccountEndorsementsByCycleListParams

func NewGetAccountEndorsementsByCycleListParams() GetAccountEndorsementsByCycleListParams

NewGetAccountEndorsementsByCycleListParams creates a new GetAccountEndorsementsByCycleListParams object with the default values initialized.

func (*GetAccountEndorsementsByCycleListParams) 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 NewGetAccountEndorsementsByCycleListParams() beforehand.

type GetAccountEndorsementsByCycleListURL

type GetAccountEndorsementsByCycleListURL struct {
	AccountID string
	CycleID   int64
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountEndorsementsByCycleListURL generates an URL for the get account endorsements by cycle list operation

func (*GetAccountEndorsementsByCycleListURL) Build

Build a url path and query string

func (*GetAccountEndorsementsByCycleListURL) BuildFull

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

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

func (*GetAccountEndorsementsByCycleListURL) Must

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

func (*GetAccountEndorsementsByCycleListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountEndorsementsByCycleListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountEndorsingList struct {
	Context *middleware.Context
	Handler GetAccountEndorsingListHandler
}

GetAccountEndorsingList swagger:route GET /v2/data/{platform}/{network}/accounts/endorsing/{accountId} Accounts getAccountEndorsingList

GetAccountEndorsingList get account endorsing list API

func NewGetAccountEndorsingList

func NewGetAccountEndorsingList(ctx *middleware.Context, handler GetAccountEndorsingListHandler) *GetAccountEndorsingList

NewGetAccountEndorsingList creates a new http.Handler for the get account endorsing list operation

func (*GetAccountEndorsingList) ServeHTTP

type GetAccountEndorsingListBadRequest

type GetAccountEndorsingListBadRequest struct {
}

GetAccountEndorsingListBadRequest Bad request

swagger:response getAccountEndorsingListBadRequest

func NewGetAccountEndorsingListBadRequest

func NewGetAccountEndorsingListBadRequest() *GetAccountEndorsingListBadRequest

NewGetAccountEndorsingListBadRequest creates GetAccountEndorsingListBadRequest with default headers values

func (*GetAccountEndorsingListBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountEndorsingListHandler

type GetAccountEndorsingListHandler interface {
	Handle(GetAccountEndorsingListParams) middleware.Responder
}

GetAccountEndorsingListHandler interface for that can handle valid get account endorsing list params

type GetAccountEndorsingListHandlerFunc

type GetAccountEndorsingListHandlerFunc func(GetAccountEndorsingListParams) middleware.Responder

GetAccountEndorsingListHandlerFunc turns a function with the right signature into a get account endorsing list handler

func (GetAccountEndorsingListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountEndorsingListNotFound

type GetAccountEndorsingListNotFound struct {
}

GetAccountEndorsingListNotFound Not Found

swagger:response getAccountEndorsingListNotFound

func NewGetAccountEndorsingListNotFound

func NewGetAccountEndorsingListNotFound() *GetAccountEndorsingListNotFound

NewGetAccountEndorsingListNotFound creates GetAccountEndorsingListNotFound with default headers values

func (*GetAccountEndorsingListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountEndorsingListOK

type GetAccountEndorsingListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountEndorsingListOK Query compatibility endpoint for account baking

swagger:response getAccountEndorsingListOK

func NewGetAccountEndorsingListOK

func NewGetAccountEndorsingListOK() *GetAccountEndorsingListOK

NewGetAccountEndorsingListOK creates GetAccountEndorsingListOK with default headers values

func (*GetAccountEndorsingListOK) SetPayload

func (o *GetAccountEndorsingListOK) SetPayload(payload []*models.AccountEndorsingRow)

SetPayload sets the payload to the get account endorsing list o k response

func (*GetAccountEndorsingListOK) SetXTotalCount

func (o *GetAccountEndorsingListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account endorsing list o k response

func (*GetAccountEndorsingListOK) WithPayload

WithPayload adds the payload to the get account endorsing list o k response

func (*GetAccountEndorsingListOK) WithXTotalCount

func (o *GetAccountEndorsingListOK) WithXTotalCount(xTotalCount int64) *GetAccountEndorsingListOK

WithXTotalCount adds the xTotalCount to the get account endorsing list o k response

func (*GetAccountEndorsingListOK) WriteResponse

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

WriteResponse to the client

type GetAccountEndorsingListParams

type GetAccountEndorsingListParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID 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
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountEndorsingListParams contains all the bound params for the get account endorsing list operation typically these are obtained from a http.Request

swagger:parameters getAccountEndorsingList

func NewGetAccountEndorsingListParams

func NewGetAccountEndorsingListParams() GetAccountEndorsingListParams

NewGetAccountEndorsingListParams creates a new GetAccountEndorsingListParams object with the default values initialized.

func (*GetAccountEndorsingListParams) 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 NewGetAccountEndorsingListParams() beforehand.

type GetAccountEndorsingListURL

type GetAccountEndorsingListURL struct {
	AccountID string
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountEndorsingListURL generates an URL for the get account endorsing list operation

func (*GetAccountEndorsingListURL) Build

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

Build a url path and query string

func (*GetAccountEndorsingListURL) BuildFull

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

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

func (*GetAccountEndorsingListURL) Must

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

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

func (*GetAccountEndorsingListURL) SetBasePath

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

func (o *GetAccountEndorsingListURL) String() string

String returns the string representation of the path with query string

func (*GetAccountEndorsingListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountFutureBaking struct {
	Context *middleware.Context
	Handler GetAccountFutureBakingHandler
}

GetAccountFutureBaking swagger:route GET /v2/data/{platform}/{network}/accounts/baking/{accountId}/future Accounts getAccountFutureBaking

GetAccountFutureBaking get account future baking API

func NewGetAccountFutureBaking

func NewGetAccountFutureBaking(ctx *middleware.Context, handler GetAccountFutureBakingHandler) *GetAccountFutureBaking

NewGetAccountFutureBaking creates a new http.Handler for the get account future baking operation

func (*GetAccountFutureBaking) ServeHTTP

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

type GetAccountFutureBakingBadRequest

type GetAccountFutureBakingBadRequest struct {
}

GetAccountFutureBakingBadRequest Bad request

swagger:response getAccountFutureBakingBadRequest

func NewGetAccountFutureBakingBadRequest

func NewGetAccountFutureBakingBadRequest() *GetAccountFutureBakingBadRequest

NewGetAccountFutureBakingBadRequest creates GetAccountFutureBakingBadRequest with default headers values

func (*GetAccountFutureBakingBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountFutureBakingHandler

type GetAccountFutureBakingHandler interface {
	Handle(GetAccountFutureBakingParams) middleware.Responder
}

GetAccountFutureBakingHandler interface for that can handle valid get account future baking params

type GetAccountFutureBakingHandlerFunc

type GetAccountFutureBakingHandlerFunc func(GetAccountFutureBakingParams) middleware.Responder

GetAccountFutureBakingHandlerFunc turns a function with the right signature into a get account future baking handler

func (GetAccountFutureBakingHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountFutureBakingNotFound

type GetAccountFutureBakingNotFound struct {
}

GetAccountFutureBakingNotFound Not Found

swagger:response getAccountFutureBakingNotFound

func NewGetAccountFutureBakingNotFound

func NewGetAccountFutureBakingNotFound() *GetAccountFutureBakingNotFound

NewGetAccountFutureBakingNotFound creates GetAccountFutureBakingNotFound with default headers values

func (*GetAccountFutureBakingNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountFutureBakingOK

type GetAccountFutureBakingOK struct {

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

GetAccountFutureBakingOK Query compatibility endpoint for account future baking

swagger:response getAccountFutureBakingOK

func NewGetAccountFutureBakingOK

func NewGetAccountFutureBakingOK() *GetAccountFutureBakingOK

NewGetAccountFutureBakingOK creates GetAccountFutureBakingOK with default headers values

func (*GetAccountFutureBakingOK) SetPayload

func (o *GetAccountFutureBakingOK) SetPayload(payload []*models.AccountBakingRow)

SetPayload sets the payload to the get account future baking o k response

func (*GetAccountFutureBakingOK) WithPayload

WithPayload adds the payload to the get account future baking o k response

func (*GetAccountFutureBakingOK) WriteResponse

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

WriteResponse to the client

type GetAccountFutureBakingParams

type GetAccountFutureBakingParams struct {

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

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

GetAccountFutureBakingParams contains all the bound params for the get account future baking operation typically these are obtained from a http.Request

swagger:parameters getAccountFutureBaking

func NewGetAccountFutureBakingParams

func NewGetAccountFutureBakingParams() GetAccountFutureBakingParams

NewGetAccountFutureBakingParams creates a new GetAccountFutureBakingParams object no default values defined in spec.

func (*GetAccountFutureBakingParams) 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 NewGetAccountFutureBakingParams() beforehand.

type GetAccountFutureBakingRightsByCycle

type GetAccountFutureBakingRightsByCycle struct {
	Context *middleware.Context
	Handler GetAccountFutureBakingRightsByCycleHandler
}

GetAccountFutureBakingRightsByCycle swagger:route GET /v2/data/{platform}/{network}/accounts/baking/{accountId}/future_baking_rights/{cycleId} Accounts getAccountFutureBakingRightsByCycle

GetAccountFutureBakingRightsByCycle get account future baking rights by cycle API

func NewGetAccountFutureBakingRightsByCycle

func NewGetAccountFutureBakingRightsByCycle(ctx *middleware.Context, handler GetAccountFutureBakingRightsByCycleHandler) *GetAccountFutureBakingRightsByCycle

NewGetAccountFutureBakingRightsByCycle creates a new http.Handler for the get account future baking rights by cycle operation

func (*GetAccountFutureBakingRightsByCycle) ServeHTTP

type GetAccountFutureBakingRightsByCycleBadRequest

type GetAccountFutureBakingRightsByCycleBadRequest struct {
}

GetAccountFutureBakingRightsByCycleBadRequest Bad request

swagger:response getAccountFutureBakingRightsByCycleBadRequest

func NewGetAccountFutureBakingRightsByCycleBadRequest

func NewGetAccountFutureBakingRightsByCycleBadRequest() *GetAccountFutureBakingRightsByCycleBadRequest

NewGetAccountFutureBakingRightsByCycleBadRequest creates GetAccountFutureBakingRightsByCycleBadRequest with default headers values

func (*GetAccountFutureBakingRightsByCycleBadRequest) WriteResponse

WriteResponse to the client

type GetAccountFutureBakingRightsByCycleHandler

type GetAccountFutureBakingRightsByCycleHandler interface {
	Handle(GetAccountFutureBakingRightsByCycleParams) middleware.Responder
}

GetAccountFutureBakingRightsByCycleHandler interface for that can handle valid get account future baking rights by cycle params

type GetAccountFutureBakingRightsByCycleHandlerFunc

type GetAccountFutureBakingRightsByCycleHandlerFunc func(GetAccountFutureBakingRightsByCycleParams) middleware.Responder

GetAccountFutureBakingRightsByCycleHandlerFunc turns a function with the right signature into a get account future baking rights by cycle handler

func (GetAccountFutureBakingRightsByCycleHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountFutureBakingRightsByCycleNotFound

type GetAccountFutureBakingRightsByCycleNotFound struct {
}

GetAccountFutureBakingRightsByCycleNotFound Not Found

swagger:response getAccountFutureBakingRightsByCycleNotFound

func NewGetAccountFutureBakingRightsByCycleNotFound

func NewGetAccountFutureBakingRightsByCycleNotFound() *GetAccountFutureBakingRightsByCycleNotFound

NewGetAccountFutureBakingRightsByCycleNotFound creates GetAccountFutureBakingRightsByCycleNotFound with default headers values

func (*GetAccountFutureBakingRightsByCycleNotFound) WriteResponse

WriteResponse to the client

type GetAccountFutureBakingRightsByCycleOK

type GetAccountFutureBakingRightsByCycleOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountFutureBakingRightsByCycleOK Query compatibility endpoint for account future baking

swagger:response getAccountFutureBakingRightsByCycleOK

func NewGetAccountFutureBakingRightsByCycleOK

func NewGetAccountFutureBakingRightsByCycleOK() *GetAccountFutureBakingRightsByCycleOK

NewGetAccountFutureBakingRightsByCycleOK creates GetAccountFutureBakingRightsByCycleOK with default headers values

func (*GetAccountFutureBakingRightsByCycleOK) SetPayload

SetPayload sets the payload to the get account future baking rights by cycle o k response

func (*GetAccountFutureBakingRightsByCycleOK) SetXTotalCount

func (o *GetAccountFutureBakingRightsByCycleOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account future baking rights by cycle o k response

func (*GetAccountFutureBakingRightsByCycleOK) WithPayload

WithPayload adds the payload to the get account future baking rights by cycle o k response

func (*GetAccountFutureBakingRightsByCycleOK) WithXTotalCount

WithXTotalCount adds the xTotalCount to the get account future baking rights by cycle o k response

func (*GetAccountFutureBakingRightsByCycleOK) WriteResponse

WriteResponse to the client

type GetAccountFutureBakingRightsByCycleParams

type GetAccountFutureBakingRightsByCycleParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID string
	/*
	  Required: true
	  In: path
	*/
	CycleID 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
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountFutureBakingRightsByCycleParams contains all the bound params for the get account future baking rights by cycle operation typically these are obtained from a http.Request

swagger:parameters getAccountFutureBakingRightsByCycle

func NewGetAccountFutureBakingRightsByCycleParams

func NewGetAccountFutureBakingRightsByCycleParams() GetAccountFutureBakingRightsByCycleParams

NewGetAccountFutureBakingRightsByCycleParams creates a new GetAccountFutureBakingRightsByCycleParams object with the default values initialized.

func (*GetAccountFutureBakingRightsByCycleParams) 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 NewGetAccountFutureBakingRightsByCycleParams() beforehand.

type GetAccountFutureBakingRightsByCycleURL

type GetAccountFutureBakingRightsByCycleURL struct {
	AccountID string
	CycleID   int64
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountFutureBakingRightsByCycleURL generates an URL for the get account future baking rights by cycle operation

func (*GetAccountFutureBakingRightsByCycleURL) Build

Build a url path and query string

func (*GetAccountFutureBakingRightsByCycleURL) BuildFull

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

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

func (*GetAccountFutureBakingRightsByCycleURL) Must

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

func (*GetAccountFutureBakingRightsByCycleURL) SetBasePath

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 (*GetAccountFutureBakingRightsByCycleURL) String

String returns the string representation of the path with query string

func (*GetAccountFutureBakingRightsByCycleURL) StringFull

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

StringFull returns the string representation of a complete url

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

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

GetAccountFutureBakingURL generates an URL for the get account future baking operation

func (*GetAccountFutureBakingURL) Build

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

Build a url path and query string

func (*GetAccountFutureBakingURL) BuildFull

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

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

func (*GetAccountFutureBakingURL) Must

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

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

func (*GetAccountFutureBakingURL) SetBasePath

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

func (o *GetAccountFutureBakingURL) String() string

String returns the string representation of the path with query string

func (*GetAccountFutureBakingURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountFutureEndorsementRightsByCycle struct {
	Context *middleware.Context
	Handler GetAccountFutureEndorsementRightsByCycleHandler
}

GetAccountFutureEndorsementRightsByCycle swagger:route GET /v2/data/{platform}/{network}/accounts/endorsing/{accountId}/future_endorsement_rights/{cycleId} Accounts getAccountFutureEndorsementRightsByCycle

GetAccountFutureEndorsementRightsByCycle get account future endorsement rights by cycle API

func NewGetAccountFutureEndorsementRightsByCycle

func NewGetAccountFutureEndorsementRightsByCycle(ctx *middleware.Context, handler GetAccountFutureEndorsementRightsByCycleHandler) *GetAccountFutureEndorsementRightsByCycle

NewGetAccountFutureEndorsementRightsByCycle creates a new http.Handler for the get account future endorsement rights by cycle operation

func (*GetAccountFutureEndorsementRightsByCycle) ServeHTTP

type GetAccountFutureEndorsementRightsByCycleBadRequest

type GetAccountFutureEndorsementRightsByCycleBadRequest struct {
}

GetAccountFutureEndorsementRightsByCycleBadRequest Bad request

swagger:response getAccountFutureEndorsementRightsByCycleBadRequest

func NewGetAccountFutureEndorsementRightsByCycleBadRequest

func NewGetAccountFutureEndorsementRightsByCycleBadRequest() *GetAccountFutureEndorsementRightsByCycleBadRequest

NewGetAccountFutureEndorsementRightsByCycleBadRequest creates GetAccountFutureEndorsementRightsByCycleBadRequest with default headers values

func (*GetAccountFutureEndorsementRightsByCycleBadRequest) WriteResponse

WriteResponse to the client

type GetAccountFutureEndorsementRightsByCycleHandler

type GetAccountFutureEndorsementRightsByCycleHandler interface {
	Handle(GetAccountFutureEndorsementRightsByCycleParams) middleware.Responder
}

GetAccountFutureEndorsementRightsByCycleHandler interface for that can handle valid get account future endorsement rights by cycle params

type GetAccountFutureEndorsementRightsByCycleHandlerFunc

type GetAccountFutureEndorsementRightsByCycleHandlerFunc func(GetAccountFutureEndorsementRightsByCycleParams) middleware.Responder

GetAccountFutureEndorsementRightsByCycleHandlerFunc turns a function with the right signature into a get account future endorsement rights by cycle handler

func (GetAccountFutureEndorsementRightsByCycleHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountFutureEndorsementRightsByCycleNotFound

type GetAccountFutureEndorsementRightsByCycleNotFound struct {
}

GetAccountFutureEndorsementRightsByCycleNotFound Not Found

swagger:response getAccountFutureEndorsementRightsByCycleNotFound

func NewGetAccountFutureEndorsementRightsByCycleNotFound

func NewGetAccountFutureEndorsementRightsByCycleNotFound() *GetAccountFutureEndorsementRightsByCycleNotFound

NewGetAccountFutureEndorsementRightsByCycleNotFound creates GetAccountFutureEndorsementRightsByCycleNotFound with default headers values

func (*GetAccountFutureEndorsementRightsByCycleNotFound) WriteResponse

WriteResponse to the client

type GetAccountFutureEndorsementRightsByCycleOK

type GetAccountFutureEndorsementRightsByCycleOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountFutureEndorsementRightsByCycleOK Query compatibility endpoint for account future baking

swagger:response getAccountFutureEndorsementRightsByCycleOK

func NewGetAccountFutureEndorsementRightsByCycleOK

func NewGetAccountFutureEndorsementRightsByCycleOK() *GetAccountFutureEndorsementRightsByCycleOK

NewGetAccountFutureEndorsementRightsByCycleOK creates GetAccountFutureEndorsementRightsByCycleOK with default headers values

func (*GetAccountFutureEndorsementRightsByCycleOK) SetPayload

SetPayload sets the payload to the get account future endorsement rights by cycle o k response

func (*GetAccountFutureEndorsementRightsByCycleOK) SetXTotalCount

func (o *GetAccountFutureEndorsementRightsByCycleOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account future endorsement rights by cycle o k response

func (*GetAccountFutureEndorsementRightsByCycleOK) WithPayload

WithPayload adds the payload to the get account future endorsement rights by cycle o k response

func (*GetAccountFutureEndorsementRightsByCycleOK) WithXTotalCount

WithXTotalCount adds the xTotalCount to the get account future endorsement rights by cycle o k response

func (*GetAccountFutureEndorsementRightsByCycleOK) WriteResponse

WriteResponse to the client

type GetAccountFutureEndorsementRightsByCycleParams

type GetAccountFutureEndorsementRightsByCycleParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID string
	/*
	  Required: true
	  In: path
	*/
	CycleID 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
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountFutureEndorsementRightsByCycleParams contains all the bound params for the get account future endorsement rights by cycle operation typically these are obtained from a http.Request

swagger:parameters getAccountFutureEndorsementRightsByCycle

func NewGetAccountFutureEndorsementRightsByCycleParams

func NewGetAccountFutureEndorsementRightsByCycleParams() GetAccountFutureEndorsementRightsByCycleParams

NewGetAccountFutureEndorsementRightsByCycleParams creates a new GetAccountFutureEndorsementRightsByCycleParams object with the default values initialized.

func (*GetAccountFutureEndorsementRightsByCycleParams) 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 NewGetAccountFutureEndorsementRightsByCycleParams() beforehand.

type GetAccountFutureEndorsementRightsByCycleURL

type GetAccountFutureEndorsementRightsByCycleURL struct {
	AccountID string
	CycleID   int64
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountFutureEndorsementRightsByCycleURL generates an URL for the get account future endorsement rights by cycle operation

func (*GetAccountFutureEndorsementRightsByCycleURL) Build

Build a url path and query string

func (*GetAccountFutureEndorsementRightsByCycleURL) BuildFull

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

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

func (*GetAccountFutureEndorsementRightsByCycleURL) Must

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

func (*GetAccountFutureEndorsementRightsByCycleURL) SetBasePath

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 (*GetAccountFutureEndorsementRightsByCycleURL) String

String returns the string representation of the path with query string

func (*GetAccountFutureEndorsementRightsByCycleURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountFutureEndorsing struct {
	Context *middleware.Context
	Handler GetAccountFutureEndorsingHandler
}

GetAccountFutureEndorsing swagger:route GET /v2/data/{platform}/{network}/accounts/endorsing/{accountId}/future Accounts getAccountFutureEndorsing

GetAccountFutureEndorsing get account future endorsing API

func NewGetAccountFutureEndorsing

func NewGetAccountFutureEndorsing(ctx *middleware.Context, handler GetAccountFutureEndorsingHandler) *GetAccountFutureEndorsing

NewGetAccountFutureEndorsing creates a new http.Handler for the get account future endorsing operation

func (*GetAccountFutureEndorsing) ServeHTTP

type GetAccountFutureEndorsingBadRequest

type GetAccountFutureEndorsingBadRequest struct {
}

GetAccountFutureEndorsingBadRequest Bad request

swagger:response getAccountFutureEndorsingBadRequest

func NewGetAccountFutureEndorsingBadRequest

func NewGetAccountFutureEndorsingBadRequest() *GetAccountFutureEndorsingBadRequest

NewGetAccountFutureEndorsingBadRequest creates GetAccountFutureEndorsingBadRequest with default headers values

func (*GetAccountFutureEndorsingBadRequest) WriteResponse

WriteResponse to the client

type GetAccountFutureEndorsingHandler

type GetAccountFutureEndorsingHandler interface {
	Handle(GetAccountFutureEndorsingParams) middleware.Responder
}

GetAccountFutureEndorsingHandler interface for that can handle valid get account future endorsing params

type GetAccountFutureEndorsingHandlerFunc

type GetAccountFutureEndorsingHandlerFunc func(GetAccountFutureEndorsingParams) middleware.Responder

GetAccountFutureEndorsingHandlerFunc turns a function with the right signature into a get account future endorsing handler

func (GetAccountFutureEndorsingHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountFutureEndorsingNotFound

type GetAccountFutureEndorsingNotFound struct {
}

GetAccountFutureEndorsingNotFound Not Found

swagger:response getAccountFutureEndorsingNotFound

func NewGetAccountFutureEndorsingNotFound

func NewGetAccountFutureEndorsingNotFound() *GetAccountFutureEndorsingNotFound

NewGetAccountFutureEndorsingNotFound creates GetAccountFutureEndorsingNotFound with default headers values

func (*GetAccountFutureEndorsingNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountFutureEndorsingOK

type GetAccountFutureEndorsingOK struct {

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

GetAccountFutureEndorsingOK Query compatibility endpoint for account future baking

swagger:response getAccountFutureEndorsingOK

func NewGetAccountFutureEndorsingOK

func NewGetAccountFutureEndorsingOK() *GetAccountFutureEndorsingOK

NewGetAccountFutureEndorsingOK creates GetAccountFutureEndorsingOK with default headers values

func (*GetAccountFutureEndorsingOK) SetPayload

func (o *GetAccountFutureEndorsingOK) SetPayload(payload []*models.AccountEndorsingRow)

SetPayload sets the payload to the get account future endorsing o k response

func (*GetAccountFutureEndorsingOK) WithPayload

WithPayload adds the payload to the get account future endorsing o k response

func (*GetAccountFutureEndorsingOK) WriteResponse

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

WriteResponse to the client

type GetAccountFutureEndorsingParams

type GetAccountFutureEndorsingParams struct {

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

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

GetAccountFutureEndorsingParams contains all the bound params for the get account future endorsing operation typically these are obtained from a http.Request

swagger:parameters getAccountFutureEndorsing

func NewGetAccountFutureEndorsingParams

func NewGetAccountFutureEndorsingParams() GetAccountFutureEndorsingParams

NewGetAccountFutureEndorsingParams creates a new GetAccountFutureEndorsingParams object no default values defined in spec.

func (*GetAccountFutureEndorsingParams) 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 NewGetAccountFutureEndorsingParams() beforehand.

type GetAccountFutureEndorsingURL

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

GetAccountFutureEndorsingURL generates an URL for the get account future endorsing operation

func (*GetAccountFutureEndorsingURL) Build

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

Build a url path and query string

func (*GetAccountFutureEndorsingURL) BuildFull

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

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

func (*GetAccountFutureEndorsingURL) Must

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

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

func (*GetAccountFutureEndorsingURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountFutureEndorsingURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountHandler interface {
	Handle(GetAccountParams) middleware.Responder
}

GetAccountHandler interface for that can handle valid get account params

type GetAccountHandlerFunc

type GetAccountHandlerFunc func(GetAccountParams) middleware.Responder

GetAccountHandlerFunc turns a function with the right signature into a get account handler

func (GetAccountHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountInternalServerError

type GetAccountInternalServerError struct {
}

GetAccountInternalServerError Internal error

swagger:response getAccountInternalServerError

func NewGetAccountInternalServerError

func NewGetAccountInternalServerError() *GetAccountInternalServerError

NewGetAccountInternalServerError creates GetAccountInternalServerError with default headers values

func (*GetAccountInternalServerError) WriteResponse

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

WriteResponse to the client

type GetAccountNotFound

type GetAccountNotFound struct {
}

GetAccountNotFound Not Found

swagger:response getAccountNotFound

func NewGetAccountNotFound

func NewGetAccountNotFound() *GetAccountNotFound

NewGetAccountNotFound creates GetAccountNotFound with default headers values

func (*GetAccountNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountOK

type GetAccountOK struct {

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

GetAccountOK Query compatibility endpoint for account

swagger:response getAccountOK

func NewGetAccountOK

func NewGetAccountOK() *GetAccountOK

NewGetAccountOK creates GetAccountOK with default headers values

func (*GetAccountOK) SetPayload

func (o *GetAccountOK) SetPayload(payload *models.AccountsRow)

SetPayload sets the payload to the get account o k response

func (*GetAccountOK) WithPayload

func (o *GetAccountOK) WithPayload(payload *models.AccountsRow) *GetAccountOK

WithPayload adds the payload to the get account o k response

func (*GetAccountOK) WriteResponse

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

WriteResponse to the client

type GetAccountParams

type GetAccountParams struct {

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

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

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

swagger:parameters getAccount

func NewGetAccountParams

func NewGetAccountParams() GetAccountParams

NewGetAccountParams creates a new GetAccountParams object no default values defined in spec.

func (*GetAccountParams) BindRequest

func (o *GetAccountParams) 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 NewGetAccountParams() beforehand.

type GetAccountReport

type GetAccountReport struct {
	Context *middleware.Context
	Handler GetAccountReportHandler
}

GetAccountReport swagger:route GET /v2/data/{platform}/{network}/accounts/{accountId}/report Accounts getAccountReport

GetAccountReport get account report API

func NewGetAccountReport

func NewGetAccountReport(ctx *middleware.Context, handler GetAccountReportHandler) *GetAccountReport

NewGetAccountReport creates a new http.Handler for the get account report operation

func (*GetAccountReport) ServeHTTP

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

type GetAccountReportBadRequest

type GetAccountReportBadRequest struct {
}

GetAccountReportBadRequest Bad request

swagger:response getAccountReportBadRequest

func NewGetAccountReportBadRequest

func NewGetAccountReportBadRequest() *GetAccountReportBadRequest

NewGetAccountReportBadRequest creates GetAccountReportBadRequest with default headers values

func (*GetAccountReportBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountReportHandler

type GetAccountReportHandler interface {
	Handle(GetAccountReportParams) middleware.Responder
}

GetAccountReportHandler interface for that can handle valid get account report params

type GetAccountReportHandlerFunc

type GetAccountReportHandlerFunc func(GetAccountReportParams) middleware.Responder

GetAccountReportHandlerFunc turns a function with the right signature into a get account report handler

func (GetAccountReportHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountReportInternalServerError

type GetAccountReportInternalServerError struct {
}

GetAccountReportInternalServerError Internal error

swagger:response getAccountReportInternalServerError

func NewGetAccountReportInternalServerError

func NewGetAccountReportInternalServerError() *GetAccountReportInternalServerError

NewGetAccountReportInternalServerError creates GetAccountReportInternalServerError with default headers values

func (*GetAccountReportInternalServerError) WriteResponse

WriteResponse to the client

type GetAccountReportNotFound

type GetAccountReportNotFound struct {
}

GetAccountReportNotFound Not Found

swagger:response getAccountReportNotFound

func NewGetAccountReportNotFound

func NewGetAccountReportNotFound() *GetAccountReportNotFound

NewGetAccountReportNotFound creates GetAccountReportNotFound with default headers values

func (*GetAccountReportNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountReportOK

type GetAccountReportOK struct {

	/*
	  In: Body
	*/
	Payload []uint8 `json:"body,omitempty"`
}

GetAccountReportOK CSV file to download

swagger:response getAccountReportOK

func NewGetAccountReportOK

func NewGetAccountReportOK() *GetAccountReportOK

NewGetAccountReportOK creates GetAccountReportOK with default headers values

func (*GetAccountReportOK) SetPayload

func (o *GetAccountReportOK) SetPayload(payload []uint8)

SetPayload sets the payload to the get account report o k response

func (*GetAccountReportOK) WithPayload

func (o *GetAccountReportOK) WithPayload(payload []uint8) *GetAccountReportOK

WithPayload adds the payload to the get account report o k response

func (*GetAccountReportOK) WriteResponse

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

WriteResponse to the client

type GetAccountReportParams

type GetAccountReportParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID string
	/*
	  Required: true
	  In: query
	*/
	From int64
	/*Not used
	  Required: true
	  In: path
	*/
	Network string
	/*Not used
	  In: query
	  Collection Format: multi
	*/
	OperationType []string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  Required: true
	  In: query
	*/
	To int64
}

GetAccountReportParams contains all the bound params for the get account report operation typically these are obtained from a http.Request

swagger:parameters getAccountReport

func NewGetAccountReportParams

func NewGetAccountReportParams() GetAccountReportParams

NewGetAccountReportParams creates a new GetAccountReportParams object no default values defined in spec.

func (*GetAccountReportParams) BindRequest

func (o *GetAccountReportParams) 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 NewGetAccountReportParams() beforehand.

type GetAccountReportURL

type GetAccountReportURL struct {
	AccountID string
	Network   string
	Platform  string

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

GetAccountReportURL generates an URL for the get account report operation

func (*GetAccountReportURL) Build

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

Build a url path and query string

func (*GetAccountReportURL) BuildFull

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

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

func (*GetAccountReportURL) Must

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

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

func (*GetAccountReportURL) SetBasePath

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

func (o *GetAccountReportURL) String() string

String returns the string representation of the path with query string

func (*GetAccountReportURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAccountReportURL) WithBasePath

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

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 GetAccountRewardsList

type GetAccountRewardsList struct {
	Context *middleware.Context
	Handler GetAccountRewardsListHandler
}

GetAccountRewardsList swagger:route GET /v2/data/{platform}/{network}/accounts/rewards/{accountId} Accounts getAccountRewardsList

GetAccountRewardsList get account rewards list API

func NewGetAccountRewardsList

func NewGetAccountRewardsList(ctx *middleware.Context, handler GetAccountRewardsListHandler) *GetAccountRewardsList

NewGetAccountRewardsList creates a new http.Handler for the get account rewards list operation

func (*GetAccountRewardsList) ServeHTTP

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

type GetAccountRewardsListBadRequest

type GetAccountRewardsListBadRequest struct {
}

GetAccountRewardsListBadRequest Bad request

swagger:response getAccountRewardsListBadRequest

func NewGetAccountRewardsListBadRequest

func NewGetAccountRewardsListBadRequest() *GetAccountRewardsListBadRequest

NewGetAccountRewardsListBadRequest creates GetAccountRewardsListBadRequest with default headers values

func (*GetAccountRewardsListBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountRewardsListHandler

type GetAccountRewardsListHandler interface {
	Handle(GetAccountRewardsListParams) middleware.Responder
}

GetAccountRewardsListHandler interface for that can handle valid get account rewards list params

type GetAccountRewardsListHandlerFunc

type GetAccountRewardsListHandlerFunc func(GetAccountRewardsListParams) middleware.Responder

GetAccountRewardsListHandlerFunc turns a function with the right signature into a get account rewards list handler

func (GetAccountRewardsListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountRewardsListNotFound

type GetAccountRewardsListNotFound struct {
}

GetAccountRewardsListNotFound Not Found

swagger:response getAccountRewardsListNotFound

func NewGetAccountRewardsListNotFound

func NewGetAccountRewardsListNotFound() *GetAccountRewardsListNotFound

NewGetAccountRewardsListNotFound creates GetAccountRewardsListNotFound with default headers values

func (*GetAccountRewardsListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountRewardsListOK

type GetAccountRewardsListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountRewardsListOK Query compatibility endpoint for account rewards

swagger:response getAccountRewardsListOK

func NewGetAccountRewardsListOK

func NewGetAccountRewardsListOK() *GetAccountRewardsListOK

NewGetAccountRewardsListOK creates GetAccountRewardsListOK with default headers values

func (*GetAccountRewardsListOK) SetPayload

func (o *GetAccountRewardsListOK) SetPayload(payload []*models.AccountRewardsRow)

SetPayload sets the payload to the get account rewards list o k response

func (*GetAccountRewardsListOK) SetXTotalCount

func (o *GetAccountRewardsListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account rewards list o k response

func (*GetAccountRewardsListOK) WithPayload

WithPayload adds the payload to the get account rewards list o k response

func (*GetAccountRewardsListOK) WithXTotalCount

func (o *GetAccountRewardsListOK) WithXTotalCount(xTotalCount int64) *GetAccountRewardsListOK

WithXTotalCount adds the xTotalCount to the get account rewards list o k response

func (*GetAccountRewardsListOK) WriteResponse

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

WriteResponse to the client

type GetAccountRewardsListParams

type GetAccountRewardsListParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AccountID 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
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountRewardsListParams contains all the bound params for the get account rewards list operation typically these are obtained from a http.Request

swagger:parameters getAccountRewardsList

func NewGetAccountRewardsListParams

func NewGetAccountRewardsListParams() GetAccountRewardsListParams

NewGetAccountRewardsListParams creates a new GetAccountRewardsListParams object with the default values initialized.

func (*GetAccountRewardsListParams) 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 NewGetAccountRewardsListParams() beforehand.

type GetAccountRewardsListURL

type GetAccountRewardsListURL struct {
	AccountID string
	Network   string
	Platform  string

	Limit  *int64
	Offset *int64
	// contains filtered or unexported fields
}

GetAccountRewardsListURL generates an URL for the get account rewards list operation

func (*GetAccountRewardsListURL) Build

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

Build a url path and query string

func (*GetAccountRewardsListURL) BuildFull

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

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

func (*GetAccountRewardsListURL) Must

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

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

func (*GetAccountRewardsListURL) SetBasePath

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

func (o *GetAccountRewardsListURL) String() string

String returns the string representation of the path with query string

func (*GetAccountRewardsListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountSecurityDepositList struct {
	Context *middleware.Context
	Handler GetAccountSecurityDepositListHandler
}

GetAccountSecurityDepositList swagger:route GET /v2/data/{platform}/{network}/accounts/security_deposit/{accountId}/future Accounts getAccountSecurityDepositList

GetAccountSecurityDepositList get account security deposit list API

func NewGetAccountSecurityDepositList

func NewGetAccountSecurityDepositList(ctx *middleware.Context, handler GetAccountSecurityDepositListHandler) *GetAccountSecurityDepositList

NewGetAccountSecurityDepositList creates a new http.Handler for the get account security deposit list operation

func (*GetAccountSecurityDepositList) ServeHTTP

type GetAccountSecurityDepositListBadRequest

type GetAccountSecurityDepositListBadRequest struct {
}

GetAccountSecurityDepositListBadRequest Bad request

swagger:response getAccountSecurityDepositListBadRequest

func NewGetAccountSecurityDepositListBadRequest

func NewGetAccountSecurityDepositListBadRequest() *GetAccountSecurityDepositListBadRequest

NewGetAccountSecurityDepositListBadRequest creates GetAccountSecurityDepositListBadRequest with default headers values

func (*GetAccountSecurityDepositListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountSecurityDepositListHandler

type GetAccountSecurityDepositListHandler interface {
	Handle(GetAccountSecurityDepositListParams) middleware.Responder
}

GetAccountSecurityDepositListHandler interface for that can handle valid get account security deposit list params

type GetAccountSecurityDepositListHandlerFunc

type GetAccountSecurityDepositListHandlerFunc func(GetAccountSecurityDepositListParams) middleware.Responder

GetAccountSecurityDepositListHandlerFunc turns a function with the right signature into a get account security deposit list handler

func (GetAccountSecurityDepositListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountSecurityDepositListNotFound

type GetAccountSecurityDepositListNotFound struct {
}

GetAccountSecurityDepositListNotFound Not Found

swagger:response getAccountSecurityDepositListNotFound

func NewGetAccountSecurityDepositListNotFound

func NewGetAccountSecurityDepositListNotFound() *GetAccountSecurityDepositListNotFound

NewGetAccountSecurityDepositListNotFound creates GetAccountSecurityDepositListNotFound with default headers values

func (*GetAccountSecurityDepositListNotFound) WriteResponse

WriteResponse to the client

type GetAccountSecurityDepositListOK

type GetAccountSecurityDepositListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountSecurityDepositListOK Query compatibility endpoint for account rewards

swagger:response getAccountSecurityDepositListOK

func NewGetAccountSecurityDepositListOK

func NewGetAccountSecurityDepositListOK() *GetAccountSecurityDepositListOK

NewGetAccountSecurityDepositListOK creates GetAccountSecurityDepositListOK with default headers values

func (*GetAccountSecurityDepositListOK) SetPayload

SetPayload sets the payload to the get account security deposit list o k response

func (*GetAccountSecurityDepositListOK) SetXTotalCount

func (o *GetAccountSecurityDepositListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get account security deposit list o k response

func (*GetAccountSecurityDepositListOK) WithPayload

WithPayload adds the payload to the get account security deposit list o k response

func (*GetAccountSecurityDepositListOK) WithXTotalCount

WithXTotalCount adds the xTotalCount to the get account security deposit list o k response

func (*GetAccountSecurityDepositListOK) WriteResponse

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

WriteResponse to the client

type GetAccountSecurityDepositListParams

type GetAccountSecurityDepositListParams struct {

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

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

GetAccountSecurityDepositListParams contains all the bound params for the get account security deposit list operation typically these are obtained from a http.Request

swagger:parameters getAccountSecurityDepositList

func NewGetAccountSecurityDepositListParams

func NewGetAccountSecurityDepositListParams() GetAccountSecurityDepositListParams

NewGetAccountSecurityDepositListParams creates a new GetAccountSecurityDepositListParams object no default values defined in spec.

func (*GetAccountSecurityDepositListParams) 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 NewGetAccountSecurityDepositListParams() beforehand.

type GetAccountSecurityDepositListURL

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

GetAccountSecurityDepositListURL generates an URL for the get account security deposit list operation

func (*GetAccountSecurityDepositListURL) Build

Build a url path and query string

func (*GetAccountSecurityDepositListURL) BuildFull

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

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

func (*GetAccountSecurityDepositListURL) Must

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

func (*GetAccountSecurityDepositListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountSecurityDepositListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountTotalBaking struct {
	Context *middleware.Context
	Handler GetAccountTotalBakingHandler
}

GetAccountTotalBaking swagger:route GET /v2/data/{platform}/{network}/accounts/baking/{accountId}/total Accounts getAccountTotalBaking

GetAccountTotalBaking get account total baking API

func NewGetAccountTotalBaking

func NewGetAccountTotalBaking(ctx *middleware.Context, handler GetAccountTotalBakingHandler) *GetAccountTotalBaking

NewGetAccountTotalBaking creates a new http.Handler for the get account total baking operation

func (*GetAccountTotalBaking) ServeHTTP

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

type GetAccountTotalBakingBadRequest

type GetAccountTotalBakingBadRequest struct {
}

GetAccountTotalBakingBadRequest Bad request

swagger:response getAccountTotalBakingBadRequest

func NewGetAccountTotalBakingBadRequest

func NewGetAccountTotalBakingBadRequest() *GetAccountTotalBakingBadRequest

NewGetAccountTotalBakingBadRequest creates GetAccountTotalBakingBadRequest with default headers values

func (*GetAccountTotalBakingBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountTotalBakingHandler

type GetAccountTotalBakingHandler interface {
	Handle(GetAccountTotalBakingParams) middleware.Responder
}

GetAccountTotalBakingHandler interface for that can handle valid get account total baking params

type GetAccountTotalBakingHandlerFunc

type GetAccountTotalBakingHandlerFunc func(GetAccountTotalBakingParams) middleware.Responder

GetAccountTotalBakingHandlerFunc turns a function with the right signature into a get account total baking handler

func (GetAccountTotalBakingHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountTotalBakingList

type GetAccountTotalBakingList struct {
	Context *middleware.Context
	Handler GetAccountTotalBakingListHandler
}

GetAccountTotalBakingList swagger:route GET /v2/data/{platform}/{network}/accounts/baking/{accountId}/total Accounts getAccountTotalBakingList

GetAccountTotalBakingList get account total baking list API

func NewGetAccountTotalBakingList

func NewGetAccountTotalBakingList(ctx *middleware.Context, handler GetAccountTotalBakingListHandler) *GetAccountTotalBakingList

NewGetAccountTotalBakingList creates a new http.Handler for the get account total baking list operation

func (*GetAccountTotalBakingList) ServeHTTP

type GetAccountTotalBakingListBadRequest

type GetAccountTotalBakingListBadRequest struct {
}

GetAccountTotalBakingListBadRequest Bad request

swagger:response getAccountTotalBakingListBadRequest

func NewGetAccountTotalBakingListBadRequest

func NewGetAccountTotalBakingListBadRequest() *GetAccountTotalBakingListBadRequest

NewGetAccountTotalBakingListBadRequest creates GetAccountTotalBakingListBadRequest with default headers values

func (*GetAccountTotalBakingListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountTotalBakingListHandler

type GetAccountTotalBakingListHandler interface {
	Handle(GetAccountTotalBakingListParams) middleware.Responder
}

GetAccountTotalBakingListHandler interface for that can handle valid get account total baking list params

type GetAccountTotalBakingListHandlerFunc

type GetAccountTotalBakingListHandlerFunc func(GetAccountTotalBakingListParams) middleware.Responder

GetAccountTotalBakingListHandlerFunc turns a function with the right signature into a get account total baking list handler

func (GetAccountTotalBakingListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountTotalBakingListNotFound

type GetAccountTotalBakingListNotFound struct {
}

GetAccountTotalBakingListNotFound Not Found

swagger:response getAccountTotalBakingListNotFound

func NewGetAccountTotalBakingListNotFound

func NewGetAccountTotalBakingListNotFound() *GetAccountTotalBakingListNotFound

NewGetAccountTotalBakingListNotFound creates GetAccountTotalBakingListNotFound with default headers values

func (*GetAccountTotalBakingListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountTotalBakingListOK

type GetAccountTotalBakingListOK struct {

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

GetAccountTotalBakingListOK Query compatibility endpoint for account baking

swagger:response getAccountTotalBakingListOK

func NewGetAccountTotalBakingListOK

func NewGetAccountTotalBakingListOK() *GetAccountTotalBakingListOK

NewGetAccountTotalBakingListOK creates GetAccountTotalBakingListOK with default headers values

func (*GetAccountTotalBakingListOK) SetPayload

func (o *GetAccountTotalBakingListOK) SetPayload(payload *models.AccountBakingRow)

SetPayload sets the payload to the get account total baking list o k response

func (*GetAccountTotalBakingListOK) WithPayload

WithPayload adds the payload to the get account total baking list o k response

func (*GetAccountTotalBakingListOK) WriteResponse

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

WriteResponse to the client

type GetAccountTotalBakingListParams

type GetAccountTotalBakingListParams struct {

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

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

GetAccountTotalBakingListParams contains all the bound params for the get account total baking list operation typically these are obtained from a http.Request

swagger:parameters getAccountTotalBakingList

func NewGetAccountTotalBakingListParams

func NewGetAccountTotalBakingListParams() GetAccountTotalBakingListParams

NewGetAccountTotalBakingListParams creates a new GetAccountTotalBakingListParams object no default values defined in spec.

func (*GetAccountTotalBakingListParams) 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 NewGetAccountTotalBakingListParams() beforehand.

type GetAccountTotalBakingListURL

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

GetAccountTotalBakingListURL generates an URL for the get account total baking list operation

func (*GetAccountTotalBakingListURL) Build

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

Build a url path and query string

func (*GetAccountTotalBakingListURL) BuildFull

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

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

func (*GetAccountTotalBakingListURL) Must

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

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

func (*GetAccountTotalBakingListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountTotalBakingListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountTotalBakingNotFound struct {
}

GetAccountTotalBakingNotFound Not Found

swagger:response getAccountTotalBakingNotFound

func NewGetAccountTotalBakingNotFound

func NewGetAccountTotalBakingNotFound() *GetAccountTotalBakingNotFound

NewGetAccountTotalBakingNotFound creates GetAccountTotalBakingNotFound with default headers values

func (*GetAccountTotalBakingNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountTotalBakingOK

type GetAccountTotalBakingOK struct {

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

GetAccountTotalBakingOK Query compatibility endpoint for account baking

swagger:response getAccountTotalBakingOK

func NewGetAccountTotalBakingOK

func NewGetAccountTotalBakingOK() *GetAccountTotalBakingOK

NewGetAccountTotalBakingOK creates GetAccountTotalBakingOK with default headers values

func (*GetAccountTotalBakingOK) SetPayload

func (o *GetAccountTotalBakingOK) SetPayload(payload *models.AccountBakingRow)

SetPayload sets the payload to the get account total baking o k response

func (*GetAccountTotalBakingOK) WithPayload

WithPayload adds the payload to the get account total baking o k response

func (*GetAccountTotalBakingOK) WriteResponse

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

WriteResponse to the client

type GetAccountTotalBakingParams

type GetAccountTotalBakingParams struct {

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

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

GetAccountTotalBakingParams contains all the bound params for the get account total baking operation typically these are obtained from a http.Request

swagger:parameters getAccountTotalBaking

func NewGetAccountTotalBakingParams

func NewGetAccountTotalBakingParams() GetAccountTotalBakingParams

NewGetAccountTotalBakingParams creates a new GetAccountTotalBakingParams object no default values defined in spec.

func (*GetAccountTotalBakingParams) 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 NewGetAccountTotalBakingParams() beforehand.

type GetAccountTotalBakingURL

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

GetAccountTotalBakingURL generates an URL for the get account total baking operation

func (*GetAccountTotalBakingURL) Build

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

Build a url path and query string

func (*GetAccountTotalBakingURL) BuildFull

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

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

func (*GetAccountTotalBakingURL) Must

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

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

func (*GetAccountTotalBakingURL) SetBasePath

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

func (o *GetAccountTotalBakingURL) String() string

String returns the string representation of the path with query string

func (*GetAccountTotalBakingURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountTotalEndorsing struct {
	Context *middleware.Context
	Handler GetAccountTotalEndorsingHandler
}

GetAccountTotalEndorsing swagger:route GET /v2/data/{platform}/{network}/accounts/endorsing/{accountId}/total Accounts getAccountTotalEndorsing

GetAccountTotalEndorsing get account total endorsing API

func NewGetAccountTotalEndorsing

func NewGetAccountTotalEndorsing(ctx *middleware.Context, handler GetAccountTotalEndorsingHandler) *GetAccountTotalEndorsing

NewGetAccountTotalEndorsing creates a new http.Handler for the get account total endorsing operation

func (*GetAccountTotalEndorsing) ServeHTTP

type GetAccountTotalEndorsingBadRequest

type GetAccountTotalEndorsingBadRequest struct {
}

GetAccountTotalEndorsingBadRequest Bad request

swagger:response getAccountTotalEndorsingBadRequest

func NewGetAccountTotalEndorsingBadRequest

func NewGetAccountTotalEndorsingBadRequest() *GetAccountTotalEndorsingBadRequest

NewGetAccountTotalEndorsingBadRequest creates GetAccountTotalEndorsingBadRequest with default headers values

func (*GetAccountTotalEndorsingBadRequest) WriteResponse

WriteResponse to the client

type GetAccountTotalEndorsingHandler

type GetAccountTotalEndorsingHandler interface {
	Handle(GetAccountTotalEndorsingParams) middleware.Responder
}

GetAccountTotalEndorsingHandler interface for that can handle valid get account total endorsing params

type GetAccountTotalEndorsingHandlerFunc

type GetAccountTotalEndorsingHandlerFunc func(GetAccountTotalEndorsingParams) middleware.Responder

GetAccountTotalEndorsingHandlerFunc turns a function with the right signature into a get account total endorsing handler

func (GetAccountTotalEndorsingHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountTotalEndorsingList

type GetAccountTotalEndorsingList struct {
	Context *middleware.Context
	Handler GetAccountTotalEndorsingListHandler
}

GetAccountTotalEndorsingList swagger:route GET /v2/data/{platform}/{network}/accounts/endorsing/{accountId}/total Accounts getAccountTotalEndorsingList

GetAccountTotalEndorsingList get account total endorsing list API

func NewGetAccountTotalEndorsingList

func NewGetAccountTotalEndorsingList(ctx *middleware.Context, handler GetAccountTotalEndorsingListHandler) *GetAccountTotalEndorsingList

NewGetAccountTotalEndorsingList creates a new http.Handler for the get account total endorsing list operation

func (*GetAccountTotalEndorsingList) ServeHTTP

type GetAccountTotalEndorsingListBadRequest

type GetAccountTotalEndorsingListBadRequest struct {
}

GetAccountTotalEndorsingListBadRequest Bad request

swagger:response getAccountTotalEndorsingListBadRequest

func NewGetAccountTotalEndorsingListBadRequest

func NewGetAccountTotalEndorsingListBadRequest() *GetAccountTotalEndorsingListBadRequest

NewGetAccountTotalEndorsingListBadRequest creates GetAccountTotalEndorsingListBadRequest with default headers values

func (*GetAccountTotalEndorsingListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountTotalEndorsingListHandler

type GetAccountTotalEndorsingListHandler interface {
	Handle(GetAccountTotalEndorsingListParams) middleware.Responder
}

GetAccountTotalEndorsingListHandler interface for that can handle valid get account total endorsing list params

type GetAccountTotalEndorsingListHandlerFunc

type GetAccountTotalEndorsingListHandlerFunc func(GetAccountTotalEndorsingListParams) middleware.Responder

GetAccountTotalEndorsingListHandlerFunc turns a function with the right signature into a get account total endorsing list handler

func (GetAccountTotalEndorsingListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountTotalEndorsingListNotFound

type GetAccountTotalEndorsingListNotFound struct {
}

GetAccountTotalEndorsingListNotFound Not Found

swagger:response getAccountTotalEndorsingListNotFound

func NewGetAccountTotalEndorsingListNotFound

func NewGetAccountTotalEndorsingListNotFound() *GetAccountTotalEndorsingListNotFound

NewGetAccountTotalEndorsingListNotFound creates GetAccountTotalEndorsingListNotFound with default headers values

func (*GetAccountTotalEndorsingListNotFound) WriteResponse

WriteResponse to the client

type GetAccountTotalEndorsingListOK

type GetAccountTotalEndorsingListOK struct {

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

GetAccountTotalEndorsingListOK Query compatibility endpoint for account baking

swagger:response getAccountTotalEndorsingListOK

func NewGetAccountTotalEndorsingListOK

func NewGetAccountTotalEndorsingListOK() *GetAccountTotalEndorsingListOK

NewGetAccountTotalEndorsingListOK creates GetAccountTotalEndorsingListOK with default headers values

func (*GetAccountTotalEndorsingListOK) SetPayload

SetPayload sets the payload to the get account total endorsing list o k response

func (*GetAccountTotalEndorsingListOK) WithPayload

WithPayload adds the payload to the get account total endorsing list o k response

func (*GetAccountTotalEndorsingListOK) WriteResponse

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

WriteResponse to the client

type GetAccountTotalEndorsingListParams

type GetAccountTotalEndorsingListParams struct {

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

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

GetAccountTotalEndorsingListParams contains all the bound params for the get account total endorsing list operation typically these are obtained from a http.Request

swagger:parameters getAccountTotalEndorsingList

func NewGetAccountTotalEndorsingListParams

func NewGetAccountTotalEndorsingListParams() GetAccountTotalEndorsingListParams

NewGetAccountTotalEndorsingListParams creates a new GetAccountTotalEndorsingListParams object no default values defined in spec.

func (*GetAccountTotalEndorsingListParams) 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 NewGetAccountTotalEndorsingListParams() beforehand.

type GetAccountTotalEndorsingListURL

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

GetAccountTotalEndorsingListURL generates an URL for the get account total endorsing list operation

func (*GetAccountTotalEndorsingListURL) Build

Build a url path and query string

func (*GetAccountTotalEndorsingListURL) BuildFull

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

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

func (*GetAccountTotalEndorsingListURL) Must

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

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

func (*GetAccountTotalEndorsingListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountTotalEndorsingListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountTotalEndorsingNotFound struct {
}

GetAccountTotalEndorsingNotFound Not Found

swagger:response getAccountTotalEndorsingNotFound

func NewGetAccountTotalEndorsingNotFound

func NewGetAccountTotalEndorsingNotFound() *GetAccountTotalEndorsingNotFound

NewGetAccountTotalEndorsingNotFound creates GetAccountTotalEndorsingNotFound with default headers values

func (*GetAccountTotalEndorsingNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountTotalEndorsingOK

type GetAccountTotalEndorsingOK struct {

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

GetAccountTotalEndorsingOK Query compatibility endpoint for account baking

swagger:response getAccountTotalEndorsingOK

func NewGetAccountTotalEndorsingOK

func NewGetAccountTotalEndorsingOK() *GetAccountTotalEndorsingOK

NewGetAccountTotalEndorsingOK creates GetAccountTotalEndorsingOK with default headers values

func (*GetAccountTotalEndorsingOK) SetPayload

func (o *GetAccountTotalEndorsingOK) SetPayload(payload *models.AccountEndorsingRow)

SetPayload sets the payload to the get account total endorsing o k response

func (*GetAccountTotalEndorsingOK) WithPayload

WithPayload adds the payload to the get account total endorsing o k response

func (*GetAccountTotalEndorsingOK) WriteResponse

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

WriteResponse to the client

type GetAccountTotalEndorsingParams

type GetAccountTotalEndorsingParams struct {

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

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

GetAccountTotalEndorsingParams contains all the bound params for the get account total endorsing operation typically these are obtained from a http.Request

swagger:parameters getAccountTotalEndorsing

func NewGetAccountTotalEndorsingParams

func NewGetAccountTotalEndorsingParams() GetAccountTotalEndorsingParams

NewGetAccountTotalEndorsingParams creates a new GetAccountTotalEndorsingParams object no default values defined in spec.

func (*GetAccountTotalEndorsingParams) 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 NewGetAccountTotalEndorsingParams() beforehand.

type GetAccountTotalEndorsingURL

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

GetAccountTotalEndorsingURL generates an URL for the get account total endorsing operation

func (*GetAccountTotalEndorsingURL) Build

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

Build a url path and query string

func (*GetAccountTotalEndorsingURL) BuildFull

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

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

func (*GetAccountTotalEndorsingURL) Must

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

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

func (*GetAccountTotalEndorsingURL) SetBasePath

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

func (o *GetAccountTotalEndorsingURL) String() string

String returns the string representation of the path with query string

func (*GetAccountTotalEndorsingURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountTotalEndorsingingList struct {
	Context *middleware.Context
	Handler GetAccountTotalEndorsingingListHandler
}

GetAccountTotalEndorsingingList swagger:route GET /v2/data/{platform}/{network}/accounts/endorsing/{accountId}/total Accounts getAccountTotalEndorsingingList

GetAccountTotalEndorsingingList get account total endorsinging list API

func NewGetAccountTotalEndorsingingList

func NewGetAccountTotalEndorsingingList(ctx *middleware.Context, handler GetAccountTotalEndorsingingListHandler) *GetAccountTotalEndorsingingList

NewGetAccountTotalEndorsingingList creates a new http.Handler for the get account total endorsinging list operation

func (*GetAccountTotalEndorsingingList) ServeHTTP

type GetAccountTotalEndorsingingListBadRequest

type GetAccountTotalEndorsingingListBadRequest struct {
}

GetAccountTotalEndorsingingListBadRequest Bad request

swagger:response getAccountTotalEndorsingingListBadRequest

func NewGetAccountTotalEndorsingingListBadRequest

func NewGetAccountTotalEndorsingingListBadRequest() *GetAccountTotalEndorsingingListBadRequest

NewGetAccountTotalEndorsingingListBadRequest creates GetAccountTotalEndorsingingListBadRequest with default headers values

func (*GetAccountTotalEndorsingingListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountTotalEndorsingingListHandler

type GetAccountTotalEndorsingingListHandler interface {
	Handle(GetAccountTotalEndorsingingListParams) middleware.Responder
}

GetAccountTotalEndorsingingListHandler interface for that can handle valid get account total endorsinging list params

type GetAccountTotalEndorsingingListHandlerFunc

type GetAccountTotalEndorsingingListHandlerFunc func(GetAccountTotalEndorsingingListParams) middleware.Responder

GetAccountTotalEndorsingingListHandlerFunc turns a function with the right signature into a get account total endorsinging list handler

func (GetAccountTotalEndorsingingListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountTotalEndorsingingListNotFound

type GetAccountTotalEndorsingingListNotFound struct {
}

GetAccountTotalEndorsingingListNotFound Not Found

swagger:response getAccountTotalEndorsingingListNotFound

func NewGetAccountTotalEndorsingingListNotFound

func NewGetAccountTotalEndorsingingListNotFound() *GetAccountTotalEndorsingingListNotFound

NewGetAccountTotalEndorsingingListNotFound creates GetAccountTotalEndorsingingListNotFound with default headers values

func (*GetAccountTotalEndorsingingListNotFound) WriteResponse

WriteResponse to the client

type GetAccountTotalEndorsingingListOK

type GetAccountTotalEndorsingingListOK struct {

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

GetAccountTotalEndorsingingListOK Query compatibility endpoint for account baking

swagger:response getAccountTotalEndorsingingListOK

func NewGetAccountTotalEndorsingingListOK

func NewGetAccountTotalEndorsingingListOK() *GetAccountTotalEndorsingingListOK

NewGetAccountTotalEndorsingingListOK creates GetAccountTotalEndorsingingListOK with default headers values

func (*GetAccountTotalEndorsingingListOK) SetPayload

SetPayload sets the payload to the get account total endorsinging list o k response

func (*GetAccountTotalEndorsingingListOK) WithPayload

WithPayload adds the payload to the get account total endorsinging list o k response

func (*GetAccountTotalEndorsingingListOK) WriteResponse

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

WriteResponse to the client

type GetAccountTotalEndorsingingListParams

type GetAccountTotalEndorsingingListParams struct {

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

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

GetAccountTotalEndorsingingListParams contains all the bound params for the get account total endorsinging list operation typically these are obtained from a http.Request

swagger:parameters getAccountTotalEndorsingingList

func NewGetAccountTotalEndorsingingListParams

func NewGetAccountTotalEndorsingingListParams() GetAccountTotalEndorsingingListParams

NewGetAccountTotalEndorsingingListParams creates a new GetAccountTotalEndorsingingListParams object no default values defined in spec.

func (*GetAccountTotalEndorsingingListParams) 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 NewGetAccountTotalEndorsingingListParams() beforehand.

type GetAccountTotalEndorsingingListURL

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

GetAccountTotalEndorsingingListURL generates an URL for the get account total endorsinging list operation

func (*GetAccountTotalEndorsingingListURL) Build

Build a url path and query string

func (*GetAccountTotalEndorsingingListURL) BuildFull

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

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

func (*GetAccountTotalEndorsingingListURL) Must

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

func (*GetAccountTotalEndorsingingListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountTotalEndorsingingListURL) StringFull

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

StringFull returns the string representation of a complete url

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

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

GetAccountURL generates an URL for the get account operation

func (*GetAccountURL) Build

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

Build a url path and query string

func (*GetAccountURL) BuildFull

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

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

func (*GetAccountURL) Must

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

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

func (*GetAccountURL) SetBasePath

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

func (o *GetAccountURL) String() string

String returns the string representation of the path with query string

func (*GetAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAccountURL) WithBasePath

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

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 GetAccountsAggCount

type GetAccountsAggCount struct {
	Context *middleware.Context
	Handler GetAccountsAggCountHandler
}

GetAccountsAggCount swagger:route GET /v2/data/{platform}/{network}/accounts/agg Accounts getAccountsAggCount

GetAccountsAggCount get accounts agg count API

func NewGetAccountsAggCount

func NewGetAccountsAggCount(ctx *middleware.Context, handler GetAccountsAggCountHandler) *GetAccountsAggCount

NewGetAccountsAggCount creates a new http.Handler for the get accounts agg count operation

func (*GetAccountsAggCount) ServeHTTP

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

type GetAccountsAggCountBadRequest

type GetAccountsAggCountBadRequest struct {
}

GetAccountsAggCountBadRequest Bad request

swagger:response getAccountsAggCountBadRequest

func NewGetAccountsAggCountBadRequest

func NewGetAccountsAggCountBadRequest() *GetAccountsAggCountBadRequest

NewGetAccountsAggCountBadRequest creates GetAccountsAggCountBadRequest with default headers values

func (*GetAccountsAggCountBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountsAggCountHandler

type GetAccountsAggCountHandler interface {
	Handle(GetAccountsAggCountParams) middleware.Responder
}

GetAccountsAggCountHandler interface for that can handle valid get accounts agg count params

type GetAccountsAggCountHandlerFunc

type GetAccountsAggCountHandlerFunc func(GetAccountsAggCountParams) middleware.Responder

GetAccountsAggCountHandlerFunc turns a function with the right signature into a get accounts agg count handler

func (GetAccountsAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountsAggCountInternalServerError

type GetAccountsAggCountInternalServerError struct {
}

GetAccountsAggCountInternalServerError Internal error

swagger:response getAccountsAggCountInternalServerError

func NewGetAccountsAggCountInternalServerError

func NewGetAccountsAggCountInternalServerError() *GetAccountsAggCountInternalServerError

NewGetAccountsAggCountInternalServerError creates GetAccountsAggCountInternalServerError with default headers values

func (*GetAccountsAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetAccountsAggCountNotFound

type GetAccountsAggCountNotFound struct {
}

GetAccountsAggCountNotFound Not Found

swagger:response getAccountsAggCountNotFound

func NewGetAccountsAggCountNotFound

func NewGetAccountsAggCountNotFound() *GetAccountsAggCountNotFound

NewGetAccountsAggCountNotFound creates GetAccountsAggCountNotFound with default headers values

func (*GetAccountsAggCountNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountsAggCountOK

type GetAccountsAggCountOK struct {

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

GetAccountsAggCountOK Get accounts count by period

swagger:response getAccountsAggCountOK

func NewGetAccountsAggCountOK

func NewGetAccountsAggCountOK() *GetAccountsAggCountOK

NewGetAccountsAggCountOK creates GetAccountsAggCountOK with default headers values

func (*GetAccountsAggCountOK) SetPayload

func (o *GetAccountsAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get accounts agg count o k response

func (*GetAccountsAggCountOK) WithPayload

func (o *GetAccountsAggCountOK) WithPayload(payload []*models.AggTimeInt) *GetAccountsAggCountOK

WithPayload adds the payload to the get accounts agg count o k response

func (*GetAccountsAggCountOK) WriteResponse

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

WriteResponse to the client

type GetAccountsAggCountParams

type GetAccountsAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetAccountsAggCountParams contains all the bound params for the get accounts agg count operation typically these are obtained from a http.Request

swagger:parameters getAccountsAggCount

func NewGetAccountsAggCountParams

func NewGetAccountsAggCountParams() GetAccountsAggCountParams

NewGetAccountsAggCountParams creates a new GetAccountsAggCountParams object no default values defined in spec.

func (*GetAccountsAggCountParams) 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 NewGetAccountsAggCountParams() beforehand.

type GetAccountsAggCountURL

type GetAccountsAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetAccountsAggCountURL generates an URL for the get accounts agg count operation

func (*GetAccountsAggCountURL) Build

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

Build a url path and query string

func (*GetAccountsAggCountURL) BuildFull

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

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

func (*GetAccountsAggCountURL) Must

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

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

func (*GetAccountsAggCountURL) SetBasePath

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

func (o *GetAccountsAggCountURL) String() string

String returns the string representation of the path with query string

func (*GetAccountsAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountsList struct {
	Context *middleware.Context
	Handler GetAccountsListHandler
}

GetAccountsList swagger:route GET /v2/data/{platform}/{network}/accounts Accounts getAccountsList

GetAccountsList get accounts list API

func NewGetAccountsList

func NewGetAccountsList(ctx *middleware.Context, handler GetAccountsListHandler) *GetAccountsList

NewGetAccountsList creates a new http.Handler for the get accounts list operation

func (*GetAccountsList) ServeHTTP

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

type GetAccountsListBadRequest

type GetAccountsListBadRequest struct {
}

GetAccountsListBadRequest Bad request

swagger:response getAccountsListBadRequest

func NewGetAccountsListBadRequest

func NewGetAccountsListBadRequest() *GetAccountsListBadRequest

NewGetAccountsListBadRequest creates GetAccountsListBadRequest with default headers values

func (*GetAccountsListBadRequest) WriteResponse

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

WriteResponse to the client

type GetAccountsListHandler

type GetAccountsListHandler interface {
	Handle(GetAccountsListParams) middleware.Responder
}

GetAccountsListHandler interface for that can handle valid get accounts list params

type GetAccountsListHandlerFunc

type GetAccountsListHandlerFunc func(GetAccountsListParams) middleware.Responder

GetAccountsListHandlerFunc turns a function with the right signature into a get accounts list handler

func (GetAccountsListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountsListNotFound

type GetAccountsListNotFound struct {
}

GetAccountsListNotFound Not Found

swagger:response getAccountsListNotFound

func NewGetAccountsListNotFound

func NewGetAccountsListNotFound() *GetAccountsListNotFound

NewGetAccountsListNotFound creates GetAccountsListNotFound with default headers values

func (*GetAccountsListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountsListOK

type GetAccountsListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountsListOK Query compatibility endpoint for accounts

swagger:response getAccountsListOK

func NewGetAccountsListOK

func NewGetAccountsListOK() *GetAccountsListOK

NewGetAccountsListOK creates GetAccountsListOK with default headers values

func (*GetAccountsListOK) SetPayload

func (o *GetAccountsListOK) SetPayload(payload []*models.AccountsRow)

SetPayload sets the payload to the get accounts list o k response

func (*GetAccountsListOK) SetXTotalCount

func (o *GetAccountsListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get accounts list o k response

func (*GetAccountsListOK) WithPayload

func (o *GetAccountsListOK) WithPayload(payload []*models.AccountsRow) *GetAccountsListOK

WithPayload adds the payload to the get accounts list o k response

func (*GetAccountsListOK) WithXTotalCount

func (o *GetAccountsListOK) WithXTotalCount(xTotalCount int64) *GetAccountsListOK

WithXTotalCount adds the xTotalCount to the get accounts list o k response

func (*GetAccountsListOK) WriteResponse

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

WriteResponse to the client

type GetAccountsListParams

type GetAccountsListParams struct {

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

	/*Not used
	  In: query
	  Collection Format: multi
	*/
	AccountDelegate []string
	/*Not used
	  In: query
	  Collection Format: multi
	*/
	AccountID []string
	/*Not used
	  In: query
	  Collection Format: multi
	*/
	AccountManager []string
	/*
	  In: query
	*/
	AfterID *string
	/*
	  In: query
	  Collection Format: multi
	*/
	BlockID []string
	/*
	  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
	/*favorites accounts
	  In: query
	  Collection Format: multi
	*/
	Favorites []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
	/*Not used
	  In: query
	  Collection Format: multi
	*/
	OperationID []string
	/*Not used
	  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
}

GetAccountsListParams contains all the bound params for the get accounts list operation typically these are obtained from a http.Request

swagger:parameters getAccountsList

func NewGetAccountsListParams

func NewGetAccountsListParams() GetAccountsListParams

NewGetAccountsListParams creates a new GetAccountsListParams object with the default values initialized.

func (*GetAccountsListParams) BindRequest

func (o *GetAccountsListParams) 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 NewGetAccountsListParams() beforehand.

type GetAccountsListURL

type GetAccountsListURL struct {
	Network  string
	Platform string

	AccountDelegate      []string
	AccountID            []string
	AccountManager       []string
	AfterID              *string
	BlockID              []string
	BlockLevel           []int64
	BlockNetid           []string
	BlockProtocol        []string
	Favorites            []string
	Limit                *int64
	Offset               *int64
	OperationDestination []string
	OperationID          []string
	OperationKind        []string
	OperationParticipant []string
	OperationSource      []string
	Order                *string
	SortBy               *string
	// contains filtered or unexported fields
}

GetAccountsListURL generates an URL for the get accounts list operation

func (*GetAccountsListURL) Build

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

Build a url path and query string

func (*GetAccountsListURL) BuildFull

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

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

func (*GetAccountsListURL) Must

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

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

func (*GetAccountsListURL) SetBasePath

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

func (o *GetAccountsListURL) String() string

String returns the string representation of the path with query string

func (*GetAccountsListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAccountsListURL) WithBasePath

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

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 GetAccountsTopBalanceList

type GetAccountsTopBalanceList struct {
	Context *middleware.Context
	Handler GetAccountsTopBalanceListHandler
}

GetAccountsTopBalanceList swagger:route GET /v2/data/{platform}/{network}/accounts/top_balance Accounts getAccountsTopBalanceList

GetAccountsTopBalanceList get accounts top balance list API

func NewGetAccountsTopBalanceList

func NewGetAccountsTopBalanceList(ctx *middleware.Context, handler GetAccountsTopBalanceListHandler) *GetAccountsTopBalanceList

NewGetAccountsTopBalanceList creates a new http.Handler for the get accounts top balance list operation

func (*GetAccountsTopBalanceList) ServeHTTP

type GetAccountsTopBalanceListBadRequest

type GetAccountsTopBalanceListBadRequest struct {
}

GetAccountsTopBalanceListBadRequest Bad request

swagger:response getAccountsTopBalanceListBadRequest

func NewGetAccountsTopBalanceListBadRequest

func NewGetAccountsTopBalanceListBadRequest() *GetAccountsTopBalanceListBadRequest

NewGetAccountsTopBalanceListBadRequest creates GetAccountsTopBalanceListBadRequest with default headers values

func (*GetAccountsTopBalanceListBadRequest) WriteResponse

WriteResponse to the client

type GetAccountsTopBalanceListHandler

type GetAccountsTopBalanceListHandler interface {
	Handle(GetAccountsTopBalanceListParams) middleware.Responder
}

GetAccountsTopBalanceListHandler interface for that can handle valid get accounts top balance list params

type GetAccountsTopBalanceListHandlerFunc

type GetAccountsTopBalanceListHandlerFunc func(GetAccountsTopBalanceListParams) middleware.Responder

GetAccountsTopBalanceListHandlerFunc turns a function with the right signature into a get accounts top balance list handler

func (GetAccountsTopBalanceListHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountsTopBalanceListNotFound

type GetAccountsTopBalanceListNotFound struct {
}

GetAccountsTopBalanceListNotFound Not Found

swagger:response getAccountsTopBalanceListNotFound

func NewGetAccountsTopBalanceListNotFound

func NewGetAccountsTopBalanceListNotFound() *GetAccountsTopBalanceListNotFound

NewGetAccountsTopBalanceListNotFound creates GetAccountsTopBalanceListNotFound with default headers values

func (*GetAccountsTopBalanceListNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountsTopBalanceListOK

type GetAccountsTopBalanceListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetAccountsTopBalanceListOK Query compatibility endpoint for accounts

swagger:response getAccountsTopBalanceListOK

func NewGetAccountsTopBalanceListOK

func NewGetAccountsTopBalanceListOK() *GetAccountsTopBalanceListOK

NewGetAccountsTopBalanceListOK creates GetAccountsTopBalanceListOK with default headers values

func (*GetAccountsTopBalanceListOK) SetPayload

func (o *GetAccountsTopBalanceListOK) SetPayload(payload []*models.AccountsRow)

SetPayload sets the payload to the get accounts top balance list o k response

func (*GetAccountsTopBalanceListOK) SetXTotalCount

func (o *GetAccountsTopBalanceListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get accounts top balance list o k response

func (*GetAccountsTopBalanceListOK) WithPayload

WithPayload adds the payload to the get accounts top balance list o k response

func (*GetAccountsTopBalanceListOK) WithXTotalCount

func (o *GetAccountsTopBalanceListOK) WithXTotalCount(xTotalCount int64) *GetAccountsTopBalanceListOK

WithXTotalCount adds the xTotalCount to the get accounts top balance list o k response

func (*GetAccountsTopBalanceListOK) WriteResponse

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

WriteResponse to the client

type GetAccountsTopBalanceListParams

type GetAccountsTopBalanceListParams struct {

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

	/*
	  In: query
	*/
	AfterID *string
	/*favorites accounts
	  In: query
	  Collection Format: multi
	*/
	Favorites []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
	  Required: true
	  In: path
	*/
	Platform string
}

GetAccountsTopBalanceListParams contains all the bound params for the get accounts top balance list operation typically these are obtained from a http.Request

swagger:parameters getAccountsTopBalanceList

func NewGetAccountsTopBalanceListParams

func NewGetAccountsTopBalanceListParams() GetAccountsTopBalanceListParams

NewGetAccountsTopBalanceListParams creates a new GetAccountsTopBalanceListParams object with the default values initialized.

func (*GetAccountsTopBalanceListParams) 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 NewGetAccountsTopBalanceListParams() beforehand.

type GetAccountsTopBalanceListURL

type GetAccountsTopBalanceListURL struct {
	Network  string
	Platform string

	AfterID   *string
	Favorites []string
	Limit     *int64
	Offset    *int64
	// contains filtered or unexported fields
}

GetAccountsTopBalanceListURL generates an URL for the get accounts top balance list operation

func (*GetAccountsTopBalanceListURL) Build

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

Build a url path and query string

func (*GetAccountsTopBalanceListURL) BuildFull

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

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

func (*GetAccountsTopBalanceListURL) Must

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

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

func (*GetAccountsTopBalanceListURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetAccountsTopBalanceListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetAccountsTotalAggCount struct {
	Context *middleware.Context
	Handler GetAccountsTotalAggCountHandler
}

GetAccountsTotalAggCount swagger:route GET /v2/data/{platform}/{network}/accounts/total/agg Accounts getAccountsTotalAggCount

GetAccountsTotalAggCount get accounts total agg count API

func NewGetAccountsTotalAggCount

func NewGetAccountsTotalAggCount(ctx *middleware.Context, handler GetAccountsTotalAggCountHandler) *GetAccountsTotalAggCount

NewGetAccountsTotalAggCount creates a new http.Handler for the get accounts total agg count operation

func (*GetAccountsTotalAggCount) ServeHTTP

type GetAccountsTotalAggCountBadRequest

type GetAccountsTotalAggCountBadRequest struct {
}

GetAccountsTotalAggCountBadRequest Bad request

swagger:response getAccountsTotalAggCountBadRequest

func NewGetAccountsTotalAggCountBadRequest

func NewGetAccountsTotalAggCountBadRequest() *GetAccountsTotalAggCountBadRequest

NewGetAccountsTotalAggCountBadRequest creates GetAccountsTotalAggCountBadRequest with default headers values

func (*GetAccountsTotalAggCountBadRequest) WriteResponse

WriteResponse to the client

type GetAccountsTotalAggCountHandler

type GetAccountsTotalAggCountHandler interface {
	Handle(GetAccountsTotalAggCountParams) middleware.Responder
}

GetAccountsTotalAggCountHandler interface for that can handle valid get accounts total agg count params

type GetAccountsTotalAggCountHandlerFunc

type GetAccountsTotalAggCountHandlerFunc func(GetAccountsTotalAggCountParams) middleware.Responder

GetAccountsTotalAggCountHandlerFunc turns a function with the right signature into a get accounts total agg count handler

func (GetAccountsTotalAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetAccountsTotalAggCountInternalServerError

type GetAccountsTotalAggCountInternalServerError struct {
}

GetAccountsTotalAggCountInternalServerError Internal error

swagger:response getAccountsTotalAggCountInternalServerError

func NewGetAccountsTotalAggCountInternalServerError

func NewGetAccountsTotalAggCountInternalServerError() *GetAccountsTotalAggCountInternalServerError

NewGetAccountsTotalAggCountInternalServerError creates GetAccountsTotalAggCountInternalServerError with default headers values

func (*GetAccountsTotalAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetAccountsTotalAggCountNotFound

type GetAccountsTotalAggCountNotFound struct {
}

GetAccountsTotalAggCountNotFound Not Found

swagger:response getAccountsTotalAggCountNotFound

func NewGetAccountsTotalAggCountNotFound

func NewGetAccountsTotalAggCountNotFound() *GetAccountsTotalAggCountNotFound

NewGetAccountsTotalAggCountNotFound creates GetAccountsTotalAggCountNotFound with default headers values

func (*GetAccountsTotalAggCountNotFound) WriteResponse

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

WriteResponse to the client

type GetAccountsTotalAggCountOK

type GetAccountsTotalAggCountOK struct {

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

GetAccountsTotalAggCountOK Get accounts count by period

swagger:response getAccountsTotalAggCountOK

func NewGetAccountsTotalAggCountOK

func NewGetAccountsTotalAggCountOK() *GetAccountsTotalAggCountOK

NewGetAccountsTotalAggCountOK creates GetAccountsTotalAggCountOK with default headers values

func (*GetAccountsTotalAggCountOK) SetPayload

func (o *GetAccountsTotalAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get accounts total agg count o k response

func (*GetAccountsTotalAggCountOK) WithPayload

WithPayload adds the payload to the get accounts total agg count o k response

func (*GetAccountsTotalAggCountOK) WriteResponse

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

WriteResponse to the client

type GetAccountsTotalAggCountParams

type GetAccountsTotalAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetAccountsTotalAggCountParams contains all the bound params for the get accounts total agg count operation typically these are obtained from a http.Request

swagger:parameters getAccountsTotalAggCount

func NewGetAccountsTotalAggCountParams

func NewGetAccountsTotalAggCountParams() GetAccountsTotalAggCountParams

NewGetAccountsTotalAggCountParams creates a new GetAccountsTotalAggCountParams object no default values defined in spec.

func (*GetAccountsTotalAggCountParams) 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 NewGetAccountsTotalAggCountParams() beforehand.

type GetAccountsTotalAggCountURL

type GetAccountsTotalAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetAccountsTotalAggCountURL generates an URL for the get accounts total agg count operation

func (*GetAccountsTotalAggCountURL) Build

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

Build a url path and query string

func (*GetAccountsTotalAggCountURL) BuildFull

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

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

func (*GetAccountsTotalAggCountURL) Must

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

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

func (*GetAccountsTotalAggCountURL) SetBasePath

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

func (o *GetAccountsTotalAggCountURL) String() string

String returns the string representation of the path with query string

func (*GetAccountsTotalAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetActiveAccountsAggCount struct {
	Context *middleware.Context
	Handler GetActiveAccountsAggCountHandler
}

GetActiveAccountsAggCount swagger:route GET /v2/data/{platform}/{network}/active/accounts/agg Accounts getActiveAccountsAggCount

GetActiveAccountsAggCount get active accounts agg count API

func NewGetActiveAccountsAggCount

func NewGetActiveAccountsAggCount(ctx *middleware.Context, handler GetActiveAccountsAggCountHandler) *GetActiveAccountsAggCount

NewGetActiveAccountsAggCount creates a new http.Handler for the get active accounts agg count operation

func (*GetActiveAccountsAggCount) ServeHTTP

type GetActiveAccountsAggCountBadRequest

type GetActiveAccountsAggCountBadRequest struct {
}

GetActiveAccountsAggCountBadRequest Bad request

swagger:response getActiveAccountsAggCountBadRequest

func NewGetActiveAccountsAggCountBadRequest

func NewGetActiveAccountsAggCountBadRequest() *GetActiveAccountsAggCountBadRequest

NewGetActiveAccountsAggCountBadRequest creates GetActiveAccountsAggCountBadRequest with default headers values

func (*GetActiveAccountsAggCountBadRequest) WriteResponse

WriteResponse to the client

type GetActiveAccountsAggCountHandler

type GetActiveAccountsAggCountHandler interface {
	Handle(GetActiveAccountsAggCountParams) middleware.Responder
}

GetActiveAccountsAggCountHandler interface for that can handle valid get active accounts agg count params

type GetActiveAccountsAggCountHandlerFunc

type GetActiveAccountsAggCountHandlerFunc func(GetActiveAccountsAggCountParams) middleware.Responder

GetActiveAccountsAggCountHandlerFunc turns a function with the right signature into a get active accounts agg count handler

func (GetActiveAccountsAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetActiveAccountsAggCountInternalServerError

type GetActiveAccountsAggCountInternalServerError struct {
}

GetActiveAccountsAggCountInternalServerError Internal error

swagger:response getActiveAccountsAggCountInternalServerError

func NewGetActiveAccountsAggCountInternalServerError

func NewGetActiveAccountsAggCountInternalServerError() *GetActiveAccountsAggCountInternalServerError

NewGetActiveAccountsAggCountInternalServerError creates GetActiveAccountsAggCountInternalServerError with default headers values

func (*GetActiveAccountsAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetActiveAccountsAggCountNotFound

type GetActiveAccountsAggCountNotFound struct {
}

GetActiveAccountsAggCountNotFound Not Found

swagger:response getActiveAccountsAggCountNotFound

func NewGetActiveAccountsAggCountNotFound

func NewGetActiveAccountsAggCountNotFound() *GetActiveAccountsAggCountNotFound

NewGetActiveAccountsAggCountNotFound creates GetActiveAccountsAggCountNotFound with default headers values

func (*GetActiveAccountsAggCountNotFound) WriteResponse

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

WriteResponse to the client

type GetActiveAccountsAggCountOK

type GetActiveAccountsAggCountOK struct {

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

GetActiveAccountsAggCountOK Get active accounts count by period

swagger:response getActiveAccountsAggCountOK

func NewGetActiveAccountsAggCountOK

func NewGetActiveAccountsAggCountOK() *GetActiveAccountsAggCountOK

NewGetActiveAccountsAggCountOK creates GetActiveAccountsAggCountOK with default headers values

func (*GetActiveAccountsAggCountOK) SetPayload

func (o *GetActiveAccountsAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get active accounts agg count o k response

func (*GetActiveAccountsAggCountOK) WithPayload

WithPayload adds the payload to the get active accounts agg count o k response

func (*GetActiveAccountsAggCountOK) WriteResponse

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

WriteResponse to the client

type GetActiveAccountsAggCountParams

type GetActiveAccountsAggCountParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
}

GetActiveAccountsAggCountParams contains all the bound params for the get active accounts agg count operation typically these are obtained from a http.Request

swagger:parameters getActiveAccountsAggCount

func NewGetActiveAccountsAggCountParams

func NewGetActiveAccountsAggCountParams() GetActiveAccountsAggCountParams

NewGetActiveAccountsAggCountParams creates a new GetActiveAccountsAggCountParams object no default values defined in spec.

func (*GetActiveAccountsAggCountParams) 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 NewGetActiveAccountsAggCountParams() beforehand.

type GetActiveAccountsAggCountURL

type GetActiveAccountsAggCountURL struct {
	Network  string
	Platform string

	Period string
	// contains filtered or unexported fields
}

GetActiveAccountsAggCountURL generates an URL for the get active accounts agg count operation

func (*GetActiveAccountsAggCountURL) Build

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

Build a url path and query string

func (*GetActiveAccountsAggCountURL) BuildFull

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

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

func (*GetActiveAccountsAggCountURL) Must

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

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

func (*GetActiveAccountsAggCountURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetActiveAccountsAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetBakersDelegators struct {
	Context *middleware.Context
	Handler GetBakersDelegatorsHandler
}

GetBakersDelegators swagger:route GET /v2/data/{platform}/{network}/bakers/delegators Accounts getBakersDelegators

GetBakersDelegators get bakers delegators API

func NewGetBakersDelegators

func NewGetBakersDelegators(ctx *middleware.Context, handler GetBakersDelegatorsHandler) *GetBakersDelegators

NewGetBakersDelegators creates a new http.Handler for the get bakers delegators operation

func (*GetBakersDelegators) ServeHTTP

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

type GetBakersDelegatorsBadRequest

type GetBakersDelegatorsBadRequest struct {
}

GetBakersDelegatorsBadRequest Bad request

swagger:response getBakersDelegatorsBadRequest

func NewGetBakersDelegatorsBadRequest

func NewGetBakersDelegatorsBadRequest() *GetBakersDelegatorsBadRequest

NewGetBakersDelegatorsBadRequest creates GetBakersDelegatorsBadRequest with default headers values

func (*GetBakersDelegatorsBadRequest) WriteResponse

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

WriteResponse to the client

type GetBakersDelegatorsHandler

type GetBakersDelegatorsHandler interface {
	Handle(GetBakersDelegatorsParams) middleware.Responder
}

GetBakersDelegatorsHandler interface for that can handle valid get bakers delegators params

type GetBakersDelegatorsHandlerFunc

type GetBakersDelegatorsHandlerFunc func(GetBakersDelegatorsParams) middleware.Responder

GetBakersDelegatorsHandlerFunc turns a function with the right signature into a get bakers delegators handler

func (GetBakersDelegatorsHandlerFunc) Handle

Handle executing the request and returning a response

type GetBakersDelegatorsInternalServerError

type GetBakersDelegatorsInternalServerError struct {
}

GetBakersDelegatorsInternalServerError Internal error

swagger:response getBakersDelegatorsInternalServerError

func NewGetBakersDelegatorsInternalServerError

func NewGetBakersDelegatorsInternalServerError() *GetBakersDelegatorsInternalServerError

NewGetBakersDelegatorsInternalServerError creates GetBakersDelegatorsInternalServerError with default headers values

func (*GetBakersDelegatorsInternalServerError) WriteResponse

WriteResponse to the client

type GetBakersDelegatorsNotFound

type GetBakersDelegatorsNotFound struct {
}

GetBakersDelegatorsNotFound Not Found

swagger:response getBakersDelegatorsNotFound

func NewGetBakersDelegatorsNotFound

func NewGetBakersDelegatorsNotFound() *GetBakersDelegatorsNotFound

NewGetBakersDelegatorsNotFound creates GetBakersDelegatorsNotFound with default headers values

func (*GetBakersDelegatorsNotFound) WriteResponse

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

WriteResponse to the client

type GetBakersDelegatorsOK

type GetBakersDelegatorsOK struct {

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

GetBakersDelegatorsOK Get number of baker delegators

swagger:response getBakersDelegatorsOK

func NewGetBakersDelegatorsOK

func NewGetBakersDelegatorsOK() *GetBakersDelegatorsOK

NewGetBakersDelegatorsOK creates GetBakersDelegatorsOK with default headers values

func (*GetBakersDelegatorsOK) SetPayload

func (o *GetBakersDelegatorsOK) SetPayload(payload []*models.BakerDelegators)

SetPayload sets the payload to the get bakers delegators o k response

func (*GetBakersDelegatorsOK) WithPayload

WithPayload adds the payload to the get bakers delegators o k response

func (*GetBakersDelegatorsOK) WriteResponse

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

WriteResponse to the client

type GetBakersDelegatorsParams

type GetBakersDelegatorsParams struct {

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

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

GetBakersDelegatorsParams contains all the bound params for the get bakers delegators operation typically these are obtained from a http.Request

swagger:parameters getBakersDelegators

func NewGetBakersDelegatorsParams

func NewGetBakersDelegatorsParams() GetBakersDelegatorsParams

NewGetBakersDelegatorsParams creates a new GetBakersDelegatorsParams object no default values defined in spec.

func (*GetBakersDelegatorsParams) 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 NewGetBakersDelegatorsParams() beforehand.

type GetBakersDelegatorsURL

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

GetBakersDelegatorsURL generates an URL for the get bakers delegators operation

func (*GetBakersDelegatorsURL) Build

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

Build a url path and query string

func (*GetBakersDelegatorsURL) BuildFull

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

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

func (*GetBakersDelegatorsURL) Must

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

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

func (*GetBakersDelegatorsURL) SetBasePath

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

func (o *GetBakersDelegatorsURL) String() string

String returns the string representation of the path with query string

func (*GetBakersDelegatorsURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetBakersHolding struct {
	Context *middleware.Context
	Handler GetBakersHoldingHandler
}

GetBakersHolding swagger:route GET /v2/data/{platform}/{network}/bakers/holding Accounts getBakersHolding

GetBakersHolding get bakers holding API

func NewGetBakersHolding

func NewGetBakersHolding(ctx *middleware.Context, handler GetBakersHoldingHandler) *GetBakersHolding

NewGetBakersHolding creates a new http.Handler for the get bakers holding operation

func (*GetBakersHolding) ServeHTTP

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

type GetBakersHoldingBadRequest

type GetBakersHoldingBadRequest struct {
}

GetBakersHoldingBadRequest Bad request

swagger:response getBakersHoldingBadRequest

func NewGetBakersHoldingBadRequest

func NewGetBakersHoldingBadRequest() *GetBakersHoldingBadRequest

NewGetBakersHoldingBadRequest creates GetBakersHoldingBadRequest with default headers values

func (*GetBakersHoldingBadRequest) WriteResponse

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

WriteResponse to the client

type GetBakersHoldingHandler

type GetBakersHoldingHandler interface {
	Handle(GetBakersHoldingParams) middleware.Responder
}

GetBakersHoldingHandler interface for that can handle valid get bakers holding params

type GetBakersHoldingHandlerFunc

type GetBakersHoldingHandlerFunc func(GetBakersHoldingParams) middleware.Responder

GetBakersHoldingHandlerFunc turns a function with the right signature into a get bakers holding handler

func (GetBakersHoldingHandlerFunc) Handle

Handle executing the request and returning a response

type GetBakersHoldingInternalServerError

type GetBakersHoldingInternalServerError struct {
}

GetBakersHoldingInternalServerError Internal error

swagger:response getBakersHoldingInternalServerError

func NewGetBakersHoldingInternalServerError

func NewGetBakersHoldingInternalServerError() *GetBakersHoldingInternalServerError

NewGetBakersHoldingInternalServerError creates GetBakersHoldingInternalServerError with default headers values

func (*GetBakersHoldingInternalServerError) WriteResponse

WriteResponse to the client

type GetBakersHoldingNotFound

type GetBakersHoldingNotFound struct {
}

GetBakersHoldingNotFound Not Found

swagger:response getBakersHoldingNotFound

func NewGetBakersHoldingNotFound

func NewGetBakersHoldingNotFound() *GetBakersHoldingNotFound

NewGetBakersHoldingNotFound creates GetBakersHoldingNotFound with default headers values

func (*GetBakersHoldingNotFound) WriteResponse

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

WriteResponse to the client

type GetBakersHoldingOK

type GetBakersHoldingOK struct {

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

GetBakersHoldingOK Get bakers holding points

swagger:response getBakersHoldingOK

func NewGetBakersHoldingOK

func NewGetBakersHoldingOK() *GetBakersHoldingOK

NewGetBakersHoldingOK creates GetBakersHoldingOK with default headers values

func (*GetBakersHoldingOK) SetPayload

func (o *GetBakersHoldingOK) SetPayload(payload []*models.HoldingPoint)

SetPayload sets the payload to the get bakers holding o k response

func (*GetBakersHoldingOK) WithPayload

func (o *GetBakersHoldingOK) WithPayload(payload []*models.HoldingPoint) *GetBakersHoldingOK

WithPayload adds the payload to the get bakers holding o k response

func (*GetBakersHoldingOK) WriteResponse

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

WriteResponse to the client

type GetBakersHoldingParams

type GetBakersHoldingParams struct {

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

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

GetBakersHoldingParams contains all the bound params for the get bakers holding operation typically these are obtained from a http.Request

swagger:parameters getBakersHolding

func NewGetBakersHoldingParams

func NewGetBakersHoldingParams() GetBakersHoldingParams

NewGetBakersHoldingParams creates a new GetBakersHoldingParams object no default values defined in spec.

func (*GetBakersHoldingParams) BindRequest

func (o *GetBakersHoldingParams) 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 NewGetBakersHoldingParams() beforehand.

type GetBakersHoldingURL

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

GetBakersHoldingURL generates an URL for the get bakers holding operation

func (*GetBakersHoldingURL) Build

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

Build a url path and query string

func (*GetBakersHoldingURL) BuildFull

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

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

func (*GetBakersHoldingURL) Must

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

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

func (*GetBakersHoldingURL) SetBasePath

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

func (o *GetBakersHoldingURL) String() string

String returns the string representation of the path with query string

func (*GetBakersHoldingURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetBakersHoldingURL) WithBasePath

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

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 GetBakersList

type GetBakersList struct {
	Context *middleware.Context
	Handler GetBakersListHandler
}

GetBakersList swagger:route GET /v2/data/{platform}/{network}/bakers Accounts getBakersList

GetBakersList get bakers list API

func NewGetBakersList

func NewGetBakersList(ctx *middleware.Context, handler GetBakersListHandler) *GetBakersList

NewGetBakersList creates a new http.Handler for the get bakers list operation

func (*GetBakersList) ServeHTTP

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

type GetBakersListBadRequest

type GetBakersListBadRequest struct {
}

GetBakersListBadRequest Bad request

swagger:response getBakersListBadRequest

func NewGetBakersListBadRequest

func NewGetBakersListBadRequest() *GetBakersListBadRequest

NewGetBakersListBadRequest creates GetBakersListBadRequest with default headers values

func (*GetBakersListBadRequest) WriteResponse

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

WriteResponse to the client

type GetBakersListHandler

type GetBakersListHandler interface {
	Handle(GetBakersListParams) middleware.Responder
}

GetBakersListHandler interface for that can handle valid get bakers list params

type GetBakersListHandlerFunc

type GetBakersListHandlerFunc func(GetBakersListParams) middleware.Responder

GetBakersListHandlerFunc turns a function with the right signature into a get bakers list handler

func (GetBakersListHandlerFunc) Handle

Handle executing the request and returning a response

type GetBakersListNotFound

type GetBakersListNotFound struct {
}

GetBakersListNotFound Not Found

swagger:response getBakersListNotFound

func NewGetBakersListNotFound

func NewGetBakersListNotFound() *GetBakersListNotFound

NewGetBakersListNotFound creates GetBakersListNotFound with default headers values

func (*GetBakersListNotFound) WriteResponse

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

WriteResponse to the client

type GetBakersListOK

type GetBakersListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetBakersListOK Query Endpoint for getting list of baker accounts ordered by staking balance.

swagger:response getBakersListOK

func NewGetBakersListOK

func NewGetBakersListOK() *GetBakersListOK

NewGetBakersListOK creates GetBakersListOK with default headers values

func (*GetBakersListOK) SetPayload

func (o *GetBakersListOK) SetPayload(payload []*models.BakersRow)

SetPayload sets the payload to the get bakers list o k response

func (*GetBakersListOK) SetXTotalCount

func (o *GetBakersListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get bakers list o k response

func (*GetBakersListOK) WithPayload

func (o *GetBakersListOK) WithPayload(payload []*models.BakersRow) *GetBakersListOK

WithPayload adds the payload to the get bakers list o k response

func (*GetBakersListOK) WithXTotalCount

func (o *GetBakersListOK) WithXTotalCount(xTotalCount int64) *GetBakersListOK

WithXTotalCount adds the xTotalCount to the get bakers list o k response

func (*GetBakersListOK) WriteResponse

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

WriteResponse to the client

type GetBakersListParams

type GetBakersListParams struct {

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

	/*favorites accounts
	  In: query
	  Collection Format: multi
	*/
	Favorites []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
	  Required: true
	  In: path
	*/
	Platform string
}

GetBakersListParams contains all the bound params for the get bakers list operation typically these are obtained from a http.Request

swagger:parameters getBakersList

func NewGetBakersListParams

func NewGetBakersListParams() GetBakersListParams

NewGetBakersListParams creates a new GetBakersListParams object with the default values initialized.

func (*GetBakersListParams) BindRequest

func (o *GetBakersListParams) 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 NewGetBakersListParams() beforehand.

type GetBakersListURL

type GetBakersListURL struct {
	Network  string
	Platform string

	Favorites []string
	Limit     *int64
	Offset    *int64
	// contains filtered or unexported fields
}

GetBakersListURL generates an URL for the get bakers list operation

func (*GetBakersListURL) Build

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

Build a url path and query string

func (*GetBakersListURL) BuildFull

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

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

func (*GetBakersListURL) Must

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

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

func (*GetBakersListURL) SetBasePath

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

func (o *GetBakersListURL) String() string

String returns the string representation of the path with query string

func (*GetBakersListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetBakersListURL) WithBasePath

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

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 GetBakersStakeChange

type GetBakersStakeChange struct {
	Context *middleware.Context
	Handler GetBakersStakeChangeHandler
}

GetBakersStakeChange swagger:route GET /v2/data/{platform}/{network}/bakers/stake/change Accounts getBakersStakeChange

GetBakersStakeChange get bakers stake change API

func NewGetBakersStakeChange

func NewGetBakersStakeChange(ctx *middleware.Context, handler GetBakersStakeChangeHandler) *GetBakersStakeChange

NewGetBakersStakeChange creates a new http.Handler for the get bakers stake change operation

func (*GetBakersStakeChange) ServeHTTP

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

type GetBakersStakeChangeBadRequest

type GetBakersStakeChangeBadRequest struct {
}

GetBakersStakeChangeBadRequest Bad request

swagger:response getBakersStakeChangeBadRequest

func NewGetBakersStakeChangeBadRequest

func NewGetBakersStakeChangeBadRequest() *GetBakersStakeChangeBadRequest

NewGetBakersStakeChangeBadRequest creates GetBakersStakeChangeBadRequest with default headers values

func (*GetBakersStakeChangeBadRequest) WriteResponse

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

WriteResponse to the client

type GetBakersStakeChangeHandler

type GetBakersStakeChangeHandler interface {
	Handle(GetBakersStakeChangeParams) middleware.Responder
}

GetBakersStakeChangeHandler interface for that can handle valid get bakers stake change params

type GetBakersStakeChangeHandlerFunc

type GetBakersStakeChangeHandlerFunc func(GetBakersStakeChangeParams) middleware.Responder

GetBakersStakeChangeHandlerFunc turns a function with the right signature into a get bakers stake change handler

func (GetBakersStakeChangeHandlerFunc) Handle

Handle executing the request and returning a response

type GetBakersStakeChangeInternalServerError

type GetBakersStakeChangeInternalServerError struct {
}

GetBakersStakeChangeInternalServerError Internal error

swagger:response getBakersStakeChangeInternalServerError

func NewGetBakersStakeChangeInternalServerError

func NewGetBakersStakeChangeInternalServerError() *GetBakersStakeChangeInternalServerError

NewGetBakersStakeChangeInternalServerError creates GetBakersStakeChangeInternalServerError with default headers values

func (*GetBakersStakeChangeInternalServerError) WriteResponse

WriteResponse to the client

type GetBakersStakeChangeNotFound

type GetBakersStakeChangeNotFound struct {
}

GetBakersStakeChangeNotFound Not Found

swagger:response getBakersStakeChangeNotFound

func NewGetBakersStakeChangeNotFound

func NewGetBakersStakeChangeNotFound() *GetBakersStakeChangeNotFound

NewGetBakersStakeChangeNotFound creates GetBakersStakeChangeNotFound with default headers values

func (*GetBakersStakeChangeNotFound) WriteResponse

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

WriteResponse to the client

type GetBakersStakeChangeOK

type GetBakersStakeChangeOK struct {

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

GetBakersStakeChangeOK Get bakers stake change

swagger:response getBakersStakeChangeOK

func NewGetBakersStakeChangeOK

func NewGetBakersStakeChangeOK() *GetBakersStakeChangeOK

NewGetBakersStakeChangeOK creates GetBakersStakeChangeOK with default headers values

func (*GetBakersStakeChangeOK) SetPayload

func (o *GetBakersStakeChangeOK) SetPayload(payload []*models.BakerDelegators)

SetPayload sets the payload to the get bakers stake change o k response

func (*GetBakersStakeChangeOK) WithPayload

WithPayload adds the payload to the get bakers stake change o k response

func (*GetBakersStakeChangeOK) WriteResponse

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

WriteResponse to the client

type GetBakersStakeChangeParams

type GetBakersStakeChangeParams struct {

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

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

GetBakersStakeChangeParams contains all the bound params for the get bakers stake change operation typically these are obtained from a http.Request

swagger:parameters getBakersStakeChange

func NewGetBakersStakeChangeParams

func NewGetBakersStakeChangeParams() GetBakersStakeChangeParams

NewGetBakersStakeChangeParams creates a new GetBakersStakeChangeParams object no default values defined in spec.

func (*GetBakersStakeChangeParams) 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 NewGetBakersStakeChangeParams() beforehand.

type GetBakersStakeChangeURL

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

GetBakersStakeChangeURL generates an URL for the get bakers stake change operation

func (*GetBakersStakeChangeURL) Build

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

Build a url path and query string

func (*GetBakersStakeChangeURL) BuildFull

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

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

func (*GetBakersStakeChangeURL) Must

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

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

func (*GetBakersStakeChangeURL) SetBasePath

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

func (o *GetBakersStakeChangeURL) String() string

String returns the string representation of the path with query string

func (*GetBakersStakeChangeURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetBakersVoting struct {
	Context *middleware.Context
	Handler GetBakersVotingHandler
}

GetBakersVoting swagger:route GET /v2/data/{platform}/{network}/bakers/voting Accounts getBakersVoting

GetBakersVoting get bakers voting API

func NewGetBakersVoting

func NewGetBakersVoting(ctx *middleware.Context, handler GetBakersVotingHandler) *GetBakersVoting

NewGetBakersVoting creates a new http.Handler for the get bakers voting operation

func (*GetBakersVoting) ServeHTTP

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

type GetBakersVotingBadRequest

type GetBakersVotingBadRequest struct {
}

GetBakersVotingBadRequest Bad request

swagger:response getBakersVotingBadRequest

func NewGetBakersVotingBadRequest

func NewGetBakersVotingBadRequest() *GetBakersVotingBadRequest

NewGetBakersVotingBadRequest creates GetBakersVotingBadRequest with default headers values

func (*GetBakersVotingBadRequest) WriteResponse

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

WriteResponse to the client

type GetBakersVotingHandler

type GetBakersVotingHandler interface {
	Handle(GetBakersVotingParams) middleware.Responder
}

GetBakersVotingHandler interface for that can handle valid get bakers voting params

type GetBakersVotingHandlerFunc

type GetBakersVotingHandlerFunc func(GetBakersVotingParams) middleware.Responder

GetBakersVotingHandlerFunc turns a function with the right signature into a get bakers voting handler

func (GetBakersVotingHandlerFunc) Handle

Handle executing the request and returning a response

type GetBakersVotingInternalServerError

type GetBakersVotingInternalServerError struct {
}

GetBakersVotingInternalServerError Internal error

swagger:response getBakersVotingInternalServerError

func NewGetBakersVotingInternalServerError

func NewGetBakersVotingInternalServerError() *GetBakersVotingInternalServerError

NewGetBakersVotingInternalServerError creates GetBakersVotingInternalServerError with default headers values

func (*GetBakersVotingInternalServerError) WriteResponse

WriteResponse to the client

type GetBakersVotingNotFound

type GetBakersVotingNotFound struct {
}

GetBakersVotingNotFound Not Found

swagger:response getBakersVotingNotFound

func NewGetBakersVotingNotFound

func NewGetBakersVotingNotFound() *GetBakersVotingNotFound

NewGetBakersVotingNotFound creates GetBakersVotingNotFound with default headers values

func (*GetBakersVotingNotFound) WriteResponse

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

WriteResponse to the client

type GetBakersVotingOK

type GetBakersVotingOK struct {

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

GetBakersVotingOK Get bakers voting data

swagger:response getBakersVotingOK

func NewGetBakersVotingOK

func NewGetBakersVotingOK() *GetBakersVotingOK

NewGetBakersVotingOK creates GetBakersVotingOK with default headers values

func (*GetBakersVotingOK) SetPayload

func (o *GetBakersVotingOK) SetPayload(payload *models.BakersVoting)

SetPayload sets the payload to the get bakers voting o k response

func (*GetBakersVotingOK) WithPayload

func (o *GetBakersVotingOK) WithPayload(payload *models.BakersVoting) *GetBakersVotingOK

WithPayload adds the payload to the get bakers voting o k response

func (*GetBakersVotingOK) WriteResponse

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

WriteResponse to the client

type GetBakersVotingParams

type GetBakersVotingParams struct {

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

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

GetBakersVotingParams contains all the bound params for the get bakers voting operation typically these are obtained from a http.Request

swagger:parameters getBakersVoting

func NewGetBakersVotingParams

func NewGetBakersVotingParams() GetBakersVotingParams

NewGetBakersVotingParams creates a new GetBakersVotingParams object no default values defined in spec.

func (*GetBakersVotingParams) BindRequest

func (o *GetBakersVotingParams) 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 NewGetBakersVotingParams() beforehand.

type GetBakersVotingURL

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

GetBakersVotingURL generates an URL for the get bakers voting operation

func (*GetBakersVotingURL) Build

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

Build a url path and query string

func (*GetBakersVotingURL) BuildFull

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

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

func (*GetBakersVotingURL) Must

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

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

func (*GetBakersVotingURL) SetBasePath

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

func (o *GetBakersVotingURL) String() string

String returns the string representation of the path with query string

func (*GetBakersVotingURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetBakersVotingURL) WithBasePath

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

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 GetContractsAggCount

type GetContractsAggCount struct {
	Context *middleware.Context
	Handler GetContractsAggCountHandler
}

GetContractsAggCount swagger:route GET /v2/data/{platform}/{network}/contracts/agg Accounts getContractsAggCount

GetContractsAggCount get contracts agg count API

func NewGetContractsAggCount

func NewGetContractsAggCount(ctx *middleware.Context, handler GetContractsAggCountHandler) *GetContractsAggCount

NewGetContractsAggCount creates a new http.Handler for the get contracts agg count operation

func (*GetContractsAggCount) ServeHTTP

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

type GetContractsAggCountBadRequest

type GetContractsAggCountBadRequest struct {
}

GetContractsAggCountBadRequest Bad request

swagger:response getContractsAggCountBadRequest

func NewGetContractsAggCountBadRequest

func NewGetContractsAggCountBadRequest() *GetContractsAggCountBadRequest

NewGetContractsAggCountBadRequest creates GetContractsAggCountBadRequest with default headers values

func (*GetContractsAggCountBadRequest) WriteResponse

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

WriteResponse to the client

type GetContractsAggCountHandler

type GetContractsAggCountHandler interface {
	Handle(GetContractsAggCountParams) middleware.Responder
}

GetContractsAggCountHandler interface for that can handle valid get contracts agg count params

type GetContractsAggCountHandlerFunc

type GetContractsAggCountHandlerFunc func(GetContractsAggCountParams) middleware.Responder

GetContractsAggCountHandlerFunc turns a function with the right signature into a get contracts agg count handler

func (GetContractsAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetContractsAggCountInternalServerError

type GetContractsAggCountInternalServerError struct {
}

GetContractsAggCountInternalServerError Internal error

swagger:response getContractsAggCountInternalServerError

func NewGetContractsAggCountInternalServerError

func NewGetContractsAggCountInternalServerError() *GetContractsAggCountInternalServerError

NewGetContractsAggCountInternalServerError creates GetContractsAggCountInternalServerError with default headers values

func (*GetContractsAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetContractsAggCountNotFound

type GetContractsAggCountNotFound struct {
}

GetContractsAggCountNotFound Not Found

swagger:response getContractsAggCountNotFound

func NewGetContractsAggCountNotFound

func NewGetContractsAggCountNotFound() *GetContractsAggCountNotFound

NewGetContractsAggCountNotFound creates GetContractsAggCountNotFound with default headers values

func (*GetContractsAggCountNotFound) WriteResponse

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

WriteResponse to the client

type GetContractsAggCountOK

type GetContractsAggCountOK struct {

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

GetContractsAggCountOK Get contracts count by period

swagger:response getContractsAggCountOK

func NewGetContractsAggCountOK

func NewGetContractsAggCountOK() *GetContractsAggCountOK

NewGetContractsAggCountOK creates GetContractsAggCountOK with default headers values

func (*GetContractsAggCountOK) SetPayload

func (o *GetContractsAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get contracts agg count o k response

func (*GetContractsAggCountOK) WithPayload

func (o *GetContractsAggCountOK) WithPayload(payload []*models.AggTimeInt) *GetContractsAggCountOK

WithPayload adds the payload to the get contracts agg count o k response

func (*GetContractsAggCountOK) WriteResponse

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

WriteResponse to the client

type GetContractsAggCountParams

type GetContractsAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetContractsAggCountParams contains all the bound params for the get contracts agg count operation typically these are obtained from a http.Request

swagger:parameters getContractsAggCount

func NewGetContractsAggCountParams

func NewGetContractsAggCountParams() GetContractsAggCountParams

NewGetContractsAggCountParams creates a new GetContractsAggCountParams object no default values defined in spec.

func (*GetContractsAggCountParams) 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 NewGetContractsAggCountParams() beforehand.

type GetContractsAggCountURL

type GetContractsAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetContractsAggCountURL generates an URL for the get contracts agg count operation

func (*GetContractsAggCountURL) Build

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

Build a url path and query string

func (*GetContractsAggCountURL) BuildFull

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

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

func (*GetContractsAggCountURL) Must

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

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

func (*GetContractsAggCountURL) SetBasePath

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

func (o *GetContractsAggCountURL) String() string

String returns the string representation of the path with query string

func (*GetContractsAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetContractsList struct {
	Context *middleware.Context
	Handler GetContractsListHandler
}

GetContractsList swagger:route GET /v2/data/{platform}/{network}/contracts Accounts getContractsList

GetContractsList get contracts list API

func NewGetContractsList

func NewGetContractsList(ctx *middleware.Context, handler GetContractsListHandler) *GetContractsList

NewGetContractsList creates a new http.Handler for the get contracts list operation

func (*GetContractsList) ServeHTTP

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

type GetContractsListBadRequest

type GetContractsListBadRequest struct {
}

GetContractsListBadRequest Bad request

swagger:response getContractsListBadRequest

func NewGetContractsListBadRequest

func NewGetContractsListBadRequest() *GetContractsListBadRequest

NewGetContractsListBadRequest creates GetContractsListBadRequest with default headers values

func (*GetContractsListBadRequest) WriteResponse

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

WriteResponse to the client

type GetContractsListHandler

type GetContractsListHandler interface {
	Handle(GetContractsListParams) middleware.Responder
}

GetContractsListHandler interface for that can handle valid get contracts list params

type GetContractsListHandlerFunc

type GetContractsListHandlerFunc func(GetContractsListParams) middleware.Responder

GetContractsListHandlerFunc turns a function with the right signature into a get contracts list handler

func (GetContractsListHandlerFunc) Handle

Handle executing the request and returning a response

type GetContractsListNotFound

type GetContractsListNotFound struct {
}

GetContractsListNotFound Not Found

swagger:response getContractsListNotFound

func NewGetContractsListNotFound

func NewGetContractsListNotFound() *GetContractsListNotFound

NewGetContractsListNotFound creates GetContractsListNotFound with default headers values

func (*GetContractsListNotFound) WriteResponse

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

WriteResponse to the client

type GetContractsListOK

type GetContractsListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetContractsListOK Query compatibility endpoint for contract accounts

swagger:response getContractsListOK

func NewGetContractsListOK

func NewGetContractsListOK() *GetContractsListOK

NewGetContractsListOK creates GetContractsListOK with default headers values

func (*GetContractsListOK) SetPayload

func (o *GetContractsListOK) SetPayload(payload []*models.AccountsRow)

SetPayload sets the payload to the get contracts list o k response

func (*GetContractsListOK) SetXTotalCount

func (o *GetContractsListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get contracts list o k response

func (*GetContractsListOK) WithPayload

func (o *GetContractsListOK) WithPayload(payload []*models.AccountsRow) *GetContractsListOK

WithPayload adds the payload to the get contracts list o k response

func (*GetContractsListOK) WithXTotalCount

func (o *GetContractsListOK) WithXTotalCount(xTotalCount int64) *GetContractsListOK

WithXTotalCount adds the xTotalCount to the get contracts list o k response

func (*GetContractsListOK) WriteResponse

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

WriteResponse to the client

type GetContractsListParams

type GetContractsListParams struct {

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

	/*Not used
	  In: query
	  Collection Format: multi
	*/
	AccountDelegate []string
	/*Not used
	  In: query
	  Collection Format: multi
	*/
	AccountID []string
	/*Not used
	  In: query
	  Collection Format: multi
	*/
	AccountManager []string
	/*
	  In: query
	*/
	AfterID *string
	/*favorites accounts
	  In: query
	  Collection Format: multi
	*/
	Favorites []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
	*/
	Order *string
	/*Not used
	  Required: true
	  In: path
	*/
	Platform string
	/*Not used
	  In: query
	*/
	SortBy *string
}

GetContractsListParams contains all the bound params for the get contracts list operation typically these are obtained from a http.Request

swagger:parameters getContractsList

func NewGetContractsListParams

func NewGetContractsListParams() GetContractsListParams

NewGetContractsListParams creates a new GetContractsListParams object with the default values initialized.

func (*GetContractsListParams) BindRequest

func (o *GetContractsListParams) 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 NewGetContractsListParams() beforehand.

type GetContractsListURL

type GetContractsListURL struct {
	Network  string
	Platform string

	AccountDelegate []string
	AccountID       []string
	AccountManager  []string
	AfterID         *string
	Favorites       []string
	Limit           *int64
	Offset          *int64
	Order           *string
	SortBy          *string
	// contains filtered or unexported fields
}

GetContractsListURL generates an URL for the get contracts list operation

func (*GetContractsListURL) Build

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

Build a url path and query string

func (*GetContractsListURL) BuildFull

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

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

func (*GetContractsListURL) Must

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

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

func (*GetContractsListURL) SetBasePath

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

func (o *GetContractsListURL) String() string

String returns the string representation of the path with query string

func (*GetContractsListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetContractsListURL) WithBasePath

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

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 GetContractsTotalAggCount

type GetContractsTotalAggCount struct {
	Context *middleware.Context
	Handler GetContractsTotalAggCountHandler
}

GetContractsTotalAggCount swagger:route GET /v2/data/{platform}/{network}/contracts/total/agg Accounts getContractsTotalAggCount

GetContractsTotalAggCount get contracts total agg count API

func NewGetContractsTotalAggCount

func NewGetContractsTotalAggCount(ctx *middleware.Context, handler GetContractsTotalAggCountHandler) *GetContractsTotalAggCount

NewGetContractsTotalAggCount creates a new http.Handler for the get contracts total agg count operation

func (*GetContractsTotalAggCount) ServeHTTP

type GetContractsTotalAggCountBadRequest

type GetContractsTotalAggCountBadRequest struct {
}

GetContractsTotalAggCountBadRequest Bad request

swagger:response getContractsTotalAggCountBadRequest

func NewGetContractsTotalAggCountBadRequest

func NewGetContractsTotalAggCountBadRequest() *GetContractsTotalAggCountBadRequest

NewGetContractsTotalAggCountBadRequest creates GetContractsTotalAggCountBadRequest with default headers values

func (*GetContractsTotalAggCountBadRequest) WriteResponse

WriteResponse to the client

type GetContractsTotalAggCountHandler

type GetContractsTotalAggCountHandler interface {
	Handle(GetContractsTotalAggCountParams) middleware.Responder
}

GetContractsTotalAggCountHandler interface for that can handle valid get contracts total agg count params

type GetContractsTotalAggCountHandlerFunc

type GetContractsTotalAggCountHandlerFunc func(GetContractsTotalAggCountParams) middleware.Responder

GetContractsTotalAggCountHandlerFunc turns a function with the right signature into a get contracts total agg count handler

func (GetContractsTotalAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetContractsTotalAggCountInternalServerError

type GetContractsTotalAggCountInternalServerError struct {
}

GetContractsTotalAggCountInternalServerError Internal error

swagger:response getContractsTotalAggCountInternalServerError

func NewGetContractsTotalAggCountInternalServerError

func NewGetContractsTotalAggCountInternalServerError() *GetContractsTotalAggCountInternalServerError

NewGetContractsTotalAggCountInternalServerError creates GetContractsTotalAggCountInternalServerError with default headers values

func (*GetContractsTotalAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetContractsTotalAggCountNotFound

type GetContractsTotalAggCountNotFound struct {
}

GetContractsTotalAggCountNotFound Not Found

swagger:response getContractsTotalAggCountNotFound

func NewGetContractsTotalAggCountNotFound

func NewGetContractsTotalAggCountNotFound() *GetContractsTotalAggCountNotFound

NewGetContractsTotalAggCountNotFound creates GetContractsTotalAggCountNotFound with default headers values

func (*GetContractsTotalAggCountNotFound) WriteResponse

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

WriteResponse to the client

type GetContractsTotalAggCountOK

type GetContractsTotalAggCountOK struct {

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

GetContractsTotalAggCountOK Get contracts count by period

swagger:response getContractsTotalAggCountOK

func NewGetContractsTotalAggCountOK

func NewGetContractsTotalAggCountOK() *GetContractsTotalAggCountOK

NewGetContractsTotalAggCountOK creates GetContractsTotalAggCountOK with default headers values

func (*GetContractsTotalAggCountOK) SetPayload

func (o *GetContractsTotalAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get contracts total agg count o k response

func (*GetContractsTotalAggCountOK) WithPayload

WithPayload adds the payload to the get contracts total agg count o k response

func (*GetContractsTotalAggCountOK) WriteResponse

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

WriteResponse to the client

type GetContractsTotalAggCountParams

type GetContractsTotalAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetContractsTotalAggCountParams contains all the bound params for the get contracts total agg count operation typically these are obtained from a http.Request

swagger:parameters getContractsTotalAggCount

func NewGetContractsTotalAggCountParams

func NewGetContractsTotalAggCountParams() GetContractsTotalAggCountParams

NewGetContractsTotalAggCountParams creates a new GetContractsTotalAggCountParams object no default values defined in spec.

func (*GetContractsTotalAggCountParams) 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 NewGetContractsTotalAggCountParams() beforehand.

type GetContractsTotalAggCountURL

type GetContractsTotalAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetContractsTotalAggCountURL generates an URL for the get contracts total agg count operation

func (*GetContractsTotalAggCountURL) Build

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

Build a url path and query string

func (*GetContractsTotalAggCountURL) BuildFull

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

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

func (*GetContractsTotalAggCountURL) Must

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

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

func (*GetContractsTotalAggCountURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetContractsTotalAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetInactiveAccountsAggCount struct {
	Context *middleware.Context
	Handler GetInactiveAccountsAggCountHandler
}

GetInactiveAccountsAggCount swagger:route GET /v2/data/{platform}/{network}/inactive/accounts/agg Accounts getInactiveAccountsAggCount

GetInactiveAccountsAggCount get inactive accounts agg count API

func NewGetInactiveAccountsAggCount

func NewGetInactiveAccountsAggCount(ctx *middleware.Context, handler GetInactiveAccountsAggCountHandler) *GetInactiveAccountsAggCount

NewGetInactiveAccountsAggCount creates a new http.Handler for the get inactive accounts agg count operation

func (*GetInactiveAccountsAggCount) ServeHTTP

type GetInactiveAccountsAggCountBadRequest

type GetInactiveAccountsAggCountBadRequest struct {
}

GetInactiveAccountsAggCountBadRequest Bad request

swagger:response getInactiveAccountsAggCountBadRequest

func NewGetInactiveAccountsAggCountBadRequest

func NewGetInactiveAccountsAggCountBadRequest() *GetInactiveAccountsAggCountBadRequest

NewGetInactiveAccountsAggCountBadRequest creates GetInactiveAccountsAggCountBadRequest with default headers values

func (*GetInactiveAccountsAggCountBadRequest) WriteResponse

WriteResponse to the client

type GetInactiveAccountsAggCountHandler

type GetInactiveAccountsAggCountHandler interface {
	Handle(GetInactiveAccountsAggCountParams) middleware.Responder
}

GetInactiveAccountsAggCountHandler interface for that can handle valid get inactive accounts agg count params

type GetInactiveAccountsAggCountHandlerFunc

type GetInactiveAccountsAggCountHandlerFunc func(GetInactiveAccountsAggCountParams) middleware.Responder

GetInactiveAccountsAggCountHandlerFunc turns a function with the right signature into a get inactive accounts agg count handler

func (GetInactiveAccountsAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetInactiveAccountsAggCountInternalServerError

type GetInactiveAccountsAggCountInternalServerError struct {
}

GetInactiveAccountsAggCountInternalServerError Internal error

swagger:response getInactiveAccountsAggCountInternalServerError

func NewGetInactiveAccountsAggCountInternalServerError

func NewGetInactiveAccountsAggCountInternalServerError() *GetInactiveAccountsAggCountInternalServerError

NewGetInactiveAccountsAggCountInternalServerError creates GetInactiveAccountsAggCountInternalServerError with default headers values

func (*GetInactiveAccountsAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetInactiveAccountsAggCountNotFound

type GetInactiveAccountsAggCountNotFound struct {
}

GetInactiveAccountsAggCountNotFound Not Found

swagger:response getInactiveAccountsAggCountNotFound

func NewGetInactiveAccountsAggCountNotFound

func NewGetInactiveAccountsAggCountNotFound() *GetInactiveAccountsAggCountNotFound

NewGetInactiveAccountsAggCountNotFound creates GetInactiveAccountsAggCountNotFound with default headers values

func (*GetInactiveAccountsAggCountNotFound) WriteResponse

WriteResponse to the client

type GetInactiveAccountsAggCountOK

type GetInactiveAccountsAggCountOK struct {

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

GetInactiveAccountsAggCountOK Get inactive accounts count by period

swagger:response getInactiveAccountsAggCountOK

func NewGetInactiveAccountsAggCountOK

func NewGetInactiveAccountsAggCountOK() *GetInactiveAccountsAggCountOK

NewGetInactiveAccountsAggCountOK creates GetInactiveAccountsAggCountOK with default headers values

func (*GetInactiveAccountsAggCountOK) SetPayload

func (o *GetInactiveAccountsAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get inactive accounts agg count o k response

func (*GetInactiveAccountsAggCountOK) WithPayload

WithPayload adds the payload to the get inactive accounts agg count o k response

func (*GetInactiveAccountsAggCountOK) WriteResponse

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

WriteResponse to the client

type GetInactiveAccountsAggCountParams

type GetInactiveAccountsAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetInactiveAccountsAggCountParams contains all the bound params for the get inactive accounts agg count operation typically these are obtained from a http.Request

swagger:parameters getInactiveAccountsAggCount

func NewGetInactiveAccountsAggCountParams

func NewGetInactiveAccountsAggCountParams() GetInactiveAccountsAggCountParams

NewGetInactiveAccountsAggCountParams creates a new GetInactiveAccountsAggCountParams object no default values defined in spec.

func (*GetInactiveAccountsAggCountParams) 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 NewGetInactiveAccountsAggCountParams() beforehand.

type GetInactiveAccountsAggCountURL

type GetInactiveAccountsAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetInactiveAccountsAggCountURL generates an URL for the get inactive accounts agg count operation

func (*GetInactiveAccountsAggCountURL) Build

Build a url path and query string

func (*GetInactiveAccountsAggCountURL) BuildFull

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

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

func (*GetInactiveAccountsAggCountURL) Must

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

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

func (*GetInactiveAccountsAggCountURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetInactiveAccountsAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetLostBlocksAggCount struct {
	Context *middleware.Context
	Handler GetLostBlocksAggCountHandler
}

GetLostBlocksAggCount swagger:route GET /v2/data/{platform}/{network}/lost/blocks/agg Accounts getLostBlocksAggCount

GetLostBlocksAggCount get lost blocks agg count API

func NewGetLostBlocksAggCount

func NewGetLostBlocksAggCount(ctx *middleware.Context, handler GetLostBlocksAggCountHandler) *GetLostBlocksAggCount

NewGetLostBlocksAggCount creates a new http.Handler for the get lost blocks agg count operation

func (*GetLostBlocksAggCount) ServeHTTP

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

type GetLostBlocksAggCountBadRequest

type GetLostBlocksAggCountBadRequest struct {
}

GetLostBlocksAggCountBadRequest Bad request

swagger:response getLostBlocksAggCountBadRequest

func NewGetLostBlocksAggCountBadRequest

func NewGetLostBlocksAggCountBadRequest() *GetLostBlocksAggCountBadRequest

NewGetLostBlocksAggCountBadRequest creates GetLostBlocksAggCountBadRequest with default headers values

func (*GetLostBlocksAggCountBadRequest) WriteResponse

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

WriteResponse to the client

type GetLostBlocksAggCountHandler

type GetLostBlocksAggCountHandler interface {
	Handle(GetLostBlocksAggCountParams) middleware.Responder
}

GetLostBlocksAggCountHandler interface for that can handle valid get lost blocks agg count params

type GetLostBlocksAggCountHandlerFunc

type GetLostBlocksAggCountHandlerFunc func(GetLostBlocksAggCountParams) middleware.Responder

GetLostBlocksAggCountHandlerFunc turns a function with the right signature into a get lost blocks agg count handler

func (GetLostBlocksAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetLostBlocksAggCountInternalServerError

type GetLostBlocksAggCountInternalServerError struct {
}

GetLostBlocksAggCountInternalServerError Internal error

swagger:response getLostBlocksAggCountInternalServerError

func NewGetLostBlocksAggCountInternalServerError

func NewGetLostBlocksAggCountInternalServerError() *GetLostBlocksAggCountInternalServerError

NewGetLostBlocksAggCountInternalServerError creates GetLostBlocksAggCountInternalServerError with default headers values

func (*GetLostBlocksAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetLostBlocksAggCountNotFound

type GetLostBlocksAggCountNotFound struct {
}

GetLostBlocksAggCountNotFound Not Found

swagger:response getLostBlocksAggCountNotFound

func NewGetLostBlocksAggCountNotFound

func NewGetLostBlocksAggCountNotFound() *GetLostBlocksAggCountNotFound

NewGetLostBlocksAggCountNotFound creates GetLostBlocksAggCountNotFound with default headers values

func (*GetLostBlocksAggCountNotFound) WriteResponse

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

WriteResponse to the client

type GetLostBlocksAggCountOK

type GetLostBlocksAggCountOK struct {

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

GetLostBlocksAggCountOK Get count of lost blocks agg by period

swagger:response getLostBlocksAggCountOK

func NewGetLostBlocksAggCountOK

func NewGetLostBlocksAggCountOK() *GetLostBlocksAggCountOK

NewGetLostBlocksAggCountOK creates GetLostBlocksAggCountOK with default headers values

func (*GetLostBlocksAggCountOK) SetPayload

func (o *GetLostBlocksAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get lost blocks agg count o k response

func (*GetLostBlocksAggCountOK) WithPayload

WithPayload adds the payload to the get lost blocks agg count o k response

func (*GetLostBlocksAggCountOK) WriteResponse

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

WriteResponse to the client

type GetLostBlocksAggCountParams

type GetLostBlocksAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetLostBlocksAggCountParams contains all the bound params for the get lost blocks agg count operation typically these are obtained from a http.Request

swagger:parameters getLostBlocksAggCount

func NewGetLostBlocksAggCountParams

func NewGetLostBlocksAggCountParams() GetLostBlocksAggCountParams

NewGetLostBlocksAggCountParams creates a new GetLostBlocksAggCountParams object no default values defined in spec.

func (*GetLostBlocksAggCountParams) 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 NewGetLostBlocksAggCountParams() beforehand.

type GetLostBlocksAggCountURL

type GetLostBlocksAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetLostBlocksAggCountURL generates an URL for the get lost blocks agg count operation

func (*GetLostBlocksAggCountURL) Build

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

Build a url path and query string

func (*GetLostBlocksAggCountURL) BuildFull

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

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

func (*GetLostBlocksAggCountURL) Must

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

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

func (*GetLostBlocksAggCountURL) SetBasePath

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

func (o *GetLostBlocksAggCountURL) String() string

String returns the string representation of the path with query string

func (*GetLostBlocksAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetLostEndorsermentsAggCount struct {
	Context *middleware.Context
	Handler GetLostEndorsermentsAggCountHandler
}

GetLostEndorsermentsAggCount swagger:route GET /v2/data/{platform}/{network}/lost/endorsements/agg Accounts getLostEndorsermentsAggCount

GetLostEndorsermentsAggCount get lost endorserments agg count API

func NewGetLostEndorsermentsAggCount

func NewGetLostEndorsermentsAggCount(ctx *middleware.Context, handler GetLostEndorsermentsAggCountHandler) *GetLostEndorsermentsAggCount

NewGetLostEndorsermentsAggCount creates a new http.Handler for the get lost endorserments agg count operation

func (*GetLostEndorsermentsAggCount) ServeHTTP

type GetLostEndorsermentsAggCountBadRequest

type GetLostEndorsermentsAggCountBadRequest struct {
}

GetLostEndorsermentsAggCountBadRequest Bad request

swagger:response getLostEndorsermentsAggCountBadRequest

func NewGetLostEndorsermentsAggCountBadRequest

func NewGetLostEndorsermentsAggCountBadRequest() *GetLostEndorsermentsAggCountBadRequest

NewGetLostEndorsermentsAggCountBadRequest creates GetLostEndorsermentsAggCountBadRequest with default headers values

func (*GetLostEndorsermentsAggCountBadRequest) WriteResponse

WriteResponse to the client

type GetLostEndorsermentsAggCountHandler

type GetLostEndorsermentsAggCountHandler interface {
	Handle(GetLostEndorsermentsAggCountParams) middleware.Responder
}

GetLostEndorsermentsAggCountHandler interface for that can handle valid get lost endorserments agg count params

type GetLostEndorsermentsAggCountHandlerFunc

type GetLostEndorsermentsAggCountHandlerFunc func(GetLostEndorsermentsAggCountParams) middleware.Responder

GetLostEndorsermentsAggCountHandlerFunc turns a function with the right signature into a get lost endorserments agg count handler

func (GetLostEndorsermentsAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetLostEndorsermentsAggCountInternalServerError

type GetLostEndorsermentsAggCountInternalServerError struct {
}

GetLostEndorsermentsAggCountInternalServerError Internal error

swagger:response getLostEndorsermentsAggCountInternalServerError

func NewGetLostEndorsermentsAggCountInternalServerError

func NewGetLostEndorsermentsAggCountInternalServerError() *GetLostEndorsermentsAggCountInternalServerError

NewGetLostEndorsermentsAggCountInternalServerError creates GetLostEndorsermentsAggCountInternalServerError with default headers values

func (*GetLostEndorsermentsAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetLostEndorsermentsAggCountNotFound

type GetLostEndorsermentsAggCountNotFound struct {
}

GetLostEndorsermentsAggCountNotFound Not Found

swagger:response getLostEndorsermentsAggCountNotFound

func NewGetLostEndorsermentsAggCountNotFound

func NewGetLostEndorsermentsAggCountNotFound() *GetLostEndorsermentsAggCountNotFound

NewGetLostEndorsermentsAggCountNotFound creates GetLostEndorsermentsAggCountNotFound with default headers values

func (*GetLostEndorsermentsAggCountNotFound) WriteResponse

WriteResponse to the client

type GetLostEndorsermentsAggCountOK

type GetLostEndorsermentsAggCountOK struct {

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

GetLostEndorsermentsAggCountOK Get count of lost endorserments agg by period

swagger:response getLostEndorsermentsAggCountOK

func NewGetLostEndorsermentsAggCountOK

func NewGetLostEndorsermentsAggCountOK() *GetLostEndorsermentsAggCountOK

NewGetLostEndorsermentsAggCountOK creates GetLostEndorsermentsAggCountOK with default headers values

func (*GetLostEndorsermentsAggCountOK) SetPayload

func (o *GetLostEndorsermentsAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get lost endorserments agg count o k response

func (*GetLostEndorsermentsAggCountOK) WithPayload

WithPayload adds the payload to the get lost endorserments agg count o k response

func (*GetLostEndorsermentsAggCountOK) WriteResponse

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

WriteResponse to the client

type GetLostEndorsermentsAggCountParams

type GetLostEndorsermentsAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetLostEndorsermentsAggCountParams contains all the bound params for the get lost endorserments agg count operation typically these are obtained from a http.Request

swagger:parameters getLostEndorsermentsAggCount

func NewGetLostEndorsermentsAggCountParams

func NewGetLostEndorsermentsAggCountParams() GetLostEndorsermentsAggCountParams

NewGetLostEndorsermentsAggCountParams creates a new GetLostEndorsermentsAggCountParams object no default values defined in spec.

func (*GetLostEndorsermentsAggCountParams) 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 NewGetLostEndorsermentsAggCountParams() beforehand.

type GetLostEndorsermentsAggCountURL

type GetLostEndorsermentsAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetLostEndorsermentsAggCountURL generates an URL for the get lost endorserments agg count operation

func (*GetLostEndorsermentsAggCountURL) Build

Build a url path and query string

func (*GetLostEndorsermentsAggCountURL) BuildFull

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

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

func (*GetLostEndorsermentsAggCountURL) Must

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

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

func (*GetLostEndorsermentsAggCountURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetLostEndorsermentsAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetLostRewardsAgg struct {
	Context *middleware.Context
	Handler GetLostRewardsAggHandler
}

GetLostRewardsAgg swagger:route GET /v2/data/{platform}/{network}/lost/rewards/agg Accounts getLostRewardsAgg

GetLostRewardsAgg get lost rewards agg API

func NewGetLostRewardsAgg

func NewGetLostRewardsAgg(ctx *middleware.Context, handler GetLostRewardsAggHandler) *GetLostRewardsAgg

NewGetLostRewardsAgg creates a new http.Handler for the get lost rewards agg operation

func (*GetLostRewardsAgg) ServeHTTP

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

type GetLostRewardsAggBadRequest

type GetLostRewardsAggBadRequest struct {
}

GetLostRewardsAggBadRequest Bad request

swagger:response getLostRewardsAggBadRequest

func NewGetLostRewardsAggBadRequest

func NewGetLostRewardsAggBadRequest() *GetLostRewardsAggBadRequest

NewGetLostRewardsAggBadRequest creates GetLostRewardsAggBadRequest with default headers values

func (*GetLostRewardsAggBadRequest) WriteResponse

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

WriteResponse to the client

type GetLostRewardsAggHandler

type GetLostRewardsAggHandler interface {
	Handle(GetLostRewardsAggParams) middleware.Responder
}

GetLostRewardsAggHandler interface for that can handle valid get lost rewards agg params

type GetLostRewardsAggHandlerFunc

type GetLostRewardsAggHandlerFunc func(GetLostRewardsAggParams) middleware.Responder

GetLostRewardsAggHandlerFunc turns a function with the right signature into a get lost rewards agg handler

func (GetLostRewardsAggHandlerFunc) Handle

Handle executing the request and returning a response

type GetLostRewardsAggInternalServerError

type GetLostRewardsAggInternalServerError struct {
}

GetLostRewardsAggInternalServerError Internal error

swagger:response getLostRewardsAggInternalServerError

func NewGetLostRewardsAggInternalServerError

func NewGetLostRewardsAggInternalServerError() *GetLostRewardsAggInternalServerError

NewGetLostRewardsAggInternalServerError creates GetLostRewardsAggInternalServerError with default headers values

func (*GetLostRewardsAggInternalServerError) WriteResponse

WriteResponse to the client

type GetLostRewardsAggNotFound

type GetLostRewardsAggNotFound struct {
}

GetLostRewardsAggNotFound Not Found

swagger:response getLostRewardsAggNotFound

func NewGetLostRewardsAggNotFound

func NewGetLostRewardsAggNotFound() *GetLostRewardsAggNotFound

NewGetLostRewardsAggNotFound creates GetLostRewardsAggNotFound with default headers values

func (*GetLostRewardsAggNotFound) WriteResponse

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

WriteResponse to the client

type GetLostRewardsAggOK

type GetLostRewardsAggOK struct {

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

GetLostRewardsAggOK Get amount of lost rewards agg by period

swagger:response getLostRewardsAggOK

func NewGetLostRewardsAggOK

func NewGetLostRewardsAggOK() *GetLostRewardsAggOK

NewGetLostRewardsAggOK creates GetLostRewardsAggOK with default headers values

func (*GetLostRewardsAggOK) SetPayload

func (o *GetLostRewardsAggOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get lost rewards agg o k response

func (*GetLostRewardsAggOK) WithPayload

func (o *GetLostRewardsAggOK) WithPayload(payload []*models.AggTimeInt) *GetLostRewardsAggOK

WithPayload adds the payload to the get lost rewards agg o k response

func (*GetLostRewardsAggOK) WriteResponse

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

WriteResponse to the client

type GetLostRewardsAggParams

type GetLostRewardsAggParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
}

GetLostRewardsAggParams contains all the bound params for the get lost rewards agg operation typically these are obtained from a http.Request

swagger:parameters getLostRewardsAgg

func NewGetLostRewardsAggParams

func NewGetLostRewardsAggParams() GetLostRewardsAggParams

NewGetLostRewardsAggParams creates a new GetLostRewardsAggParams object no default values defined in spec.

func (*GetLostRewardsAggParams) BindRequest

func (o *GetLostRewardsAggParams) 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 NewGetLostRewardsAggParams() beforehand.

type GetLostRewardsAggURL

type GetLostRewardsAggURL struct {
	Network  string
	Platform string

	Period string
	// contains filtered or unexported fields
}

GetLostRewardsAggURL generates an URL for the get lost rewards agg operation

func (*GetLostRewardsAggURL) Build

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

Build a url path and query string

func (*GetLostRewardsAggURL) BuildFull

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

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

func (*GetLostRewardsAggURL) Must

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

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

func (*GetLostRewardsAggURL) SetBasePath

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

func (o *GetLostRewardsAggURL) String() string

String returns the string representation of the path with query string

func (*GetLostRewardsAggURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetLostRewardsAggURL) WithBasePath

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

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 GetLowBalanceTotalAggCount

type GetLowBalanceTotalAggCount struct {
	Context *middleware.Context
	Handler GetLowBalanceTotalAggCountHandler
}

GetLowBalanceTotalAggCount swagger:route GET /v2/data/{platform}/{network}/low/balance/total/agg Accounts getLowBalanceTotalAggCount

GetLowBalanceTotalAggCount get low balance total agg count API

func NewGetLowBalanceTotalAggCount

func NewGetLowBalanceTotalAggCount(ctx *middleware.Context, handler GetLowBalanceTotalAggCountHandler) *GetLowBalanceTotalAggCount

NewGetLowBalanceTotalAggCount creates a new http.Handler for the get low balance total agg count operation

func (*GetLowBalanceTotalAggCount) ServeHTTP

type GetLowBalanceTotalAggCountBadRequest

type GetLowBalanceTotalAggCountBadRequest struct {
}

GetLowBalanceTotalAggCountBadRequest Bad request

swagger:response getLowBalanceTotalAggCountBadRequest

func NewGetLowBalanceTotalAggCountBadRequest

func NewGetLowBalanceTotalAggCountBadRequest() *GetLowBalanceTotalAggCountBadRequest

NewGetLowBalanceTotalAggCountBadRequest creates GetLowBalanceTotalAggCountBadRequest with default headers values

func (*GetLowBalanceTotalAggCountBadRequest) WriteResponse

WriteResponse to the client

type GetLowBalanceTotalAggCountHandler

type GetLowBalanceTotalAggCountHandler interface {
	Handle(GetLowBalanceTotalAggCountParams) middleware.Responder
}

GetLowBalanceTotalAggCountHandler interface for that can handle valid get low balance total agg count params

type GetLowBalanceTotalAggCountHandlerFunc

type GetLowBalanceTotalAggCountHandlerFunc func(GetLowBalanceTotalAggCountParams) middleware.Responder

GetLowBalanceTotalAggCountHandlerFunc turns a function with the right signature into a get low balance total agg count handler

func (GetLowBalanceTotalAggCountHandlerFunc) Handle

Handle executing the request and returning a response

type GetLowBalanceTotalAggCountInternalServerError

type GetLowBalanceTotalAggCountInternalServerError struct {
}

GetLowBalanceTotalAggCountInternalServerError Internal error

swagger:response getLowBalanceTotalAggCountInternalServerError

func NewGetLowBalanceTotalAggCountInternalServerError

func NewGetLowBalanceTotalAggCountInternalServerError() *GetLowBalanceTotalAggCountInternalServerError

NewGetLowBalanceTotalAggCountInternalServerError creates GetLowBalanceTotalAggCountInternalServerError with default headers values

func (*GetLowBalanceTotalAggCountInternalServerError) WriteResponse

WriteResponse to the client

type GetLowBalanceTotalAggCountNotFound

type GetLowBalanceTotalAggCountNotFound struct {
}

GetLowBalanceTotalAggCountNotFound Not Found

swagger:response getLowBalanceTotalAggCountNotFound

func NewGetLowBalanceTotalAggCountNotFound

func NewGetLowBalanceTotalAggCountNotFound() *GetLowBalanceTotalAggCountNotFound

NewGetLowBalanceTotalAggCountNotFound creates GetLowBalanceTotalAggCountNotFound with default headers values

func (*GetLowBalanceTotalAggCountNotFound) WriteResponse

WriteResponse to the client

type GetLowBalanceTotalAggCountOK

type GetLowBalanceTotalAggCountOK struct {

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

GetLowBalanceTotalAggCountOK Get low balance accounts count by period

swagger:response getLowBalanceTotalAggCountOK

func NewGetLowBalanceTotalAggCountOK

func NewGetLowBalanceTotalAggCountOK() *GetLowBalanceTotalAggCountOK

NewGetLowBalanceTotalAggCountOK creates GetLowBalanceTotalAggCountOK with default headers values

func (*GetLowBalanceTotalAggCountOK) SetPayload

func (o *GetLowBalanceTotalAggCountOK) SetPayload(payload []*models.AggTimeInt)

SetPayload sets the payload to the get low balance total agg count o k response

func (*GetLowBalanceTotalAggCountOK) WithPayload

WithPayload adds the payload to the get low balance total agg count o k response

func (*GetLowBalanceTotalAggCountOK) WriteResponse

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

WriteResponse to the client

type GetLowBalanceTotalAggCountParams

type GetLowBalanceTotalAggCountParams struct {

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

	/*
	  In: query
	*/
	From *int64
	/*
	  Required: true
	  In: path
	*/
	Network string
	/*
	  Required: true
	  In: query
	*/
	Period string
	/*
	  Required: true
	  In: path
	*/
	Platform string
	/*
	  In: query
	*/
	To *int64
}

GetLowBalanceTotalAggCountParams contains all the bound params for the get low balance total agg count operation typically these are obtained from a http.Request

swagger:parameters getLowBalanceTotalAggCount

func NewGetLowBalanceTotalAggCountParams

func NewGetLowBalanceTotalAggCountParams() GetLowBalanceTotalAggCountParams

NewGetLowBalanceTotalAggCountParams creates a new GetLowBalanceTotalAggCountParams object no default values defined in spec.

func (*GetLowBalanceTotalAggCountParams) 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 NewGetLowBalanceTotalAggCountParams() beforehand.

type GetLowBalanceTotalAggCountURL

type GetLowBalanceTotalAggCountURL struct {
	Network  string
	Platform string

	From   *int64
	Period string
	To     *int64
	// contains filtered or unexported fields
}

GetLowBalanceTotalAggCountURL generates an URL for the get low balance total agg count operation

func (*GetLowBalanceTotalAggCountURL) Build

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

Build a url path and query string

func (*GetLowBalanceTotalAggCountURL) BuildFull

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

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

func (*GetLowBalanceTotalAggCountURL) Must

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

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

func (*GetLowBalanceTotalAggCountURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetLowBalanceTotalAggCountURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetPublicBakersList struct {
	Context *middleware.Context
	Handler GetPublicBakersListHandler
}

GetPublicBakersList swagger:route GET /v2/data/{platform}/{network}/public_bakers Accounts getPublicBakersList

GetPublicBakersList get public bakers list API

func NewGetPublicBakersList

func NewGetPublicBakersList(ctx *middleware.Context, handler GetPublicBakersListHandler) *GetPublicBakersList

NewGetPublicBakersList creates a new http.Handler for the get public bakers list operation

func (*GetPublicBakersList) ServeHTTP

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

type GetPublicBakersListBadRequest

type GetPublicBakersListBadRequest struct {
}

GetPublicBakersListBadRequest Bad request

swagger:response getPublicBakersListBadRequest

func NewGetPublicBakersListBadRequest

func NewGetPublicBakersListBadRequest() *GetPublicBakersListBadRequest

NewGetPublicBakersListBadRequest creates GetPublicBakersListBadRequest with default headers values

func (*GetPublicBakersListBadRequest) WriteResponse

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

WriteResponse to the client

type GetPublicBakersListForSearch

type GetPublicBakersListForSearch struct {
	Context *middleware.Context
	Handler GetPublicBakersListForSearchHandler
}

GetPublicBakersListForSearch swagger:route GET /v2/data/{platform}/{network}/public_bakers/search Accounts getPublicBakersListForSearch

GetPublicBakersListForSearch get public bakers list for search API

func NewGetPublicBakersListForSearch

func NewGetPublicBakersListForSearch(ctx *middleware.Context, handler GetPublicBakersListForSearchHandler) *GetPublicBakersListForSearch

NewGetPublicBakersListForSearch creates a new http.Handler for the get public bakers list for search operation

func (*GetPublicBakersListForSearch) ServeHTTP

type GetPublicBakersListForSearchBadRequest

type GetPublicBakersListForSearchBadRequest struct {
}

GetPublicBakersListForSearchBadRequest Bad request

swagger:response getPublicBakersListForSearchBadRequest

func NewGetPublicBakersListForSearchBadRequest

func NewGetPublicBakersListForSearchBadRequest() *GetPublicBakersListForSearchBadRequest

NewGetPublicBakersListForSearchBadRequest creates GetPublicBakersListForSearchBadRequest with default headers values

func (*GetPublicBakersListForSearchBadRequest) WriteResponse

WriteResponse to the client

type GetPublicBakersListForSearchHandler

type GetPublicBakersListForSearchHandler interface {
	Handle(GetPublicBakersListForSearchParams) middleware.Responder
}

GetPublicBakersListForSearchHandler interface for that can handle valid get public bakers list for search params

type GetPublicBakersListForSearchHandlerFunc

type GetPublicBakersListForSearchHandlerFunc func(GetPublicBakersListForSearchParams) middleware.Responder

GetPublicBakersListForSearchHandlerFunc turns a function with the right signature into a get public bakers list for search handler

func (GetPublicBakersListForSearchHandlerFunc) Handle

Handle executing the request and returning a response

type GetPublicBakersListForSearchNotFound

type GetPublicBakersListForSearchNotFound struct {
}

GetPublicBakersListForSearchNotFound Not Found

swagger:response getPublicBakersListForSearchNotFound

func NewGetPublicBakersListForSearchNotFound

func NewGetPublicBakersListForSearchNotFound() *GetPublicBakersListForSearchNotFound

NewGetPublicBakersListForSearchNotFound creates GetPublicBakersListForSearchNotFound with default headers values

func (*GetPublicBakersListForSearchNotFound) WriteResponse

WriteResponse to the client

type GetPublicBakersListForSearchOK

type GetPublicBakersListForSearchOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetPublicBakersListForSearchOK Query Endpoint for getting list of baker accounts with name for search.

swagger:response getPublicBakersListForSearchOK

func NewGetPublicBakersListForSearchOK

func NewGetPublicBakersListForSearchOK() *GetPublicBakersListForSearchOK

NewGetPublicBakersListForSearchOK creates GetPublicBakersListForSearchOK with default headers values

func (*GetPublicBakersListForSearchOK) SetPayload

func (o *GetPublicBakersListForSearchOK) SetPayload(payload []*models.PublicBakerSearch)

SetPayload sets the payload to the get public bakers list for search o k response

func (*GetPublicBakersListForSearchOK) SetXTotalCount

func (o *GetPublicBakersListForSearchOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get public bakers list for search o k response

func (*GetPublicBakersListForSearchOK) WithPayload

WithPayload adds the payload to the get public bakers list for search o k response

func (*GetPublicBakersListForSearchOK) WithXTotalCount

func (o *GetPublicBakersListForSearchOK) WithXTotalCount(xTotalCount int64) *GetPublicBakersListForSearchOK

WithXTotalCount adds the xTotalCount to the get public bakers list for search o k response

func (*GetPublicBakersListForSearchOK) WriteResponse

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

WriteResponse to the client

type GetPublicBakersListForSearchParams

type GetPublicBakersListForSearchParams struct {

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

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

GetPublicBakersListForSearchParams contains all the bound params for the get public bakers list for search operation typically these are obtained from a http.Request

swagger:parameters getPublicBakersListForSearch

func NewGetPublicBakersListForSearchParams

func NewGetPublicBakersListForSearchParams() GetPublicBakersListForSearchParams

NewGetPublicBakersListForSearchParams creates a new GetPublicBakersListForSearchParams object no default values defined in spec.

func (*GetPublicBakersListForSearchParams) 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 NewGetPublicBakersListForSearchParams() beforehand.

type GetPublicBakersListForSearchURL

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

GetPublicBakersListForSearchURL generates an URL for the get public bakers list for search operation

func (*GetPublicBakersListForSearchURL) Build

Build a url path and query string

func (*GetPublicBakersListForSearchURL) BuildFull

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

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

func (*GetPublicBakersListForSearchURL) Must

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

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

func (*GetPublicBakersListForSearchURL) SetBasePath

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

String returns the string representation of the path with query string

func (*GetPublicBakersListForSearchURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetPublicBakersListHandler interface {
	Handle(GetPublicBakersListParams) middleware.Responder
}

GetPublicBakersListHandler interface for that can handle valid get public bakers list params

type GetPublicBakersListHandlerFunc

type GetPublicBakersListHandlerFunc func(GetPublicBakersListParams) middleware.Responder

GetPublicBakersListHandlerFunc turns a function with the right signature into a get public bakers list handler

func (GetPublicBakersListHandlerFunc) Handle

Handle executing the request and returning a response

type GetPublicBakersListNotFound

type GetPublicBakersListNotFound struct {
}

GetPublicBakersListNotFound Not Found

swagger:response getPublicBakersListNotFound

func NewGetPublicBakersListNotFound

func NewGetPublicBakersListNotFound() *GetPublicBakersListNotFound

NewGetPublicBakersListNotFound creates GetPublicBakersListNotFound with default headers values

func (*GetPublicBakersListNotFound) WriteResponse

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

WriteResponse to the client

type GetPublicBakersListOK

type GetPublicBakersListOK struct {
	/*The total number of data entries.

	 */
	XTotalCount int64 `json:"X-Total-Count"`

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

GetPublicBakersListOK Query Endpoint for getting list of baker accounts ordered by staking balance.

swagger:response getPublicBakersListOK

func NewGetPublicBakersListOK

func NewGetPublicBakersListOK() *GetPublicBakersListOK

NewGetPublicBakersListOK creates GetPublicBakersListOK with default headers values

func (*GetPublicBakersListOK) SetPayload

func (o *GetPublicBakersListOK) SetPayload(payload []models.PublicBaker)

SetPayload sets the payload to the get public bakers list o k response

func (*GetPublicBakersListOK) SetXTotalCount

func (o *GetPublicBakersListOK) SetXTotalCount(xTotalCount int64)

SetXTotalCount sets the xTotalCount to the get public bakers list o k response

func (*GetPublicBakersListOK) WithPayload

WithPayload adds the payload to the get public bakers list o k response

func (*GetPublicBakersListOK) WithXTotalCount

func (o *GetPublicBakersListOK) WithXTotalCount(xTotalCount int64) *GetPublicBakersListOK

WithXTotalCount adds the xTotalCount to the get public bakers list o k response

func (*GetPublicBakersListOK) WriteResponse

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

WriteResponse to the client

type GetPublicBakersListParams

type GetPublicBakersListParams struct {

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

	/*favorites accounts
	  In: query
	  Collection Format: multi
	*/
	Favorites []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
	  Required: true
	  In: path
	*/
	Platform string
}

GetPublicBakersListParams contains all the bound params for the get public bakers list operation typically these are obtained from a http.Request

swagger:parameters getPublicBakersList

func NewGetPublicBakersListParams

func NewGetPublicBakersListParams() GetPublicBakersListParams

NewGetPublicBakersListParams creates a new GetPublicBakersListParams object with the default values initialized.

func (*GetPublicBakersListParams) 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 NewGetPublicBakersListParams() beforehand.

type GetPublicBakersListURL

type GetPublicBakersListURL struct {
	Network  string
	Platform string

	Favorites []string
	Limit     *int64
	Offset    *int64
	// contains filtered or unexported fields
}

GetPublicBakersListURL generates an URL for the get public bakers list operation

func (*GetPublicBakersListURL) Build

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

Build a url path and query string

func (*GetPublicBakersListURL) BuildFull

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

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

func (*GetPublicBakersListURL) Must

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

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

func (*GetPublicBakersListURL) SetBasePath

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

func (o *GetPublicBakersListURL) String() string

String returns the string representation of the path with query string

func (*GetPublicBakersListURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetWhaleAccounts struct {
	Context *middleware.Context
	Handler GetWhaleAccountsHandler
}

GetWhaleAccounts swagger:route GET /v2/data/{platform}/{network}/whale/accounts Accounts getWhaleAccounts

GetWhaleAccounts get whale accounts API

func NewGetWhaleAccounts

func NewGetWhaleAccounts(ctx *middleware.Context, handler GetWhaleAccountsHandler) *GetWhaleAccounts

NewGetWhaleAccounts creates a new http.Handler for the get whale accounts operation

func (*GetWhaleAccounts) ServeHTTP

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

type GetWhaleAccountsBadRequest

type GetWhaleAccountsBadRequest struct {
}

GetWhaleAccountsBadRequest Bad request

swagger:response getWhaleAccountsBadRequest

func NewGetWhaleAccountsBadRequest

func NewGetWhaleAccountsBadRequest() *GetWhaleAccountsBadRequest

NewGetWhaleAccountsBadRequest creates GetWhaleAccountsBadRequest with default headers values

func (*GetWhaleAccountsBadRequest) WriteResponse

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

WriteResponse to the client

type GetWhaleAccountsHandler

type GetWhaleAccountsHandler interface {
	Handle(GetWhaleAccountsParams) middleware.Responder
}

GetWhaleAccountsHandler interface for that can handle valid get whale accounts params

type GetWhaleAccountsHandlerFunc

type GetWhaleAccountsHandlerFunc func(GetWhaleAccountsParams) middleware.Responder

GetWhaleAccountsHandlerFunc turns a function with the right signature into a get whale accounts handler

func (GetWhaleAccountsHandlerFunc) Handle

Handle executing the request and returning a response

type GetWhaleAccountsNotFound

type GetWhaleAccountsNotFound struct {
}

GetWhaleAccountsNotFound Not Found

swagger:response getWhaleAccountsNotFound

func NewGetWhaleAccountsNotFound

func NewGetWhaleAccountsNotFound() *GetWhaleAccountsNotFound

NewGetWhaleAccountsNotFound creates GetWhaleAccountsNotFound with default headers values

func (*GetWhaleAccountsNotFound) WriteResponse

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

WriteResponse to the client

type GetWhaleAccountsOK

type GetWhaleAccountsOK struct {

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

GetWhaleAccountsOK List of rich accounts with thier transfers

swagger:response getWhaleAccountsOK

func NewGetWhaleAccountsOK

func NewGetWhaleAccountsOK() *GetWhaleAccountsOK

NewGetWhaleAccountsOK creates GetWhaleAccountsOK with default headers values

func (*GetWhaleAccountsOK) SetPayload

func (o *GetWhaleAccountsOK) SetPayload(payload *models.WhaleAccounts)

SetPayload sets the payload to the get whale accounts o k response

func (*GetWhaleAccountsOK) WithPayload

func (o *GetWhaleAccountsOK) WithPayload(payload *models.WhaleAccounts) *GetWhaleAccountsOK

WithPayload adds the payload to the get whale accounts o k response

func (*GetWhaleAccountsOK) WriteResponse

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

WriteResponse to the client

type GetWhaleAccountsParams

type GetWhaleAccountsParams struct {

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

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

GetWhaleAccountsParams contains all the bound params for the get whale accounts operation typically these are obtained from a http.Request

swagger:parameters getWhaleAccounts

func NewGetWhaleAccountsParams

func NewGetWhaleAccountsParams() GetWhaleAccountsParams

NewGetWhaleAccountsParams creates a new GetWhaleAccountsParams object no default values defined in spec.

func (*GetWhaleAccountsParams) BindRequest

func (o *GetWhaleAccountsParams) 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 NewGetWhaleAccountsParams() beforehand.

type GetWhaleAccountsURL

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

GetWhaleAccountsURL generates an URL for the get whale accounts operation

func (*GetWhaleAccountsURL) Build

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

Build a url path and query string

func (*GetWhaleAccountsURL) BuildFull

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

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

func (*GetWhaleAccountsURL) Must

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

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

func (*GetWhaleAccountsURL) SetBasePath

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

func (o *GetWhaleAccountsURL) String() string

String returns the string representation of the path with query string

func (*GetWhaleAccountsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetWhaleAccountsURL) WithBasePath

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

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 GetWhaleMovers

type GetWhaleMovers struct {
	Context *middleware.Context
	Handler GetWhaleMoversHandler
}

GetWhaleMovers swagger:route GET /v2/data/{platform}/{network}/whale/movers Accounts getWhaleMovers

GetWhaleMovers get whale movers API

func NewGetWhaleMovers

func NewGetWhaleMovers(ctx *middleware.Context, handler GetWhaleMoversHandler) *GetWhaleMovers

NewGetWhaleMovers creates a new http.Handler for the get whale movers operation

func (*GetWhaleMovers) ServeHTTP

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

type GetWhaleMoversBadRequest

type GetWhaleMoversBadRequest struct {
}

GetWhaleMoversBadRequest Bad request

swagger:response getWhaleMoversBadRequest

func NewGetWhaleMoversBadRequest

func NewGetWhaleMoversBadRequest() *GetWhaleMoversBadRequest

NewGetWhaleMoversBadRequest creates GetWhaleMoversBadRequest with default headers values

func (*GetWhaleMoversBadRequest) WriteResponse

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

WriteResponse to the client

type GetWhaleMoversHandler

type GetWhaleMoversHandler interface {
	Handle(GetWhaleMoversParams) middleware.Responder
}

GetWhaleMoversHandler interface for that can handle valid get whale movers params

type GetWhaleMoversHandlerFunc

type GetWhaleMoversHandlerFunc func(GetWhaleMoversParams) middleware.Responder

GetWhaleMoversHandlerFunc turns a function with the right signature into a get whale movers handler

func (GetWhaleMoversHandlerFunc) Handle

Handle executing the request and returning a response

type GetWhaleMoversInternalServerError

type GetWhaleMoversInternalServerError struct {
}

GetWhaleMoversInternalServerError Internal error

swagger:response getWhaleMoversInternalServerError

func NewGetWhaleMoversInternalServerError

func NewGetWhaleMoversInternalServerError() *GetWhaleMoversInternalServerError

NewGetWhaleMoversInternalServerError creates GetWhaleMoversInternalServerError with default headers values

func (*GetWhaleMoversInternalServerError) WriteResponse

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

WriteResponse to the client

type GetWhaleMoversNotFound

type GetWhaleMoversNotFound struct {
}

GetWhaleMoversNotFound Not Found

swagger:response getWhaleMoversNotFound

func NewGetWhaleMoversNotFound

func NewGetWhaleMoversNotFound() *GetWhaleMoversNotFound

NewGetWhaleMoversNotFound creates GetWhaleMoversNotFound with default headers values

func (*GetWhaleMoversNotFound) WriteResponse

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

WriteResponse to the client

type GetWhaleMoversOK

type GetWhaleMoversOK struct {

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

GetWhaleMoversOK List of biggest senders/receivers

swagger:response getWhaleMoversOK

func NewGetWhaleMoversOK

func NewGetWhaleMoversOK() *GetWhaleMoversOK

NewGetWhaleMoversOK creates GetWhaleMoversOK with default headers values

func (*GetWhaleMoversOK) SetPayload

func (o *GetWhaleMoversOK) SetPayload(payload []*models.WhaleAccount)

SetPayload sets the payload to the get whale movers o k response

func (*GetWhaleMoversOK) WithPayload

func (o *GetWhaleMoversOK) WithPayload(payload []*models.WhaleAccount) *GetWhaleMoversOK

WithPayload adds the payload to the get whale movers o k response

func (*GetWhaleMoversOK) WriteResponse

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

WriteResponse to the client

type GetWhaleMoversParams

type GetWhaleMoversParams 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
	/*
	  In: query
	  Default: "sender"
	*/
	Side *string
}

GetWhaleMoversParams contains all the bound params for the get whale movers operation typically these are obtained from a http.Request

swagger:parameters getWhaleMovers

func NewGetWhaleMoversParams

func NewGetWhaleMoversParams() GetWhaleMoversParams

NewGetWhaleMoversParams creates a new GetWhaleMoversParams object with the default values initialized.

func (*GetWhaleMoversParams) BindRequest

func (o *GetWhaleMoversParams) 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 NewGetWhaleMoversParams() beforehand.

type GetWhaleMoversURL

type GetWhaleMoversURL struct {
	Network  string
	Platform string

	Limit  *int64
	Offset *int64
	Period *string
	Side   *string
	// contains filtered or unexported fields
}

GetWhaleMoversURL generates an URL for the get whale movers operation

func (*GetWhaleMoversURL) Build

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

Build a url path and query string

func (*GetWhaleMoversURL) BuildFull

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

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

func (*GetWhaleMoversURL) Must

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

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

func (*GetWhaleMoversURL) SetBasePath

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

func (o *GetWhaleMoversURL) String() string

String returns the string representation of the path with query string

func (*GetWhaleMoversURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetWhaleMoversURL) WithBasePath

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

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

Jump to

Keyboard shortcuts

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