Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Account
- func (o *Account) GetAddress() string
- func (o *Account) GetAddressOk() (*string, bool)
- func (o *Account) GetMetadata() map[string]interface{}
- func (o *Account) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *Account) GetType() string
- func (o *Account) GetTypeOk() (*string, bool)
- func (o *Account) HasMetadata() bool
- func (o *Account) HasType() bool
- func (o Account) MarshalJSON() ([]byte, error)
- func (o *Account) SetAddress(v string)
- func (o *Account) SetMetadata(v map[string]interface{})
- func (o *Account) SetType(v string)
- type AccountWithVolumesAndBalances
- func (o *AccountWithVolumesAndBalances) GetAddress() string
- func (o *AccountWithVolumesAndBalances) GetAddressOk() (*string, bool)
- func (o *AccountWithVolumesAndBalances) GetBalances() map[string]int32
- func (o *AccountWithVolumesAndBalances) GetBalancesOk() (*map[string]int32, bool)
- func (o *AccountWithVolumesAndBalances) GetMetadata() map[string]interface{}
- func (o *AccountWithVolumesAndBalances) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *AccountWithVolumesAndBalances) GetType() string
- func (o *AccountWithVolumesAndBalances) GetTypeOk() (*string, bool)
- func (o *AccountWithVolumesAndBalances) GetVolumes() map[string]map[string]int32
- func (o *AccountWithVolumesAndBalances) GetVolumesOk() (*map[string]map[string]int32, bool)
- func (o *AccountWithVolumesAndBalances) HasBalances() bool
- func (o *AccountWithVolumesAndBalances) HasMetadata() bool
- func (o *AccountWithVolumesAndBalances) HasType() bool
- func (o *AccountWithVolumesAndBalances) HasVolumes() bool
- func (o AccountWithVolumesAndBalances) MarshalJSON() ([]byte, error)
- func (o *AccountWithVolumesAndBalances) SetAddress(v string)
- func (o *AccountWithVolumesAndBalances) SetBalances(v map[string]int32)
- func (o *AccountWithVolumesAndBalances) SetMetadata(v map[string]interface{})
- func (o *AccountWithVolumesAndBalances) SetType(v string)
- func (o *AccountWithVolumesAndBalances) SetVolumes(v map[string]map[string]int32)
- type AccountsApiService
- func (a *AccountsApiService) AddMetadataToAccount(ctx _context.Context, ledger string, address string) ApiAddMetadataToAccountRequest
- func (a *AccountsApiService) AddMetadataToAccountExecute(r ApiAddMetadataToAccountRequest) (*_nethttp.Response, error)
- func (a *AccountsApiService) CountAccounts(ctx _context.Context, ledger string) ApiCountAccountsRequest
- func (a *AccountsApiService) CountAccountsExecute(r ApiCountAccountsRequest) (*_nethttp.Response, error)
- func (a *AccountsApiService) GetAccount(ctx _context.Context, ledger string, address string) ApiGetAccountRequest
- func (a *AccountsApiService) GetAccountExecute(r ApiGetAccountRequest) (GetAccount200Response, *_nethttp.Response, error)
- func (a *AccountsApiService) ListAccounts(ctx _context.Context, ledger string) ApiListAccountsRequest
- func (a *AccountsApiService) ListAccountsExecute(r ApiListAccountsRequest) (ListAccounts200Response, *_nethttp.Response, error)
- type ApiAddMetadataOnTransactionRequest
- type ApiAddMetadataToAccountRequest
- type ApiCountAccountsRequest
- type ApiCountTransactionsRequest
- func (r ApiCountTransactionsRequest) Account(account string) ApiCountTransactionsRequest
- func (r ApiCountTransactionsRequest) Destination(destination string) ApiCountTransactionsRequest
- func (r ApiCountTransactionsRequest) Execute() (*_nethttp.Response, error)
- func (r ApiCountTransactionsRequest) Metadata(metadata map[string]interface{}) ApiCountTransactionsRequest
- func (r ApiCountTransactionsRequest) Reference(reference string) ApiCountTransactionsRequest
- func (r ApiCountTransactionsRequest) Source(source string) ApiCountTransactionsRequest
- type ApiCreateTransactionRequest
- type ApiCreateTransactionsRequest
- type ApiGetAccountRequest
- type ApiGetBalancesAggregatedRequest
- type ApiGetBalancesRequest
- func (r ApiGetBalancesRequest) Address(address string) ApiGetBalancesRequest
- func (r ApiGetBalancesRequest) After(after string) ApiGetBalancesRequest
- func (r ApiGetBalancesRequest) Execute() (GetBalances200Response, *_nethttp.Response, error)
- func (r ApiGetBalancesRequest) PaginationToken(paginationToken string) ApiGetBalancesRequest
- type ApiGetInfoRequest
- type ApiGetMappingRequest
- type ApiGetTransactionRequest
- type ApiListAccountsRequest
- func (r ApiListAccountsRequest) Address(address string) ApiListAccountsRequest
- func (r ApiListAccountsRequest) After(after string) ApiListAccountsRequest
- func (r ApiListAccountsRequest) Balance(balance int64) ApiListAccountsRequest
- func (r ApiListAccountsRequest) BalanceOperator(balanceOperator string) ApiListAccountsRequest
- func (r ApiListAccountsRequest) Execute() (ListAccounts200Response, *_nethttp.Response, error)
- func (r ApiListAccountsRequest) Metadata(metadata map[string]interface{}) ApiListAccountsRequest
- func (r ApiListAccountsRequest) PageSize(pageSize int32) ApiListAccountsRequest
- func (r ApiListAccountsRequest) PaginationToken(paginationToken string) ApiListAccountsRequest
- type ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) Account(account string) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) After(after string) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) Destination(destination string) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) EndTime(endTime string) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) Execute() (ListTransactions200Response, *_nethttp.Response, error)
- func (r ApiListTransactionsRequest) Metadata(metadata map[string]interface{}) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) PageSize(pageSize int32) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) PaginationToken(paginationToken string) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) Reference(reference string) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) Source(source string) ApiListTransactionsRequest
- func (r ApiListTransactionsRequest) StartTime(startTime string) ApiListTransactionsRequest
- type ApiReadStatsRequest
- type ApiRevertTransactionRequest
- type ApiRunScriptRequest
- type ApiUpdateMappingRequest
- type BalancesApiService
- func (a *BalancesApiService) GetBalances(ctx _context.Context, ledger string) ApiGetBalancesRequest
- func (a *BalancesApiService) GetBalancesAggregated(ctx _context.Context, ledger string) ApiGetBalancesAggregatedRequest
- func (a *BalancesApiService) GetBalancesAggregatedExecute(r ApiGetBalancesAggregatedRequest) (GetBalancesAggregated200Response, *_nethttp.Response, error)
- func (a *BalancesApiService) GetBalancesExecute(r ApiGetBalancesRequest) (GetBalances200Response, *_nethttp.Response, error)
- type BasicAuth
- type Config
- type ConfigInfo
- func (o *ConfigInfo) GetConfig() Config
- func (o *ConfigInfo) GetConfigOk() (*Config, bool)
- func (o *ConfigInfo) GetServer() string
- func (o *ConfigInfo) GetServerOk() (*string, bool)
- func (o *ConfigInfo) GetVersion() string
- func (o *ConfigInfo) GetVersionOk() (*string, bool)
- func (o ConfigInfo) MarshalJSON() ([]byte, error)
- func (o *ConfigInfo) SetConfig(v Config)
- func (o *ConfigInfo) SetServer(v string)
- func (o *ConfigInfo) SetVersion(v string)
- type ConfigInfoResponse
- type Configuration
- type Contract
- func (o *Contract) GetAccount() string
- func (o *Contract) GetAccountOk() (*string, bool)
- func (o *Contract) GetExpr() map[string]interface{}
- func (o *Contract) GetExprOk() (*map[string]interface{}, bool)
- func (o *Contract) HasAccount() bool
- func (o Contract) MarshalJSON() ([]byte, error)
- func (o *Contract) SetAccount(v string)
- func (o *Contract) SetExpr(v map[string]interface{})
- type CreateTransaction400Response
- func (o *CreateTransaction400Response) GetErrorCode() string
- func (o *CreateTransaction400Response) GetErrorCodeOk() (*string, bool)
- func (o *CreateTransaction400Response) GetErrorMessage() string
- func (o *CreateTransaction400Response) GetErrorMessageOk() (*string, bool)
- func (o *CreateTransaction400Response) HasErrorMessage() bool
- func (o CreateTransaction400Response) MarshalJSON() ([]byte, error)
- func (o *CreateTransaction400Response) SetErrorCode(v string)
- func (o *CreateTransaction400Response) SetErrorMessage(v string)
- type CreateTransaction409Response
- func (o *CreateTransaction409Response) GetErrorCode() string
- func (o *CreateTransaction409Response) GetErrorCodeOk() (*string, bool)
- func (o *CreateTransaction409Response) GetErrorMessage() string
- func (o *CreateTransaction409Response) GetErrorMessageOk() (*string, bool)
- func (o *CreateTransaction409Response) HasErrorMessage() bool
- func (o CreateTransaction409Response) MarshalJSON() ([]byte, error)
- func (o *CreateTransaction409Response) SetErrorCode(v string)
- func (o *CreateTransaction409Response) SetErrorMessage(v string)
- type CreateTransactions400Response
- func (o *CreateTransactions400Response) GetErrorCode() string
- func (o *CreateTransactions400Response) GetErrorCodeOk() (*string, bool)
- func (o *CreateTransactions400Response) GetErrorMessage() string
- func (o *CreateTransactions400Response) GetErrorMessageOk() (*string, bool)
- func (o *CreateTransactions400Response) HasErrorMessage() bool
- func (o CreateTransactions400Response) MarshalJSON() ([]byte, error)
- func (o *CreateTransactions400Response) SetErrorCode(v string)
- func (o *CreateTransactions400Response) SetErrorMessage(v string)
- type Cursor
- func (o *Cursor) GetHasMore() bool
- func (o *Cursor) GetHasMoreOk() (*bool, bool)
- func (o *Cursor) GetNext() string
- func (o *Cursor) GetNextOk() (*string, bool)
- func (o *Cursor) GetPageSize() int32
- func (o *Cursor) GetPageSizeOk() (*int32, bool)
- func (o *Cursor) GetPrevious() string
- func (o *Cursor) GetPreviousOk() (*string, bool)
- func (o *Cursor) HasHasMore() bool
- func (o *Cursor) HasNext() bool
- func (o *Cursor) HasPrevious() bool
- func (o Cursor) MarshalJSON() ([]byte, error)
- func (o *Cursor) SetHasMore(v bool)
- func (o *Cursor) SetNext(v string)
- func (o *Cursor) SetPageSize(v int32)
- func (o *Cursor) SetPrevious(v string)
- type ErrorCode
- type ErrorResponse
- func (o *ErrorResponse) GetErrorCode() ErrorCode
- func (o *ErrorResponse) GetErrorCodeOk() (*ErrorCode, bool)
- func (o *ErrorResponse) GetErrorMessage() string
- func (o *ErrorResponse) GetErrorMessageOk() (*string, bool)
- func (o *ErrorResponse) HasErrorMessage() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetErrorCode(v ErrorCode)
- func (o *ErrorResponse) SetErrorMessage(v string)
- type GenericOpenAPIError
- type GetAccount200Response
- type GetAccount400Response
- func (o *GetAccount400Response) GetErrorCode() string
- func (o *GetAccount400Response) GetErrorCodeOk() (*string, bool)
- func (o *GetAccount400Response) GetErrorMessage() string
- func (o *GetAccount400Response) GetErrorMessageOk() (*string, bool)
- func (o *GetAccount400Response) HasErrorMessage() bool
- func (o GetAccount400Response) MarshalJSON() ([]byte, error)
- func (o *GetAccount400Response) SetErrorCode(v string)
- func (o *GetAccount400Response) SetErrorMessage(v string)
- type GetBalances200Response
- type GetBalances200ResponseCursor
- func (o *GetBalances200ResponseCursor) GetData() []map[string]map[string]int32
- func (o *GetBalances200ResponseCursor) GetDataOk() (*[]map[string]map[string]int32, bool)
- func (o *GetBalances200ResponseCursor) GetHasMore() bool
- func (o *GetBalances200ResponseCursor) GetHasMoreOk() (*bool, bool)
- func (o *GetBalances200ResponseCursor) GetNext() string
- func (o *GetBalances200ResponseCursor) GetNextOk() (*string, bool)
- func (o *GetBalances200ResponseCursor) GetPageSize() int32
- func (o *GetBalances200ResponseCursor) GetPageSizeOk() (*int32, bool)
- func (o *GetBalances200ResponseCursor) GetPrevious() string
- func (o *GetBalances200ResponseCursor) GetPreviousOk() (*string, bool)
- func (o *GetBalances200ResponseCursor) HasHasMore() bool
- func (o *GetBalances200ResponseCursor) HasNext() bool
- func (o *GetBalances200ResponseCursor) HasPrevious() bool
- func (o GetBalances200ResponseCursor) MarshalJSON() ([]byte, error)
- func (o *GetBalances200ResponseCursor) SetData(v []map[string]map[string]int32)
- func (o *GetBalances200ResponseCursor) SetHasMore(v bool)
- func (o *GetBalances200ResponseCursor) SetNext(v string)
- func (o *GetBalances200ResponseCursor) SetPageSize(v int32)
- func (o *GetBalances200ResponseCursor) SetPrevious(v string)
- type GetBalances200ResponseCursorAllOf
- func (o *GetBalances200ResponseCursorAllOf) GetData() []map[string]map[string]int32
- func (o *GetBalances200ResponseCursorAllOf) GetDataOk() (*[]map[string]map[string]int32, bool)
- func (o GetBalances200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
- func (o *GetBalances200ResponseCursorAllOf) SetData(v []map[string]map[string]int32)
- type GetBalancesAggregated200Response
- type GetBalancesAggregated400Response
- func (o *GetBalancesAggregated400Response) GetErrorCode() string
- func (o *GetBalancesAggregated400Response) GetErrorCodeOk() (*string, bool)
- func (o *GetBalancesAggregated400Response) GetErrorMessage() string
- func (o *GetBalancesAggregated400Response) GetErrorMessageOk() (*string, bool)
- func (o *GetBalancesAggregated400Response) HasErrorMessage() bool
- func (o GetBalancesAggregated400Response) MarshalJSON() ([]byte, error)
- func (o *GetBalancesAggregated400Response) SetErrorCode(v string)
- func (o *GetBalancesAggregated400Response) SetErrorMessage(v string)
- type GetTransaction400Response
- func (o *GetTransaction400Response) GetErrorCode() string
- func (o *GetTransaction400Response) GetErrorCodeOk() (*string, bool)
- func (o *GetTransaction400Response) GetErrorMessage() string
- func (o *GetTransaction400Response) GetErrorMessageOk() (*string, bool)
- func (o *GetTransaction400Response) HasErrorMessage() bool
- func (o GetTransaction400Response) MarshalJSON() ([]byte, error)
- func (o *GetTransaction400Response) SetErrorCode(v string)
- func (o *GetTransaction400Response) SetErrorMessage(v string)
- type GetTransaction404Response
- func (o *GetTransaction404Response) GetErrorCode() string
- func (o *GetTransaction404Response) GetErrorCodeOk() (*string, bool)
- func (o *GetTransaction404Response) GetErrorMessage() string
- func (o *GetTransaction404Response) GetErrorMessageOk() (*string, bool)
- func (o *GetTransaction404Response) HasErrorMessage() bool
- func (o GetTransaction404Response) MarshalJSON() ([]byte, error)
- func (o *GetTransaction404Response) SetErrorCode(v string)
- func (o *GetTransaction404Response) SetErrorMessage(v string)
- type LedgerStorage
- func (o *LedgerStorage) GetDriver() string
- func (o *LedgerStorage) GetDriverOk() (*string, bool)
- func (o *LedgerStorage) GetLedgers() []string
- func (o *LedgerStorage) GetLedgersOk() (*[]string, bool)
- func (o LedgerStorage) MarshalJSON() ([]byte, error)
- func (o *LedgerStorage) SetDriver(v string)
- func (o *LedgerStorage) SetLedgers(v []string)
- type ListAccounts200Response
- func (o *ListAccounts200Response) GetCursor() ListAccounts200ResponseCursor
- func (o *ListAccounts200Response) GetCursorOk() (*ListAccounts200ResponseCursor, bool)
- func (o ListAccounts200Response) MarshalJSON() ([]byte, error)
- func (o *ListAccounts200Response) SetCursor(v ListAccounts200ResponseCursor)
- type ListAccounts200ResponseCursor
- func (o *ListAccounts200ResponseCursor) GetData() []Account
- func (o *ListAccounts200ResponseCursor) GetDataOk() (*[]Account, bool)
- func (o *ListAccounts200ResponseCursor) GetHasMore() bool
- func (o *ListAccounts200ResponseCursor) GetHasMoreOk() (*bool, bool)
- func (o *ListAccounts200ResponseCursor) GetNext() string
- func (o *ListAccounts200ResponseCursor) GetNextOk() (*string, bool)
- func (o *ListAccounts200ResponseCursor) GetPageSize() int32
- func (o *ListAccounts200ResponseCursor) GetPageSizeOk() (*int32, bool)
- func (o *ListAccounts200ResponseCursor) GetPrevious() string
- func (o *ListAccounts200ResponseCursor) GetPreviousOk() (*string, bool)
- func (o *ListAccounts200ResponseCursor) HasHasMore() bool
- func (o *ListAccounts200ResponseCursor) HasNext() bool
- func (o *ListAccounts200ResponseCursor) HasPrevious() bool
- func (o ListAccounts200ResponseCursor) MarshalJSON() ([]byte, error)
- func (o *ListAccounts200ResponseCursor) SetData(v []Account)
- func (o *ListAccounts200ResponseCursor) SetHasMore(v bool)
- func (o *ListAccounts200ResponseCursor) SetNext(v string)
- func (o *ListAccounts200ResponseCursor) SetPageSize(v int32)
- func (o *ListAccounts200ResponseCursor) SetPrevious(v string)
- type ListAccounts200ResponseCursorAllOf
- type ListAccounts400Response
- func (o *ListAccounts400Response) GetErrorCode() string
- func (o *ListAccounts400Response) GetErrorCodeOk() (*string, bool)
- func (o *ListAccounts400Response) GetErrorMessage() string
- func (o *ListAccounts400Response) GetErrorMessageOk() (*string, bool)
- func (o *ListAccounts400Response) HasErrorMessage() bool
- func (o ListAccounts400Response) MarshalJSON() ([]byte, error)
- func (o *ListAccounts400Response) SetErrorCode(v string)
- func (o *ListAccounts400Response) SetErrorMessage(v string)
- type ListTransactions200Response
- func (o *ListTransactions200Response) GetCursor() ListTransactions200ResponseCursor
- func (o *ListTransactions200Response) GetCursorOk() (*ListTransactions200ResponseCursor, bool)
- func (o ListTransactions200Response) MarshalJSON() ([]byte, error)
- func (o *ListTransactions200Response) SetCursor(v ListTransactions200ResponseCursor)
- type ListTransactions200ResponseCursor
- func (o *ListTransactions200ResponseCursor) GetData() []Transaction
- func (o *ListTransactions200ResponseCursor) GetDataOk() (*[]Transaction, bool)
- func (o *ListTransactions200ResponseCursor) GetHasMore() bool
- func (o *ListTransactions200ResponseCursor) GetHasMoreOk() (*bool, bool)
- func (o *ListTransactions200ResponseCursor) GetNext() string
- func (o *ListTransactions200ResponseCursor) GetNextOk() (*string, bool)
- func (o *ListTransactions200ResponseCursor) GetPageSize() int32
- func (o *ListTransactions200ResponseCursor) GetPageSizeOk() (*int32, bool)
- func (o *ListTransactions200ResponseCursor) GetPrevious() string
- func (o *ListTransactions200ResponseCursor) GetPreviousOk() (*string, bool)
- func (o *ListTransactions200ResponseCursor) HasHasMore() bool
- func (o *ListTransactions200ResponseCursor) HasNext() bool
- func (o *ListTransactions200ResponseCursor) HasPrevious() bool
- func (o ListTransactions200ResponseCursor) MarshalJSON() ([]byte, error)
- func (o *ListTransactions200ResponseCursor) SetData(v []Transaction)
- func (o *ListTransactions200ResponseCursor) SetHasMore(v bool)
- func (o *ListTransactions200ResponseCursor) SetNext(v string)
- func (o *ListTransactions200ResponseCursor) SetPageSize(v int32)
- func (o *ListTransactions200ResponseCursor) SetPrevious(v string)
- type ListTransactions200ResponseCursorAllOf
- func (o *ListTransactions200ResponseCursorAllOf) GetData() []Transaction
- func (o *ListTransactions200ResponseCursorAllOf) GetDataOk() (*[]Transaction, bool)
- func (o ListTransactions200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
- func (o *ListTransactions200ResponseCursorAllOf) SetData(v []Transaction)
- type MappedNullable
- type Mapping
- type MappingApiService
- func (a *MappingApiService) GetMapping(ctx _context.Context, ledger string) ApiGetMappingRequest
- func (a *MappingApiService) GetMappingExecute(r ApiGetMappingRequest) (MappingResponse, *_nethttp.Response, error)
- func (a *MappingApiService) UpdateMapping(ctx _context.Context, ledger string) ApiUpdateMappingRequest
- func (a *MappingApiService) UpdateMappingExecute(r ApiUpdateMappingRequest) (MappingResponse, *_nethttp.Response, error)
- type MappingResponse
- func (o *MappingResponse) GetData() Mapping
- func (o *MappingResponse) GetDataOk() (*Mapping, bool)
- func (o *MappingResponse) HasData() bool
- func (o MappingResponse) MarshalJSON() ([]byte, error)
- func (o *MappingResponse) SetData(v Mapping)
- func (o *MappingResponse) SetDataNil()
- func (o *MappingResponse) UnsetData()
- type NullableAccount
- type NullableAccountWithVolumesAndBalances
- func (v NullableAccountWithVolumesAndBalances) Get() *AccountWithVolumesAndBalances
- func (v NullableAccountWithVolumesAndBalances) IsSet() bool
- func (v NullableAccountWithVolumesAndBalances) MarshalJSON() ([]byte, error)
- func (v *NullableAccountWithVolumesAndBalances) Set(val *AccountWithVolumesAndBalances)
- func (v *NullableAccountWithVolumesAndBalances) UnmarshalJSON(src []byte) error
- func (v *NullableAccountWithVolumesAndBalances) Unset()
- type NullableBool
- type NullableConfig
- type NullableConfigInfo
- type NullableConfigInfoResponse
- func (v NullableConfigInfoResponse) Get() *ConfigInfoResponse
- func (v NullableConfigInfoResponse) IsSet() bool
- func (v NullableConfigInfoResponse) MarshalJSON() ([]byte, error)
- func (v *NullableConfigInfoResponse) Set(val *ConfigInfoResponse)
- func (v *NullableConfigInfoResponse) UnmarshalJSON(src []byte) error
- func (v *NullableConfigInfoResponse) Unset()
- type NullableContract
- type NullableCreateTransaction400Response
- func (v NullableCreateTransaction400Response) Get() *CreateTransaction400Response
- func (v NullableCreateTransaction400Response) IsSet() bool
- func (v NullableCreateTransaction400Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTransaction400Response) Set(val *CreateTransaction400Response)
- func (v *NullableCreateTransaction400Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTransaction400Response) Unset()
- type NullableCreateTransaction409Response
- func (v NullableCreateTransaction409Response) Get() *CreateTransaction409Response
- func (v NullableCreateTransaction409Response) IsSet() bool
- func (v NullableCreateTransaction409Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTransaction409Response) Set(val *CreateTransaction409Response)
- func (v *NullableCreateTransaction409Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTransaction409Response) Unset()
- type NullableCreateTransactions400Response
- func (v NullableCreateTransactions400Response) Get() *CreateTransactions400Response
- func (v NullableCreateTransactions400Response) IsSet() bool
- func (v NullableCreateTransactions400Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTransactions400Response) Set(val *CreateTransactions400Response)
- func (v *NullableCreateTransactions400Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTransactions400Response) Unset()
- type NullableCursor
- type NullableErrorCode
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetAccount200Response
- func (v NullableGetAccount200Response) Get() *GetAccount200Response
- func (v NullableGetAccount200Response) IsSet() bool
- func (v NullableGetAccount200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetAccount200Response) Set(val *GetAccount200Response)
- func (v *NullableGetAccount200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetAccount200Response) Unset()
- type NullableGetAccount400Response
- func (v NullableGetAccount400Response) Get() *GetAccount400Response
- func (v NullableGetAccount400Response) IsSet() bool
- func (v NullableGetAccount400Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetAccount400Response) Set(val *GetAccount400Response)
- func (v *NullableGetAccount400Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetAccount400Response) Unset()
- type NullableGetBalances200Response
- func (v NullableGetBalances200Response) Get() *GetBalances200Response
- func (v NullableGetBalances200Response) IsSet() bool
- func (v NullableGetBalances200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetBalances200Response) Set(val *GetBalances200Response)
- func (v *NullableGetBalances200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetBalances200Response) Unset()
- type NullableGetBalances200ResponseCursor
- func (v NullableGetBalances200ResponseCursor) Get() *GetBalances200ResponseCursor
- func (v NullableGetBalances200ResponseCursor) IsSet() bool
- func (v NullableGetBalances200ResponseCursor) MarshalJSON() ([]byte, error)
- func (v *NullableGetBalances200ResponseCursor) Set(val *GetBalances200ResponseCursor)
- func (v *NullableGetBalances200ResponseCursor) UnmarshalJSON(src []byte) error
- func (v *NullableGetBalances200ResponseCursor) Unset()
- type NullableGetBalances200ResponseCursorAllOf
- func (v NullableGetBalances200ResponseCursorAllOf) Get() *GetBalances200ResponseCursorAllOf
- func (v NullableGetBalances200ResponseCursorAllOf) IsSet() bool
- func (v NullableGetBalances200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableGetBalances200ResponseCursorAllOf) Set(val *GetBalances200ResponseCursorAllOf)
- func (v *NullableGetBalances200ResponseCursorAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableGetBalances200ResponseCursorAllOf) Unset()
- type NullableGetBalancesAggregated200Response
- func (v NullableGetBalancesAggregated200Response) Get() *GetBalancesAggregated200Response
- func (v NullableGetBalancesAggregated200Response) IsSet() bool
- func (v NullableGetBalancesAggregated200Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetBalancesAggregated200Response) Set(val *GetBalancesAggregated200Response)
- func (v *NullableGetBalancesAggregated200Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetBalancesAggregated200Response) Unset()
- type NullableGetBalancesAggregated400Response
- func (v NullableGetBalancesAggregated400Response) Get() *GetBalancesAggregated400Response
- func (v NullableGetBalancesAggregated400Response) IsSet() bool
- func (v NullableGetBalancesAggregated400Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetBalancesAggregated400Response) Set(val *GetBalancesAggregated400Response)
- func (v *NullableGetBalancesAggregated400Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetBalancesAggregated400Response) Unset()
- type NullableGetTransaction400Response
- func (v NullableGetTransaction400Response) Get() *GetTransaction400Response
- func (v NullableGetTransaction400Response) IsSet() bool
- func (v NullableGetTransaction400Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetTransaction400Response) Set(val *GetTransaction400Response)
- func (v *NullableGetTransaction400Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetTransaction400Response) Unset()
- type NullableGetTransaction404Response
- func (v NullableGetTransaction404Response) Get() *GetTransaction404Response
- func (v NullableGetTransaction404Response) IsSet() bool
- func (v NullableGetTransaction404Response) MarshalJSON() ([]byte, error)
- func (v *NullableGetTransaction404Response) Set(val *GetTransaction404Response)
- func (v *NullableGetTransaction404Response) UnmarshalJSON(src []byte) error
- func (v *NullableGetTransaction404Response) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLedgerStorage
- func (v NullableLedgerStorage) Get() *LedgerStorage
- func (v NullableLedgerStorage) IsSet() bool
- func (v NullableLedgerStorage) MarshalJSON() ([]byte, error)
- func (v *NullableLedgerStorage) Set(val *LedgerStorage)
- func (v *NullableLedgerStorage) UnmarshalJSON(src []byte) error
- func (v *NullableLedgerStorage) Unset()
- type NullableListAccounts200Response
- func (v NullableListAccounts200Response) Get() *ListAccounts200Response
- func (v NullableListAccounts200Response) IsSet() bool
- func (v NullableListAccounts200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListAccounts200Response) Set(val *ListAccounts200Response)
- func (v *NullableListAccounts200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListAccounts200Response) Unset()
- type NullableListAccounts200ResponseCursor
- func (v NullableListAccounts200ResponseCursor) Get() *ListAccounts200ResponseCursor
- func (v NullableListAccounts200ResponseCursor) IsSet() bool
- func (v NullableListAccounts200ResponseCursor) MarshalJSON() ([]byte, error)
- func (v *NullableListAccounts200ResponseCursor) Set(val *ListAccounts200ResponseCursor)
- func (v *NullableListAccounts200ResponseCursor) UnmarshalJSON(src []byte) error
- func (v *NullableListAccounts200ResponseCursor) Unset()
- type NullableListAccounts200ResponseCursorAllOf
- func (v NullableListAccounts200ResponseCursorAllOf) Get() *ListAccounts200ResponseCursorAllOf
- func (v NullableListAccounts200ResponseCursorAllOf) IsSet() bool
- func (v NullableListAccounts200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableListAccounts200ResponseCursorAllOf) Set(val *ListAccounts200ResponseCursorAllOf)
- func (v *NullableListAccounts200ResponseCursorAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableListAccounts200ResponseCursorAllOf) Unset()
- type NullableListAccounts400Response
- func (v NullableListAccounts400Response) Get() *ListAccounts400Response
- func (v NullableListAccounts400Response) IsSet() bool
- func (v NullableListAccounts400Response) MarshalJSON() ([]byte, error)
- func (v *NullableListAccounts400Response) Set(val *ListAccounts400Response)
- func (v *NullableListAccounts400Response) UnmarshalJSON(src []byte) error
- func (v *NullableListAccounts400Response) Unset()
- type NullableListTransactions200Response
- func (v NullableListTransactions200Response) Get() *ListTransactions200Response
- func (v NullableListTransactions200Response) IsSet() bool
- func (v NullableListTransactions200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListTransactions200Response) Set(val *ListTransactions200Response)
- func (v *NullableListTransactions200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListTransactions200Response) Unset()
- type NullableListTransactions200ResponseCursor
- func (v NullableListTransactions200ResponseCursor) Get() *ListTransactions200ResponseCursor
- func (v NullableListTransactions200ResponseCursor) IsSet() bool
- func (v NullableListTransactions200ResponseCursor) MarshalJSON() ([]byte, error)
- func (v *NullableListTransactions200ResponseCursor) Set(val *ListTransactions200ResponseCursor)
- func (v *NullableListTransactions200ResponseCursor) UnmarshalJSON(src []byte) error
- func (v *NullableListTransactions200ResponseCursor) Unset()
- type NullableListTransactions200ResponseCursorAllOf
- func (v NullableListTransactions200ResponseCursorAllOf) Get() *ListTransactions200ResponseCursorAllOf
- func (v NullableListTransactions200ResponseCursorAllOf) IsSet() bool
- func (v NullableListTransactions200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableListTransactions200ResponseCursorAllOf) Set(val *ListTransactions200ResponseCursorAllOf)
- func (v *NullableListTransactions200ResponseCursorAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableListTransactions200ResponseCursorAllOf) Unset()
- type NullableMapping
- type NullableMappingResponse
- func (v NullableMappingResponse) Get() *MappingResponse
- func (v NullableMappingResponse) IsSet() bool
- func (v NullableMappingResponse) MarshalJSON() ([]byte, error)
- func (v *NullableMappingResponse) Set(val *MappingResponse)
- func (v *NullableMappingResponse) UnmarshalJSON(src []byte) error
- func (v *NullableMappingResponse) Unset()
- type NullablePosting
- type NullableScript
- type NullableScriptResult
- func (v NullableScriptResult) Get() *ScriptResult
- func (v NullableScriptResult) IsSet() bool
- func (v NullableScriptResult) MarshalJSON() ([]byte, error)
- func (v *NullableScriptResult) Set(val *ScriptResult)
- func (v *NullableScriptResult) UnmarshalJSON(src []byte) error
- func (v *NullableScriptResult) Unset()
- type NullableStats
- type NullableStatsResponse
- func (v NullableStatsResponse) Get() *StatsResponse
- func (v NullableStatsResponse) IsSet() bool
- func (v NullableStatsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableStatsResponse) Set(val *StatsResponse)
- func (v *NullableStatsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableStatsResponse) Unset()
- type NullableString
- type NullableTime
- type NullableTransaction
- func (v NullableTransaction) Get() *Transaction
- func (v NullableTransaction) IsSet() bool
- func (v NullableTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableTransaction) Set(val *Transaction)
- func (v *NullableTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableTransaction) Unset()
- type NullableTransactionData
- func (v NullableTransactionData) Get() *TransactionData
- func (v NullableTransactionData) IsSet() bool
- func (v NullableTransactionData) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionData) Set(val *TransactionData)
- func (v *NullableTransactionData) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionData) Unset()
- type NullableTransactionResponse
- func (v NullableTransactionResponse) Get() *TransactionResponse
- func (v NullableTransactionResponse) IsSet() bool
- func (v NullableTransactionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionResponse) Set(val *TransactionResponse)
- func (v *NullableTransactionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionResponse) Unset()
- type NullableTransactions
- func (v NullableTransactions) Get() *Transactions
- func (v NullableTransactions) IsSet() bool
- func (v NullableTransactions) MarshalJSON() ([]byte, error)
- func (v *NullableTransactions) Set(val *Transactions)
- func (v *NullableTransactions) UnmarshalJSON(src []byte) error
- func (v *NullableTransactions) Unset()
- type NullableTransactionsResponse
- func (v NullableTransactionsResponse) Get() *TransactionsResponse
- func (v NullableTransactionsResponse) IsSet() bool
- func (v NullableTransactionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionsResponse) Set(val *TransactionsResponse)
- func (v *NullableTransactionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionsResponse) Unset()
- type NullableVolume
- type Posting
- func (o *Posting) GetAmount() int32
- func (o *Posting) GetAmountOk() (*int32, bool)
- func (o *Posting) GetAsset() string
- func (o *Posting) GetAssetOk() (*string, bool)
- func (o *Posting) GetDestination() string
- func (o *Posting) GetDestinationOk() (*string, bool)
- func (o *Posting) GetSource() string
- func (o *Posting) GetSourceOk() (*string, bool)
- func (o Posting) MarshalJSON() ([]byte, error)
- func (o *Posting) SetAmount(v int32)
- func (o *Posting) SetAsset(v string)
- func (o *Posting) SetDestination(v string)
- func (o *Posting) SetSource(v string)
- type Script
- func (o *Script) GetMetadata() map[string]interface{}
- func (o *Script) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *Script) GetPlain() string
- func (o *Script) GetPlainOk() (*string, bool)
- func (o *Script) GetReference() string
- func (o *Script) GetReferenceOk() (*string, bool)
- func (o *Script) GetVars() map[string]interface{}
- func (o *Script) GetVarsOk() (*map[string]interface{}, bool)
- func (o *Script) HasMetadata() bool
- func (o *Script) HasReference() bool
- func (o *Script) HasVars() bool
- func (o Script) MarshalJSON() ([]byte, error)
- func (o *Script) SetMetadata(v map[string]interface{})
- func (o *Script) SetPlain(v string)
- func (o *Script) SetReference(v string)
- func (o *Script) SetVars(v map[string]interface{})
- type ScriptApiService
- type ScriptResult
- func (o *ScriptResult) GetDetails() string
- func (o *ScriptResult) GetDetailsOk() (*string, bool)
- func (o *ScriptResult) GetErrorCode() string
- func (o *ScriptResult) GetErrorCodeOk() (*string, bool)
- func (o *ScriptResult) GetErrorMessage() string
- func (o *ScriptResult) GetErrorMessageOk() (*string, bool)
- func (o *ScriptResult) GetTransaction() Transaction
- func (o *ScriptResult) GetTransactionOk() (*Transaction, bool)
- func (o *ScriptResult) HasDetails() bool
- func (o *ScriptResult) HasErrorCode() bool
- func (o *ScriptResult) HasErrorMessage() bool
- func (o *ScriptResult) HasTransaction() bool
- func (o ScriptResult) MarshalJSON() ([]byte, error)
- func (o *ScriptResult) SetDetails(v string)
- func (o *ScriptResult) SetErrorCode(v string)
- func (o *ScriptResult) SetErrorMessage(v string)
- func (o *ScriptResult) SetTransaction(v Transaction)
- type ServerApiService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Stats
- type StatsApiService
- type StatsResponse
- type Transaction
- func (o *Transaction) GetMetadata() map[string]interface{}
- func (o *Transaction) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *Transaction) GetPostCommitVolumes() map[string]map[string]Volume
- func (o *Transaction) GetPostCommitVolumesOk() (*map[string]map[string]Volume, bool)
- func (o *Transaction) GetPostings() []Posting
- func (o *Transaction) GetPostingsOk() (*[]Posting, bool)
- func (o *Transaction) GetPreCommitVolumes() map[string]map[string]Volume
- func (o *Transaction) GetPreCommitVolumesOk() (*map[string]map[string]Volume, bool)
- func (o *Transaction) GetReference() string
- func (o *Transaction) GetReferenceOk() (*string, bool)
- func (o *Transaction) GetTimestamp() time.Time
- func (o *Transaction) GetTimestampOk() (*time.Time, bool)
- func (o *Transaction) GetTxid() int32
- func (o *Transaction) GetTxidOk() (*int32, bool)
- func (o *Transaction) HasMetadata() bool
- func (o *Transaction) HasPostCommitVolumes() bool
- func (o *Transaction) HasPreCommitVolumes() bool
- func (o *Transaction) HasReference() bool
- func (o Transaction) MarshalJSON() ([]byte, error)
- func (o *Transaction) SetMetadata(v map[string]interface{})
- func (o *Transaction) SetPostCommitVolumes(v map[string]map[string]Volume)
- func (o *Transaction) SetPostings(v []Posting)
- func (o *Transaction) SetPreCommitVolumes(v map[string]map[string]Volume)
- func (o *Transaction) SetReference(v string)
- func (o *Transaction) SetTimestamp(v time.Time)
- func (o *Transaction) SetTxid(v int32)
- type TransactionData
- func (o *TransactionData) GetMetadata() map[string]interface{}
- func (o *TransactionData) GetMetadataOk() (*map[string]interface{}, bool)
- func (o *TransactionData) GetPostings() []Posting
- func (o *TransactionData) GetPostingsOk() (*[]Posting, bool)
- func (o *TransactionData) GetReference() string
- func (o *TransactionData) GetReferenceOk() (*string, bool)
- func (o *TransactionData) GetTimestamp() time.Time
- func (o *TransactionData) GetTimestampOk() (*time.Time, bool)
- func (o *TransactionData) HasMetadata() bool
- func (o *TransactionData) HasReference() bool
- func (o *TransactionData) HasTimestamp() bool
- func (o TransactionData) MarshalJSON() ([]byte, error)
- func (o *TransactionData) SetMetadata(v map[string]interface{})
- func (o *TransactionData) SetPostings(v []Posting)
- func (o *TransactionData) SetReference(v string)
- func (o *TransactionData) SetTimestamp(v time.Time)
- type TransactionResponse
- type Transactions
- type TransactionsApiService
- func (a *TransactionsApiService) AddMetadataOnTransaction(ctx _context.Context, ledger string, txid int32) ApiAddMetadataOnTransactionRequest
- func (a *TransactionsApiService) AddMetadataOnTransactionExecute(r ApiAddMetadataOnTransactionRequest) (*_nethttp.Response, error)
- func (a *TransactionsApiService) CountTransactions(ctx _context.Context, ledger string) ApiCountTransactionsRequest
- func (a *TransactionsApiService) CountTransactionsExecute(r ApiCountTransactionsRequest) (*_nethttp.Response, error)
- func (a *TransactionsApiService) CreateTransaction(ctx _context.Context, ledger string) ApiCreateTransactionRequest
- func (a *TransactionsApiService) CreateTransactionExecute(r ApiCreateTransactionRequest) (TransactionsResponse, *_nethttp.Response, error)
- func (a *TransactionsApiService) CreateTransactions(ctx _context.Context, ledger string) ApiCreateTransactionsRequest
- func (a *TransactionsApiService) CreateTransactionsExecute(r ApiCreateTransactionsRequest) (TransactionsResponse, *_nethttp.Response, error)
- func (a *TransactionsApiService) GetTransaction(ctx _context.Context, ledger string, txid int32) ApiGetTransactionRequest
- func (a *TransactionsApiService) GetTransactionExecute(r ApiGetTransactionRequest) (TransactionResponse, *_nethttp.Response, error)
- func (a *TransactionsApiService) ListTransactions(ctx _context.Context, ledger string) ApiListTransactionsRequest
- func (a *TransactionsApiService) ListTransactionsExecute(r ApiListTransactionsRequest) (ListTransactions200Response, *_nethttp.Response, error)
- func (a *TransactionsApiService) RevertTransaction(ctx _context.Context, ledger string, txid int32) ApiRevertTransactionRequest
- func (a *TransactionsApiService) RevertTransactionExecute(r ApiRevertTransactionRequest) (TransactionResponse, *_nethttp.Response, error)
- type TransactionsResponse
- type Volume
- func (o *Volume) GetBalance() float32
- func (o *Volume) GetBalanceOk() (*float32, bool)
- func (o *Volume) GetInput() float32
- func (o *Volume) GetInputOk() (*float32, bool)
- func (o *Volume) GetOutput() float32
- func (o *Volume) GetOutputOk() (*float32, bool)
- func (o *Volume) HasBalance() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetBalance(v float32)
- func (o *Volume) SetInput(v float32)
- func (o *Volume) SetOutput(v float32)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedErrorCodeEnumValues = []ErrorCode{
"INTERNAL",
"INSUFFICIENT_FUND",
"VALIDATION",
"CONFLICT",
}
All allowed values of ErrorCode enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AccountsApi *AccountsApiService BalancesApi *BalancesApiService MappingApi *MappingApiService ScriptApi *ScriptApiService ServerApi *ServerApiService StatsApi *StatsApiService TransactionsApi *TransactionsApiService // contains filtered or unexported fields }
APIClient manages communication with the Ledger API API vLEDGER_VERSION In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type Account ¶
type Account struct { Address string `json:"address"` Type *string `json:"type,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` }
Account struct for Account
func NewAccount ¶
NewAccount instantiates a new Account object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountWithDefaults ¶
func NewAccountWithDefaults() *Account
NewAccountWithDefaults instantiates a new Account object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Account) GetAddress ¶
GetAddress returns the Address field value
func (*Account) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*Account) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*Account) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (Account) MarshalJSON ¶
func (*Account) SetMetadata ¶
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
type AccountWithVolumesAndBalances ¶
type AccountWithVolumesAndBalances struct { Address string `json:"address"` Type *string `json:"type,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` Volumes *map[string]map[string]int32 `json:"volumes,omitempty"` Balances *map[string]int32 `json:"balances,omitempty"` }
AccountWithVolumesAndBalances struct for AccountWithVolumesAndBalances
func NewAccountWithVolumesAndBalances ¶
func NewAccountWithVolumesAndBalances(address string) *AccountWithVolumesAndBalances
NewAccountWithVolumesAndBalances instantiates a new AccountWithVolumesAndBalances object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountWithVolumesAndBalancesWithDefaults ¶
func NewAccountWithVolumesAndBalancesWithDefaults() *AccountWithVolumesAndBalances
NewAccountWithVolumesAndBalancesWithDefaults instantiates a new AccountWithVolumesAndBalances object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountWithVolumesAndBalances) GetAddress ¶
func (o *AccountWithVolumesAndBalances) GetAddress() string
GetAddress returns the Address field value
func (*AccountWithVolumesAndBalances) GetAddressOk ¶
func (o *AccountWithVolumesAndBalances) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*AccountWithVolumesAndBalances) GetBalances ¶
func (o *AccountWithVolumesAndBalances) GetBalances() map[string]int32
GetBalances returns the Balances field value if set, zero value otherwise.
func (*AccountWithVolumesAndBalances) GetBalancesOk ¶
func (o *AccountWithVolumesAndBalances) GetBalancesOk() (*map[string]int32, bool)
GetBalancesOk returns a tuple with the Balances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountWithVolumesAndBalances) GetMetadata ¶
func (o *AccountWithVolumesAndBalances) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*AccountWithVolumesAndBalances) GetMetadataOk ¶
func (o *AccountWithVolumesAndBalances) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountWithVolumesAndBalances) GetType ¶
func (o *AccountWithVolumesAndBalances) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AccountWithVolumesAndBalances) GetTypeOk ¶
func (o *AccountWithVolumesAndBalances) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountWithVolumesAndBalances) GetVolumes ¶
func (o *AccountWithVolumesAndBalances) GetVolumes() map[string]map[string]int32
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*AccountWithVolumesAndBalances) GetVolumesOk ¶
func (o *AccountWithVolumesAndBalances) GetVolumesOk() (*map[string]map[string]int32, bool)
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountWithVolumesAndBalances) HasBalances ¶
func (o *AccountWithVolumesAndBalances) HasBalances() bool
HasBalances returns a boolean if a field has been set.
func (*AccountWithVolumesAndBalances) HasMetadata ¶
func (o *AccountWithVolumesAndBalances) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*AccountWithVolumesAndBalances) HasType ¶
func (o *AccountWithVolumesAndBalances) HasType() bool
HasType returns a boolean if a field has been set.
func (*AccountWithVolumesAndBalances) HasVolumes ¶
func (o *AccountWithVolumesAndBalances) HasVolumes() bool
HasVolumes returns a boolean if a field has been set.
func (AccountWithVolumesAndBalances) MarshalJSON ¶
func (o AccountWithVolumesAndBalances) MarshalJSON() ([]byte, error)
func (*AccountWithVolumesAndBalances) SetAddress ¶
func (o *AccountWithVolumesAndBalances) SetAddress(v string)
SetAddress sets field value
func (*AccountWithVolumesAndBalances) SetBalances ¶
func (o *AccountWithVolumesAndBalances) SetBalances(v map[string]int32)
SetBalances gets a reference to the given map[string]int32 and assigns it to the Balances field.
func (*AccountWithVolumesAndBalances) SetMetadata ¶
func (o *AccountWithVolumesAndBalances) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*AccountWithVolumesAndBalances) SetType ¶
func (o *AccountWithVolumesAndBalances) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*AccountWithVolumesAndBalances) SetVolumes ¶
func (o *AccountWithVolumesAndBalances) SetVolumes(v map[string]map[string]int32)
SetVolumes gets a reference to the given map[string]map[string]int32 and assigns it to the Volumes field.
type AccountsApiService ¶
type AccountsApiService service
AccountsApiService AccountsApi service
func (*AccountsApiService) AddMetadataToAccount ¶
func (a *AccountsApiService) AddMetadataToAccount(ctx _context.Context, ledger string, address string) ApiAddMetadataToAccountRequest
AddMetadataToAccount Add metadata to an account.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @param address Exact address of the account. It must match the following regular expressions pattern: ``` ^\\w+(:\\w+)*$ ``` @return ApiAddMetadataToAccountRequest
func (*AccountsApiService) AddMetadataToAccountExecute ¶
func (a *AccountsApiService) AddMetadataToAccountExecute(r ApiAddMetadataToAccountRequest) (*_nethttp.Response, error)
Execute executes the request
func (*AccountsApiService) CountAccounts ¶
func (a *AccountsApiService) CountAccounts(ctx _context.Context, ledger string) ApiCountAccountsRequest
CountAccounts Count the accounts from a ledger.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiCountAccountsRequest
func (*AccountsApiService) CountAccountsExecute ¶
func (a *AccountsApiService) CountAccountsExecute(r ApiCountAccountsRequest) (*_nethttp.Response, error)
Execute executes the request
func (*AccountsApiService) GetAccount ¶
func (a *AccountsApiService) GetAccount(ctx _context.Context, ledger string, address string) ApiGetAccountRequest
GetAccount Get account by its address.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @param address Exact address of the account. It must match the following regular expressions pattern: ``` ^\\w+(:\\w+)*$ ``` @return ApiGetAccountRequest
func (*AccountsApiService) GetAccountExecute ¶
func (a *AccountsApiService) GetAccountExecute(r ApiGetAccountRequest) (GetAccount200Response, *_nethttp.Response, error)
Execute executes the request
@return GetAccount200Response
func (*AccountsApiService) ListAccounts ¶
func (a *AccountsApiService) ListAccounts(ctx _context.Context, ledger string) ApiListAccountsRequest
ListAccounts List accounts from a ledger.
List accounts from a ledger, sorted by address in descending order.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiListAccountsRequest
func (*AccountsApiService) ListAccountsExecute ¶
func (a *AccountsApiService) ListAccountsExecute(r ApiListAccountsRequest) (ListAccounts200Response, *_nethttp.Response, error)
Execute executes the request
@return ListAccounts200Response
type ApiAddMetadataOnTransactionRequest ¶
type ApiAddMetadataOnTransactionRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiAddMetadataOnTransactionRequest) Execute ¶
func (r ApiAddMetadataOnTransactionRequest) Execute() (*_nethttp.Response, error)
func (ApiAddMetadataOnTransactionRequest) RequestBody ¶
func (r ApiAddMetadataOnTransactionRequest) RequestBody(requestBody map[string]interface{}) ApiAddMetadataOnTransactionRequest
metadata
type ApiAddMetadataToAccountRequest ¶
type ApiAddMetadataToAccountRequest struct { ApiService *AccountsApiService // contains filtered or unexported fields }
func (ApiAddMetadataToAccountRequest) Execute ¶
func (r ApiAddMetadataToAccountRequest) Execute() (*_nethttp.Response, error)
func (ApiAddMetadataToAccountRequest) RequestBody ¶
func (r ApiAddMetadataToAccountRequest) RequestBody(requestBody map[string]interface{}) ApiAddMetadataToAccountRequest
metadata
type ApiCountAccountsRequest ¶
type ApiCountAccountsRequest struct { ApiService *AccountsApiService // contains filtered or unexported fields }
func (ApiCountAccountsRequest) Address ¶
func (r ApiCountAccountsRequest) Address(address string) ApiCountAccountsRequest
Filter accounts by address pattern (regular expression placed between ^ and $).
func (ApiCountAccountsRequest) Execute ¶
func (r ApiCountAccountsRequest) Execute() (*_nethttp.Response, error)
func (ApiCountAccountsRequest) Metadata ¶
func (r ApiCountAccountsRequest) Metadata(metadata map[string]interface{}) ApiCountAccountsRequest
Filter accounts by metadata key value pairs. Nested objects can be used as seen in the example below.
type ApiCountTransactionsRequest ¶
type ApiCountTransactionsRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiCountTransactionsRequest) Account ¶
func (r ApiCountTransactionsRequest) Account(account string) ApiCountTransactionsRequest
Filter transactions with postings involving given account, either as source or destination (regular expression placed between ^ and $).
func (ApiCountTransactionsRequest) Destination ¶
func (r ApiCountTransactionsRequest) Destination(destination string) ApiCountTransactionsRequest
Filter transactions with postings involving given account at destination (regular expression placed between ^ and $).
func (ApiCountTransactionsRequest) Execute ¶
func (r ApiCountTransactionsRequest) Execute() (*_nethttp.Response, error)
func (ApiCountTransactionsRequest) Metadata ¶
func (r ApiCountTransactionsRequest) Metadata(metadata map[string]interface{}) ApiCountTransactionsRequest
Filter transactions by metadata key value pairs. Nested objects can be used as seen in the example below.
func (ApiCountTransactionsRequest) Reference ¶
func (r ApiCountTransactionsRequest) Reference(reference string) ApiCountTransactionsRequest
Filter transactions by reference field.
func (ApiCountTransactionsRequest) Source ¶
func (r ApiCountTransactionsRequest) Source(source string) ApiCountTransactionsRequest
Filter transactions with postings involving given account at source (regular expression placed between ^ and $).
type ApiCreateTransactionRequest ¶
type ApiCreateTransactionRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiCreateTransactionRequest) Execute ¶
func (r ApiCreateTransactionRequest) Execute() (TransactionsResponse, *_nethttp.Response, error)
func (ApiCreateTransactionRequest) Preview ¶
func (r ApiCreateTransactionRequest) Preview(preview bool) ApiCreateTransactionRequest
Set the preview mode. Preview mode doesn't add the logs to the database or publish a message to the message broker.
func (ApiCreateTransactionRequest) TransactionData ¶
func (r ApiCreateTransactionRequest) TransactionData(transactionData TransactionData) ApiCreateTransactionRequest
type ApiCreateTransactionsRequest ¶
type ApiCreateTransactionsRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiCreateTransactionsRequest) Execute ¶
func (r ApiCreateTransactionsRequest) Execute() (TransactionsResponse, *_nethttp.Response, error)
func (ApiCreateTransactionsRequest) Transactions ¶
func (r ApiCreateTransactionsRequest) Transactions(transactions Transactions) ApiCreateTransactionsRequest
type ApiGetAccountRequest ¶
type ApiGetAccountRequest struct { ApiService *AccountsApiService // contains filtered or unexported fields }
func (ApiGetAccountRequest) Execute ¶
func (r ApiGetAccountRequest) Execute() (GetAccount200Response, *_nethttp.Response, error)
type ApiGetBalancesAggregatedRequest ¶
type ApiGetBalancesAggregatedRequest struct { ApiService *BalancesApiService // contains filtered or unexported fields }
func (ApiGetBalancesAggregatedRequest) Address ¶
func (r ApiGetBalancesAggregatedRequest) Address(address string) ApiGetBalancesAggregatedRequest
Filter balances involving given account, either as source or destination.
func (ApiGetBalancesAggregatedRequest) Execute ¶
func (r ApiGetBalancesAggregatedRequest) Execute() (GetBalancesAggregated200Response, *_nethttp.Response, error)
type ApiGetBalancesRequest ¶
type ApiGetBalancesRequest struct { ApiService *BalancesApiService // contains filtered or unexported fields }
func (ApiGetBalancesRequest) Address ¶
func (r ApiGetBalancesRequest) Address(address string) ApiGetBalancesRequest
Filter balances involving given account, either as source or destination.
func (ApiGetBalancesRequest) After ¶
func (r ApiGetBalancesRequest) After(after string) ApiGetBalancesRequest
Pagination cursor, will return accounts after given address, in descending order.
func (ApiGetBalancesRequest) Execute ¶
func (r ApiGetBalancesRequest) Execute() (GetBalances200Response, *_nethttp.Response, error)
func (ApiGetBalancesRequest) PaginationToken ¶
func (r ApiGetBalancesRequest) PaginationToken(paginationToken string) ApiGetBalancesRequest
Parameter used in pagination requests. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results.
type ApiGetInfoRequest ¶
type ApiGetInfoRequest struct { ApiService *ServerApiService // contains filtered or unexported fields }
func (ApiGetInfoRequest) Execute ¶
func (r ApiGetInfoRequest) Execute() (ConfigInfoResponse, *_nethttp.Response, error)
type ApiGetMappingRequest ¶
type ApiGetMappingRequest struct { ApiService *MappingApiService // contains filtered or unexported fields }
func (ApiGetMappingRequest) Execute ¶
func (r ApiGetMappingRequest) Execute() (MappingResponse, *_nethttp.Response, error)
type ApiGetTransactionRequest ¶
type ApiGetTransactionRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiGetTransactionRequest) Execute ¶
func (r ApiGetTransactionRequest) Execute() (TransactionResponse, *_nethttp.Response, error)
type ApiListAccountsRequest ¶
type ApiListAccountsRequest struct { ApiService *AccountsApiService // contains filtered or unexported fields }
func (ApiListAccountsRequest) Address ¶
func (r ApiListAccountsRequest) Address(address string) ApiListAccountsRequest
Filter accounts by address pattern (regular expression placed between ^ and $).
func (ApiListAccountsRequest) After ¶
func (r ApiListAccountsRequest) After(after string) ApiListAccountsRequest
Pagination cursor, will return accounts after given address, in descending order.
func (ApiListAccountsRequest) Balance ¶
func (r ApiListAccountsRequest) Balance(balance int64) ApiListAccountsRequest
Filter accounts by their balance (default operator is gte)
func (ApiListAccountsRequest) BalanceOperator ¶
func (r ApiListAccountsRequest) BalanceOperator(balanceOperator string) ApiListAccountsRequest
Operator used for the filtering of balances can be greater than/equal, less than/equal, greater than, less than, or equal
func (ApiListAccountsRequest) Execute ¶
func (r ApiListAccountsRequest) Execute() (ListAccounts200Response, *_nethttp.Response, error)
func (ApiListAccountsRequest) Metadata ¶
func (r ApiListAccountsRequest) Metadata(metadata map[string]interface{}) ApiListAccountsRequest
Filter accounts by metadata key value pairs. Nested objects can be used as seen in the example below.
func (ApiListAccountsRequest) PageSize ¶
func (r ApiListAccountsRequest) PageSize(pageSize int32) ApiListAccountsRequest
The maximum number of results to return per page
func (ApiListAccountsRequest) PaginationToken ¶
func (r ApiListAccountsRequest) PaginationToken(paginationToken string) ApiListAccountsRequest
Parameter used in pagination requests. Maximum page size is set to 15. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when the pagination token is set.
type ApiListTransactionsRequest ¶
type ApiListTransactionsRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiListTransactionsRequest) Account ¶
func (r ApiListTransactionsRequest) Account(account string) ApiListTransactionsRequest
Find transactions with postings involving given account, either as source or destination.
func (ApiListTransactionsRequest) After ¶
func (r ApiListTransactionsRequest) After(after string) ApiListTransactionsRequest
Pagination cursor, will return transactions after given txid (in descending order).
func (ApiListTransactionsRequest) Destination ¶
func (r ApiListTransactionsRequest) Destination(destination string) ApiListTransactionsRequest
Find transactions with postings involving given account at destination.
func (ApiListTransactionsRequest) EndTime ¶
func (r ApiListTransactionsRequest) EndTime(endTime string) ApiListTransactionsRequest
Filter transactions that occurred before this timestamp. The format is RFC3339 and is exclusive (for example, 12:00:01 excludes the first second of the minute).
func (ApiListTransactionsRequest) Execute ¶
func (r ApiListTransactionsRequest) Execute() (ListTransactions200Response, *_nethttp.Response, error)
func (ApiListTransactionsRequest) Metadata ¶
func (r ApiListTransactionsRequest) Metadata(metadata map[string]interface{}) ApiListTransactionsRequest
Filter transactions by metadata key value pairs. Nested objects can be used as seen in the example below.
func (ApiListTransactionsRequest) PageSize ¶
func (r ApiListTransactionsRequest) PageSize(pageSize int32) ApiListTransactionsRequest
The maximum number of results to return per page
func (ApiListTransactionsRequest) PaginationToken ¶
func (r ApiListTransactionsRequest) PaginationToken(paginationToken string) ApiListTransactionsRequest
Parameter used in pagination requests. Maximum page size is set to 15. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when the pagination token is set.
func (ApiListTransactionsRequest) Reference ¶
func (r ApiListTransactionsRequest) Reference(reference string) ApiListTransactionsRequest
Find transactions by reference field.
func (ApiListTransactionsRequest) Source ¶
func (r ApiListTransactionsRequest) Source(source string) ApiListTransactionsRequest
Find transactions with postings involving given account at source.
func (ApiListTransactionsRequest) StartTime ¶
func (r ApiListTransactionsRequest) StartTime(startTime string) ApiListTransactionsRequest
Filter transactions that occurred after this timestamp. The format is RFC3339 and is inclusive (for example, 12:00:01 includes the first second of the minute).
type ApiReadStatsRequest ¶
type ApiReadStatsRequest struct { ApiService *StatsApiService // contains filtered or unexported fields }
func (ApiReadStatsRequest) Execute ¶
func (r ApiReadStatsRequest) Execute() (StatsResponse, *_nethttp.Response, error)
type ApiRevertTransactionRequest ¶
type ApiRevertTransactionRequest struct { ApiService *TransactionsApiService // contains filtered or unexported fields }
func (ApiRevertTransactionRequest) Execute ¶
func (r ApiRevertTransactionRequest) Execute() (TransactionResponse, *_nethttp.Response, error)
type ApiRunScriptRequest ¶
type ApiRunScriptRequest struct { ApiService *ScriptApiService // contains filtered or unexported fields }
func (ApiRunScriptRequest) Execute ¶
func (r ApiRunScriptRequest) Execute() (ScriptResult, *_nethttp.Response, error)
func (ApiRunScriptRequest) Preview ¶
func (r ApiRunScriptRequest) Preview(preview bool) ApiRunScriptRequest
Set the preview mode. Preview mode doesn't add the logs to the database or publish a message to the message broker.
func (ApiRunScriptRequest) Script ¶
func (r ApiRunScriptRequest) Script(script Script) ApiRunScriptRequest
type ApiUpdateMappingRequest ¶
type ApiUpdateMappingRequest struct { ApiService *MappingApiService // contains filtered or unexported fields }
func (ApiUpdateMappingRequest) Execute ¶
func (r ApiUpdateMappingRequest) Execute() (MappingResponse, *_nethttp.Response, error)
func (ApiUpdateMappingRequest) Mapping ¶
func (r ApiUpdateMappingRequest) Mapping(mapping Mapping) ApiUpdateMappingRequest
type BalancesApiService ¶
type BalancesApiService service
BalancesApiService BalancesApi service
func (*BalancesApiService) GetBalances ¶
func (a *BalancesApiService) GetBalances(ctx _context.Context, ledger string) ApiGetBalancesRequest
GetBalances Get the balances from a ledger's account
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiGetBalancesRequest
func (*BalancesApiService) GetBalancesAggregated ¶
func (a *BalancesApiService) GetBalancesAggregated(ctx _context.Context, ledger string) ApiGetBalancesAggregatedRequest
GetBalancesAggregated Get the aggregated balances from selected accounts
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiGetBalancesAggregatedRequest
func (*BalancesApiService) GetBalancesAggregatedExecute ¶
func (a *BalancesApiService) GetBalancesAggregatedExecute(r ApiGetBalancesAggregatedRequest) (GetBalancesAggregated200Response, *_nethttp.Response, error)
Execute executes the request
@return GetBalancesAggregated200Response
func (*BalancesApiService) GetBalancesExecute ¶
func (a *BalancesApiService) GetBalancesExecute(r ApiGetBalancesRequest) (GetBalances200Response, *_nethttp.Response, error)
Execute executes the request
@return GetBalances200Response
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Config ¶
type Config struct {
Storage LedgerStorage `json:"storage"`
}
Config struct for Config
func NewConfig ¶
func NewConfig(storage LedgerStorage) *Config
NewConfig instantiates a new Config object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConfigWithDefaults ¶
func NewConfigWithDefaults() *Config
NewConfigWithDefaults instantiates a new Config object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Config) GetStorage ¶
func (o *Config) GetStorage() LedgerStorage
GetStorage returns the Storage field value
func (*Config) GetStorageOk ¶
func (o *Config) GetStorageOk() (*LedgerStorage, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (Config) MarshalJSON ¶
func (*Config) SetStorage ¶
func (o *Config) SetStorage(v LedgerStorage)
SetStorage sets field value
type ConfigInfo ¶
type ConfigInfo struct { Config Config `json:"config"` Server string `json:"server"` Version string `json:"version"` }
ConfigInfo struct for ConfigInfo
func NewConfigInfo ¶
func NewConfigInfo(config Config, server string, version string) *ConfigInfo
NewConfigInfo instantiates a new ConfigInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConfigInfoWithDefaults ¶
func NewConfigInfoWithDefaults() *ConfigInfo
NewConfigInfoWithDefaults instantiates a new ConfigInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConfigInfo) GetConfig ¶
func (o *ConfigInfo) GetConfig() Config
GetConfig returns the Config field value
func (*ConfigInfo) GetConfigOk ¶
func (o *ConfigInfo) GetConfigOk() (*Config, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*ConfigInfo) GetServer ¶
func (o *ConfigInfo) GetServer() string
GetServer returns the Server field value
func (*ConfigInfo) GetServerOk ¶
func (o *ConfigInfo) GetServerOk() (*string, bool)
GetServerOk returns a tuple with the Server field value and a boolean to check if the value has been set.
func (*ConfigInfo) GetVersion ¶
func (o *ConfigInfo) GetVersion() string
GetVersion returns the Version field value
func (*ConfigInfo) GetVersionOk ¶
func (o *ConfigInfo) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (ConfigInfo) MarshalJSON ¶
func (o ConfigInfo) MarshalJSON() ([]byte, error)
func (*ConfigInfo) SetVersion ¶
func (o *ConfigInfo) SetVersion(v string)
SetVersion sets field value
type ConfigInfoResponse ¶
type ConfigInfoResponse struct {
Data ConfigInfo `json:"data"`
}
ConfigInfoResponse struct for ConfigInfoResponse
func NewConfigInfoResponse ¶
func NewConfigInfoResponse(data ConfigInfo) *ConfigInfoResponse
NewConfigInfoResponse instantiates a new ConfigInfoResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConfigInfoResponseWithDefaults ¶
func NewConfigInfoResponseWithDefaults() *ConfigInfoResponse
NewConfigInfoResponseWithDefaults instantiates a new ConfigInfoResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConfigInfoResponse) GetData ¶
func (o *ConfigInfoResponse) GetData() ConfigInfo
GetData returns the Data field value
func (*ConfigInfoResponse) GetDataOk ¶
func (o *ConfigInfoResponse) GetDataOk() (*ConfigInfo, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ConfigInfoResponse) MarshalJSON ¶
func (o ConfigInfoResponse) MarshalJSON() ([]byte, error)
func (*ConfigInfoResponse) SetData ¶
func (o *ConfigInfoResponse) SetData(v ConfigInfo)
SetData sets field value
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Contract ¶
type Contract struct { Account *string `json:"account,omitempty"` Expr map[string]interface{} `json:"expr"` }
Contract struct for Contract
func NewContract ¶
NewContract instantiates a new Contract object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContractWithDefaults ¶
func NewContractWithDefaults() *Contract
NewContractWithDefaults instantiates a new Contract object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Contract) GetAccount ¶
GetAccount returns the Account field value if set, zero value otherwise.
func (*Contract) GetAccountOk ¶
GetAccountOk returns a tuple with the Account field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Contract) GetExprOk ¶
GetExprOk returns a tuple with the Expr field value and a boolean to check if the value has been set.
func (*Contract) HasAccount ¶
HasAccount returns a boolean if a field has been set.
func (Contract) MarshalJSON ¶
func (*Contract) SetAccount ¶
SetAccount gets a reference to the given string and assigns it to the Account field.
type CreateTransaction400Response ¶
type CreateTransaction400Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
CreateTransaction400Response struct for CreateTransaction400Response
func NewCreateTransaction400Response ¶
func NewCreateTransaction400Response(errorCode string) *CreateTransaction400Response
NewCreateTransaction400Response instantiates a new CreateTransaction400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateTransaction400ResponseWithDefaults ¶
func NewCreateTransaction400ResponseWithDefaults() *CreateTransaction400Response
NewCreateTransaction400ResponseWithDefaults instantiates a new CreateTransaction400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateTransaction400Response) GetErrorCode ¶
func (o *CreateTransaction400Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*CreateTransaction400Response) GetErrorCodeOk ¶
func (o *CreateTransaction400Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*CreateTransaction400Response) GetErrorMessage ¶
func (o *CreateTransaction400Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*CreateTransaction400Response) GetErrorMessageOk ¶
func (o *CreateTransaction400Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTransaction400Response) HasErrorMessage ¶
func (o *CreateTransaction400Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (CreateTransaction400Response) MarshalJSON ¶
func (o CreateTransaction400Response) MarshalJSON() ([]byte, error)
func (*CreateTransaction400Response) SetErrorCode ¶
func (o *CreateTransaction400Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*CreateTransaction400Response) SetErrorMessage ¶
func (o *CreateTransaction400Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type CreateTransaction409Response ¶
type CreateTransaction409Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
CreateTransaction409Response struct for CreateTransaction409Response
func NewCreateTransaction409Response ¶
func NewCreateTransaction409Response(errorCode string) *CreateTransaction409Response
NewCreateTransaction409Response instantiates a new CreateTransaction409Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateTransaction409ResponseWithDefaults ¶
func NewCreateTransaction409ResponseWithDefaults() *CreateTransaction409Response
NewCreateTransaction409ResponseWithDefaults instantiates a new CreateTransaction409Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateTransaction409Response) GetErrorCode ¶
func (o *CreateTransaction409Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*CreateTransaction409Response) GetErrorCodeOk ¶
func (o *CreateTransaction409Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*CreateTransaction409Response) GetErrorMessage ¶
func (o *CreateTransaction409Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*CreateTransaction409Response) GetErrorMessageOk ¶
func (o *CreateTransaction409Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTransaction409Response) HasErrorMessage ¶
func (o *CreateTransaction409Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (CreateTransaction409Response) MarshalJSON ¶
func (o CreateTransaction409Response) MarshalJSON() ([]byte, error)
func (*CreateTransaction409Response) SetErrorCode ¶
func (o *CreateTransaction409Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*CreateTransaction409Response) SetErrorMessage ¶
func (o *CreateTransaction409Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type CreateTransactions400Response ¶
type CreateTransactions400Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
CreateTransactions400Response struct for CreateTransactions400Response
func NewCreateTransactions400Response ¶
func NewCreateTransactions400Response(errorCode string) *CreateTransactions400Response
NewCreateTransactions400Response instantiates a new CreateTransactions400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateTransactions400ResponseWithDefaults ¶
func NewCreateTransactions400ResponseWithDefaults() *CreateTransactions400Response
NewCreateTransactions400ResponseWithDefaults instantiates a new CreateTransactions400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateTransactions400Response) GetErrorCode ¶
func (o *CreateTransactions400Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*CreateTransactions400Response) GetErrorCodeOk ¶
func (o *CreateTransactions400Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*CreateTransactions400Response) GetErrorMessage ¶
func (o *CreateTransactions400Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*CreateTransactions400Response) GetErrorMessageOk ¶
func (o *CreateTransactions400Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTransactions400Response) HasErrorMessage ¶
func (o *CreateTransactions400Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (CreateTransactions400Response) MarshalJSON ¶
func (o CreateTransactions400Response) MarshalJSON() ([]byte, error)
func (*CreateTransactions400Response) SetErrorCode ¶
func (o *CreateTransactions400Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*CreateTransactions400Response) SetErrorMessage ¶
func (o *CreateTransactions400Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type Cursor ¶
type Cursor struct { PageSize int32 `json:"page_size"` HasMore *bool `json:"has_more,omitempty"` Previous *string `json:"previous,omitempty"` Next *string `json:"next,omitempty"` }
Cursor struct for Cursor
func NewCursor ¶
NewCursor instantiates a new Cursor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCursorWithDefaults ¶
func NewCursorWithDefaults() *Cursor
NewCursorWithDefaults instantiates a new Cursor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Cursor) GetHasMore ¶
GetHasMore returns the HasMore field value if set, zero value otherwise.
func (*Cursor) GetHasMoreOk ¶
GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cursor) GetNextOk ¶
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cursor) GetPageSize ¶
GetPageSize returns the PageSize field value
func (*Cursor) GetPageSizeOk ¶
GetPageSizeOk returns a tuple with the PageSize field value and a boolean to check if the value has been set.
func (*Cursor) GetPrevious ¶
GetPrevious returns the Previous field value if set, zero value otherwise.
func (*Cursor) GetPreviousOk ¶
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cursor) HasHasMore ¶
HasHasMore returns a boolean if a field has been set.
func (*Cursor) HasPrevious ¶
HasPrevious returns a boolean if a field has been set.
func (Cursor) MarshalJSON ¶
func (*Cursor) SetHasMore ¶
SetHasMore gets a reference to the given bool and assigns it to the HasMore field.
func (*Cursor) SetNext ¶
SetNext gets a reference to the given string and assigns it to the Next field.
func (*Cursor) SetPrevious ¶
SetPrevious gets a reference to the given string and assigns it to the Previous field.
type ErrorCode ¶
type ErrorCode string
ErrorCode the model 'ErrorCode'
const ( INTERNAL ErrorCode = "INTERNAL" INSUFFICIENT_FUND ErrorCode = "INSUFFICIENT_FUND" VALIDATION ErrorCode = "VALIDATION" CONFLICT ErrorCode = "CONFLICT" )
List of ErrorCode
func NewErrorCodeFromValue ¶
NewErrorCodeFromValue returns a pointer to a valid ErrorCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*ErrorCode) UnmarshalJSON ¶
type ErrorResponse ¶
type ErrorResponse struct { ErrorCode ErrorCode `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse(errorCode ErrorCode) *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetErrorCode ¶
func (o *ErrorResponse) GetErrorCode() ErrorCode
GetErrorCode returns the ErrorCode field value
func (*ErrorResponse) GetErrorCodeOk ¶
func (o *ErrorResponse) GetErrorCodeOk() (*ErrorCode, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*ErrorResponse) GetErrorMessage ¶
func (o *ErrorResponse) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*ErrorResponse) GetErrorMessageOk ¶
func (o *ErrorResponse) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasErrorMessage ¶
func (o *ErrorResponse) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetErrorCode ¶
func (o *ErrorResponse) SetErrorCode(v ErrorCode)
SetErrorCode sets field value
func (*ErrorResponse) SetErrorMessage ¶
func (o *ErrorResponse) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetAccount200Response ¶
type GetAccount200Response struct {
Data AccountWithVolumesAndBalances `json:"data"`
}
GetAccount200Response struct for GetAccount200Response
func NewGetAccount200Response ¶
func NewGetAccount200Response(data AccountWithVolumesAndBalances) *GetAccount200Response
NewGetAccount200Response instantiates a new GetAccount200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetAccount200ResponseWithDefaults ¶
func NewGetAccount200ResponseWithDefaults() *GetAccount200Response
NewGetAccount200ResponseWithDefaults instantiates a new GetAccount200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetAccount200Response) GetData ¶
func (o *GetAccount200Response) GetData() AccountWithVolumesAndBalances
GetData returns the Data field value
func (*GetAccount200Response) GetDataOk ¶
func (o *GetAccount200Response) GetDataOk() (*AccountWithVolumesAndBalances, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (GetAccount200Response) MarshalJSON ¶
func (o GetAccount200Response) MarshalJSON() ([]byte, error)
func (*GetAccount200Response) SetData ¶
func (o *GetAccount200Response) SetData(v AccountWithVolumesAndBalances)
SetData sets field value
type GetAccount400Response ¶
type GetAccount400Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
GetAccount400Response struct for GetAccount400Response
func NewGetAccount400Response ¶
func NewGetAccount400Response(errorCode string) *GetAccount400Response
NewGetAccount400Response instantiates a new GetAccount400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetAccount400ResponseWithDefaults ¶
func NewGetAccount400ResponseWithDefaults() *GetAccount400Response
NewGetAccount400ResponseWithDefaults instantiates a new GetAccount400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetAccount400Response) GetErrorCode ¶
func (o *GetAccount400Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*GetAccount400Response) GetErrorCodeOk ¶
func (o *GetAccount400Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*GetAccount400Response) GetErrorMessage ¶
func (o *GetAccount400Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*GetAccount400Response) GetErrorMessageOk ¶
func (o *GetAccount400Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetAccount400Response) HasErrorMessage ¶
func (o *GetAccount400Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (GetAccount400Response) MarshalJSON ¶
func (o GetAccount400Response) MarshalJSON() ([]byte, error)
func (*GetAccount400Response) SetErrorCode ¶
func (o *GetAccount400Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*GetAccount400Response) SetErrorMessage ¶
func (o *GetAccount400Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type GetBalances200Response ¶
type GetBalances200Response struct {
Cursor GetBalances200ResponseCursor `json:"cursor"`
}
GetBalances200Response struct for GetBalances200Response
func NewGetBalances200Response ¶
func NewGetBalances200Response(cursor GetBalances200ResponseCursor) *GetBalances200Response
NewGetBalances200Response instantiates a new GetBalances200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBalances200ResponseWithDefaults ¶
func NewGetBalances200ResponseWithDefaults() *GetBalances200Response
NewGetBalances200ResponseWithDefaults instantiates a new GetBalances200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBalances200Response) GetCursor ¶
func (o *GetBalances200Response) GetCursor() GetBalances200ResponseCursor
GetCursor returns the Cursor field value
func (*GetBalances200Response) GetCursorOk ¶
func (o *GetBalances200Response) GetCursorOk() (*GetBalances200ResponseCursor, bool)
GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.
func (GetBalances200Response) MarshalJSON ¶
func (o GetBalances200Response) MarshalJSON() ([]byte, error)
func (*GetBalances200Response) SetCursor ¶
func (o *GetBalances200Response) SetCursor(v GetBalances200ResponseCursor)
SetCursor sets field value
type GetBalances200ResponseCursor ¶
type GetBalances200ResponseCursor struct { PageSize int32 `json:"page_size"` HasMore *bool `json:"has_more,omitempty"` Previous *string `json:"previous,omitempty"` Next *string `json:"next,omitempty"` Data []map[string]map[string]int32 `json:"data"` }
GetBalances200ResponseCursor struct for GetBalances200ResponseCursor
func NewGetBalances200ResponseCursor ¶
func NewGetBalances200ResponseCursor(pageSize int32, data []map[string]map[string]int32) *GetBalances200ResponseCursor
NewGetBalances200ResponseCursor instantiates a new GetBalances200ResponseCursor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBalances200ResponseCursorWithDefaults ¶
func NewGetBalances200ResponseCursorWithDefaults() *GetBalances200ResponseCursor
NewGetBalances200ResponseCursorWithDefaults instantiates a new GetBalances200ResponseCursor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBalances200ResponseCursor) GetData ¶
func (o *GetBalances200ResponseCursor) GetData() []map[string]map[string]int32
GetData returns the Data field value
func (*GetBalances200ResponseCursor) GetDataOk ¶
func (o *GetBalances200ResponseCursor) GetDataOk() (*[]map[string]map[string]int32, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*GetBalances200ResponseCursor) GetHasMore ¶
func (o *GetBalances200ResponseCursor) GetHasMore() bool
GetHasMore returns the HasMore field value if set, zero value otherwise.
func (*GetBalances200ResponseCursor) GetHasMoreOk ¶
func (o *GetBalances200ResponseCursor) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBalances200ResponseCursor) GetNext ¶
func (o *GetBalances200ResponseCursor) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*GetBalances200ResponseCursor) GetNextOk ¶
func (o *GetBalances200ResponseCursor) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBalances200ResponseCursor) GetPageSize ¶
func (o *GetBalances200ResponseCursor) GetPageSize() int32
GetPageSize returns the PageSize field value
func (*GetBalances200ResponseCursor) GetPageSizeOk ¶
func (o *GetBalances200ResponseCursor) GetPageSizeOk() (*int32, bool)
GetPageSizeOk returns a tuple with the PageSize field value and a boolean to check if the value has been set.
func (*GetBalances200ResponseCursor) GetPrevious ¶
func (o *GetBalances200ResponseCursor) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise.
func (*GetBalances200ResponseCursor) GetPreviousOk ¶
func (o *GetBalances200ResponseCursor) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBalances200ResponseCursor) HasHasMore ¶
func (o *GetBalances200ResponseCursor) HasHasMore() bool
HasHasMore returns a boolean if a field has been set.
func (*GetBalances200ResponseCursor) HasNext ¶
func (o *GetBalances200ResponseCursor) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*GetBalances200ResponseCursor) HasPrevious ¶
func (o *GetBalances200ResponseCursor) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (GetBalances200ResponseCursor) MarshalJSON ¶
func (o GetBalances200ResponseCursor) MarshalJSON() ([]byte, error)
func (*GetBalances200ResponseCursor) SetData ¶
func (o *GetBalances200ResponseCursor) SetData(v []map[string]map[string]int32)
SetData sets field value
func (*GetBalances200ResponseCursor) SetHasMore ¶
func (o *GetBalances200ResponseCursor) SetHasMore(v bool)
SetHasMore gets a reference to the given bool and assigns it to the HasMore field.
func (*GetBalances200ResponseCursor) SetNext ¶
func (o *GetBalances200ResponseCursor) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*GetBalances200ResponseCursor) SetPageSize ¶
func (o *GetBalances200ResponseCursor) SetPageSize(v int32)
SetPageSize sets field value
func (*GetBalances200ResponseCursor) SetPrevious ¶
func (o *GetBalances200ResponseCursor) SetPrevious(v string)
SetPrevious gets a reference to the given string and assigns it to the Previous field.
type GetBalances200ResponseCursorAllOf ¶
GetBalances200ResponseCursorAllOf struct for GetBalances200ResponseCursorAllOf
func NewGetBalances200ResponseCursorAllOf ¶
func NewGetBalances200ResponseCursorAllOf(data []map[string]map[string]int32) *GetBalances200ResponseCursorAllOf
NewGetBalances200ResponseCursorAllOf instantiates a new GetBalances200ResponseCursorAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBalances200ResponseCursorAllOfWithDefaults ¶
func NewGetBalances200ResponseCursorAllOfWithDefaults() *GetBalances200ResponseCursorAllOf
NewGetBalances200ResponseCursorAllOfWithDefaults instantiates a new GetBalances200ResponseCursorAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBalances200ResponseCursorAllOf) GetData ¶
func (o *GetBalances200ResponseCursorAllOf) GetData() []map[string]map[string]int32
GetData returns the Data field value
func (*GetBalances200ResponseCursorAllOf) GetDataOk ¶
func (o *GetBalances200ResponseCursorAllOf) GetDataOk() (*[]map[string]map[string]int32, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (GetBalances200ResponseCursorAllOf) MarshalJSON ¶
func (o GetBalances200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
type GetBalancesAggregated200Response ¶
GetBalancesAggregated200Response struct for GetBalancesAggregated200Response
func NewGetBalancesAggregated200Response ¶
func NewGetBalancesAggregated200Response(data map[string]int32) *GetBalancesAggregated200Response
NewGetBalancesAggregated200Response instantiates a new GetBalancesAggregated200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBalancesAggregated200ResponseWithDefaults ¶
func NewGetBalancesAggregated200ResponseWithDefaults() *GetBalancesAggregated200Response
NewGetBalancesAggregated200ResponseWithDefaults instantiates a new GetBalancesAggregated200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBalancesAggregated200Response) GetData ¶
func (o *GetBalancesAggregated200Response) GetData() map[string]int32
GetData returns the Data field value
func (*GetBalancesAggregated200Response) GetDataOk ¶
func (o *GetBalancesAggregated200Response) GetDataOk() (*map[string]int32, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (GetBalancesAggregated200Response) MarshalJSON ¶
func (o GetBalancesAggregated200Response) MarshalJSON() ([]byte, error)
func (*GetBalancesAggregated200Response) SetData ¶
func (o *GetBalancesAggregated200Response) SetData(v map[string]int32)
SetData sets field value
type GetBalancesAggregated400Response ¶
type GetBalancesAggregated400Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
GetBalancesAggregated400Response struct for GetBalancesAggregated400Response
func NewGetBalancesAggregated400Response ¶
func NewGetBalancesAggregated400Response(errorCode string) *GetBalancesAggregated400Response
NewGetBalancesAggregated400Response instantiates a new GetBalancesAggregated400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetBalancesAggregated400ResponseWithDefaults ¶
func NewGetBalancesAggregated400ResponseWithDefaults() *GetBalancesAggregated400Response
NewGetBalancesAggregated400ResponseWithDefaults instantiates a new GetBalancesAggregated400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetBalancesAggregated400Response) GetErrorCode ¶
func (o *GetBalancesAggregated400Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*GetBalancesAggregated400Response) GetErrorCodeOk ¶
func (o *GetBalancesAggregated400Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*GetBalancesAggregated400Response) GetErrorMessage ¶
func (o *GetBalancesAggregated400Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*GetBalancesAggregated400Response) GetErrorMessageOk ¶
func (o *GetBalancesAggregated400Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetBalancesAggregated400Response) HasErrorMessage ¶
func (o *GetBalancesAggregated400Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (GetBalancesAggregated400Response) MarshalJSON ¶
func (o GetBalancesAggregated400Response) MarshalJSON() ([]byte, error)
func (*GetBalancesAggregated400Response) SetErrorCode ¶
func (o *GetBalancesAggregated400Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*GetBalancesAggregated400Response) SetErrorMessage ¶
func (o *GetBalancesAggregated400Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type GetTransaction400Response ¶
type GetTransaction400Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
GetTransaction400Response struct for GetTransaction400Response
func NewGetTransaction400Response ¶
func NewGetTransaction400Response(errorCode string) *GetTransaction400Response
NewGetTransaction400Response instantiates a new GetTransaction400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetTransaction400ResponseWithDefaults ¶
func NewGetTransaction400ResponseWithDefaults() *GetTransaction400Response
NewGetTransaction400ResponseWithDefaults instantiates a new GetTransaction400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetTransaction400Response) GetErrorCode ¶
func (o *GetTransaction400Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*GetTransaction400Response) GetErrorCodeOk ¶
func (o *GetTransaction400Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*GetTransaction400Response) GetErrorMessage ¶
func (o *GetTransaction400Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*GetTransaction400Response) GetErrorMessageOk ¶
func (o *GetTransaction400Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetTransaction400Response) HasErrorMessage ¶
func (o *GetTransaction400Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (GetTransaction400Response) MarshalJSON ¶
func (o GetTransaction400Response) MarshalJSON() ([]byte, error)
func (*GetTransaction400Response) SetErrorCode ¶
func (o *GetTransaction400Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*GetTransaction400Response) SetErrorMessage ¶
func (o *GetTransaction400Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type GetTransaction404Response ¶
type GetTransaction404Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
GetTransaction404Response struct for GetTransaction404Response
func NewGetTransaction404Response ¶
func NewGetTransaction404Response(errorCode string) *GetTransaction404Response
NewGetTransaction404Response instantiates a new GetTransaction404Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGetTransaction404ResponseWithDefaults ¶
func NewGetTransaction404ResponseWithDefaults() *GetTransaction404Response
NewGetTransaction404ResponseWithDefaults instantiates a new GetTransaction404Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GetTransaction404Response) GetErrorCode ¶
func (o *GetTransaction404Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*GetTransaction404Response) GetErrorCodeOk ¶
func (o *GetTransaction404Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*GetTransaction404Response) GetErrorMessage ¶
func (o *GetTransaction404Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*GetTransaction404Response) GetErrorMessageOk ¶
func (o *GetTransaction404Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetTransaction404Response) HasErrorMessage ¶
func (o *GetTransaction404Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (GetTransaction404Response) MarshalJSON ¶
func (o GetTransaction404Response) MarshalJSON() ([]byte, error)
func (*GetTransaction404Response) SetErrorCode ¶
func (o *GetTransaction404Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*GetTransaction404Response) SetErrorMessage ¶
func (o *GetTransaction404Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type LedgerStorage ¶
LedgerStorage struct for LedgerStorage
func NewLedgerStorage ¶
func NewLedgerStorage(driver string, ledgers []string) *LedgerStorage
NewLedgerStorage instantiates a new LedgerStorage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLedgerStorageWithDefaults ¶
func NewLedgerStorageWithDefaults() *LedgerStorage
NewLedgerStorageWithDefaults instantiates a new LedgerStorage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LedgerStorage) GetDriver ¶
func (o *LedgerStorage) GetDriver() string
GetDriver returns the Driver field value
func (*LedgerStorage) GetDriverOk ¶
func (o *LedgerStorage) GetDriverOk() (*string, bool)
GetDriverOk returns a tuple with the Driver field value and a boolean to check if the value has been set.
func (*LedgerStorage) GetLedgers ¶
func (o *LedgerStorage) GetLedgers() []string
GetLedgers returns the Ledgers field value
func (*LedgerStorage) GetLedgersOk ¶
func (o *LedgerStorage) GetLedgersOk() (*[]string, bool)
GetLedgersOk returns a tuple with the Ledgers field value and a boolean to check if the value has been set.
func (LedgerStorage) MarshalJSON ¶
func (o LedgerStorage) MarshalJSON() ([]byte, error)
func (*LedgerStorage) SetDriver ¶
func (o *LedgerStorage) SetDriver(v string)
SetDriver sets field value
func (*LedgerStorage) SetLedgers ¶
func (o *LedgerStorage) SetLedgers(v []string)
SetLedgers sets field value
type ListAccounts200Response ¶
type ListAccounts200Response struct {
Cursor ListAccounts200ResponseCursor `json:"cursor"`
}
ListAccounts200Response struct for ListAccounts200Response
func NewListAccounts200Response ¶
func NewListAccounts200Response(cursor ListAccounts200ResponseCursor) *ListAccounts200Response
NewListAccounts200Response instantiates a new ListAccounts200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAccounts200ResponseWithDefaults ¶
func NewListAccounts200ResponseWithDefaults() *ListAccounts200Response
NewListAccounts200ResponseWithDefaults instantiates a new ListAccounts200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAccounts200Response) GetCursor ¶
func (o *ListAccounts200Response) GetCursor() ListAccounts200ResponseCursor
GetCursor returns the Cursor field value
func (*ListAccounts200Response) GetCursorOk ¶
func (o *ListAccounts200Response) GetCursorOk() (*ListAccounts200ResponseCursor, bool)
GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.
func (ListAccounts200Response) MarshalJSON ¶
func (o ListAccounts200Response) MarshalJSON() ([]byte, error)
func (*ListAccounts200Response) SetCursor ¶
func (o *ListAccounts200Response) SetCursor(v ListAccounts200ResponseCursor)
SetCursor sets field value
type ListAccounts200ResponseCursor ¶
type ListAccounts200ResponseCursor struct { PageSize int32 `json:"page_size"` HasMore *bool `json:"has_more,omitempty"` Previous *string `json:"previous,omitempty"` Next *string `json:"next,omitempty"` Data []Account `json:"data"` }
ListAccounts200ResponseCursor struct for ListAccounts200ResponseCursor
func NewListAccounts200ResponseCursor ¶
func NewListAccounts200ResponseCursor(pageSize int32, data []Account) *ListAccounts200ResponseCursor
NewListAccounts200ResponseCursor instantiates a new ListAccounts200ResponseCursor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAccounts200ResponseCursorWithDefaults ¶
func NewListAccounts200ResponseCursorWithDefaults() *ListAccounts200ResponseCursor
NewListAccounts200ResponseCursorWithDefaults instantiates a new ListAccounts200ResponseCursor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAccounts200ResponseCursor) GetData ¶
func (o *ListAccounts200ResponseCursor) GetData() []Account
GetData returns the Data field value
func (*ListAccounts200ResponseCursor) GetDataOk ¶
func (o *ListAccounts200ResponseCursor) GetDataOk() (*[]Account, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ListAccounts200ResponseCursor) GetHasMore ¶
func (o *ListAccounts200ResponseCursor) GetHasMore() bool
GetHasMore returns the HasMore field value if set, zero value otherwise.
func (*ListAccounts200ResponseCursor) GetHasMoreOk ¶
func (o *ListAccounts200ResponseCursor) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAccounts200ResponseCursor) GetNext ¶
func (o *ListAccounts200ResponseCursor) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*ListAccounts200ResponseCursor) GetNextOk ¶
func (o *ListAccounts200ResponseCursor) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAccounts200ResponseCursor) GetPageSize ¶
func (o *ListAccounts200ResponseCursor) GetPageSize() int32
GetPageSize returns the PageSize field value
func (*ListAccounts200ResponseCursor) GetPageSizeOk ¶
func (o *ListAccounts200ResponseCursor) GetPageSizeOk() (*int32, bool)
GetPageSizeOk returns a tuple with the PageSize field value and a boolean to check if the value has been set.
func (*ListAccounts200ResponseCursor) GetPrevious ¶
func (o *ListAccounts200ResponseCursor) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise.
func (*ListAccounts200ResponseCursor) GetPreviousOk ¶
func (o *ListAccounts200ResponseCursor) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAccounts200ResponseCursor) HasHasMore ¶
func (o *ListAccounts200ResponseCursor) HasHasMore() bool
HasHasMore returns a boolean if a field has been set.
func (*ListAccounts200ResponseCursor) HasNext ¶
func (o *ListAccounts200ResponseCursor) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*ListAccounts200ResponseCursor) HasPrevious ¶
func (o *ListAccounts200ResponseCursor) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (ListAccounts200ResponseCursor) MarshalJSON ¶
func (o ListAccounts200ResponseCursor) MarshalJSON() ([]byte, error)
func (*ListAccounts200ResponseCursor) SetData ¶
func (o *ListAccounts200ResponseCursor) SetData(v []Account)
SetData sets field value
func (*ListAccounts200ResponseCursor) SetHasMore ¶
func (o *ListAccounts200ResponseCursor) SetHasMore(v bool)
SetHasMore gets a reference to the given bool and assigns it to the HasMore field.
func (*ListAccounts200ResponseCursor) SetNext ¶
func (o *ListAccounts200ResponseCursor) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*ListAccounts200ResponseCursor) SetPageSize ¶
func (o *ListAccounts200ResponseCursor) SetPageSize(v int32)
SetPageSize sets field value
func (*ListAccounts200ResponseCursor) SetPrevious ¶
func (o *ListAccounts200ResponseCursor) SetPrevious(v string)
SetPrevious gets a reference to the given string and assigns it to the Previous field.
type ListAccounts200ResponseCursorAllOf ¶
type ListAccounts200ResponseCursorAllOf struct {
Data []Account `json:"data"`
}
ListAccounts200ResponseCursorAllOf struct for ListAccounts200ResponseCursorAllOf
func NewListAccounts200ResponseCursorAllOf ¶
func NewListAccounts200ResponseCursorAllOf(data []Account) *ListAccounts200ResponseCursorAllOf
NewListAccounts200ResponseCursorAllOf instantiates a new ListAccounts200ResponseCursorAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAccounts200ResponseCursorAllOfWithDefaults ¶
func NewListAccounts200ResponseCursorAllOfWithDefaults() *ListAccounts200ResponseCursorAllOf
NewListAccounts200ResponseCursorAllOfWithDefaults instantiates a new ListAccounts200ResponseCursorAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAccounts200ResponseCursorAllOf) GetData ¶
func (o *ListAccounts200ResponseCursorAllOf) GetData() []Account
GetData returns the Data field value
func (*ListAccounts200ResponseCursorAllOf) GetDataOk ¶
func (o *ListAccounts200ResponseCursorAllOf) GetDataOk() (*[]Account, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ListAccounts200ResponseCursorAllOf) MarshalJSON ¶
func (o ListAccounts200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
func (*ListAccounts200ResponseCursorAllOf) SetData ¶
func (o *ListAccounts200ResponseCursorAllOf) SetData(v []Account)
SetData sets field value
type ListAccounts400Response ¶
type ListAccounts400Response struct { ErrorCode string `json:"error_code"` ErrorMessage *string `json:"error_message,omitempty"` }
ListAccounts400Response struct for ListAccounts400Response
func NewListAccounts400Response ¶
func NewListAccounts400Response(errorCode string) *ListAccounts400Response
NewListAccounts400Response instantiates a new ListAccounts400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListAccounts400ResponseWithDefaults ¶
func NewListAccounts400ResponseWithDefaults() *ListAccounts400Response
NewListAccounts400ResponseWithDefaults instantiates a new ListAccounts400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListAccounts400Response) GetErrorCode ¶
func (o *ListAccounts400Response) GetErrorCode() string
GetErrorCode returns the ErrorCode field value
func (*ListAccounts400Response) GetErrorCodeOk ¶
func (o *ListAccounts400Response) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*ListAccounts400Response) GetErrorMessage ¶
func (o *ListAccounts400Response) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*ListAccounts400Response) GetErrorMessageOk ¶
func (o *ListAccounts400Response) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListAccounts400Response) HasErrorMessage ¶
func (o *ListAccounts400Response) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (ListAccounts400Response) MarshalJSON ¶
func (o ListAccounts400Response) MarshalJSON() ([]byte, error)
func (*ListAccounts400Response) SetErrorCode ¶
func (o *ListAccounts400Response) SetErrorCode(v string)
SetErrorCode sets field value
func (*ListAccounts400Response) SetErrorMessage ¶
func (o *ListAccounts400Response) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
type ListTransactions200Response ¶
type ListTransactions200Response struct {
Cursor ListTransactions200ResponseCursor `json:"cursor"`
}
ListTransactions200Response struct for ListTransactions200Response
func NewListTransactions200Response ¶
func NewListTransactions200Response(cursor ListTransactions200ResponseCursor) *ListTransactions200Response
NewListTransactions200Response instantiates a new ListTransactions200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListTransactions200ResponseWithDefaults ¶
func NewListTransactions200ResponseWithDefaults() *ListTransactions200Response
NewListTransactions200ResponseWithDefaults instantiates a new ListTransactions200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListTransactions200Response) GetCursor ¶
func (o *ListTransactions200Response) GetCursor() ListTransactions200ResponseCursor
GetCursor returns the Cursor field value
func (*ListTransactions200Response) GetCursorOk ¶
func (o *ListTransactions200Response) GetCursorOk() (*ListTransactions200ResponseCursor, bool)
GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.
func (ListTransactions200Response) MarshalJSON ¶
func (o ListTransactions200Response) MarshalJSON() ([]byte, error)
func (*ListTransactions200Response) SetCursor ¶
func (o *ListTransactions200Response) SetCursor(v ListTransactions200ResponseCursor)
SetCursor sets field value
type ListTransactions200ResponseCursor ¶
type ListTransactions200ResponseCursor struct { PageSize int32 `json:"page_size"` HasMore *bool `json:"has_more,omitempty"` Previous *string `json:"previous,omitempty"` Next *string `json:"next,omitempty"` Data []Transaction `json:"data"` }
ListTransactions200ResponseCursor struct for ListTransactions200ResponseCursor
func NewListTransactions200ResponseCursor ¶
func NewListTransactions200ResponseCursor(pageSize int32, data []Transaction) *ListTransactions200ResponseCursor
NewListTransactions200ResponseCursor instantiates a new ListTransactions200ResponseCursor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListTransactions200ResponseCursorWithDefaults ¶
func NewListTransactions200ResponseCursorWithDefaults() *ListTransactions200ResponseCursor
NewListTransactions200ResponseCursorWithDefaults instantiates a new ListTransactions200ResponseCursor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListTransactions200ResponseCursor) GetData ¶
func (o *ListTransactions200ResponseCursor) GetData() []Transaction
GetData returns the Data field value
func (*ListTransactions200ResponseCursor) GetDataOk ¶
func (o *ListTransactions200ResponseCursor) GetDataOk() (*[]Transaction, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ListTransactions200ResponseCursor) GetHasMore ¶
func (o *ListTransactions200ResponseCursor) GetHasMore() bool
GetHasMore returns the HasMore field value if set, zero value otherwise.
func (*ListTransactions200ResponseCursor) GetHasMoreOk ¶
func (o *ListTransactions200ResponseCursor) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListTransactions200ResponseCursor) GetNext ¶
func (o *ListTransactions200ResponseCursor) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*ListTransactions200ResponseCursor) GetNextOk ¶
func (o *ListTransactions200ResponseCursor) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListTransactions200ResponseCursor) GetPageSize ¶
func (o *ListTransactions200ResponseCursor) GetPageSize() int32
GetPageSize returns the PageSize field value
func (*ListTransactions200ResponseCursor) GetPageSizeOk ¶
func (o *ListTransactions200ResponseCursor) GetPageSizeOk() (*int32, bool)
GetPageSizeOk returns a tuple with the PageSize field value and a boolean to check if the value has been set.
func (*ListTransactions200ResponseCursor) GetPrevious ¶
func (o *ListTransactions200ResponseCursor) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise.
func (*ListTransactions200ResponseCursor) GetPreviousOk ¶
func (o *ListTransactions200ResponseCursor) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListTransactions200ResponseCursor) HasHasMore ¶
func (o *ListTransactions200ResponseCursor) HasHasMore() bool
HasHasMore returns a boolean if a field has been set.
func (*ListTransactions200ResponseCursor) HasNext ¶
func (o *ListTransactions200ResponseCursor) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*ListTransactions200ResponseCursor) HasPrevious ¶
func (o *ListTransactions200ResponseCursor) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (ListTransactions200ResponseCursor) MarshalJSON ¶
func (o ListTransactions200ResponseCursor) MarshalJSON() ([]byte, error)
func (*ListTransactions200ResponseCursor) SetData ¶
func (o *ListTransactions200ResponseCursor) SetData(v []Transaction)
SetData sets field value
func (*ListTransactions200ResponseCursor) SetHasMore ¶
func (o *ListTransactions200ResponseCursor) SetHasMore(v bool)
SetHasMore gets a reference to the given bool and assigns it to the HasMore field.
func (*ListTransactions200ResponseCursor) SetNext ¶
func (o *ListTransactions200ResponseCursor) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*ListTransactions200ResponseCursor) SetPageSize ¶
func (o *ListTransactions200ResponseCursor) SetPageSize(v int32)
SetPageSize sets field value
func (*ListTransactions200ResponseCursor) SetPrevious ¶
func (o *ListTransactions200ResponseCursor) SetPrevious(v string)
SetPrevious gets a reference to the given string and assigns it to the Previous field.
type ListTransactions200ResponseCursorAllOf ¶
type ListTransactions200ResponseCursorAllOf struct {
Data []Transaction `json:"data"`
}
ListTransactions200ResponseCursorAllOf struct for ListTransactions200ResponseCursorAllOf
func NewListTransactions200ResponseCursorAllOf ¶
func NewListTransactions200ResponseCursorAllOf(data []Transaction) *ListTransactions200ResponseCursorAllOf
NewListTransactions200ResponseCursorAllOf instantiates a new ListTransactions200ResponseCursorAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListTransactions200ResponseCursorAllOfWithDefaults ¶
func NewListTransactions200ResponseCursorAllOfWithDefaults() *ListTransactions200ResponseCursorAllOf
NewListTransactions200ResponseCursorAllOfWithDefaults instantiates a new ListTransactions200ResponseCursorAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListTransactions200ResponseCursorAllOf) GetData ¶
func (o *ListTransactions200ResponseCursorAllOf) GetData() []Transaction
GetData returns the Data field value
func (*ListTransactions200ResponseCursorAllOf) GetDataOk ¶
func (o *ListTransactions200ResponseCursorAllOf) GetDataOk() (*[]Transaction, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ListTransactions200ResponseCursorAllOf) MarshalJSON ¶
func (o ListTransactions200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
func (*ListTransactions200ResponseCursorAllOf) SetData ¶
func (o *ListTransactions200ResponseCursorAllOf) SetData(v []Transaction)
SetData sets field value
type MappedNullable ¶
type Mapping ¶
type Mapping struct {
Contracts []Contract `json:"contracts"`
}
Mapping struct for Mapping
func NewMapping ¶
NewMapping instantiates a new Mapping object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMappingWithDefaults ¶
func NewMappingWithDefaults() *Mapping
NewMappingWithDefaults instantiates a new Mapping object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Mapping) GetContracts ¶
GetContracts returns the Contracts field value
func (*Mapping) GetContractsOk ¶
GetContractsOk returns a tuple with the Contracts field value and a boolean to check if the value has been set.
func (Mapping) MarshalJSON ¶
func (*Mapping) SetContracts ¶
SetContracts sets field value
type MappingApiService ¶
type MappingApiService service
MappingApiService MappingApi service
func (*MappingApiService) GetMapping ¶
func (a *MappingApiService) GetMapping(ctx _context.Context, ledger string) ApiGetMappingRequest
GetMapping Get the mapping of a ledger.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiGetMappingRequest
func (*MappingApiService) GetMappingExecute ¶
func (a *MappingApiService) GetMappingExecute(r ApiGetMappingRequest) (MappingResponse, *_nethttp.Response, error)
Execute executes the request
@return MappingResponse
func (*MappingApiService) UpdateMapping ¶
func (a *MappingApiService) UpdateMapping(ctx _context.Context, ledger string) ApiUpdateMappingRequest
UpdateMapping Update the mapping of a ledger.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiUpdateMappingRequest
func (*MappingApiService) UpdateMappingExecute ¶
func (a *MappingApiService) UpdateMappingExecute(r ApiUpdateMappingRequest) (MappingResponse, *_nethttp.Response, error)
Execute executes the request
@return MappingResponse
type MappingResponse ¶
type MappingResponse struct {
Data NullableMapping `json:"data,omitempty"`
}
MappingResponse struct for MappingResponse
func NewMappingResponse ¶
func NewMappingResponse() *MappingResponse
NewMappingResponse instantiates a new MappingResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMappingResponseWithDefaults ¶
func NewMappingResponseWithDefaults() *MappingResponse
NewMappingResponseWithDefaults instantiates a new MappingResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MappingResponse) GetData ¶
func (o *MappingResponse) GetData() Mapping
GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MappingResponse) GetDataOk ¶
func (o *MappingResponse) GetDataOk() (*Mapping, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*MappingResponse) HasData ¶
func (o *MappingResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (MappingResponse) MarshalJSON ¶
func (o MappingResponse) MarshalJSON() ([]byte, error)
func (*MappingResponse) SetData ¶
func (o *MappingResponse) SetData(v Mapping)
SetData gets a reference to the given NullableMapping and assigns it to the Data field.
func (*MappingResponse) SetDataNil ¶
func (o *MappingResponse) SetDataNil()
SetDataNil sets the value for Data to be an explicit nil
func (*MappingResponse) UnsetData ¶
func (o *MappingResponse) UnsetData()
UnsetData ensures that no value is present for Data, not even an explicit nil
type NullableAccount ¶
type NullableAccount struct {
// contains filtered or unexported fields
}
func NewNullableAccount ¶
func NewNullableAccount(val *Account) *NullableAccount
func (NullableAccount) Get ¶
func (v NullableAccount) Get() *Account
func (NullableAccount) IsSet ¶
func (v NullableAccount) IsSet() bool
func (NullableAccount) MarshalJSON ¶
func (v NullableAccount) MarshalJSON() ([]byte, error)
func (*NullableAccount) Set ¶
func (v *NullableAccount) Set(val *Account)
func (*NullableAccount) UnmarshalJSON ¶
func (v *NullableAccount) UnmarshalJSON(src []byte) error
func (*NullableAccount) Unset ¶
func (v *NullableAccount) Unset()
type NullableAccountWithVolumesAndBalances ¶
type NullableAccountWithVolumesAndBalances struct {
// contains filtered or unexported fields
}
func NewNullableAccountWithVolumesAndBalances ¶
func NewNullableAccountWithVolumesAndBalances(val *AccountWithVolumesAndBalances) *NullableAccountWithVolumesAndBalances
func (NullableAccountWithVolumesAndBalances) Get ¶
func (v NullableAccountWithVolumesAndBalances) Get() *AccountWithVolumesAndBalances
func (NullableAccountWithVolumesAndBalances) IsSet ¶
func (v NullableAccountWithVolumesAndBalances) IsSet() bool
func (NullableAccountWithVolumesAndBalances) MarshalJSON ¶
func (v NullableAccountWithVolumesAndBalances) MarshalJSON() ([]byte, error)
func (*NullableAccountWithVolumesAndBalances) Set ¶
func (v *NullableAccountWithVolumesAndBalances) Set(val *AccountWithVolumesAndBalances)
func (*NullableAccountWithVolumesAndBalances) UnmarshalJSON ¶
func (v *NullableAccountWithVolumesAndBalances) UnmarshalJSON(src []byte) error
func (*NullableAccountWithVolumesAndBalances) Unset ¶
func (v *NullableAccountWithVolumesAndBalances) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableConfig ¶
type NullableConfig struct {
// contains filtered or unexported fields
}
func NewNullableConfig ¶
func NewNullableConfig(val *Config) *NullableConfig
func (NullableConfig) Get ¶
func (v NullableConfig) Get() *Config
func (NullableConfig) IsSet ¶
func (v NullableConfig) IsSet() bool
func (NullableConfig) MarshalJSON ¶
func (v NullableConfig) MarshalJSON() ([]byte, error)
func (*NullableConfig) Set ¶
func (v *NullableConfig) Set(val *Config)
func (*NullableConfig) UnmarshalJSON ¶
func (v *NullableConfig) UnmarshalJSON(src []byte) error
func (*NullableConfig) Unset ¶
func (v *NullableConfig) Unset()
type NullableConfigInfo ¶
type NullableConfigInfo struct {
// contains filtered or unexported fields
}
func NewNullableConfigInfo ¶
func NewNullableConfigInfo(val *ConfigInfo) *NullableConfigInfo
func (NullableConfigInfo) Get ¶
func (v NullableConfigInfo) Get() *ConfigInfo
func (NullableConfigInfo) IsSet ¶
func (v NullableConfigInfo) IsSet() bool
func (NullableConfigInfo) MarshalJSON ¶
func (v NullableConfigInfo) MarshalJSON() ([]byte, error)
func (*NullableConfigInfo) Set ¶
func (v *NullableConfigInfo) Set(val *ConfigInfo)
func (*NullableConfigInfo) UnmarshalJSON ¶
func (v *NullableConfigInfo) UnmarshalJSON(src []byte) error
func (*NullableConfigInfo) Unset ¶
func (v *NullableConfigInfo) Unset()
type NullableConfigInfoResponse ¶
type NullableConfigInfoResponse struct {
// contains filtered or unexported fields
}
func NewNullableConfigInfoResponse ¶
func NewNullableConfigInfoResponse(val *ConfigInfoResponse) *NullableConfigInfoResponse
func (NullableConfigInfoResponse) Get ¶
func (v NullableConfigInfoResponse) Get() *ConfigInfoResponse
func (NullableConfigInfoResponse) IsSet ¶
func (v NullableConfigInfoResponse) IsSet() bool
func (NullableConfigInfoResponse) MarshalJSON ¶
func (v NullableConfigInfoResponse) MarshalJSON() ([]byte, error)
func (*NullableConfigInfoResponse) Set ¶
func (v *NullableConfigInfoResponse) Set(val *ConfigInfoResponse)
func (*NullableConfigInfoResponse) UnmarshalJSON ¶
func (v *NullableConfigInfoResponse) UnmarshalJSON(src []byte) error
func (*NullableConfigInfoResponse) Unset ¶
func (v *NullableConfigInfoResponse) Unset()
type NullableContract ¶
type NullableContract struct {
// contains filtered or unexported fields
}
func NewNullableContract ¶
func NewNullableContract(val *Contract) *NullableContract
func (NullableContract) Get ¶
func (v NullableContract) Get() *Contract
func (NullableContract) IsSet ¶
func (v NullableContract) IsSet() bool
func (NullableContract) MarshalJSON ¶
func (v NullableContract) MarshalJSON() ([]byte, error)
func (*NullableContract) Set ¶
func (v *NullableContract) Set(val *Contract)
func (*NullableContract) UnmarshalJSON ¶
func (v *NullableContract) UnmarshalJSON(src []byte) error
func (*NullableContract) Unset ¶
func (v *NullableContract) Unset()
type NullableCreateTransaction400Response ¶
type NullableCreateTransaction400Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateTransaction400Response ¶
func NewNullableCreateTransaction400Response(val *CreateTransaction400Response) *NullableCreateTransaction400Response
func (NullableCreateTransaction400Response) Get ¶
func (v NullableCreateTransaction400Response) Get() *CreateTransaction400Response
func (NullableCreateTransaction400Response) IsSet ¶
func (v NullableCreateTransaction400Response) IsSet() bool
func (NullableCreateTransaction400Response) MarshalJSON ¶
func (v NullableCreateTransaction400Response) MarshalJSON() ([]byte, error)
func (*NullableCreateTransaction400Response) Set ¶
func (v *NullableCreateTransaction400Response) Set(val *CreateTransaction400Response)
func (*NullableCreateTransaction400Response) UnmarshalJSON ¶
func (v *NullableCreateTransaction400Response) UnmarshalJSON(src []byte) error
func (*NullableCreateTransaction400Response) Unset ¶
func (v *NullableCreateTransaction400Response) Unset()
type NullableCreateTransaction409Response ¶
type NullableCreateTransaction409Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateTransaction409Response ¶
func NewNullableCreateTransaction409Response(val *CreateTransaction409Response) *NullableCreateTransaction409Response
func (NullableCreateTransaction409Response) Get ¶
func (v NullableCreateTransaction409Response) Get() *CreateTransaction409Response
func (NullableCreateTransaction409Response) IsSet ¶
func (v NullableCreateTransaction409Response) IsSet() bool
func (NullableCreateTransaction409Response) MarshalJSON ¶
func (v NullableCreateTransaction409Response) MarshalJSON() ([]byte, error)
func (*NullableCreateTransaction409Response) Set ¶
func (v *NullableCreateTransaction409Response) Set(val *CreateTransaction409Response)
func (*NullableCreateTransaction409Response) UnmarshalJSON ¶
func (v *NullableCreateTransaction409Response) UnmarshalJSON(src []byte) error
func (*NullableCreateTransaction409Response) Unset ¶
func (v *NullableCreateTransaction409Response) Unset()
type NullableCreateTransactions400Response ¶
type NullableCreateTransactions400Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateTransactions400Response ¶
func NewNullableCreateTransactions400Response(val *CreateTransactions400Response) *NullableCreateTransactions400Response
func (NullableCreateTransactions400Response) Get ¶
func (v NullableCreateTransactions400Response) Get() *CreateTransactions400Response
func (NullableCreateTransactions400Response) IsSet ¶
func (v NullableCreateTransactions400Response) IsSet() bool
func (NullableCreateTransactions400Response) MarshalJSON ¶
func (v NullableCreateTransactions400Response) MarshalJSON() ([]byte, error)
func (*NullableCreateTransactions400Response) Set ¶
func (v *NullableCreateTransactions400Response) Set(val *CreateTransactions400Response)
func (*NullableCreateTransactions400Response) UnmarshalJSON ¶
func (v *NullableCreateTransactions400Response) UnmarshalJSON(src []byte) error
func (*NullableCreateTransactions400Response) Unset ¶
func (v *NullableCreateTransactions400Response) Unset()
type NullableCursor ¶
type NullableCursor struct {
// contains filtered or unexported fields
}
func NewNullableCursor ¶
func NewNullableCursor(val *Cursor) *NullableCursor
func (NullableCursor) Get ¶
func (v NullableCursor) Get() *Cursor
func (NullableCursor) IsSet ¶
func (v NullableCursor) IsSet() bool
func (NullableCursor) MarshalJSON ¶
func (v NullableCursor) MarshalJSON() ([]byte, error)
func (*NullableCursor) Set ¶
func (v *NullableCursor) Set(val *Cursor)
func (*NullableCursor) UnmarshalJSON ¶
func (v *NullableCursor) UnmarshalJSON(src []byte) error
func (*NullableCursor) Unset ¶
func (v *NullableCursor) Unset()
type NullableErrorCode ¶
type NullableErrorCode struct {
// contains filtered or unexported fields
}
func NewNullableErrorCode ¶
func NewNullableErrorCode(val *ErrorCode) *NullableErrorCode
func (NullableErrorCode) Get ¶
func (v NullableErrorCode) Get() *ErrorCode
func (NullableErrorCode) IsSet ¶
func (v NullableErrorCode) IsSet() bool
func (NullableErrorCode) MarshalJSON ¶
func (v NullableErrorCode) MarshalJSON() ([]byte, error)
func (*NullableErrorCode) Set ¶
func (v *NullableErrorCode) Set(val *ErrorCode)
func (*NullableErrorCode) UnmarshalJSON ¶
func (v *NullableErrorCode) UnmarshalJSON(src []byte) error
func (*NullableErrorCode) Unset ¶
func (v *NullableErrorCode) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetAccount200Response ¶
type NullableGetAccount200Response struct {
// contains filtered or unexported fields
}
func NewNullableGetAccount200Response ¶
func NewNullableGetAccount200Response(val *GetAccount200Response) *NullableGetAccount200Response
func (NullableGetAccount200Response) Get ¶
func (v NullableGetAccount200Response) Get() *GetAccount200Response
func (NullableGetAccount200Response) IsSet ¶
func (v NullableGetAccount200Response) IsSet() bool
func (NullableGetAccount200Response) MarshalJSON ¶
func (v NullableGetAccount200Response) MarshalJSON() ([]byte, error)
func (*NullableGetAccount200Response) Set ¶
func (v *NullableGetAccount200Response) Set(val *GetAccount200Response)
func (*NullableGetAccount200Response) UnmarshalJSON ¶
func (v *NullableGetAccount200Response) UnmarshalJSON(src []byte) error
func (*NullableGetAccount200Response) Unset ¶
func (v *NullableGetAccount200Response) Unset()
type NullableGetAccount400Response ¶
type NullableGetAccount400Response struct {
// contains filtered or unexported fields
}
func NewNullableGetAccount400Response ¶
func NewNullableGetAccount400Response(val *GetAccount400Response) *NullableGetAccount400Response
func (NullableGetAccount400Response) Get ¶
func (v NullableGetAccount400Response) Get() *GetAccount400Response
func (NullableGetAccount400Response) IsSet ¶
func (v NullableGetAccount400Response) IsSet() bool
func (NullableGetAccount400Response) MarshalJSON ¶
func (v NullableGetAccount400Response) MarshalJSON() ([]byte, error)
func (*NullableGetAccount400Response) Set ¶
func (v *NullableGetAccount400Response) Set(val *GetAccount400Response)
func (*NullableGetAccount400Response) UnmarshalJSON ¶
func (v *NullableGetAccount400Response) UnmarshalJSON(src []byte) error
func (*NullableGetAccount400Response) Unset ¶
func (v *NullableGetAccount400Response) Unset()
type NullableGetBalances200Response ¶
type NullableGetBalances200Response struct {
// contains filtered or unexported fields
}
func NewNullableGetBalances200Response ¶
func NewNullableGetBalances200Response(val *GetBalances200Response) *NullableGetBalances200Response
func (NullableGetBalances200Response) Get ¶
func (v NullableGetBalances200Response) Get() *GetBalances200Response
func (NullableGetBalances200Response) IsSet ¶
func (v NullableGetBalances200Response) IsSet() bool
func (NullableGetBalances200Response) MarshalJSON ¶
func (v NullableGetBalances200Response) MarshalJSON() ([]byte, error)
func (*NullableGetBalances200Response) Set ¶
func (v *NullableGetBalances200Response) Set(val *GetBalances200Response)
func (*NullableGetBalances200Response) UnmarshalJSON ¶
func (v *NullableGetBalances200Response) UnmarshalJSON(src []byte) error
func (*NullableGetBalances200Response) Unset ¶
func (v *NullableGetBalances200Response) Unset()
type NullableGetBalances200ResponseCursor ¶
type NullableGetBalances200ResponseCursor struct {
// contains filtered or unexported fields
}
func NewNullableGetBalances200ResponseCursor ¶
func NewNullableGetBalances200ResponseCursor(val *GetBalances200ResponseCursor) *NullableGetBalances200ResponseCursor
func (NullableGetBalances200ResponseCursor) Get ¶
func (v NullableGetBalances200ResponseCursor) Get() *GetBalances200ResponseCursor
func (NullableGetBalances200ResponseCursor) IsSet ¶
func (v NullableGetBalances200ResponseCursor) IsSet() bool
func (NullableGetBalances200ResponseCursor) MarshalJSON ¶
func (v NullableGetBalances200ResponseCursor) MarshalJSON() ([]byte, error)
func (*NullableGetBalances200ResponseCursor) Set ¶
func (v *NullableGetBalances200ResponseCursor) Set(val *GetBalances200ResponseCursor)
func (*NullableGetBalances200ResponseCursor) UnmarshalJSON ¶
func (v *NullableGetBalances200ResponseCursor) UnmarshalJSON(src []byte) error
func (*NullableGetBalances200ResponseCursor) Unset ¶
func (v *NullableGetBalances200ResponseCursor) Unset()
type NullableGetBalances200ResponseCursorAllOf ¶
type NullableGetBalances200ResponseCursorAllOf struct {
// contains filtered or unexported fields
}
func NewNullableGetBalances200ResponseCursorAllOf ¶
func NewNullableGetBalances200ResponseCursorAllOf(val *GetBalances200ResponseCursorAllOf) *NullableGetBalances200ResponseCursorAllOf
func (NullableGetBalances200ResponseCursorAllOf) IsSet ¶
func (v NullableGetBalances200ResponseCursorAllOf) IsSet() bool
func (NullableGetBalances200ResponseCursorAllOf) MarshalJSON ¶
func (v NullableGetBalances200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
func (*NullableGetBalances200ResponseCursorAllOf) Set ¶
func (v *NullableGetBalances200ResponseCursorAllOf) Set(val *GetBalances200ResponseCursorAllOf)
func (*NullableGetBalances200ResponseCursorAllOf) UnmarshalJSON ¶
func (v *NullableGetBalances200ResponseCursorAllOf) UnmarshalJSON(src []byte) error
func (*NullableGetBalances200ResponseCursorAllOf) Unset ¶
func (v *NullableGetBalances200ResponseCursorAllOf) Unset()
type NullableGetBalancesAggregated200Response ¶
type NullableGetBalancesAggregated200Response struct {
// contains filtered or unexported fields
}
func NewNullableGetBalancesAggregated200Response ¶
func NewNullableGetBalancesAggregated200Response(val *GetBalancesAggregated200Response) *NullableGetBalancesAggregated200Response
func (NullableGetBalancesAggregated200Response) IsSet ¶
func (v NullableGetBalancesAggregated200Response) IsSet() bool
func (NullableGetBalancesAggregated200Response) MarshalJSON ¶
func (v NullableGetBalancesAggregated200Response) MarshalJSON() ([]byte, error)
func (*NullableGetBalancesAggregated200Response) Set ¶
func (v *NullableGetBalancesAggregated200Response) Set(val *GetBalancesAggregated200Response)
func (*NullableGetBalancesAggregated200Response) UnmarshalJSON ¶
func (v *NullableGetBalancesAggregated200Response) UnmarshalJSON(src []byte) error
func (*NullableGetBalancesAggregated200Response) Unset ¶
func (v *NullableGetBalancesAggregated200Response) Unset()
type NullableGetBalancesAggregated400Response ¶
type NullableGetBalancesAggregated400Response struct {
// contains filtered or unexported fields
}
func NewNullableGetBalancesAggregated400Response ¶
func NewNullableGetBalancesAggregated400Response(val *GetBalancesAggregated400Response) *NullableGetBalancesAggregated400Response
func (NullableGetBalancesAggregated400Response) IsSet ¶
func (v NullableGetBalancesAggregated400Response) IsSet() bool
func (NullableGetBalancesAggregated400Response) MarshalJSON ¶
func (v NullableGetBalancesAggregated400Response) MarshalJSON() ([]byte, error)
func (*NullableGetBalancesAggregated400Response) Set ¶
func (v *NullableGetBalancesAggregated400Response) Set(val *GetBalancesAggregated400Response)
func (*NullableGetBalancesAggregated400Response) UnmarshalJSON ¶
func (v *NullableGetBalancesAggregated400Response) UnmarshalJSON(src []byte) error
func (*NullableGetBalancesAggregated400Response) Unset ¶
func (v *NullableGetBalancesAggregated400Response) Unset()
type NullableGetTransaction400Response ¶
type NullableGetTransaction400Response struct {
// contains filtered or unexported fields
}
func NewNullableGetTransaction400Response ¶
func NewNullableGetTransaction400Response(val *GetTransaction400Response) *NullableGetTransaction400Response
func (NullableGetTransaction400Response) Get ¶
func (v NullableGetTransaction400Response) Get() *GetTransaction400Response
func (NullableGetTransaction400Response) IsSet ¶
func (v NullableGetTransaction400Response) IsSet() bool
func (NullableGetTransaction400Response) MarshalJSON ¶
func (v NullableGetTransaction400Response) MarshalJSON() ([]byte, error)
func (*NullableGetTransaction400Response) Set ¶
func (v *NullableGetTransaction400Response) Set(val *GetTransaction400Response)
func (*NullableGetTransaction400Response) UnmarshalJSON ¶
func (v *NullableGetTransaction400Response) UnmarshalJSON(src []byte) error
func (*NullableGetTransaction400Response) Unset ¶
func (v *NullableGetTransaction400Response) Unset()
type NullableGetTransaction404Response ¶
type NullableGetTransaction404Response struct {
// contains filtered or unexported fields
}
func NewNullableGetTransaction404Response ¶
func NewNullableGetTransaction404Response(val *GetTransaction404Response) *NullableGetTransaction404Response
func (NullableGetTransaction404Response) Get ¶
func (v NullableGetTransaction404Response) Get() *GetTransaction404Response
func (NullableGetTransaction404Response) IsSet ¶
func (v NullableGetTransaction404Response) IsSet() bool
func (NullableGetTransaction404Response) MarshalJSON ¶
func (v NullableGetTransaction404Response) MarshalJSON() ([]byte, error)
func (*NullableGetTransaction404Response) Set ¶
func (v *NullableGetTransaction404Response) Set(val *GetTransaction404Response)
func (*NullableGetTransaction404Response) UnmarshalJSON ¶
func (v *NullableGetTransaction404Response) UnmarshalJSON(src []byte) error
func (*NullableGetTransaction404Response) Unset ¶
func (v *NullableGetTransaction404Response) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLedgerStorage ¶
type NullableLedgerStorage struct {
// contains filtered or unexported fields
}
func NewNullableLedgerStorage ¶
func NewNullableLedgerStorage(val *LedgerStorage) *NullableLedgerStorage
func (NullableLedgerStorage) Get ¶
func (v NullableLedgerStorage) Get() *LedgerStorage
func (NullableLedgerStorage) IsSet ¶
func (v NullableLedgerStorage) IsSet() bool
func (NullableLedgerStorage) MarshalJSON ¶
func (v NullableLedgerStorage) MarshalJSON() ([]byte, error)
func (*NullableLedgerStorage) Set ¶
func (v *NullableLedgerStorage) Set(val *LedgerStorage)
func (*NullableLedgerStorage) UnmarshalJSON ¶
func (v *NullableLedgerStorage) UnmarshalJSON(src []byte) error
func (*NullableLedgerStorage) Unset ¶
func (v *NullableLedgerStorage) Unset()
type NullableListAccounts200Response ¶
type NullableListAccounts200Response struct {
// contains filtered or unexported fields
}
func NewNullableListAccounts200Response ¶
func NewNullableListAccounts200Response(val *ListAccounts200Response) *NullableListAccounts200Response
func (NullableListAccounts200Response) Get ¶
func (v NullableListAccounts200Response) Get() *ListAccounts200Response
func (NullableListAccounts200Response) IsSet ¶
func (v NullableListAccounts200Response) IsSet() bool
func (NullableListAccounts200Response) MarshalJSON ¶
func (v NullableListAccounts200Response) MarshalJSON() ([]byte, error)
func (*NullableListAccounts200Response) Set ¶
func (v *NullableListAccounts200Response) Set(val *ListAccounts200Response)
func (*NullableListAccounts200Response) UnmarshalJSON ¶
func (v *NullableListAccounts200Response) UnmarshalJSON(src []byte) error
func (*NullableListAccounts200Response) Unset ¶
func (v *NullableListAccounts200Response) Unset()
type NullableListAccounts200ResponseCursor ¶
type NullableListAccounts200ResponseCursor struct {
// contains filtered or unexported fields
}
func NewNullableListAccounts200ResponseCursor ¶
func NewNullableListAccounts200ResponseCursor(val *ListAccounts200ResponseCursor) *NullableListAccounts200ResponseCursor
func (NullableListAccounts200ResponseCursor) Get ¶
func (v NullableListAccounts200ResponseCursor) Get() *ListAccounts200ResponseCursor
func (NullableListAccounts200ResponseCursor) IsSet ¶
func (v NullableListAccounts200ResponseCursor) IsSet() bool
func (NullableListAccounts200ResponseCursor) MarshalJSON ¶
func (v NullableListAccounts200ResponseCursor) MarshalJSON() ([]byte, error)
func (*NullableListAccounts200ResponseCursor) Set ¶
func (v *NullableListAccounts200ResponseCursor) Set(val *ListAccounts200ResponseCursor)
func (*NullableListAccounts200ResponseCursor) UnmarshalJSON ¶
func (v *NullableListAccounts200ResponseCursor) UnmarshalJSON(src []byte) error
func (*NullableListAccounts200ResponseCursor) Unset ¶
func (v *NullableListAccounts200ResponseCursor) Unset()
type NullableListAccounts200ResponseCursorAllOf ¶
type NullableListAccounts200ResponseCursorAllOf struct {
// contains filtered or unexported fields
}
func NewNullableListAccounts200ResponseCursorAllOf ¶
func NewNullableListAccounts200ResponseCursorAllOf(val *ListAccounts200ResponseCursorAllOf) *NullableListAccounts200ResponseCursorAllOf
func (NullableListAccounts200ResponseCursorAllOf) IsSet ¶
func (v NullableListAccounts200ResponseCursorAllOf) IsSet() bool
func (NullableListAccounts200ResponseCursorAllOf) MarshalJSON ¶
func (v NullableListAccounts200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
func (*NullableListAccounts200ResponseCursorAllOf) Set ¶
func (v *NullableListAccounts200ResponseCursorAllOf) Set(val *ListAccounts200ResponseCursorAllOf)
func (*NullableListAccounts200ResponseCursorAllOf) UnmarshalJSON ¶
func (v *NullableListAccounts200ResponseCursorAllOf) UnmarshalJSON(src []byte) error
func (*NullableListAccounts200ResponseCursorAllOf) Unset ¶
func (v *NullableListAccounts200ResponseCursorAllOf) Unset()
type NullableListAccounts400Response ¶
type NullableListAccounts400Response struct {
// contains filtered or unexported fields
}
func NewNullableListAccounts400Response ¶
func NewNullableListAccounts400Response(val *ListAccounts400Response) *NullableListAccounts400Response
func (NullableListAccounts400Response) Get ¶
func (v NullableListAccounts400Response) Get() *ListAccounts400Response
func (NullableListAccounts400Response) IsSet ¶
func (v NullableListAccounts400Response) IsSet() bool
func (NullableListAccounts400Response) MarshalJSON ¶
func (v NullableListAccounts400Response) MarshalJSON() ([]byte, error)
func (*NullableListAccounts400Response) Set ¶
func (v *NullableListAccounts400Response) Set(val *ListAccounts400Response)
func (*NullableListAccounts400Response) UnmarshalJSON ¶
func (v *NullableListAccounts400Response) UnmarshalJSON(src []byte) error
func (*NullableListAccounts400Response) Unset ¶
func (v *NullableListAccounts400Response) Unset()
type NullableListTransactions200Response ¶
type NullableListTransactions200Response struct {
// contains filtered or unexported fields
}
func NewNullableListTransactions200Response ¶
func NewNullableListTransactions200Response(val *ListTransactions200Response) *NullableListTransactions200Response
func (NullableListTransactions200Response) Get ¶
func (v NullableListTransactions200Response) Get() *ListTransactions200Response
func (NullableListTransactions200Response) IsSet ¶
func (v NullableListTransactions200Response) IsSet() bool
func (NullableListTransactions200Response) MarshalJSON ¶
func (v NullableListTransactions200Response) MarshalJSON() ([]byte, error)
func (*NullableListTransactions200Response) Set ¶
func (v *NullableListTransactions200Response) Set(val *ListTransactions200Response)
func (*NullableListTransactions200Response) UnmarshalJSON ¶
func (v *NullableListTransactions200Response) UnmarshalJSON(src []byte) error
func (*NullableListTransactions200Response) Unset ¶
func (v *NullableListTransactions200Response) Unset()
type NullableListTransactions200ResponseCursor ¶
type NullableListTransactions200ResponseCursor struct {
// contains filtered or unexported fields
}
func NewNullableListTransactions200ResponseCursor ¶
func NewNullableListTransactions200ResponseCursor(val *ListTransactions200ResponseCursor) *NullableListTransactions200ResponseCursor
func (NullableListTransactions200ResponseCursor) IsSet ¶
func (v NullableListTransactions200ResponseCursor) IsSet() bool
func (NullableListTransactions200ResponseCursor) MarshalJSON ¶
func (v NullableListTransactions200ResponseCursor) MarshalJSON() ([]byte, error)
func (*NullableListTransactions200ResponseCursor) Set ¶
func (v *NullableListTransactions200ResponseCursor) Set(val *ListTransactions200ResponseCursor)
func (*NullableListTransactions200ResponseCursor) UnmarshalJSON ¶
func (v *NullableListTransactions200ResponseCursor) UnmarshalJSON(src []byte) error
func (*NullableListTransactions200ResponseCursor) Unset ¶
func (v *NullableListTransactions200ResponseCursor) Unset()
type NullableListTransactions200ResponseCursorAllOf ¶
type NullableListTransactions200ResponseCursorAllOf struct {
// contains filtered or unexported fields
}
func NewNullableListTransactions200ResponseCursorAllOf ¶
func NewNullableListTransactions200ResponseCursorAllOf(val *ListTransactions200ResponseCursorAllOf) *NullableListTransactions200ResponseCursorAllOf
func (NullableListTransactions200ResponseCursorAllOf) IsSet ¶
func (v NullableListTransactions200ResponseCursorAllOf) IsSet() bool
func (NullableListTransactions200ResponseCursorAllOf) MarshalJSON ¶
func (v NullableListTransactions200ResponseCursorAllOf) MarshalJSON() ([]byte, error)
func (*NullableListTransactions200ResponseCursorAllOf) Set ¶
func (v *NullableListTransactions200ResponseCursorAllOf) Set(val *ListTransactions200ResponseCursorAllOf)
func (*NullableListTransactions200ResponseCursorAllOf) UnmarshalJSON ¶
func (v *NullableListTransactions200ResponseCursorAllOf) UnmarshalJSON(src []byte) error
func (*NullableListTransactions200ResponseCursorAllOf) Unset ¶
func (v *NullableListTransactions200ResponseCursorAllOf) Unset()
type NullableMapping ¶
type NullableMapping struct {
// contains filtered or unexported fields
}
func NewNullableMapping ¶
func NewNullableMapping(val *Mapping) *NullableMapping
func (NullableMapping) Get ¶
func (v NullableMapping) Get() *Mapping
func (NullableMapping) IsSet ¶
func (v NullableMapping) IsSet() bool
func (NullableMapping) MarshalJSON ¶
func (v NullableMapping) MarshalJSON() ([]byte, error)
func (*NullableMapping) Set ¶
func (v *NullableMapping) Set(val *Mapping)
func (*NullableMapping) UnmarshalJSON ¶
func (v *NullableMapping) UnmarshalJSON(src []byte) error
func (*NullableMapping) Unset ¶
func (v *NullableMapping) Unset()
type NullableMappingResponse ¶
type NullableMappingResponse struct {
// contains filtered or unexported fields
}
func NewNullableMappingResponse ¶
func NewNullableMappingResponse(val *MappingResponse) *NullableMappingResponse
func (NullableMappingResponse) Get ¶
func (v NullableMappingResponse) Get() *MappingResponse
func (NullableMappingResponse) IsSet ¶
func (v NullableMappingResponse) IsSet() bool
func (NullableMappingResponse) MarshalJSON ¶
func (v NullableMappingResponse) MarshalJSON() ([]byte, error)
func (*NullableMappingResponse) Set ¶
func (v *NullableMappingResponse) Set(val *MappingResponse)
func (*NullableMappingResponse) UnmarshalJSON ¶
func (v *NullableMappingResponse) UnmarshalJSON(src []byte) error
func (*NullableMappingResponse) Unset ¶
func (v *NullableMappingResponse) Unset()
type NullablePosting ¶
type NullablePosting struct {
// contains filtered or unexported fields
}
func NewNullablePosting ¶
func NewNullablePosting(val *Posting) *NullablePosting
func (NullablePosting) Get ¶
func (v NullablePosting) Get() *Posting
func (NullablePosting) IsSet ¶
func (v NullablePosting) IsSet() bool
func (NullablePosting) MarshalJSON ¶
func (v NullablePosting) MarshalJSON() ([]byte, error)
func (*NullablePosting) Set ¶
func (v *NullablePosting) Set(val *Posting)
func (*NullablePosting) UnmarshalJSON ¶
func (v *NullablePosting) UnmarshalJSON(src []byte) error
func (*NullablePosting) Unset ¶
func (v *NullablePosting) Unset()
type NullableScript ¶
type NullableScript struct {
// contains filtered or unexported fields
}
func NewNullableScript ¶
func NewNullableScript(val *Script) *NullableScript
func (NullableScript) Get ¶
func (v NullableScript) Get() *Script
func (NullableScript) IsSet ¶
func (v NullableScript) IsSet() bool
func (NullableScript) MarshalJSON ¶
func (v NullableScript) MarshalJSON() ([]byte, error)
func (*NullableScript) Set ¶
func (v *NullableScript) Set(val *Script)
func (*NullableScript) UnmarshalJSON ¶
func (v *NullableScript) UnmarshalJSON(src []byte) error
func (*NullableScript) Unset ¶
func (v *NullableScript) Unset()
type NullableScriptResult ¶
type NullableScriptResult struct {
// contains filtered or unexported fields
}
func NewNullableScriptResult ¶
func NewNullableScriptResult(val *ScriptResult) *NullableScriptResult
func (NullableScriptResult) Get ¶
func (v NullableScriptResult) Get() *ScriptResult
func (NullableScriptResult) IsSet ¶
func (v NullableScriptResult) IsSet() bool
func (NullableScriptResult) MarshalJSON ¶
func (v NullableScriptResult) MarshalJSON() ([]byte, error)
func (*NullableScriptResult) Set ¶
func (v *NullableScriptResult) Set(val *ScriptResult)
func (*NullableScriptResult) UnmarshalJSON ¶
func (v *NullableScriptResult) UnmarshalJSON(src []byte) error
func (*NullableScriptResult) Unset ¶
func (v *NullableScriptResult) Unset()
type NullableStats ¶
type NullableStats struct {
// contains filtered or unexported fields
}
func NewNullableStats ¶
func NewNullableStats(val *Stats) *NullableStats
func (NullableStats) Get ¶
func (v NullableStats) Get() *Stats
func (NullableStats) IsSet ¶
func (v NullableStats) IsSet() bool
func (NullableStats) MarshalJSON ¶
func (v NullableStats) MarshalJSON() ([]byte, error)
func (*NullableStats) Set ¶
func (v *NullableStats) Set(val *Stats)
func (*NullableStats) UnmarshalJSON ¶
func (v *NullableStats) UnmarshalJSON(src []byte) error
func (*NullableStats) Unset ¶
func (v *NullableStats) Unset()
type NullableStatsResponse ¶
type NullableStatsResponse struct {
// contains filtered or unexported fields
}
func NewNullableStatsResponse ¶
func NewNullableStatsResponse(val *StatsResponse) *NullableStatsResponse
func (NullableStatsResponse) Get ¶
func (v NullableStatsResponse) Get() *StatsResponse
func (NullableStatsResponse) IsSet ¶
func (v NullableStatsResponse) IsSet() bool
func (NullableStatsResponse) MarshalJSON ¶
func (v NullableStatsResponse) MarshalJSON() ([]byte, error)
func (*NullableStatsResponse) Set ¶
func (v *NullableStatsResponse) Set(val *StatsResponse)
func (*NullableStatsResponse) UnmarshalJSON ¶
func (v *NullableStatsResponse) UnmarshalJSON(src []byte) error
func (*NullableStatsResponse) Unset ¶
func (v *NullableStatsResponse) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTransaction ¶
type NullableTransaction struct {
// contains filtered or unexported fields
}
func NewNullableTransaction ¶
func NewNullableTransaction(val *Transaction) *NullableTransaction
func (NullableTransaction) Get ¶
func (v NullableTransaction) Get() *Transaction
func (NullableTransaction) IsSet ¶
func (v NullableTransaction) IsSet() bool
func (NullableTransaction) MarshalJSON ¶
func (v NullableTransaction) MarshalJSON() ([]byte, error)
func (*NullableTransaction) Set ¶
func (v *NullableTransaction) Set(val *Transaction)
func (*NullableTransaction) UnmarshalJSON ¶
func (v *NullableTransaction) UnmarshalJSON(src []byte) error
func (*NullableTransaction) Unset ¶
func (v *NullableTransaction) Unset()
type NullableTransactionData ¶
type NullableTransactionData struct {
// contains filtered or unexported fields
}
func NewNullableTransactionData ¶
func NewNullableTransactionData(val *TransactionData) *NullableTransactionData
func (NullableTransactionData) Get ¶
func (v NullableTransactionData) Get() *TransactionData
func (NullableTransactionData) IsSet ¶
func (v NullableTransactionData) IsSet() bool
func (NullableTransactionData) MarshalJSON ¶
func (v NullableTransactionData) MarshalJSON() ([]byte, error)
func (*NullableTransactionData) Set ¶
func (v *NullableTransactionData) Set(val *TransactionData)
func (*NullableTransactionData) UnmarshalJSON ¶
func (v *NullableTransactionData) UnmarshalJSON(src []byte) error
func (*NullableTransactionData) Unset ¶
func (v *NullableTransactionData) Unset()
type NullableTransactionResponse ¶
type NullableTransactionResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransactionResponse ¶
func NewNullableTransactionResponse(val *TransactionResponse) *NullableTransactionResponse
func (NullableTransactionResponse) Get ¶
func (v NullableTransactionResponse) Get() *TransactionResponse
func (NullableTransactionResponse) IsSet ¶
func (v NullableTransactionResponse) IsSet() bool
func (NullableTransactionResponse) MarshalJSON ¶
func (v NullableTransactionResponse) MarshalJSON() ([]byte, error)
func (*NullableTransactionResponse) Set ¶
func (v *NullableTransactionResponse) Set(val *TransactionResponse)
func (*NullableTransactionResponse) UnmarshalJSON ¶
func (v *NullableTransactionResponse) UnmarshalJSON(src []byte) error
func (*NullableTransactionResponse) Unset ¶
func (v *NullableTransactionResponse) Unset()
type NullableTransactions ¶
type NullableTransactions struct {
// contains filtered or unexported fields
}
func NewNullableTransactions ¶
func NewNullableTransactions(val *Transactions) *NullableTransactions
func (NullableTransactions) Get ¶
func (v NullableTransactions) Get() *Transactions
func (NullableTransactions) IsSet ¶
func (v NullableTransactions) IsSet() bool
func (NullableTransactions) MarshalJSON ¶
func (v NullableTransactions) MarshalJSON() ([]byte, error)
func (*NullableTransactions) Set ¶
func (v *NullableTransactions) Set(val *Transactions)
func (*NullableTransactions) UnmarshalJSON ¶
func (v *NullableTransactions) UnmarshalJSON(src []byte) error
func (*NullableTransactions) Unset ¶
func (v *NullableTransactions) Unset()
type NullableTransactionsResponse ¶
type NullableTransactionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransactionsResponse ¶
func NewNullableTransactionsResponse(val *TransactionsResponse) *NullableTransactionsResponse
func (NullableTransactionsResponse) Get ¶
func (v NullableTransactionsResponse) Get() *TransactionsResponse
func (NullableTransactionsResponse) IsSet ¶
func (v NullableTransactionsResponse) IsSet() bool
func (NullableTransactionsResponse) MarshalJSON ¶
func (v NullableTransactionsResponse) MarshalJSON() ([]byte, error)
func (*NullableTransactionsResponse) Set ¶
func (v *NullableTransactionsResponse) Set(val *TransactionsResponse)
func (*NullableTransactionsResponse) UnmarshalJSON ¶
func (v *NullableTransactionsResponse) UnmarshalJSON(src []byte) error
func (*NullableTransactionsResponse) Unset ¶
func (v *NullableTransactionsResponse) Unset()
type NullableVolume ¶
type NullableVolume struct {
// contains filtered or unexported fields
}
func NewNullableVolume ¶
func NewNullableVolume(val *Volume) *NullableVolume
func (NullableVolume) Get ¶
func (v NullableVolume) Get() *Volume
func (NullableVolume) IsSet ¶
func (v NullableVolume) IsSet() bool
func (NullableVolume) MarshalJSON ¶
func (v NullableVolume) MarshalJSON() ([]byte, error)
func (*NullableVolume) Set ¶
func (v *NullableVolume) Set(val *Volume)
func (*NullableVolume) UnmarshalJSON ¶
func (v *NullableVolume) UnmarshalJSON(src []byte) error
func (*NullableVolume) Unset ¶
func (v *NullableVolume) Unset()
type Posting ¶
type Posting struct { Amount int32 `json:"amount"` Asset string `json:"asset"` Destination string `json:"destination"` Source string `json:"source"` }
Posting struct for Posting
func NewPosting ¶
NewPosting instantiates a new Posting object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPostingWithDefaults ¶
func NewPostingWithDefaults() *Posting
NewPostingWithDefaults instantiates a new Posting object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Posting) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Posting) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*Posting) GetDestination ¶
GetDestination returns the Destination field value
func (*Posting) GetDestinationOk ¶
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*Posting) GetSourceOk ¶
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (Posting) MarshalJSON ¶
func (*Posting) SetDestination ¶
SetDestination sets field value
type Script ¶
type Script struct { // Reference to attach to the generated transaction Reference *string `json:"reference,omitempty"` Metadata map[string]interface{} `json:"metadata,omitempty"` Plain string `json:"plain"` Vars *map[string]interface{} `json:"vars,omitempty"` }
Script struct for Script
func NewScript ¶
NewScript instantiates a new Script object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScriptWithDefaults ¶
func NewScriptWithDefaults() *Script
NewScriptWithDefaults instantiates a new Script object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Script) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Script) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Script) GetPlainOk ¶
GetPlainOk returns a tuple with the Plain field value and a boolean to check if the value has been set.
func (*Script) GetReference ¶
GetReference returns the Reference field value if set, zero value otherwise.
func (*Script) GetReferenceOk ¶
GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Script) GetVarsOk ¶
GetVarsOk returns a tuple with the Vars field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Script) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (*Script) HasReference ¶
HasReference returns a boolean if a field has been set.
func (Script) MarshalJSON ¶
func (*Script) SetMetadata ¶
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*Script) SetReference ¶
SetReference gets a reference to the given string and assigns it to the Reference field.
type ScriptApiService ¶
type ScriptApiService service
ScriptApiService ScriptApi service
func (*ScriptApiService) RunScript ¶
func (a *ScriptApiService) RunScript(ctx _context.Context, ledger string) ApiRunScriptRequest
RunScript Execute a Numscript.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiRunScriptRequest
func (*ScriptApiService) RunScriptExecute ¶
func (a *ScriptApiService) RunScriptExecute(r ApiRunScriptRequest) (ScriptResult, *_nethttp.Response, error)
Execute executes the request
@return ScriptResult
type ScriptResult ¶
type ScriptResult struct { Details *string `json:"details,omitempty"` ErrorCode *string `json:"error_code,omitempty"` ErrorMessage *string `json:"error_message,omitempty"` Transaction *Transaction `json:"transaction,omitempty"` }
ScriptResult struct for ScriptResult
func NewScriptResult ¶
func NewScriptResult() *ScriptResult
NewScriptResult instantiates a new ScriptResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScriptResultWithDefaults ¶
func NewScriptResultWithDefaults() *ScriptResult
NewScriptResultWithDefaults instantiates a new ScriptResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ScriptResult) GetDetails ¶
func (o *ScriptResult) GetDetails() string
GetDetails returns the Details field value if set, zero value otherwise.
func (*ScriptResult) GetDetailsOk ¶
func (o *ScriptResult) GetDetailsOk() (*string, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScriptResult) GetErrorCode ¶
func (o *ScriptResult) GetErrorCode() string
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*ScriptResult) GetErrorCodeOk ¶
func (o *ScriptResult) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScriptResult) GetErrorMessage ¶
func (o *ScriptResult) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*ScriptResult) GetErrorMessageOk ¶
func (o *ScriptResult) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScriptResult) GetTransaction ¶
func (o *ScriptResult) GetTransaction() Transaction
GetTransaction returns the Transaction field value if set, zero value otherwise.
func (*ScriptResult) GetTransactionOk ¶
func (o *ScriptResult) GetTransactionOk() (*Transaction, bool)
GetTransactionOk returns a tuple with the Transaction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ScriptResult) HasDetails ¶
func (o *ScriptResult) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (*ScriptResult) HasErrorCode ¶
func (o *ScriptResult) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*ScriptResult) HasErrorMessage ¶
func (o *ScriptResult) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (*ScriptResult) HasTransaction ¶
func (o *ScriptResult) HasTransaction() bool
HasTransaction returns a boolean if a field has been set.
func (ScriptResult) MarshalJSON ¶
func (o ScriptResult) MarshalJSON() ([]byte, error)
func (*ScriptResult) SetDetails ¶
func (o *ScriptResult) SetDetails(v string)
SetDetails gets a reference to the given string and assigns it to the Details field.
func (*ScriptResult) SetErrorCode ¶
func (o *ScriptResult) SetErrorCode(v string)
SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.
func (*ScriptResult) SetErrorMessage ¶
func (o *ScriptResult) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
func (*ScriptResult) SetTransaction ¶
func (o *ScriptResult) SetTransaction(v Transaction)
SetTransaction gets a reference to the given Transaction and assigns it to the Transaction field.
type ServerApiService ¶
type ServerApiService service
ServerApiService ServerApi service
func (*ServerApiService) GetInfo ¶
func (a *ServerApiService) GetInfo(ctx _context.Context) ApiGetInfoRequest
GetInfo Show server information.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetInfoRequest
func (*ServerApiService) GetInfoExecute ¶
func (a *ServerApiService) GetInfoExecute(r ApiGetInfoRequest) (ConfigInfoResponse, *_nethttp.Response, error)
Execute executes the request
@return ConfigInfoResponse
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Stats ¶
Stats struct for Stats
func NewStats ¶
NewStats instantiates a new Stats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStatsWithDefaults ¶
func NewStatsWithDefaults() *Stats
NewStatsWithDefaults instantiates a new Stats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Stats) GetAccounts ¶
GetAccounts returns the Accounts field value
func (*Stats) GetAccountsOk ¶
GetAccountsOk returns a tuple with the Accounts field value and a boolean to check if the value has been set.
func (*Stats) GetTransactions ¶
GetTransactions returns the Transactions field value
func (*Stats) GetTransactionsOk ¶
GetTransactionsOk returns a tuple with the Transactions field value and a boolean to check if the value has been set.
func (Stats) MarshalJSON ¶
func (*Stats) SetTransactions ¶
SetTransactions sets field value
type StatsApiService ¶
type StatsApiService service
StatsApiService StatsApi service
func (*StatsApiService) ReadStats ¶
func (a *StatsApiService) ReadStats(ctx _context.Context, ledger string) ApiReadStatsRequest
ReadStats Get Stats
Get ledger stats (aggregate metrics on accounts and transactions) The stats for account
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger name of the ledger @return ApiReadStatsRequest
func (*StatsApiService) ReadStatsExecute ¶
func (a *StatsApiService) ReadStatsExecute(r ApiReadStatsRequest) (StatsResponse, *_nethttp.Response, error)
Execute executes the request
@return StatsResponse
type StatsResponse ¶
type StatsResponse struct {
Data Stats `json:"data"`
}
StatsResponse struct for StatsResponse
func NewStatsResponse ¶
func NewStatsResponse(data Stats) *StatsResponse
NewStatsResponse instantiates a new StatsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStatsResponseWithDefaults ¶
func NewStatsResponseWithDefaults() *StatsResponse
NewStatsResponseWithDefaults instantiates a new StatsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StatsResponse) GetData ¶
func (o *StatsResponse) GetData() Stats
GetData returns the Data field value
func (*StatsResponse) GetDataOk ¶
func (o *StatsResponse) GetDataOk() (*Stats, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (StatsResponse) MarshalJSON ¶
func (o StatsResponse) MarshalJSON() ([]byte, error)
type Transaction ¶
type Transaction struct { Timestamp time.Time `json:"timestamp"` Postings []Posting `json:"postings"` Reference *string `json:"reference,omitempty"` Metadata map[string]interface{} `json:"metadata,omitempty"` Txid int32 `json:"txid"` PreCommitVolumes *map[string]map[string]Volume `json:"preCommitVolumes,omitempty"` PostCommitVolumes *map[string]map[string]Volume `json:"postCommitVolumes,omitempty"` }
Transaction struct for Transaction
func NewTransaction ¶
func NewTransaction(timestamp time.Time, postings []Posting, txid int32) *Transaction
NewTransaction instantiates a new Transaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionWithDefaults ¶
func NewTransactionWithDefaults() *Transaction
NewTransactionWithDefaults instantiates a new Transaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Transaction) GetMetadata ¶
func (o *Transaction) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Transaction) GetMetadataOk ¶
func (o *Transaction) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Transaction) GetPostCommitVolumes ¶
func (o *Transaction) GetPostCommitVolumes() map[string]map[string]Volume
GetPostCommitVolumes returns the PostCommitVolumes field value if set, zero value otherwise.
func (*Transaction) GetPostCommitVolumesOk ¶
func (o *Transaction) GetPostCommitVolumesOk() (*map[string]map[string]Volume, bool)
GetPostCommitVolumesOk returns a tuple with the PostCommitVolumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetPostings ¶
func (o *Transaction) GetPostings() []Posting
GetPostings returns the Postings field value
func (*Transaction) GetPostingsOk ¶
func (o *Transaction) GetPostingsOk() (*[]Posting, bool)
GetPostingsOk returns a tuple with the Postings field value and a boolean to check if the value has been set.
func (*Transaction) GetPreCommitVolumes ¶
func (o *Transaction) GetPreCommitVolumes() map[string]map[string]Volume
GetPreCommitVolumes returns the PreCommitVolumes field value if set, zero value otherwise.
func (*Transaction) GetPreCommitVolumesOk ¶
func (o *Transaction) GetPreCommitVolumesOk() (*map[string]map[string]Volume, bool)
GetPreCommitVolumesOk returns a tuple with the PreCommitVolumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetReference ¶
func (o *Transaction) GetReference() string
GetReference returns the Reference field value if set, zero value otherwise.
func (*Transaction) GetReferenceOk ¶
func (o *Transaction) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetTimestamp ¶
func (o *Transaction) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value
func (*Transaction) GetTimestampOk ¶
func (o *Transaction) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (*Transaction) GetTxid ¶
func (o *Transaction) GetTxid() int32
GetTxid returns the Txid field value
func (*Transaction) GetTxidOk ¶
func (o *Transaction) GetTxidOk() (*int32, bool)
GetTxidOk returns a tuple with the Txid field value and a boolean to check if the value has been set.
func (*Transaction) HasMetadata ¶
func (o *Transaction) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*Transaction) HasPostCommitVolumes ¶
func (o *Transaction) HasPostCommitVolumes() bool
HasPostCommitVolumes returns a boolean if a field has been set.
func (*Transaction) HasPreCommitVolumes ¶
func (o *Transaction) HasPreCommitVolumes() bool
HasPreCommitVolumes returns a boolean if a field has been set.
func (*Transaction) HasReference ¶
func (o *Transaction) HasReference() bool
HasReference returns a boolean if a field has been set.
func (Transaction) MarshalJSON ¶
func (o Transaction) MarshalJSON() ([]byte, error)
func (*Transaction) SetMetadata ¶
func (o *Transaction) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*Transaction) SetPostCommitVolumes ¶
func (o *Transaction) SetPostCommitVolumes(v map[string]map[string]Volume)
SetPostCommitVolumes gets a reference to the given map[string]map[string]Volume and assigns it to the PostCommitVolumes field.
func (*Transaction) SetPostings ¶
func (o *Transaction) SetPostings(v []Posting)
SetPostings sets field value
func (*Transaction) SetPreCommitVolumes ¶
func (o *Transaction) SetPreCommitVolumes(v map[string]map[string]Volume)
SetPreCommitVolumes gets a reference to the given map[string]map[string]Volume and assigns it to the PreCommitVolumes field.
func (*Transaction) SetReference ¶
func (o *Transaction) SetReference(v string)
SetReference gets a reference to the given string and assigns it to the Reference field.
func (*Transaction) SetTimestamp ¶
func (o *Transaction) SetTimestamp(v time.Time)
SetTimestamp sets field value
type TransactionData ¶
type TransactionData struct { Timestamp *time.Time `json:"timestamp,omitempty"` Postings []Posting `json:"postings"` Reference *string `json:"reference,omitempty"` Metadata map[string]interface{} `json:"metadata,omitempty"` }
TransactionData struct for TransactionData
func NewTransactionData ¶
func NewTransactionData(postings []Posting) *TransactionData
NewTransactionData instantiates a new TransactionData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionDataWithDefaults ¶
func NewTransactionDataWithDefaults() *TransactionData
NewTransactionDataWithDefaults instantiates a new TransactionData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransactionData) GetMetadata ¶
func (o *TransactionData) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TransactionData) GetMetadataOk ¶
func (o *TransactionData) GetMetadataOk() (*map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TransactionData) GetPostings ¶
func (o *TransactionData) GetPostings() []Posting
GetPostings returns the Postings field value
func (*TransactionData) GetPostingsOk ¶
func (o *TransactionData) GetPostingsOk() (*[]Posting, bool)
GetPostingsOk returns a tuple with the Postings field value and a boolean to check if the value has been set.
func (*TransactionData) GetReference ¶
func (o *TransactionData) GetReference() string
GetReference returns the Reference field value if set, zero value otherwise.
func (*TransactionData) GetReferenceOk ¶
func (o *TransactionData) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionData) GetTimestamp ¶
func (o *TransactionData) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*TransactionData) GetTimestampOk ¶
func (o *TransactionData) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionData) HasMetadata ¶
func (o *TransactionData) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*TransactionData) HasReference ¶
func (o *TransactionData) HasReference() bool
HasReference returns a boolean if a field has been set.
func (*TransactionData) HasTimestamp ¶
func (o *TransactionData) HasTimestamp() bool
HasTimestamp returns a boolean if a field has been set.
func (TransactionData) MarshalJSON ¶
func (o TransactionData) MarshalJSON() ([]byte, error)
func (*TransactionData) SetMetadata ¶
func (o *TransactionData) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*TransactionData) SetPostings ¶
func (o *TransactionData) SetPostings(v []Posting)
SetPostings sets field value
func (*TransactionData) SetReference ¶
func (o *TransactionData) SetReference(v string)
SetReference gets a reference to the given string and assigns it to the Reference field.
func (*TransactionData) SetTimestamp ¶
func (o *TransactionData) SetTimestamp(v time.Time)
SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.
type TransactionResponse ¶
type TransactionResponse struct {
Data Transaction `json:"data"`
}
TransactionResponse struct for TransactionResponse
func NewTransactionResponse ¶
func NewTransactionResponse(data Transaction) *TransactionResponse
NewTransactionResponse instantiates a new TransactionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionResponseWithDefaults ¶
func NewTransactionResponseWithDefaults() *TransactionResponse
NewTransactionResponseWithDefaults instantiates a new TransactionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransactionResponse) GetData ¶
func (o *TransactionResponse) GetData() Transaction
GetData returns the Data field value
func (*TransactionResponse) GetDataOk ¶
func (o *TransactionResponse) GetDataOk() (*Transaction, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (TransactionResponse) MarshalJSON ¶
func (o TransactionResponse) MarshalJSON() ([]byte, error)
func (*TransactionResponse) SetData ¶
func (o *TransactionResponse) SetData(v Transaction)
SetData sets field value
type Transactions ¶
type Transactions struct {
Transactions []TransactionData `json:"transactions"`
}
Transactions struct for Transactions
func NewTransactions ¶
func NewTransactions(transactions []TransactionData) *Transactions
NewTransactions instantiates a new Transactions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionsWithDefaults ¶
func NewTransactionsWithDefaults() *Transactions
NewTransactionsWithDefaults instantiates a new Transactions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Transactions) GetTransactions ¶
func (o *Transactions) GetTransactions() []TransactionData
GetTransactions returns the Transactions field value
func (*Transactions) GetTransactionsOk ¶
func (o *Transactions) GetTransactionsOk() (*[]TransactionData, bool)
GetTransactionsOk returns a tuple with the Transactions field value and a boolean to check if the value has been set.
func (Transactions) MarshalJSON ¶
func (o Transactions) MarshalJSON() ([]byte, error)
func (*Transactions) SetTransactions ¶
func (o *Transactions) SetTransactions(v []TransactionData)
SetTransactions sets field value
type TransactionsApiService ¶
type TransactionsApiService service
TransactionsApiService TransactionsApi service
func (*TransactionsApiService) AddMetadataOnTransaction ¶
func (a *TransactionsApiService) AddMetadataOnTransaction(ctx _context.Context, ledger string, txid int32) ApiAddMetadataOnTransactionRequest
AddMetadataOnTransaction Set the metadata of a transaction by its ID.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @param txid Transaction ID. @return ApiAddMetadataOnTransactionRequest
func (*TransactionsApiService) AddMetadataOnTransactionExecute ¶
func (a *TransactionsApiService) AddMetadataOnTransactionExecute(r ApiAddMetadataOnTransactionRequest) (*_nethttp.Response, error)
Execute executes the request
func (*TransactionsApiService) CountTransactions ¶
func (a *TransactionsApiService) CountTransactions(ctx _context.Context, ledger string) ApiCountTransactionsRequest
CountTransactions Count the transactions from a ledger.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiCountTransactionsRequest
func (*TransactionsApiService) CountTransactionsExecute ¶
func (a *TransactionsApiService) CountTransactionsExecute(r ApiCountTransactionsRequest) (*_nethttp.Response, error)
Execute executes the request
func (*TransactionsApiService) CreateTransaction ¶
func (a *TransactionsApiService) CreateTransaction(ctx _context.Context, ledger string) ApiCreateTransactionRequest
CreateTransaction Create a new transaction to a ledger.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiCreateTransactionRequest
func (*TransactionsApiService) CreateTransactionExecute ¶
func (a *TransactionsApiService) CreateTransactionExecute(r ApiCreateTransactionRequest) (TransactionsResponse, *_nethttp.Response, error)
Execute executes the request
@return TransactionsResponse
func (*TransactionsApiService) CreateTransactions ¶
func (a *TransactionsApiService) CreateTransactions(ctx _context.Context, ledger string) ApiCreateTransactionsRequest
CreateTransactions Create a new batch of transactions to a ledger.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiCreateTransactionsRequest
func (*TransactionsApiService) CreateTransactionsExecute ¶
func (a *TransactionsApiService) CreateTransactionsExecute(r ApiCreateTransactionsRequest) (TransactionsResponse, *_nethttp.Response, error)
Execute executes the request
@return TransactionsResponse
func (*TransactionsApiService) GetTransaction ¶
func (a *TransactionsApiService) GetTransaction(ctx _context.Context, ledger string, txid int32) ApiGetTransactionRequest
GetTransaction Get transaction from a ledger by its ID.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @param txid Transaction ID. @return ApiGetTransactionRequest
func (*TransactionsApiService) GetTransactionExecute ¶
func (a *TransactionsApiService) GetTransactionExecute(r ApiGetTransactionRequest) (TransactionResponse, *_nethttp.Response, error)
Execute executes the request
@return TransactionResponse
func (*TransactionsApiService) ListTransactions ¶
func (a *TransactionsApiService) ListTransactions(ctx _context.Context, ledger string) ApiListTransactionsRequest
ListTransactions List transactions from a ledger.
List transactions from a ledger, sorted by txid in descending order.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @return ApiListTransactionsRequest
func (*TransactionsApiService) ListTransactionsExecute ¶
func (a *TransactionsApiService) ListTransactionsExecute(r ApiListTransactionsRequest) (ListTransactions200Response, *_nethttp.Response, error)
Execute executes the request
@return ListTransactions200Response
func (*TransactionsApiService) RevertTransaction ¶
func (a *TransactionsApiService) RevertTransaction(ctx _context.Context, ledger string, txid int32) ApiRevertTransactionRequest
RevertTransaction Revert a ledger transaction by its ID.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ledger Name of the ledger. @param txid Transaction ID. @return ApiRevertTransactionRequest
func (*TransactionsApiService) RevertTransactionExecute ¶
func (a *TransactionsApiService) RevertTransactionExecute(r ApiRevertTransactionRequest) (TransactionResponse, *_nethttp.Response, error)
Execute executes the request
@return TransactionResponse
type TransactionsResponse ¶
type TransactionsResponse struct {
Data []Transaction `json:"data"`
}
TransactionsResponse struct for TransactionsResponse
func NewTransactionsResponse ¶
func NewTransactionsResponse(data []Transaction) *TransactionsResponse
NewTransactionsResponse instantiates a new TransactionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionsResponseWithDefaults ¶
func NewTransactionsResponseWithDefaults() *TransactionsResponse
NewTransactionsResponseWithDefaults instantiates a new TransactionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransactionsResponse) GetData ¶
func (o *TransactionsResponse) GetData() []Transaction
GetData returns the Data field value
func (*TransactionsResponse) GetDataOk ¶
func (o *TransactionsResponse) GetDataOk() (*[]Transaction, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (TransactionsResponse) MarshalJSON ¶
func (o TransactionsResponse) MarshalJSON() ([]byte, error)
func (*TransactionsResponse) SetData ¶
func (o *TransactionsResponse) SetData(v []Transaction)
SetData sets field value
type Volume ¶
type Volume struct { Input float32 `json:"input"` Output float32 `json:"output"` Balance *float32 `json:"balance,omitempty"` }
Volume struct for Volume
func NewVolume ¶
NewVolume instantiates a new Volume object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Volume) GetBalance ¶
GetBalance returns the Balance field value if set, zero value otherwise.
func (*Volume) GetBalanceOk ¶
GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetInputOk ¶
GetInputOk returns a tuple with the Input field value and a boolean to check if the value has been set.
func (*Volume) GetOutputOk ¶
GetOutputOk returns a tuple with the Output field value and a boolean to check if the value has been set.
func (*Volume) HasBalance ¶
HasBalance returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
func (*Volume) SetBalance ¶
SetBalance gets a reference to the given float32 and assigns it to the Balance field.
Source Files ¶
- api_accounts.go
- api_balances.go
- api_mapping.go
- api_script.go
- api_server.go
- api_stats.go
- api_transactions.go
- client.go
- configuration.go
- model_account.go
- model_account_with_volumes_and_balances.go
- model_config.go
- model_config_info.go
- model_config_info_response.go
- model_contract.go
- model_create_transaction_400_response.go
- model_create_transaction_409_response.go
- model_create_transactions_400_response.go
- model_cursor.go
- model_error_code.go
- model_error_response.go
- model_get_account_200_response.go
- model_get_account_400_response.go
- model_get_balances_200_response.go
- model_get_balances_200_response_cursor.go
- model_get_balances_200_response_cursor_all_of.go
- model_get_balances_aggregated_200_response.go
- model_get_balances_aggregated_400_response.go
- model_get_transaction_400_response.go
- model_get_transaction_404_response.go
- model_ledger_storage.go
- model_list_accounts_200_response.go
- model_list_accounts_200_response_cursor.go
- model_list_accounts_200_response_cursor_all_of.go
- model_list_accounts_400_response.go
- model_list_transactions_200_response.go
- model_list_transactions_200_response_cursor.go
- model_list_transactions_200_response_cursor_all_of.go
- model_mapping.go
- model_mapping_response.go
- model_posting.go
- model_script.go
- model_script_result.go
- model_stats.go
- model_stats_response.go
- model_transaction.go
- model_transaction_data.go
- model_transaction_response.go
- model_transactions.go
- model_transactions_response.go
- model_volume.go
- response.go
- utils.go