apiclient

package
v0.5.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 21 Imported by: 7

README

Go API client for client

REST API for the Wasp node

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.4.0-alpha.2-402-g2adcf666b
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Generation

  • Install newest OpenAPI Generator binary
  • Run an up to date Wasp node
  • Execute openapi-generator-cli generate -i http://localhost:9090/doc/swagger.json -g go --package-name=client

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import client "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), client.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), client.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), client.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), client.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost:9090

Class Method HTTP request Description
ChainsApi ActivateChain Post /chains/{chainID}/activate Activate a chain
ChainsApi AddAccessNode Put /chains/{chainID}/access-node/{publicKey} Configure a trusted node to be an access node.
ChainsApi AttachToWebsocket Get /v2/chains/{chainID}/ws
ChainsApi DeactivateChain Post /chains/{chainID}/deactivate Deactivate a chain
ChainsApi GetChainInfo Get /chains/{chainID} Get information about a specific chain
ChainsApi GetChains Get /chains Get a list of all chains
ChainsApi GetCommitteeInfo Get /chains/{chainID}/committee Get information about the deployed committee
ChainsApi GetContracts Get /chains/{chainID}/contracts Get all available chain contracts
ChainsApi GetRequestIDFromEVMTransactionID Get /v2/chains/{chainID}/evm/tx/{txHash} Get the ISC request ID for the given Ethereum transaction hash
ChainsApi GetStateValue Get /v2/chains/{chainID}/state/{stateKey} Fetch the raw value associated with the given key in the chain state
ChainsApi RemoveAccessNode Delete /chains/{chainID}/access-node/{publicKey} Remove an access node.
CorecontractsApi AccountsGetAccountBalance Get /v2/chains/{chainID}/core/accounts/account/{agentID}/balance Get all assets belonging to an account
CorecontractsApi AccountsGetAccountNFTIDs Get /v2/chains/{chainID}/core/accounts/account/{agentID}/nfts Get all NFT ids belonging to an account
CorecontractsApi AccountsGetAccountNonce Get /v2/chains/{chainID}/core/accounts/account/{agentID}/nonce Get the current nonce of an account
CorecontractsApi AccountsGetAccounts Get /v2/chains/{chainID}/core/accounts Get a list of all accounts
CorecontractsApi AccountsGetFoundryOutput Get /v2/chains/{chainID}/core/accounts/foundry_output Get the foundry output
CorecontractsApi AccountsGetNFTData Get /v2/chains/{chainID}/core/accounts/nftdata Get the NFT data by an ID
CorecontractsApi AccountsGetNativeTokenIDRegistry Get /v2/chains/{chainID}/core/accounts/token_registry Get a list of all registries
CorecontractsApi AccountsGetTotalAssets Get /v2/chains/{chainID}/core/accounts/total_assets Get all stored assets
CorecontractsApi BlobsGetAllBlobs Get /v2/chains/{chainID}/core/blobs Get all stored blobs
CorecontractsApi BlobsGetBlobInfo Get /v2/chains/{chainID}/core/blobs/{blobHash} Get all fields of a blob
CorecontractsApi BlobsGetBlobValue Get /v2/chains/{chainID}/core/blobs/{blobHash}/data/{fieldKey} Get the value of the supplied field (key)
CorecontractsApi BlocklogGetBlockInfo Get /v2/chains/{chainID}/core/blocklog/blocks/{blockIndex} Get the block info of a certain block index
CorecontractsApi BlocklogGetControlAddresses Get /v2/chains/{chainID}/core/blocklog/controladdresses Get the control addresses
CorecontractsApi BlocklogGetEventsOfBlock Get /v2/chains/{chainID}/core/blocklog/events/block/{blockIndex} Get events of a block
CorecontractsApi BlocklogGetEventsOfContract Get /v2/chains/{chainID}/core/blocklog/events/contract/{contractHname} Get events of a contract
CorecontractsApi BlocklogGetEventsOfLatestBlock Get /v2/chains/{chainID}/core/blocklog/events/block/latest Get events of the latest block
CorecontractsApi BlocklogGetEventsOfRequest Get /v2/chains/{chainID}/core/blocklog/events/request/{requestID} Get events of a request
CorecontractsApi BlocklogGetLatestBlockInfo Get /v2/chains/{chainID}/core/blocklog/blocks/latest Get the block info of the latest block
CorecontractsApi BlocklogGetRequestIDsForBlock Get /v2/chains/{chainID}/core/blocklog/blocks/{blockIndex}/requestids Get the request ids for a certain block index
CorecontractsApi BlocklogGetRequestIDsForLatestBlock Get /v2/chains/{chainID}/core/blocklog/blocks/latest/requestids Get the request ids for the latest block
CorecontractsApi BlocklogGetRequestIsProcessed Get /v2/chains/{chainID}/core/blocklog/requests/{requestID}/is_processed Get the request processing status
CorecontractsApi BlocklogGetRequestReceipt Get /v2/chains/{chainID}/core/blocklog/requests/{requestID} Get the receipt of a certain request id
CorecontractsApi BlocklogGetRequestReceiptsOfBlock Get /v2/chains/{chainID}/core/blocklog/blocks/{blockIndex}/receipts Get all receipts of a certain block
CorecontractsApi BlocklogGetRequestReceiptsOfLatestBlock Get /v2/chains/{chainID}/core/blocklog/blocks/latest/receipts Get all receipts of the latest block
CorecontractsApi ErrorsGetErrorMessageFormat Get /v2/chains/{chainID}/core/errors/{contractHname}/message/{errorID} Get the error message format of a specific error id
CorecontractsApi GovernanceGetChainInfo Get /v2/chains/{chainID}/core/governance/chaininfo Get the chain info
MetricsApi GetChainMetrics Get /metrics/chain/{chainID} Get chain specific metrics.
MetricsApi GetChainPipeMetrics Get /metrics/chain/{chainID}/pipe Get chain pipe event metrics.
MetricsApi GetChainWorkflowMetrics Get /metrics/chain/{chainID}/workflow Get chain workflow metrics.
MetricsApi GetL1Metrics Get /metrics/l1 Get accumulated metrics.
NodeApi DistrustPeer Delete /node/peers/trusted Distrust a peering node
NodeApi GenerateDKS Post /node/dks Generate a new distributed key
NodeApi GetAllPeers Get /node/peers Get basic information about all configured peers
NodeApi GetConfiguration Get /node/config Return the Wasp configuration
NodeApi GetDKSInfo Get /node/dks/{sharedAddress} Get information about the shared address DKS configuration
NodeApi GetInfo Get /node/info Returns private information about this node.
NodeApi GetPeeringIdentity Get /node/peers/identity Get basic peer info of the current node
NodeApi GetTrustedPeers Get /node/peers/trusted Get trusted peers
NodeApi GetVersion Get /v2/node/version Returns the node version.
NodeApi SetNodeOwner Post /node/owner/certificate Sets the node owner
NodeApi ShutdownNode Post /node/shutdown Shut down the node
NodeApi TrustPeer Post /node/peers/trusted Trust a peering node
RequestsApi CallView Post /v2/requests/callview Call a view function on a contract by Hname
RequestsApi GetReceipt Get /v2/chains/{chainID}/receipts/{requestID} Get a receipt from a request ID
RequestsApi OffLedger Post /v2/requests/offledger Post an off-ledger request
RequestsApi WaitForTransaction Get /v2/chains/{chainID}/requests/{requestID}/wait Wait until the given request has been processed by the node
UsersApi AddUser Post /users Add a user
UsersApi ChangeUserPassword Put /users/{username}/password Change user password
UsersApi ChangeUserPermissions Put /users/{username}/permissions Change user permissions
UsersApi DeleteUser Delete /users/{username} Deletes a user
UsersApi GetUser Get /users/{username} Get a user
UsersApi GetUsers Get /users Get a list of all users

Documentation For Models

Documentation For Authorization

Authorization
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// 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")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AuthApi *AuthApiService

	ChainsApi *ChainsApiService

	CorecontractsApi *CorecontractsApiService

	DefaultApi *DefaultApiService

	MetricsApi *MetricsApiService

	NodeApi *NodeApiService

	RequestsApi *RequestsApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Wasp API API v0 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

type APIKey struct {
	Key    string
	Prefix string
}

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 AccountFoundriesResponse

type AccountFoundriesResponse struct {
	FoundrySerialNumbers []int32 `json:"foundrySerialNumbers"`
}

AccountFoundriesResponse struct for AccountFoundriesResponse

func NewAccountFoundriesResponse

func NewAccountFoundriesResponse(foundrySerialNumbers []int32) *AccountFoundriesResponse

NewAccountFoundriesResponse instantiates a new AccountFoundriesResponse 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 NewAccountFoundriesResponseWithDefaults

func NewAccountFoundriesResponseWithDefaults() *AccountFoundriesResponse

NewAccountFoundriesResponseWithDefaults instantiates a new AccountFoundriesResponse 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 (*AccountFoundriesResponse) GetFoundrySerialNumbers

func (o *AccountFoundriesResponse) GetFoundrySerialNumbers() []int32

GetFoundrySerialNumbers returns the FoundrySerialNumbers field value

func (*AccountFoundriesResponse) GetFoundrySerialNumbersOk

func (o *AccountFoundriesResponse) GetFoundrySerialNumbersOk() ([]int32, bool)

GetFoundrySerialNumbersOk returns a tuple with the FoundrySerialNumbers field value and a boolean to check if the value has been set.

func (AccountFoundriesResponse) MarshalJSON

func (o AccountFoundriesResponse) MarshalJSON() ([]byte, error)

func (*AccountFoundriesResponse) SetFoundrySerialNumbers

func (o *AccountFoundriesResponse) SetFoundrySerialNumbers(v []int32)

SetFoundrySerialNumbers sets field value

func (AccountFoundriesResponse) ToMap

func (o AccountFoundriesResponse) ToMap() (map[string]interface{}, error)

type AccountListResponse

type AccountListResponse struct {
	Accounts []string `json:"accounts"`
}

AccountListResponse struct for AccountListResponse

func NewAccountListResponse

func NewAccountListResponse(accounts []string) *AccountListResponse

NewAccountListResponse instantiates a new AccountListResponse 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 NewAccountListResponseWithDefaults

func NewAccountListResponseWithDefaults() *AccountListResponse

NewAccountListResponseWithDefaults instantiates a new AccountListResponse 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 (*AccountListResponse) GetAccounts

func (o *AccountListResponse) GetAccounts() []string

GetAccounts returns the Accounts field value

func (*AccountListResponse) GetAccountsOk

func (o *AccountListResponse) GetAccountsOk() ([]string, bool)

GetAccountsOk returns a tuple with the Accounts field value and a boolean to check if the value has been set.

func (AccountListResponse) MarshalJSON

func (o AccountListResponse) MarshalJSON() ([]byte, error)

func (*AccountListResponse) SetAccounts

func (o *AccountListResponse) SetAccounts(v []string)

SetAccounts sets field value

func (AccountListResponse) ToMap

func (o AccountListResponse) ToMap() (map[string]interface{}, error)

type AccountNFTsResponse

type AccountNFTsResponse struct {
	NftIds []string `json:"nftIds"`
}

AccountNFTsResponse struct for AccountNFTsResponse

func NewAccountNFTsResponse

func NewAccountNFTsResponse(nftIds []string) *AccountNFTsResponse

NewAccountNFTsResponse instantiates a new AccountNFTsResponse 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 NewAccountNFTsResponseWithDefaults

func NewAccountNFTsResponseWithDefaults() *AccountNFTsResponse

NewAccountNFTsResponseWithDefaults instantiates a new AccountNFTsResponse 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 (*AccountNFTsResponse) GetNftIds

func (o *AccountNFTsResponse) GetNftIds() []string

GetNftIds returns the NftIds field value

func (*AccountNFTsResponse) GetNftIdsOk

func (o *AccountNFTsResponse) GetNftIdsOk() ([]string, bool)

GetNftIdsOk returns a tuple with the NftIds field value and a boolean to check if the value has been set.

func (AccountNFTsResponse) MarshalJSON

func (o AccountNFTsResponse) MarshalJSON() ([]byte, error)

func (*AccountNFTsResponse) SetNftIds

func (o *AccountNFTsResponse) SetNftIds(v []string)

SetNftIds sets field value

func (AccountNFTsResponse) ToMap

func (o AccountNFTsResponse) ToMap() (map[string]interface{}, error)

type AccountNonceResponse

type AccountNonceResponse struct {
	// The nonce (uint64 as string)
	Nonce string `json:"nonce"`
}

AccountNonceResponse struct for AccountNonceResponse

func NewAccountNonceResponse

func NewAccountNonceResponse(nonce string) *AccountNonceResponse

NewAccountNonceResponse instantiates a new AccountNonceResponse 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 NewAccountNonceResponseWithDefaults

func NewAccountNonceResponseWithDefaults() *AccountNonceResponse

NewAccountNonceResponseWithDefaults instantiates a new AccountNonceResponse 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 (*AccountNonceResponse) GetNonce

func (o *AccountNonceResponse) GetNonce() string

GetNonce returns the Nonce field value

func (*AccountNonceResponse) GetNonceOk

func (o *AccountNonceResponse) GetNonceOk() (*string, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (AccountNonceResponse) MarshalJSON

func (o AccountNonceResponse) MarshalJSON() ([]byte, error)

func (*AccountNonceResponse) SetNonce

func (o *AccountNonceResponse) SetNonce(v string)

SetNonce sets field value

func (AccountNonceResponse) ToMap

func (o AccountNonceResponse) ToMap() (map[string]interface{}, error)

type AddUserRequest

type AddUserRequest struct {
	Password    string   `json:"password"`
	Permissions []string `json:"permissions"`
	Username    string   `json:"username"`
}

AddUserRequest struct for AddUserRequest

func NewAddUserRequest

func NewAddUserRequest(password string, permissions []string, username string) *AddUserRequest

NewAddUserRequest instantiates a new AddUserRequest 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 NewAddUserRequestWithDefaults

func NewAddUserRequestWithDefaults() *AddUserRequest

NewAddUserRequestWithDefaults instantiates a new AddUserRequest 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 (*AddUserRequest) GetPassword

func (o *AddUserRequest) GetPassword() string

GetPassword returns the Password field value

func (*AddUserRequest) GetPasswordOk

func (o *AddUserRequest) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*AddUserRequest) GetPermissions

func (o *AddUserRequest) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*AddUserRequest) GetPermissionsOk

func (o *AddUserRequest) GetPermissionsOk() ([]string, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (*AddUserRequest) GetUsername

func (o *AddUserRequest) GetUsername() string

GetUsername returns the Username field value

func (*AddUserRequest) GetUsernameOk

func (o *AddUserRequest) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (AddUserRequest) MarshalJSON

func (o AddUserRequest) MarshalJSON() ([]byte, error)

func (*AddUserRequest) SetPassword

func (o *AddUserRequest) SetPassword(v string)

SetPassword sets field value

func (*AddUserRequest) SetPermissions

func (o *AddUserRequest) SetPermissions(v []string)

SetPermissions sets field value

func (*AddUserRequest) SetUsername

func (o *AddUserRequest) SetUsername(v string)

SetUsername sets field value

func (AddUserRequest) ToMap

func (o AddUserRequest) ToMap() (map[string]interface{}, error)

type AliasOutputMetricItem

type AliasOutputMetricItem struct {
	LastMessage Output    `json:"lastMessage"`
	Messages    uint32    `json:"messages"`
	Timestamp   time.Time `json:"timestamp"`
}

AliasOutputMetricItem struct for AliasOutputMetricItem

func NewAliasOutputMetricItem

func NewAliasOutputMetricItem(lastMessage Output, messages uint32, timestamp time.Time) *AliasOutputMetricItem

NewAliasOutputMetricItem instantiates a new AliasOutputMetricItem 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 NewAliasOutputMetricItemWithDefaults

func NewAliasOutputMetricItemWithDefaults() *AliasOutputMetricItem

NewAliasOutputMetricItemWithDefaults instantiates a new AliasOutputMetricItem 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 (*AliasOutputMetricItem) GetLastMessage

func (o *AliasOutputMetricItem) GetLastMessage() Output

GetLastMessage returns the LastMessage field value

func (*AliasOutputMetricItem) GetLastMessageOk

func (o *AliasOutputMetricItem) GetLastMessageOk() (*Output, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*AliasOutputMetricItem) GetMessages

func (o *AliasOutputMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*AliasOutputMetricItem) GetMessagesOk

func (o *AliasOutputMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*AliasOutputMetricItem) GetTimestamp

func (o *AliasOutputMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*AliasOutputMetricItem) GetTimestampOk

func (o *AliasOutputMetricItem) 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 (AliasOutputMetricItem) MarshalJSON

func (o AliasOutputMetricItem) MarshalJSON() ([]byte, error)

func (*AliasOutputMetricItem) SetLastMessage

func (o *AliasOutputMetricItem) SetLastMessage(v Output)

SetLastMessage sets field value

func (*AliasOutputMetricItem) SetMessages

func (o *AliasOutputMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*AliasOutputMetricItem) SetTimestamp

func (o *AliasOutputMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (AliasOutputMetricItem) ToMap

func (o AliasOutputMetricItem) ToMap() (map[string]interface{}, error)

type ApiAccountsGetAccountBalanceRequest

type ApiAccountsGetAccountBalanceRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetAccountBalanceRequest) Execute

type ApiAccountsGetAccountFoundriesRequest

type ApiAccountsGetAccountFoundriesRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetAccountFoundriesRequest) Execute

type ApiAccountsGetAccountNFTIDsRequest

type ApiAccountsGetAccountNFTIDsRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetAccountNFTIDsRequest) Execute

type ApiAccountsGetAccountNonceRequest

type ApiAccountsGetAccountNonceRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetAccountNonceRequest) Execute

type ApiAccountsGetAccountsRequest

type ApiAccountsGetAccountsRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetAccountsRequest) Execute

type ApiAccountsGetFoundryOutputRequest

type ApiAccountsGetFoundryOutputRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetFoundryOutputRequest) Execute

type ApiAccountsGetNFTDataRequest

type ApiAccountsGetNFTDataRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetNFTDataRequest) Execute

type ApiAccountsGetNativeTokenIDRegistryRequest

type ApiAccountsGetNativeTokenIDRegistryRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetNativeTokenIDRegistryRequest) Execute

type ApiAccountsGetTotalAssetsRequest

type ApiAccountsGetTotalAssetsRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiAccountsGetTotalAssetsRequest) Execute

type ApiActivateChainRequest

type ApiActivateChainRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiActivateChainRequest) Execute

func (r ApiActivateChainRequest) Execute() (*http.Response, error)

type ApiAddAccessNodeRequest

type ApiAddAccessNodeRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiAddAccessNodeRequest) Execute

func (r ApiAddAccessNodeRequest) Execute() (*http.Response, error)

type ApiAddUserRequest

type ApiAddUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiAddUserRequest) AddUserRequest

func (r ApiAddUserRequest) AddUserRequest(addUserRequest AddUserRequest) ApiAddUserRequest

The user data

func (ApiAddUserRequest) Execute

func (r ApiAddUserRequest) Execute() (*http.Response, error)

type ApiAuthInfoRequest

type ApiAuthInfoRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiAuthInfoRequest) Execute

type ApiAuthenticateRequest

type ApiAuthenticateRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiAuthenticateRequest) Execute

func (ApiAuthenticateRequest) LoginRequest

func (r ApiAuthenticateRequest) LoginRequest(loginRequest LoginRequest) ApiAuthenticateRequest

The login request

type ApiBlobsGetAllBlobsRequest

type ApiBlobsGetAllBlobsRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlobsGetAllBlobsRequest) Execute

type ApiBlobsGetBlobInfoRequest

type ApiBlobsGetBlobInfoRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlobsGetBlobInfoRequest) Execute

type ApiBlobsGetBlobValueRequest

type ApiBlobsGetBlobValueRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlobsGetBlobValueRequest) Execute

type ApiBlocklogGetBlockInfoRequest

type ApiBlocklogGetBlockInfoRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetBlockInfoRequest) Execute

type ApiBlocklogGetControlAddressesRequest

type ApiBlocklogGetControlAddressesRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetControlAddressesRequest) Execute

type ApiBlocklogGetEventsOfBlockRequest

type ApiBlocklogGetEventsOfBlockRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetEventsOfBlockRequest) Execute

type ApiBlocklogGetEventsOfContractRequest

type ApiBlocklogGetEventsOfContractRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetEventsOfContractRequest) Execute

type ApiBlocklogGetEventsOfLatestBlockRequest

type ApiBlocklogGetEventsOfLatestBlockRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetEventsOfLatestBlockRequest) Execute

type ApiBlocklogGetEventsOfRequestRequest

type ApiBlocklogGetEventsOfRequestRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetEventsOfRequestRequest) Execute

type ApiBlocklogGetLatestBlockInfoRequest

type ApiBlocklogGetLatestBlockInfoRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetLatestBlockInfoRequest) Execute

type ApiBlocklogGetRequestIDsForBlockRequest

type ApiBlocklogGetRequestIDsForBlockRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetRequestIDsForBlockRequest) Execute

type ApiBlocklogGetRequestIDsForLatestBlockRequest

type ApiBlocklogGetRequestIDsForLatestBlockRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetRequestIDsForLatestBlockRequest) Execute

type ApiBlocklogGetRequestIsProcessedRequest

type ApiBlocklogGetRequestIsProcessedRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetRequestIsProcessedRequest) Execute

type ApiBlocklogGetRequestReceiptRequest

type ApiBlocklogGetRequestReceiptRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetRequestReceiptRequest) Execute

type ApiBlocklogGetRequestReceiptsOfBlockRequest

type ApiBlocklogGetRequestReceiptsOfBlockRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetRequestReceiptsOfBlockRequest) Execute

type ApiBlocklogGetRequestReceiptsOfLatestBlockRequest

type ApiBlocklogGetRequestReceiptsOfLatestBlockRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiBlocklogGetRequestReceiptsOfLatestBlockRequest) Execute

type ApiCallViewRequest

type ApiCallViewRequest struct {
	ApiService *RequestsApiService
	// contains filtered or unexported fields
}

func (ApiCallViewRequest) ContractCallViewRequest

func (r ApiCallViewRequest) ContractCallViewRequest(contractCallViewRequest ContractCallViewRequest) ApiCallViewRequest

Parameters

func (ApiCallViewRequest) Execute

func (r ApiCallViewRequest) Execute() (*JSONDict, *http.Response, error)

type ApiChainsChainIDEvmGetRequest

type ApiChainsChainIDEvmGetRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiChainsChainIDEvmGetRequest) Execute

type ApiChainsChainIDEvmWsGetRequest

type ApiChainsChainIDEvmWsGetRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiChainsChainIDEvmWsGetRequest) Execute

type ApiChangeUserPasswordRequest

type ApiChangeUserPasswordRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiChangeUserPasswordRequest) Execute

func (ApiChangeUserPasswordRequest) UpdateUserPasswordRequest

func (r ApiChangeUserPasswordRequest) UpdateUserPasswordRequest(updateUserPasswordRequest UpdateUserPasswordRequest) ApiChangeUserPasswordRequest

The users new password

type ApiChangeUserPermissionsRequest

type ApiChangeUserPermissionsRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiChangeUserPermissionsRequest) Execute

func (ApiChangeUserPermissionsRequest) UpdateUserPermissionsRequest

func (r ApiChangeUserPermissionsRequest) UpdateUserPermissionsRequest(updateUserPermissionsRequest UpdateUserPermissionsRequest) ApiChangeUserPermissionsRequest

The users new permissions

type ApiDeactivateChainRequest

type ApiDeactivateChainRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiDeactivateChainRequest) Execute

func (r ApiDeactivateChainRequest) Execute() (*http.Response, error)

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() (*http.Response, error)

type ApiDistrustPeerRequest

type ApiDistrustPeerRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiDistrustPeerRequest) Execute

func (r ApiDistrustPeerRequest) Execute() (*http.Response, error)

type ApiErrorsGetErrorMessageFormatRequest

type ApiErrorsGetErrorMessageFormatRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiErrorsGetErrorMessageFormatRequest) Execute

type ApiGenerateDKSRequest

type ApiGenerateDKSRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGenerateDKSRequest) DKSharesPostRequest

func (r ApiGenerateDKSRequest) DKSharesPostRequest(dKSharesPostRequest DKSharesPostRequest) ApiGenerateDKSRequest

Request parameters

func (ApiGenerateDKSRequest) Execute

type ApiGetAllPeersRequest

type ApiGetAllPeersRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetAllPeersRequest) Execute

type ApiGetChainInfoRequest

type ApiGetChainInfoRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiGetChainInfoRequest) Execute

type ApiGetChainMetricsRequest

type ApiGetChainMetricsRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetChainMetricsRequest) Execute

type ApiGetChainPipeMetricsRequest

type ApiGetChainPipeMetricsRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetChainPipeMetricsRequest) Execute

type ApiGetChainWorkflowMetricsRequest

type ApiGetChainWorkflowMetricsRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetChainWorkflowMetricsRequest) Execute

type ApiGetChainsRequest

type ApiGetChainsRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiGetChainsRequest) Execute

type ApiGetCommitteeInfoRequest

type ApiGetCommitteeInfoRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiGetCommitteeInfoRequest) Execute

type ApiGetConfigurationRequest

type ApiGetConfigurationRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetConfigurationRequest) Execute

type ApiGetContractsRequest

type ApiGetContractsRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiGetContractsRequest) Execute

type ApiGetDKSInfoRequest

type ApiGetDKSInfoRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetDKSInfoRequest) Execute

type ApiGetHealthRequest

type ApiGetHealthRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetHealthRequest) Execute

func (r ApiGetHealthRequest) Execute() (*http.Response, error)

type ApiGetInfoRequest

type ApiGetInfoRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetInfoRequest) Execute

func (r ApiGetInfoRequest) Execute() (*InfoResponse, *http.Response, error)

type ApiGetL1MetricsRequest

type ApiGetL1MetricsRequest struct {
	ApiService *MetricsApiService
	// contains filtered or unexported fields
}

func (ApiGetL1MetricsRequest) Execute

type ApiGetPeeringIdentityRequest

type ApiGetPeeringIdentityRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetPeeringIdentityRequest) Execute

type ApiGetReceiptRequest

type ApiGetReceiptRequest struct {
	ApiService *RequestsApiService
	// contains filtered or unexported fields
}

func (ApiGetReceiptRequest) Execute

type ApiGetRequestIDFromEVMTransactionIDRequest

type ApiGetRequestIDFromEVMTransactionIDRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiGetRequestIDFromEVMTransactionIDRequest) Execute

type ApiGetStateValueRequest

type ApiGetStateValueRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiGetStateValueRequest) Execute

type ApiGetTrustedPeersRequest

type ApiGetTrustedPeersRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetTrustedPeersRequest) Execute

type ApiGetUserRequest

type ApiGetUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*User, *http.Response, error)

type ApiGetUsersRequest

type ApiGetUsersRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetUsersRequest) Execute

func (r ApiGetUsersRequest) Execute() ([]User, *http.Response, error)

type ApiGetVersionRequest

type ApiGetVersionRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiGetVersionRequest) Execute

type ApiGovernanceGetAllowedStateControllerAddressesRequest

type ApiGovernanceGetAllowedStateControllerAddressesRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiGovernanceGetAllowedStateControllerAddressesRequest) Execute

type ApiGovernanceGetChainInfoRequest

type ApiGovernanceGetChainInfoRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiGovernanceGetChainInfoRequest) Execute

type ApiGovernanceGetChainOwnerRequest

type ApiGovernanceGetChainOwnerRequest struct {
	ApiService *CorecontractsApiService
	// contains filtered or unexported fields
}

func (ApiGovernanceGetChainOwnerRequest) Execute

type ApiOffLedgerRequest

type ApiOffLedgerRequest struct {
	ApiService *RequestsApiService
	// contains filtered or unexported fields
}

func (ApiOffLedgerRequest) Execute

func (r ApiOffLedgerRequest) Execute() (*http.Response, error)

func (ApiOffLedgerRequest) OffLedgerRequest

func (r ApiOffLedgerRequest) OffLedgerRequest(offLedgerRequest OffLedgerRequest) ApiOffLedgerRequest

Offledger request as JSON. Request encoded in Hex

type ApiRemoveAccessNodeRequest

type ApiRemoveAccessNodeRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiRemoveAccessNodeRequest) Execute

type ApiSetChainRecordRequest

type ApiSetChainRecordRequest struct {
	ApiService *ChainsApiService
	// contains filtered or unexported fields
}

func (ApiSetChainRecordRequest) ChainRecord

Chain Record

func (ApiSetChainRecordRequest) Execute

func (r ApiSetChainRecordRequest) Execute() (*http.Response, error)

type ApiSetNodeOwnerRequest

type ApiSetNodeOwnerRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiSetNodeOwnerRequest) Execute

func (ApiSetNodeOwnerRequest) NodeOwnerCertificateRequest

func (r ApiSetNodeOwnerRequest) NodeOwnerCertificateRequest(nodeOwnerCertificateRequest NodeOwnerCertificateRequest) ApiSetNodeOwnerRequest

The node owner certificate

type ApiShutdownNodeRequest

type ApiShutdownNodeRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiShutdownNodeRequest) Execute

func (r ApiShutdownNodeRequest) Execute() (*http.Response, error)

type ApiTrustPeerRequest

type ApiTrustPeerRequest struct {
	ApiService *NodeApiService
	// contains filtered or unexported fields
}

func (ApiTrustPeerRequest) Execute

func (r ApiTrustPeerRequest) Execute() (*http.Response, error)

func (ApiTrustPeerRequest) PeeringTrustRequest

func (r ApiTrustPeerRequest) PeeringTrustRequest(peeringTrustRequest PeeringTrustRequest) ApiTrustPeerRequest

Info of the peer to trust

type ApiWaitForRequestRequest

type ApiWaitForRequestRequest struct {
	ApiService *RequestsApiService
	// contains filtered or unexported fields
}

func (ApiWaitForRequestRequest) Execute

func (ApiWaitForRequestRequest) TimeoutSeconds

func (r ApiWaitForRequestRequest) TimeoutSeconds(timeoutSeconds int32) ApiWaitForRequestRequest

The timeout in seconds

type ApiWsGetRequest

type ApiWsGetRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiWsGetRequest) Execute

func (r ApiWsGetRequest) Execute() (*http.Response, error)

type Assets

type Assets struct {
	// The base tokens (uint64 as string)
	BaseTokens   string        `json:"baseTokens"`
	NativeTokens []NativeToken `json:"nativeTokens"`
	Nfts         []string      `json:"nfts"`
}

Assets struct for Assets

func NewAssets

func NewAssets(baseTokens string, nativeTokens []NativeToken, nfts []string) *Assets

NewAssets instantiates a new Assets 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 NewAssetsWithDefaults

func NewAssetsWithDefaults() *Assets

NewAssetsWithDefaults instantiates a new Assets 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 (*Assets) GetBaseTokens

func (o *Assets) GetBaseTokens() string

GetBaseTokens returns the BaseTokens field value

func (*Assets) GetBaseTokensOk

func (o *Assets) GetBaseTokensOk() (*string, bool)

GetBaseTokensOk returns a tuple with the BaseTokens field value and a boolean to check if the value has been set.

func (*Assets) GetNativeTokens

func (o *Assets) GetNativeTokens() []NativeToken

GetNativeTokens returns the NativeTokens field value

func (*Assets) GetNativeTokensOk

func (o *Assets) GetNativeTokensOk() ([]NativeToken, bool)

GetNativeTokensOk returns a tuple with the NativeTokens field value and a boolean to check if the value has been set.

func (*Assets) GetNfts

func (o *Assets) GetNfts() []string

GetNfts returns the Nfts field value

func (*Assets) GetNftsOk

func (o *Assets) GetNftsOk() ([]string, bool)

GetNftsOk returns a tuple with the Nfts field value and a boolean to check if the value has been set.

func (Assets) MarshalJSON

func (o Assets) MarshalJSON() ([]byte, error)

func (*Assets) SetBaseTokens

func (o *Assets) SetBaseTokens(v string)

SetBaseTokens sets field value

func (*Assets) SetNativeTokens

func (o *Assets) SetNativeTokens(v []NativeToken)

SetNativeTokens sets field value

func (*Assets) SetNfts

func (o *Assets) SetNfts(v []string)

SetNfts sets field value

func (Assets) ToMap

func (o Assets) ToMap() (map[string]interface{}, error)

type AssetsResponse

type AssetsResponse struct {
	// The base tokens (uint64 as string)
	BaseTokens   string        `json:"baseTokens"`
	NativeTokens []NativeToken `json:"nativeTokens"`
}

AssetsResponse struct for AssetsResponse

func NewAssetsResponse

func NewAssetsResponse(baseTokens string, nativeTokens []NativeToken) *AssetsResponse

NewAssetsResponse instantiates a new AssetsResponse 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 NewAssetsResponseWithDefaults

func NewAssetsResponseWithDefaults() *AssetsResponse

NewAssetsResponseWithDefaults instantiates a new AssetsResponse 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 (*AssetsResponse) GetBaseTokens

func (o *AssetsResponse) GetBaseTokens() string

GetBaseTokens returns the BaseTokens field value

func (*AssetsResponse) GetBaseTokensOk

func (o *AssetsResponse) GetBaseTokensOk() (*string, bool)

GetBaseTokensOk returns a tuple with the BaseTokens field value and a boolean to check if the value has been set.

func (*AssetsResponse) GetNativeTokens

func (o *AssetsResponse) GetNativeTokens() []NativeToken

GetNativeTokens returns the NativeTokens field value

func (*AssetsResponse) GetNativeTokensOk

func (o *AssetsResponse) GetNativeTokensOk() ([]NativeToken, bool)

GetNativeTokensOk returns a tuple with the NativeTokens field value and a boolean to check if the value has been set.

func (AssetsResponse) MarshalJSON

func (o AssetsResponse) MarshalJSON() ([]byte, error)

func (*AssetsResponse) SetBaseTokens

func (o *AssetsResponse) SetBaseTokens(v string)

SetBaseTokens sets field value

func (*AssetsResponse) SetNativeTokens

func (o *AssetsResponse) SetNativeTokens(v []NativeToken)

SetNativeTokens sets field value

func (AssetsResponse) ToMap

func (o AssetsResponse) ToMap() (map[string]interface{}, error)

type AuthApiService

type AuthApiService service

AuthApiService AuthApi service

func (*AuthApiService) AuthInfo

AuthInfo Get information about the current authentication mode

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthInfoRequest

func (*AuthApiService) AuthInfoExecute

func (a *AuthApiService) AuthInfoExecute(r ApiAuthInfoRequest) (*AuthInfoModel, *http.Response, error)

Execute executes the request

@return AuthInfoModel

func (*AuthApiService) Authenticate

Authenticate Authenticate towards the node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAuthenticateRequest

func (*AuthApiService) AuthenticateExecute

func (a *AuthApiService) AuthenticateExecute(r ApiAuthenticateRequest) (*LoginResponse, *http.Response, error)

Execute executes the request

@return LoginResponse

type AuthInfoModel

type AuthInfoModel struct {
	// JWT only
	AuthURL string `json:"authURL"`
	Scheme  string `json:"scheme"`
}

AuthInfoModel struct for AuthInfoModel

func NewAuthInfoModel

func NewAuthInfoModel(authURL string, scheme string) *AuthInfoModel

NewAuthInfoModel instantiates a new AuthInfoModel 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 NewAuthInfoModelWithDefaults

func NewAuthInfoModelWithDefaults() *AuthInfoModel

NewAuthInfoModelWithDefaults instantiates a new AuthInfoModel 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 (*AuthInfoModel) GetAuthURL

func (o *AuthInfoModel) GetAuthURL() string

GetAuthURL returns the AuthURL field value

func (*AuthInfoModel) GetAuthURLOk

func (o *AuthInfoModel) GetAuthURLOk() (*string, bool)

GetAuthURLOk returns a tuple with the AuthURL field value and a boolean to check if the value has been set.

func (*AuthInfoModel) GetScheme

func (o *AuthInfoModel) GetScheme() string

GetScheme returns the Scheme field value

func (*AuthInfoModel) GetSchemeOk

func (o *AuthInfoModel) GetSchemeOk() (*string, bool)

GetSchemeOk returns a tuple with the Scheme field value and a boolean to check if the value has been set.

func (AuthInfoModel) MarshalJSON

func (o AuthInfoModel) MarshalJSON() ([]byte, error)

func (*AuthInfoModel) SetAuthURL

func (o *AuthInfoModel) SetAuthURL(v string)

SetAuthURL sets field value

func (*AuthInfoModel) SetScheme

func (o *AuthInfoModel) SetScheme(v string)

SetScheme sets field value

func (AuthInfoModel) ToMap

func (o AuthInfoModel) ToMap() (map[string]interface{}, error)

type BaseToken

type BaseToken struct {
	// The token decimals
	Decimals int32 `json:"decimals"`
	// The base token name
	Name string `json:"name"`
	// The token subunit
	Subunit string `json:"subunit"`
	// The ticker symbol
	TickerSymbol string `json:"tickerSymbol"`
	// The token unit
	Unit string `json:"unit"`
	// Whether or not the token uses a metric prefix
	UseMetricPrefix bool `json:"useMetricPrefix"`
}

BaseToken struct for BaseToken

func NewBaseToken

func NewBaseToken(decimals int32, name string, subunit string, tickerSymbol string, unit string, useMetricPrefix bool) *BaseToken

NewBaseToken instantiates a new BaseToken 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 NewBaseTokenWithDefaults

func NewBaseTokenWithDefaults() *BaseToken

NewBaseTokenWithDefaults instantiates a new BaseToken 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 (*BaseToken) GetDecimals

func (o *BaseToken) GetDecimals() int32

GetDecimals returns the Decimals field value

func (*BaseToken) GetDecimalsOk

func (o *BaseToken) GetDecimalsOk() (*int32, bool)

GetDecimalsOk returns a tuple with the Decimals field value and a boolean to check if the value has been set.

func (*BaseToken) GetName

func (o *BaseToken) GetName() string

GetName returns the Name field value

func (*BaseToken) GetNameOk

func (o *BaseToken) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*BaseToken) GetSubunit

func (o *BaseToken) GetSubunit() string

GetSubunit returns the Subunit field value

func (*BaseToken) GetSubunitOk

func (o *BaseToken) GetSubunitOk() (*string, bool)

GetSubunitOk returns a tuple with the Subunit field value and a boolean to check if the value has been set.

func (*BaseToken) GetTickerSymbol

func (o *BaseToken) GetTickerSymbol() string

GetTickerSymbol returns the TickerSymbol field value

func (*BaseToken) GetTickerSymbolOk

func (o *BaseToken) GetTickerSymbolOk() (*string, bool)

GetTickerSymbolOk returns a tuple with the TickerSymbol field value and a boolean to check if the value has been set.

func (*BaseToken) GetUnit

func (o *BaseToken) GetUnit() string

GetUnit returns the Unit field value

func (*BaseToken) GetUnitOk

func (o *BaseToken) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (*BaseToken) GetUseMetricPrefix

func (o *BaseToken) GetUseMetricPrefix() bool

GetUseMetricPrefix returns the UseMetricPrefix field value

func (*BaseToken) GetUseMetricPrefixOk

func (o *BaseToken) GetUseMetricPrefixOk() (*bool, bool)

GetUseMetricPrefixOk returns a tuple with the UseMetricPrefix field value and a boolean to check if the value has been set.

func (BaseToken) MarshalJSON

func (o BaseToken) MarshalJSON() ([]byte, error)

func (*BaseToken) SetDecimals

func (o *BaseToken) SetDecimals(v int32)

SetDecimals sets field value

func (*BaseToken) SetName

func (o *BaseToken) SetName(v string)

SetName sets field value

func (*BaseToken) SetSubunit

func (o *BaseToken) SetSubunit(v string)

SetSubunit sets field value

func (*BaseToken) SetTickerSymbol

func (o *BaseToken) SetTickerSymbol(v string)

SetTickerSymbol sets field value

func (*BaseToken) SetUnit

func (o *BaseToken) SetUnit(v string)

SetUnit sets field value

func (*BaseToken) SetUseMetricPrefix

func (o *BaseToken) SetUseMetricPrefix(v bool)

SetUseMetricPrefix sets field value

func (BaseToken) ToMap

func (o BaseToken) ToMap() (map[string]interface{}, error)

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 Blob

type Blob struct {
	Hash string `json:"hash"`
	Size uint32 `json:"size"`
}

Blob struct for Blob

func NewBlob

func NewBlob(hash string, size uint32) *Blob

NewBlob instantiates a new Blob 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 NewBlobWithDefaults

func NewBlobWithDefaults() *Blob

NewBlobWithDefaults instantiates a new Blob 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 (*Blob) GetHash

func (o *Blob) GetHash() string

GetHash returns the Hash field value

func (*Blob) GetHashOk

func (o *Blob) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*Blob) GetSize

func (o *Blob) GetSize() uint32

GetSize returns the Size field value

func (*Blob) GetSizeOk

func (o *Blob) GetSizeOk() (*uint32, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (Blob) MarshalJSON

func (o Blob) MarshalJSON() ([]byte, error)

func (*Blob) SetHash

func (o *Blob) SetHash(v string)

SetHash sets field value

func (*Blob) SetSize

func (o *Blob) SetSize(v uint32)

SetSize sets field value

func (Blob) ToMap

func (o Blob) ToMap() (map[string]interface{}, error)

type BlobInfoResponse

type BlobInfoResponse struct {
	Fields map[string]uint32 `json:"fields"`
}

BlobInfoResponse struct for BlobInfoResponse

func NewBlobInfoResponse

func NewBlobInfoResponse(fields map[string]uint32) *BlobInfoResponse

NewBlobInfoResponse instantiates a new BlobInfoResponse 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 NewBlobInfoResponseWithDefaults

func NewBlobInfoResponseWithDefaults() *BlobInfoResponse

NewBlobInfoResponseWithDefaults instantiates a new BlobInfoResponse 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 (*BlobInfoResponse) GetFields

func (o *BlobInfoResponse) GetFields() map[string]uint32

GetFields returns the Fields field value

func (*BlobInfoResponse) GetFieldsOk

func (o *BlobInfoResponse) GetFieldsOk() (*map[string]uint32, bool)

GetFieldsOk returns a tuple with the Fields field value and a boolean to check if the value has been set.

func (BlobInfoResponse) MarshalJSON

func (o BlobInfoResponse) MarshalJSON() ([]byte, error)

func (*BlobInfoResponse) SetFields

func (o *BlobInfoResponse) SetFields(v map[string]uint32)

SetFields sets field value

func (BlobInfoResponse) ToMap

func (o BlobInfoResponse) ToMap() (map[string]interface{}, error)

type BlobListResponse

type BlobListResponse struct {
	Blobs []Blob `json:"Blobs,omitempty"`
}

BlobListResponse struct for BlobListResponse

func NewBlobListResponse

func NewBlobListResponse() *BlobListResponse

NewBlobListResponse instantiates a new BlobListResponse 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 NewBlobListResponseWithDefaults

func NewBlobListResponseWithDefaults() *BlobListResponse

NewBlobListResponseWithDefaults instantiates a new BlobListResponse 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 (*BlobListResponse) GetBlobs

func (o *BlobListResponse) GetBlobs() []Blob

GetBlobs returns the Blobs field value if set, zero value otherwise.

func (*BlobListResponse) GetBlobsOk

func (o *BlobListResponse) GetBlobsOk() ([]Blob, bool)

GetBlobsOk returns a tuple with the Blobs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BlobListResponse) HasBlobs

func (o *BlobListResponse) HasBlobs() bool

HasBlobs returns a boolean if a field has been set.

func (BlobListResponse) MarshalJSON

func (o BlobListResponse) MarshalJSON() ([]byte, error)

func (*BlobListResponse) SetBlobs

func (o *BlobListResponse) SetBlobs(v []Blob)

SetBlobs gets a reference to the given []Blob and assigns it to the Blobs field.

func (BlobListResponse) ToMap

func (o BlobListResponse) ToMap() (map[string]interface{}, error)

type BlobValueResponse

type BlobValueResponse struct {
	// The blob data (Hex)
	ValueData string `json:"valueData"`
}

BlobValueResponse struct for BlobValueResponse

func NewBlobValueResponse

func NewBlobValueResponse(valueData string) *BlobValueResponse

NewBlobValueResponse instantiates a new BlobValueResponse 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 NewBlobValueResponseWithDefaults

func NewBlobValueResponseWithDefaults() *BlobValueResponse

NewBlobValueResponseWithDefaults instantiates a new BlobValueResponse 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 (*BlobValueResponse) GetValueData

func (o *BlobValueResponse) GetValueData() string

GetValueData returns the ValueData field value

func (*BlobValueResponse) GetValueDataOk

func (o *BlobValueResponse) GetValueDataOk() (*string, bool)

GetValueDataOk returns a tuple with the ValueData field value and a boolean to check if the value has been set.

func (BlobValueResponse) MarshalJSON

func (o BlobValueResponse) MarshalJSON() ([]byte, error)

func (*BlobValueResponse) SetValueData

func (o *BlobValueResponse) SetValueData(v string)

SetValueData sets field value

func (BlobValueResponse) ToMap

func (o BlobValueResponse) ToMap() (map[string]interface{}, error)

type BlockInfoResponse

type BlockInfoResponse struct {
	AnchorTransactionId string `json:"anchorTransactionId"`
	BlockIndex          uint32 `json:"blockIndex"`
	// The burned gas (uint64 as string)
	GasBurned string `json:"gasBurned"`
	// The charged gas fee (uint64 as string)
	GasFeeCharged            string    `json:"gasFeeCharged"`
	L1CommitmentHash         string    `json:"l1CommitmentHash"`
	NumOffLedgerRequests     uint32    `json:"numOffLedgerRequests"`
	NumSuccessfulRequests    uint32    `json:"numSuccessfulRequests"`
	PreviousL1CommitmentHash string    `json:"previousL1CommitmentHash"`
	Timestamp                time.Time `json:"timestamp"`
	// The total L2 base tokens (uint64 as string)
	TotalBaseTokensInL2Accounts string `json:"totalBaseTokensInL2Accounts"`
	TotalRequests               uint32 `json:"totalRequests"`
	// The total storage deposit (uint64 as string)
	TotalStorageDeposit       string `json:"totalStorageDeposit"`
	TransactionSubEssenceHash string `json:"transactionSubEssenceHash"`
}

BlockInfoResponse struct for BlockInfoResponse

func NewBlockInfoResponse

func NewBlockInfoResponse(anchorTransactionId string, blockIndex uint32, gasBurned string, gasFeeCharged string, l1CommitmentHash string, numOffLedgerRequests uint32, numSuccessfulRequests uint32, previousL1CommitmentHash string, timestamp time.Time, totalBaseTokensInL2Accounts string, totalRequests uint32, totalStorageDeposit string, transactionSubEssenceHash string) *BlockInfoResponse

NewBlockInfoResponse instantiates a new BlockInfoResponse 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 NewBlockInfoResponseWithDefaults

func NewBlockInfoResponseWithDefaults() *BlockInfoResponse

NewBlockInfoResponseWithDefaults instantiates a new BlockInfoResponse 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 (*BlockInfoResponse) GetAnchorTransactionId

func (o *BlockInfoResponse) GetAnchorTransactionId() string

GetAnchorTransactionId returns the AnchorTransactionId field value

func (*BlockInfoResponse) GetAnchorTransactionIdOk

func (o *BlockInfoResponse) GetAnchorTransactionIdOk() (*string, bool)

GetAnchorTransactionIdOk returns a tuple with the AnchorTransactionId field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetBlockIndex

func (o *BlockInfoResponse) GetBlockIndex() uint32

GetBlockIndex returns the BlockIndex field value

func (*BlockInfoResponse) GetBlockIndexOk

func (o *BlockInfoResponse) GetBlockIndexOk() (*uint32, bool)

GetBlockIndexOk returns a tuple with the BlockIndex field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetGasBurned

func (o *BlockInfoResponse) GetGasBurned() string

GetGasBurned returns the GasBurned field value

func (*BlockInfoResponse) GetGasBurnedOk

func (o *BlockInfoResponse) GetGasBurnedOk() (*string, bool)

GetGasBurnedOk returns a tuple with the GasBurned field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetGasFeeCharged

func (o *BlockInfoResponse) GetGasFeeCharged() string

GetGasFeeCharged returns the GasFeeCharged field value

func (*BlockInfoResponse) GetGasFeeChargedOk

func (o *BlockInfoResponse) GetGasFeeChargedOk() (*string, bool)

GetGasFeeChargedOk returns a tuple with the GasFeeCharged field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetL1CommitmentHash

func (o *BlockInfoResponse) GetL1CommitmentHash() string

GetL1CommitmentHash returns the L1CommitmentHash field value

func (*BlockInfoResponse) GetL1CommitmentHashOk

func (o *BlockInfoResponse) GetL1CommitmentHashOk() (*string, bool)

GetL1CommitmentHashOk returns a tuple with the L1CommitmentHash field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetNumOffLedgerRequests

func (o *BlockInfoResponse) GetNumOffLedgerRequests() uint32

GetNumOffLedgerRequests returns the NumOffLedgerRequests field value

func (*BlockInfoResponse) GetNumOffLedgerRequestsOk

func (o *BlockInfoResponse) GetNumOffLedgerRequestsOk() (*uint32, bool)

GetNumOffLedgerRequestsOk returns a tuple with the NumOffLedgerRequests field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetNumSuccessfulRequests

func (o *BlockInfoResponse) GetNumSuccessfulRequests() uint32

GetNumSuccessfulRequests returns the NumSuccessfulRequests field value

func (*BlockInfoResponse) GetNumSuccessfulRequestsOk

func (o *BlockInfoResponse) GetNumSuccessfulRequestsOk() (*uint32, bool)

GetNumSuccessfulRequestsOk returns a tuple with the NumSuccessfulRequests field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetPreviousL1CommitmentHash

func (o *BlockInfoResponse) GetPreviousL1CommitmentHash() string

GetPreviousL1CommitmentHash returns the PreviousL1CommitmentHash field value

func (*BlockInfoResponse) GetPreviousL1CommitmentHashOk

func (o *BlockInfoResponse) GetPreviousL1CommitmentHashOk() (*string, bool)

GetPreviousL1CommitmentHashOk returns a tuple with the PreviousL1CommitmentHash field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetTimestamp

func (o *BlockInfoResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*BlockInfoResponse) GetTimestampOk

func (o *BlockInfoResponse) 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 (*BlockInfoResponse) GetTotalBaseTokensInL2Accounts

func (o *BlockInfoResponse) GetTotalBaseTokensInL2Accounts() string

GetTotalBaseTokensInL2Accounts returns the TotalBaseTokensInL2Accounts field value

func (*BlockInfoResponse) GetTotalBaseTokensInL2AccountsOk

func (o *BlockInfoResponse) GetTotalBaseTokensInL2AccountsOk() (*string, bool)

GetTotalBaseTokensInL2AccountsOk returns a tuple with the TotalBaseTokensInL2Accounts field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetTotalRequests

func (o *BlockInfoResponse) GetTotalRequests() uint32

GetTotalRequests returns the TotalRequests field value

func (*BlockInfoResponse) GetTotalRequestsOk

func (o *BlockInfoResponse) GetTotalRequestsOk() (*uint32, bool)

GetTotalRequestsOk returns a tuple with the TotalRequests field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetTotalStorageDeposit

func (o *BlockInfoResponse) GetTotalStorageDeposit() string

GetTotalStorageDeposit returns the TotalStorageDeposit field value

func (*BlockInfoResponse) GetTotalStorageDepositOk

func (o *BlockInfoResponse) GetTotalStorageDepositOk() (*string, bool)

GetTotalStorageDepositOk returns a tuple with the TotalStorageDeposit field value and a boolean to check if the value has been set.

func (*BlockInfoResponse) GetTransactionSubEssenceHash

func (o *BlockInfoResponse) GetTransactionSubEssenceHash() string

GetTransactionSubEssenceHash returns the TransactionSubEssenceHash field value

func (*BlockInfoResponse) GetTransactionSubEssenceHashOk

func (o *BlockInfoResponse) GetTransactionSubEssenceHashOk() (*string, bool)

GetTransactionSubEssenceHashOk returns a tuple with the TransactionSubEssenceHash field value and a boolean to check if the value has been set.

func (BlockInfoResponse) MarshalJSON

func (o BlockInfoResponse) MarshalJSON() ([]byte, error)

func (*BlockInfoResponse) SetAnchorTransactionId

func (o *BlockInfoResponse) SetAnchorTransactionId(v string)

SetAnchorTransactionId sets field value

func (*BlockInfoResponse) SetBlockIndex

func (o *BlockInfoResponse) SetBlockIndex(v uint32)

SetBlockIndex sets field value

func (*BlockInfoResponse) SetGasBurned

func (o *BlockInfoResponse) SetGasBurned(v string)

SetGasBurned sets field value

func (*BlockInfoResponse) SetGasFeeCharged

func (o *BlockInfoResponse) SetGasFeeCharged(v string)

SetGasFeeCharged sets field value

func (*BlockInfoResponse) SetL1CommitmentHash

func (o *BlockInfoResponse) SetL1CommitmentHash(v string)

SetL1CommitmentHash sets field value

func (*BlockInfoResponse) SetNumOffLedgerRequests

func (o *BlockInfoResponse) SetNumOffLedgerRequests(v uint32)

SetNumOffLedgerRequests sets field value

func (*BlockInfoResponse) SetNumSuccessfulRequests

func (o *BlockInfoResponse) SetNumSuccessfulRequests(v uint32)

SetNumSuccessfulRequests sets field value

func (*BlockInfoResponse) SetPreviousL1CommitmentHash

func (o *BlockInfoResponse) SetPreviousL1CommitmentHash(v string)

SetPreviousL1CommitmentHash sets field value

func (*BlockInfoResponse) SetTimestamp

func (o *BlockInfoResponse) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*BlockInfoResponse) SetTotalBaseTokensInL2Accounts

func (o *BlockInfoResponse) SetTotalBaseTokensInL2Accounts(v string)

SetTotalBaseTokensInL2Accounts sets field value

func (*BlockInfoResponse) SetTotalRequests

func (o *BlockInfoResponse) SetTotalRequests(v uint32)

SetTotalRequests sets field value

func (*BlockInfoResponse) SetTotalStorageDeposit

func (o *BlockInfoResponse) SetTotalStorageDeposit(v string)

SetTotalStorageDeposit sets field value

func (*BlockInfoResponse) SetTransactionSubEssenceHash

func (o *BlockInfoResponse) SetTransactionSubEssenceHash(v string)

SetTransactionSubEssenceHash sets field value

func (BlockInfoResponse) ToMap

func (o BlockInfoResponse) ToMap() (map[string]interface{}, error)

type BlockReceiptError

type BlockReceiptError struct {
	ErrorMessage string `json:"errorMessage"`
	Hash         string `json:"hash"`
}

BlockReceiptError struct for BlockReceiptError

func NewBlockReceiptError

func NewBlockReceiptError(errorMessage string, hash string) *BlockReceiptError

NewBlockReceiptError instantiates a new BlockReceiptError 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 NewBlockReceiptErrorWithDefaults

func NewBlockReceiptErrorWithDefaults() *BlockReceiptError

NewBlockReceiptErrorWithDefaults instantiates a new BlockReceiptError 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 (*BlockReceiptError) GetErrorMessage

func (o *BlockReceiptError) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value

func (*BlockReceiptError) GetErrorMessageOk

func (o *BlockReceiptError) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value and a boolean to check if the value has been set.

func (*BlockReceiptError) GetHash

func (o *BlockReceiptError) GetHash() string

GetHash returns the Hash field value

func (*BlockReceiptError) GetHashOk

func (o *BlockReceiptError) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (BlockReceiptError) MarshalJSON

func (o BlockReceiptError) MarshalJSON() ([]byte, error)

func (*BlockReceiptError) SetErrorMessage

func (o *BlockReceiptError) SetErrorMessage(v string)

SetErrorMessage sets field value

func (*BlockReceiptError) SetHash

func (o *BlockReceiptError) SetHash(v string)

SetHash sets field value

func (BlockReceiptError) ToMap

func (o BlockReceiptError) ToMap() (map[string]interface{}, error)

type BlockReceiptsResponse

type BlockReceiptsResponse struct {
	Receipts []RequestReceiptResponse `json:"receipts"`
}

BlockReceiptsResponse struct for BlockReceiptsResponse

func NewBlockReceiptsResponse

func NewBlockReceiptsResponse(receipts []RequestReceiptResponse) *BlockReceiptsResponse

NewBlockReceiptsResponse instantiates a new BlockReceiptsResponse 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 NewBlockReceiptsResponseWithDefaults

func NewBlockReceiptsResponseWithDefaults() *BlockReceiptsResponse

NewBlockReceiptsResponseWithDefaults instantiates a new BlockReceiptsResponse 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 (*BlockReceiptsResponse) GetReceipts

func (o *BlockReceiptsResponse) GetReceipts() []RequestReceiptResponse

GetReceipts returns the Receipts field value

func (*BlockReceiptsResponse) GetReceiptsOk

func (o *BlockReceiptsResponse) GetReceiptsOk() ([]RequestReceiptResponse, bool)

GetReceiptsOk returns a tuple with the Receipts field value and a boolean to check if the value has been set.

func (BlockReceiptsResponse) MarshalJSON

func (o BlockReceiptsResponse) MarshalJSON() ([]byte, error)

func (*BlockReceiptsResponse) SetReceipts

func (o *BlockReceiptsResponse) SetReceipts(v []RequestReceiptResponse)

SetReceipts sets field value

func (BlockReceiptsResponse) ToMap

func (o BlockReceiptsResponse) ToMap() (map[string]interface{}, error)

type BurnLog

type BurnLog struct {
	Records []BurnRecord `json:"records"`
}

BurnLog struct for BurnLog

func NewBurnLog

func NewBurnLog(records []BurnRecord) *BurnLog

NewBurnLog instantiates a new BurnLog 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 NewBurnLogWithDefaults

func NewBurnLogWithDefaults() *BurnLog

NewBurnLogWithDefaults instantiates a new BurnLog 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 (*BurnLog) GetRecords

func (o *BurnLog) GetRecords() []BurnRecord

GetRecords returns the Records field value

func (*BurnLog) GetRecordsOk

func (o *BurnLog) GetRecordsOk() ([]BurnRecord, bool)

GetRecordsOk returns a tuple with the Records field value and a boolean to check if the value has been set.

func (BurnLog) MarshalJSON

func (o BurnLog) MarshalJSON() ([]byte, error)

func (*BurnLog) SetRecords

func (o *BurnLog) SetRecords(v []BurnRecord)

SetRecords sets field value

func (BurnLog) ToMap

func (o BurnLog) ToMap() (map[string]interface{}, error)

type BurnRecord

type BurnRecord struct {
	Code      int32 `json:"code"`
	GasBurned int64 `json:"gasBurned"`
}

BurnRecord struct for BurnRecord

func NewBurnRecord

func NewBurnRecord(code int32, gasBurned int64) *BurnRecord

NewBurnRecord instantiates a new BurnRecord 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 NewBurnRecordWithDefaults

func NewBurnRecordWithDefaults() *BurnRecord

NewBurnRecordWithDefaults instantiates a new BurnRecord 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 (*BurnRecord) GetCode

func (o *BurnRecord) GetCode() int32

GetCode returns the Code field value

func (*BurnRecord) GetCodeOk

func (o *BurnRecord) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*BurnRecord) GetGasBurned

func (o *BurnRecord) GetGasBurned() int64

GetGasBurned returns the GasBurned field value

func (*BurnRecord) GetGasBurnedOk

func (o *BurnRecord) GetGasBurnedOk() (*int64, bool)

GetGasBurnedOk returns a tuple with the GasBurned field value and a boolean to check if the value has been set.

func (BurnRecord) MarshalJSON

func (o BurnRecord) MarshalJSON() ([]byte, error)

func (*BurnRecord) SetCode

func (o *BurnRecord) SetCode(v int32)

SetCode sets field value

func (*BurnRecord) SetGasBurned

func (o *BurnRecord) SetGasBurned(v int64)

SetGasBurned sets field value

func (BurnRecord) ToMap

func (o BurnRecord) ToMap() (map[string]interface{}, error)

type CallTarget

type CallTarget struct {
	// The contract name as HName (Hex)
	ContractHName string `json:"contractHName"`
	// The function name as HName (Hex)
	FunctionHName string `json:"functionHName"`
}

CallTarget struct for CallTarget

func NewCallTarget

func NewCallTarget(contractHName string, functionHName string) *CallTarget

NewCallTarget instantiates a new CallTarget 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 NewCallTargetWithDefaults

func NewCallTargetWithDefaults() *CallTarget

NewCallTargetWithDefaults instantiates a new CallTarget 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 (*CallTarget) GetContractHName

func (o *CallTarget) GetContractHName() string

GetContractHName returns the ContractHName field value

func (*CallTarget) GetContractHNameOk

func (o *CallTarget) GetContractHNameOk() (*string, bool)

GetContractHNameOk returns a tuple with the ContractHName field value and a boolean to check if the value has been set.

func (*CallTarget) GetFunctionHName

func (o *CallTarget) GetFunctionHName() string

GetFunctionHName returns the FunctionHName field value

func (*CallTarget) GetFunctionHNameOk

func (o *CallTarget) GetFunctionHNameOk() (*string, bool)

GetFunctionHNameOk returns a tuple with the FunctionHName field value and a boolean to check if the value has been set.

func (CallTarget) MarshalJSON

func (o CallTarget) MarshalJSON() ([]byte, error)

func (*CallTarget) SetContractHName

func (o *CallTarget) SetContractHName(v string)

SetContractHName sets field value

func (*CallTarget) SetFunctionHName

func (o *CallTarget) SetFunctionHName(v string)

SetFunctionHName sets field value

func (CallTarget) ToMap

func (o CallTarget) ToMap() (map[string]interface{}, error)

type ChainInfoResponse

type ChainInfoResponse struct {
	// ChainID (Bech32-encoded).
	ChainID string `json:"chainID"`
	// The chain owner address (Bech32-encoded).
	ChainOwnerId string `json:"chainOwnerId"`
	// (base64) Optional extra metadata that is appended to the L1 AliasOutput
	CustomMetadata *string `json:"customMetadata,omitempty"`
	// The EVM chain ID
	EvmChainId   uint32        `json:"evmChainId"`
	GasFeePolicy *GasFeePolicy `json:"gasFeePolicy,omitempty"`
	// Whether or not the chain is active.
	IsActive bool `json:"isActive"`
}

ChainInfoResponse struct for ChainInfoResponse

func NewChainInfoResponse

func NewChainInfoResponse(chainID string, chainOwnerId string, evmChainId uint32, isActive bool) *ChainInfoResponse

NewChainInfoResponse instantiates a new ChainInfoResponse 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 NewChainInfoResponseWithDefaults

func NewChainInfoResponseWithDefaults() *ChainInfoResponse

NewChainInfoResponseWithDefaults instantiates a new ChainInfoResponse 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 (*ChainInfoResponse) GetChainID

func (o *ChainInfoResponse) GetChainID() string

GetChainID returns the ChainID field value

func (*ChainInfoResponse) GetChainIDOk

func (o *ChainInfoResponse) GetChainIDOk() (*string, bool)

GetChainIDOk returns a tuple with the ChainID field value and a boolean to check if the value has been set.

func (*ChainInfoResponse) GetChainOwnerId

func (o *ChainInfoResponse) GetChainOwnerId() string

GetChainOwnerId returns the ChainOwnerId field value

func (*ChainInfoResponse) GetChainOwnerIdOk

func (o *ChainInfoResponse) GetChainOwnerIdOk() (*string, bool)

GetChainOwnerIdOk returns a tuple with the ChainOwnerId field value and a boolean to check if the value has been set.

func (*ChainInfoResponse) GetCustomMetadata

func (o *ChainInfoResponse) GetCustomMetadata() string

GetCustomMetadata returns the CustomMetadata field value if set, zero value otherwise.

func (*ChainInfoResponse) GetCustomMetadataOk

func (o *ChainInfoResponse) GetCustomMetadataOk() (*string, bool)

GetCustomMetadataOk returns a tuple with the CustomMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChainInfoResponse) GetEvmChainId

func (o *ChainInfoResponse) GetEvmChainId() uint32

GetEvmChainId returns the EvmChainId field value

func (*ChainInfoResponse) GetEvmChainIdOk

func (o *ChainInfoResponse) GetEvmChainIdOk() (*uint32, bool)

GetEvmChainIdOk returns a tuple with the EvmChainId field value and a boolean to check if the value has been set.

func (*ChainInfoResponse) GetGasFeePolicy

func (o *ChainInfoResponse) GetGasFeePolicy() GasFeePolicy

GetGasFeePolicy returns the GasFeePolicy field value if set, zero value otherwise.

func (*ChainInfoResponse) GetGasFeePolicyOk

func (o *ChainInfoResponse) GetGasFeePolicyOk() (*GasFeePolicy, bool)

GetGasFeePolicyOk returns a tuple with the GasFeePolicy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ChainInfoResponse) GetIsActive

func (o *ChainInfoResponse) GetIsActive() bool

GetIsActive returns the IsActive field value

func (*ChainInfoResponse) GetIsActiveOk

func (o *ChainInfoResponse) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value and a boolean to check if the value has been set.

func (*ChainInfoResponse) HasCustomMetadata

func (o *ChainInfoResponse) HasCustomMetadata() bool

HasCustomMetadata returns a boolean if a field has been set.

func (*ChainInfoResponse) HasGasFeePolicy

func (o *ChainInfoResponse) HasGasFeePolicy() bool

HasGasFeePolicy returns a boolean if a field has been set.

func (ChainInfoResponse) MarshalJSON

func (o ChainInfoResponse) MarshalJSON() ([]byte, error)

func (*ChainInfoResponse) SetChainID

func (o *ChainInfoResponse) SetChainID(v string)

SetChainID sets field value

func (*ChainInfoResponse) SetChainOwnerId

func (o *ChainInfoResponse) SetChainOwnerId(v string)

SetChainOwnerId sets field value

func (*ChainInfoResponse) SetCustomMetadata

func (o *ChainInfoResponse) SetCustomMetadata(v string)

SetCustomMetadata gets a reference to the given string and assigns it to the CustomMetadata field.

func (*ChainInfoResponse) SetEvmChainId

func (o *ChainInfoResponse) SetEvmChainId(v uint32)

SetEvmChainId sets field value

func (*ChainInfoResponse) SetGasFeePolicy

func (o *ChainInfoResponse) SetGasFeePolicy(v GasFeePolicy)

SetGasFeePolicy gets a reference to the given GasFeePolicy and assigns it to the GasFeePolicy field.

func (*ChainInfoResponse) SetIsActive

func (o *ChainInfoResponse) SetIsActive(v bool)

SetIsActive sets field value

func (ChainInfoResponse) ToMap

func (o ChainInfoResponse) ToMap() (map[string]interface{}, error)

type ChainMetrics

type ChainMetrics struct {
	InAliasOutput                   AliasOutputMetricItem         `json:"inAliasOutput"`
	InMilestone                     MilestoneMetricItem           `json:"inMilestone"`
	InOnLedgerRequest               OnLedgerRequestMetricItem     `json:"inOnLedgerRequest"`
	InOutput                        InOutputMetricItem            `json:"inOutput"`
	InStateOutput                   InStateOutputMetricItem       `json:"inStateOutput"`
	InTxInclusionState              TxInclusionStateMsgMetricItem `json:"inTxInclusionState"`
	OutPublishGovernanceTransaction TransactionMetricItem         `json:"outPublishGovernanceTransaction"`
	OutPublisherStateTransaction    PublisherStateTransactionItem `json:"outPublisherStateTransaction"`
	OutPullLatestOutput             InterfaceMetricItem           `json:"outPullLatestOutput"`
	OutPullOutputByID               UTXOInputMetricItem           `json:"outPullOutputByID"`
	OutPullTxInclusionState         TransactionIDMetricItem       `json:"outPullTxInclusionState"`
	RegisteredChainIDs              []string                      `json:"registeredChainIDs"`
}

ChainMetrics struct for ChainMetrics

func NewChainMetrics

func NewChainMetrics(inAliasOutput AliasOutputMetricItem, inMilestone MilestoneMetricItem, inOnLedgerRequest OnLedgerRequestMetricItem, inOutput InOutputMetricItem, inStateOutput InStateOutputMetricItem, inTxInclusionState TxInclusionStateMsgMetricItem, outPublishGovernanceTransaction TransactionMetricItem, outPublisherStateTransaction PublisherStateTransactionItem, outPullLatestOutput InterfaceMetricItem, outPullOutputByID UTXOInputMetricItem, outPullTxInclusionState TransactionIDMetricItem, registeredChainIDs []string) *ChainMetrics

NewChainMetrics instantiates a new ChainMetrics 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 NewChainMetricsWithDefaults

func NewChainMetricsWithDefaults() *ChainMetrics

NewChainMetricsWithDefaults instantiates a new ChainMetrics 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 (*ChainMetrics) GetInAliasOutput

func (o *ChainMetrics) GetInAliasOutput() AliasOutputMetricItem

GetInAliasOutput returns the InAliasOutput field value

func (*ChainMetrics) GetInAliasOutputOk

func (o *ChainMetrics) GetInAliasOutputOk() (*AliasOutputMetricItem, bool)

GetInAliasOutputOk returns a tuple with the InAliasOutput field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetInMilestone

func (o *ChainMetrics) GetInMilestone() MilestoneMetricItem

GetInMilestone returns the InMilestone field value

func (*ChainMetrics) GetInMilestoneOk

func (o *ChainMetrics) GetInMilestoneOk() (*MilestoneMetricItem, bool)

GetInMilestoneOk returns a tuple with the InMilestone field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetInOnLedgerRequest

func (o *ChainMetrics) GetInOnLedgerRequest() OnLedgerRequestMetricItem

GetInOnLedgerRequest returns the InOnLedgerRequest field value

func (*ChainMetrics) GetInOnLedgerRequestOk

func (o *ChainMetrics) GetInOnLedgerRequestOk() (*OnLedgerRequestMetricItem, bool)

GetInOnLedgerRequestOk returns a tuple with the InOnLedgerRequest field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetInOutput

func (o *ChainMetrics) GetInOutput() InOutputMetricItem

GetInOutput returns the InOutput field value

func (*ChainMetrics) GetInOutputOk

func (o *ChainMetrics) GetInOutputOk() (*InOutputMetricItem, bool)

GetInOutputOk returns a tuple with the InOutput field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetInStateOutput

func (o *ChainMetrics) GetInStateOutput() InStateOutputMetricItem

GetInStateOutput returns the InStateOutput field value

func (*ChainMetrics) GetInStateOutputOk

func (o *ChainMetrics) GetInStateOutputOk() (*InStateOutputMetricItem, bool)

GetInStateOutputOk returns a tuple with the InStateOutput field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetInTxInclusionState

func (o *ChainMetrics) GetInTxInclusionState() TxInclusionStateMsgMetricItem

GetInTxInclusionState returns the InTxInclusionState field value

func (*ChainMetrics) GetInTxInclusionStateOk

func (o *ChainMetrics) GetInTxInclusionStateOk() (*TxInclusionStateMsgMetricItem, bool)

GetInTxInclusionStateOk returns a tuple with the InTxInclusionState field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetOutPublishGovernanceTransaction

func (o *ChainMetrics) GetOutPublishGovernanceTransaction() TransactionMetricItem

GetOutPublishGovernanceTransaction returns the OutPublishGovernanceTransaction field value

func (*ChainMetrics) GetOutPublishGovernanceTransactionOk

func (o *ChainMetrics) GetOutPublishGovernanceTransactionOk() (*TransactionMetricItem, bool)

GetOutPublishGovernanceTransactionOk returns a tuple with the OutPublishGovernanceTransaction field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetOutPublisherStateTransaction

func (o *ChainMetrics) GetOutPublisherStateTransaction() PublisherStateTransactionItem

GetOutPublisherStateTransaction returns the OutPublisherStateTransaction field value

func (*ChainMetrics) GetOutPublisherStateTransactionOk

func (o *ChainMetrics) GetOutPublisherStateTransactionOk() (*PublisherStateTransactionItem, bool)

GetOutPublisherStateTransactionOk returns a tuple with the OutPublisherStateTransaction field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetOutPullLatestOutput

func (o *ChainMetrics) GetOutPullLatestOutput() InterfaceMetricItem

GetOutPullLatestOutput returns the OutPullLatestOutput field value

func (*ChainMetrics) GetOutPullLatestOutputOk

func (o *ChainMetrics) GetOutPullLatestOutputOk() (*InterfaceMetricItem, bool)

GetOutPullLatestOutputOk returns a tuple with the OutPullLatestOutput field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetOutPullOutputByID

func (o *ChainMetrics) GetOutPullOutputByID() UTXOInputMetricItem

GetOutPullOutputByID returns the OutPullOutputByID field value

func (*ChainMetrics) GetOutPullOutputByIDOk

func (o *ChainMetrics) GetOutPullOutputByIDOk() (*UTXOInputMetricItem, bool)

GetOutPullOutputByIDOk returns a tuple with the OutPullOutputByID field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetOutPullTxInclusionState

func (o *ChainMetrics) GetOutPullTxInclusionState() TransactionIDMetricItem

GetOutPullTxInclusionState returns the OutPullTxInclusionState field value

func (*ChainMetrics) GetOutPullTxInclusionStateOk

func (o *ChainMetrics) GetOutPullTxInclusionStateOk() (*TransactionIDMetricItem, bool)

GetOutPullTxInclusionStateOk returns a tuple with the OutPullTxInclusionState field value and a boolean to check if the value has been set.

func (*ChainMetrics) GetRegisteredChainIDs

func (o *ChainMetrics) GetRegisteredChainIDs() []string

GetRegisteredChainIDs returns the RegisteredChainIDs field value

func (*ChainMetrics) GetRegisteredChainIDsOk

func (o *ChainMetrics) GetRegisteredChainIDsOk() ([]string, bool)

GetRegisteredChainIDsOk returns a tuple with the RegisteredChainIDs field value and a boolean to check if the value has been set.

func (ChainMetrics) MarshalJSON

func (o ChainMetrics) MarshalJSON() ([]byte, error)

func (*ChainMetrics) SetInAliasOutput

func (o *ChainMetrics) SetInAliasOutput(v AliasOutputMetricItem)

SetInAliasOutput sets field value

func (*ChainMetrics) SetInMilestone

func (o *ChainMetrics) SetInMilestone(v MilestoneMetricItem)

SetInMilestone sets field value

func (*ChainMetrics) SetInOnLedgerRequest

func (o *ChainMetrics) SetInOnLedgerRequest(v OnLedgerRequestMetricItem)

SetInOnLedgerRequest sets field value

func (*ChainMetrics) SetInOutput

func (o *ChainMetrics) SetInOutput(v InOutputMetricItem)

SetInOutput sets field value

func (*ChainMetrics) SetInStateOutput

func (o *ChainMetrics) SetInStateOutput(v InStateOutputMetricItem)

SetInStateOutput sets field value

func (*ChainMetrics) SetInTxInclusionState

func (o *ChainMetrics) SetInTxInclusionState(v TxInclusionStateMsgMetricItem)

SetInTxInclusionState sets field value

func (*ChainMetrics) SetOutPublishGovernanceTransaction

func (o *ChainMetrics) SetOutPublishGovernanceTransaction(v TransactionMetricItem)

SetOutPublishGovernanceTransaction sets field value

func (*ChainMetrics) SetOutPublisherStateTransaction

func (o *ChainMetrics) SetOutPublisherStateTransaction(v PublisherStateTransactionItem)

SetOutPublisherStateTransaction sets field value

func (*ChainMetrics) SetOutPullLatestOutput

func (o *ChainMetrics) SetOutPullLatestOutput(v InterfaceMetricItem)

SetOutPullLatestOutput sets field value

func (*ChainMetrics) SetOutPullOutputByID

func (o *ChainMetrics) SetOutPullOutputByID(v UTXOInputMetricItem)

SetOutPullOutputByID sets field value

func (*ChainMetrics) SetOutPullTxInclusionState

func (o *ChainMetrics) SetOutPullTxInclusionState(v TransactionIDMetricItem)

SetOutPullTxInclusionState sets field value

func (*ChainMetrics) SetRegisteredChainIDs

func (o *ChainMetrics) SetRegisteredChainIDs(v []string)

SetRegisteredChainIDs sets field value

func (ChainMetrics) ToMap

func (o ChainMetrics) ToMap() (map[string]interface{}, error)

type ChainRecord

type ChainRecord struct {
	AccessNodes []string `json:"accessNodes"`
	IsActive    bool     `json:"isActive"`
}

ChainRecord struct for ChainRecord

func NewChainRecord

func NewChainRecord(accessNodes []string, isActive bool) *ChainRecord

NewChainRecord instantiates a new ChainRecord 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 NewChainRecordWithDefaults

func NewChainRecordWithDefaults() *ChainRecord

NewChainRecordWithDefaults instantiates a new ChainRecord 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 (*ChainRecord) GetAccessNodes

func (o *ChainRecord) GetAccessNodes() []string

GetAccessNodes returns the AccessNodes field value

func (*ChainRecord) GetAccessNodesOk

func (o *ChainRecord) GetAccessNodesOk() ([]string, bool)

GetAccessNodesOk returns a tuple with the AccessNodes field value and a boolean to check if the value has been set.

func (*ChainRecord) GetIsActive

func (o *ChainRecord) GetIsActive() bool

GetIsActive returns the IsActive field value

func (*ChainRecord) GetIsActiveOk

func (o *ChainRecord) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value and a boolean to check if the value has been set.

func (ChainRecord) MarshalJSON

func (o ChainRecord) MarshalJSON() ([]byte, error)

func (*ChainRecord) SetAccessNodes

func (o *ChainRecord) SetAccessNodes(v []string)

SetAccessNodes sets field value

func (*ChainRecord) SetIsActive

func (o *ChainRecord) SetIsActive(v bool)

SetIsActive sets field value

func (ChainRecord) ToMap

func (o ChainRecord) ToMap() (map[string]interface{}, error)

type ChainsApiService

type ChainsApiService service

ChainsApiService ChainsApi service

func (*ChainsApiService) ActivateChain

func (a *ChainsApiService) ActivateChain(ctx context.Context, chainID string) ApiActivateChainRequest

ActivateChain Activate a chain

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiActivateChainRequest

func (*ChainsApiService) ActivateChainExecute

func (a *ChainsApiService) ActivateChainExecute(r ApiActivateChainRequest) (*http.Response, error)

Execute executes the request

func (*ChainsApiService) AddAccessNode

func (a *ChainsApiService) AddAccessNode(ctx context.Context, chainID string, peer string) ApiAddAccessNodeRequest

AddAccessNode Configure a trusted node to be an access node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param peer Name or PubKey (hex) of the trusted peer
@return ApiAddAccessNodeRequest

func (*ChainsApiService) AddAccessNodeExecute

func (a *ChainsApiService) AddAccessNodeExecute(r ApiAddAccessNodeRequest) (*http.Response, error)

Execute executes the request

func (*ChainsApiService) ChainsChainIDEvmGet

func (a *ChainsApiService) ChainsChainIDEvmGet(ctx context.Context, chainID string) ApiChainsChainIDEvmGetRequest

ChainsChainIDEvmGet Ethereum JSON-RPC

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiChainsChainIDEvmGetRequest

func (*ChainsApiService) ChainsChainIDEvmGetExecute

func (a *ChainsApiService) ChainsChainIDEvmGetExecute(r ApiChainsChainIDEvmGetRequest) (*http.Response, error)

Execute executes the request

func (*ChainsApiService) ChainsChainIDEvmWsGet

func (a *ChainsApiService) ChainsChainIDEvmWsGet(ctx context.Context, chainID string) ApiChainsChainIDEvmWsGetRequest

ChainsChainIDEvmWsGet Ethereum JSON-RPC (Websocket transport)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiChainsChainIDEvmWsGetRequest

func (*ChainsApiService) ChainsChainIDEvmWsGetExecute

func (a *ChainsApiService) ChainsChainIDEvmWsGetExecute(r ApiChainsChainIDEvmWsGetRequest) (*http.Response, error)

Execute executes the request

func (*ChainsApiService) DeactivateChain

func (a *ChainsApiService) DeactivateChain(ctx context.Context, chainID string) ApiDeactivateChainRequest

DeactivateChain Deactivate a chain

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiDeactivateChainRequest

func (*ChainsApiService) DeactivateChainExecute

func (a *ChainsApiService) DeactivateChainExecute(r ApiDeactivateChainRequest) (*http.Response, error)

Execute executes the request

func (*ChainsApiService) GetChainInfo

func (a *ChainsApiService) GetChainInfo(ctx context.Context, chainID string) ApiGetChainInfoRequest

GetChainInfo Get information about a specific chain

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGetChainInfoRequest

func (*ChainsApiService) GetChainInfoExecute

Execute executes the request

@return ChainInfoResponse

func (*ChainsApiService) GetChains

GetChains Get a list of all chains

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetChainsRequest

func (*ChainsApiService) GetChainsExecute

Execute executes the request

@return []ChainInfoResponse

func (*ChainsApiService) GetCommitteeInfo

func (a *ChainsApiService) GetCommitteeInfo(ctx context.Context, chainID string) ApiGetCommitteeInfoRequest

GetCommitteeInfo Get information about the deployed committee

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGetCommitteeInfoRequest

func (*ChainsApiService) GetCommitteeInfoExecute

Execute executes the request

@return CommitteeInfoResponse

func (*ChainsApiService) GetContracts

func (a *ChainsApiService) GetContracts(ctx context.Context, chainID string) ApiGetContractsRequest

GetContracts Get all available chain contracts

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGetContractsRequest

func (*ChainsApiService) GetContractsExecute

Execute executes the request

@return []ContractInfoResponse

func (*ChainsApiService) GetRequestIDFromEVMTransactionID

func (a *ChainsApiService) GetRequestIDFromEVMTransactionID(ctx context.Context, chainID string, txHash string) ApiGetRequestIDFromEVMTransactionIDRequest

GetRequestIDFromEVMTransactionID Get the ISC request ID for the given Ethereum transaction hash

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param txHash Transaction hash (Hex)
@return ApiGetRequestIDFromEVMTransactionIDRequest

func (*ChainsApiService) GetRequestIDFromEVMTransactionIDExecute

func (a *ChainsApiService) GetRequestIDFromEVMTransactionIDExecute(r ApiGetRequestIDFromEVMTransactionIDRequest) (*RequestIDResponse, *http.Response, error)

Execute executes the request

@return RequestIDResponse

func (*ChainsApiService) GetStateValue

func (a *ChainsApiService) GetStateValue(ctx context.Context, chainID string, stateKey string) ApiGetStateValueRequest

GetStateValue Fetch the raw value associated with the given key in the chain state

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param stateKey State Key (Hex)
@return ApiGetStateValueRequest

func (*ChainsApiService) GetStateValueExecute

func (a *ChainsApiService) GetStateValueExecute(r ApiGetStateValueRequest) (*StateResponse, *http.Response, error)

Execute executes the request

@return StateResponse

func (*ChainsApiService) RemoveAccessNode

func (a *ChainsApiService) RemoveAccessNode(ctx context.Context, chainID string, peer string) ApiRemoveAccessNodeRequest

RemoveAccessNode Remove an access node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param peer Name or PubKey (hex) of the trusted peer
@return ApiRemoveAccessNodeRequest

func (*ChainsApiService) RemoveAccessNodeExecute

func (a *ChainsApiService) RemoveAccessNodeExecute(r ApiRemoveAccessNodeRequest) (*http.Response, error)

Execute executes the request

func (*ChainsApiService) SetChainRecord

func (a *ChainsApiService) SetChainRecord(ctx context.Context, chainID string) ApiSetChainRecordRequest

SetChainRecord Sets the chain record.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiSetChainRecordRequest

func (*ChainsApiService) SetChainRecordExecute

func (a *ChainsApiService) SetChainRecordExecute(r ApiSetChainRecordRequest) (*http.Response, error)

Execute executes the request

type CommitteeInfoResponse

type CommitteeInfoResponse struct {
	// A list of all access nodes and their peering info.
	AccessNodes []CommitteeNode `json:"accessNodes"`
	// Whether or not the chain is active.
	Active bool `json:"active"`
	// A list of all candidate nodes and their peering info.
	CandidateNodes []CommitteeNode `json:"candidateNodes"`
	// ChainID (Bech32-encoded).
	ChainId string `json:"chainId"`
	// A list of all committee nodes and their peering info.
	CommitteeNodes []CommitteeNode `json:"committeeNodes"`
	StateAddress   string          `json:"stateAddress"`
}

CommitteeInfoResponse struct for CommitteeInfoResponse

func NewCommitteeInfoResponse

func NewCommitteeInfoResponse(accessNodes []CommitteeNode, active bool, candidateNodes []CommitteeNode, chainId string, committeeNodes []CommitteeNode, stateAddress string) *CommitteeInfoResponse

NewCommitteeInfoResponse instantiates a new CommitteeInfoResponse 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 NewCommitteeInfoResponseWithDefaults

func NewCommitteeInfoResponseWithDefaults() *CommitteeInfoResponse

NewCommitteeInfoResponseWithDefaults instantiates a new CommitteeInfoResponse 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 (*CommitteeInfoResponse) GetAccessNodes

func (o *CommitteeInfoResponse) GetAccessNodes() []CommitteeNode

GetAccessNodes returns the AccessNodes field value

func (*CommitteeInfoResponse) GetAccessNodesOk

func (o *CommitteeInfoResponse) GetAccessNodesOk() ([]CommitteeNode, bool)

GetAccessNodesOk returns a tuple with the AccessNodes field value and a boolean to check if the value has been set.

func (*CommitteeInfoResponse) GetActive

func (o *CommitteeInfoResponse) GetActive() bool

GetActive returns the Active field value

func (*CommitteeInfoResponse) GetActiveOk

func (o *CommitteeInfoResponse) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.

func (*CommitteeInfoResponse) GetCandidateNodes

func (o *CommitteeInfoResponse) GetCandidateNodes() []CommitteeNode

GetCandidateNodes returns the CandidateNodes field value

func (*CommitteeInfoResponse) GetCandidateNodesOk

func (o *CommitteeInfoResponse) GetCandidateNodesOk() ([]CommitteeNode, bool)

GetCandidateNodesOk returns a tuple with the CandidateNodes field value and a boolean to check if the value has been set.

func (*CommitteeInfoResponse) GetChainId

func (o *CommitteeInfoResponse) GetChainId() string

GetChainId returns the ChainId field value

func (*CommitteeInfoResponse) GetChainIdOk

func (o *CommitteeInfoResponse) GetChainIdOk() (*string, bool)

GetChainIdOk returns a tuple with the ChainId field value and a boolean to check if the value has been set.

func (*CommitteeInfoResponse) GetCommitteeNodes

func (o *CommitteeInfoResponse) GetCommitteeNodes() []CommitteeNode

GetCommitteeNodes returns the CommitteeNodes field value

func (*CommitteeInfoResponse) GetCommitteeNodesOk

func (o *CommitteeInfoResponse) GetCommitteeNodesOk() ([]CommitteeNode, bool)

GetCommitteeNodesOk returns a tuple with the CommitteeNodes field value and a boolean to check if the value has been set.

func (*CommitteeInfoResponse) GetStateAddress

func (o *CommitteeInfoResponse) GetStateAddress() string

GetStateAddress returns the StateAddress field value

func (*CommitteeInfoResponse) GetStateAddressOk

func (o *CommitteeInfoResponse) GetStateAddressOk() (*string, bool)

GetStateAddressOk returns a tuple with the StateAddress field value and a boolean to check if the value has been set.

func (CommitteeInfoResponse) MarshalJSON

func (o CommitteeInfoResponse) MarshalJSON() ([]byte, error)

func (*CommitteeInfoResponse) SetAccessNodes

func (o *CommitteeInfoResponse) SetAccessNodes(v []CommitteeNode)

SetAccessNodes sets field value

func (*CommitteeInfoResponse) SetActive

func (o *CommitteeInfoResponse) SetActive(v bool)

SetActive sets field value

func (*CommitteeInfoResponse) SetCandidateNodes

func (o *CommitteeInfoResponse) SetCandidateNodes(v []CommitteeNode)

SetCandidateNodes sets field value

func (*CommitteeInfoResponse) SetChainId

func (o *CommitteeInfoResponse) SetChainId(v string)

SetChainId sets field value

func (*CommitteeInfoResponse) SetCommitteeNodes

func (o *CommitteeInfoResponse) SetCommitteeNodes(v []CommitteeNode)

SetCommitteeNodes sets field value

func (*CommitteeInfoResponse) SetStateAddress

func (o *CommitteeInfoResponse) SetStateAddress(v string)

SetStateAddress sets field value

func (CommitteeInfoResponse) ToMap

func (o CommitteeInfoResponse) ToMap() (map[string]interface{}, error)

type CommitteeNode

type CommitteeNode struct {
	AccessAPI string                    `json:"accessAPI"`
	Node      PeeringNodeStatusResponse `json:"node"`
}

CommitteeNode struct for CommitteeNode

func NewCommitteeNode

func NewCommitteeNode(accessAPI string, node PeeringNodeStatusResponse) *CommitteeNode

NewCommitteeNode instantiates a new CommitteeNode 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 NewCommitteeNodeWithDefaults

func NewCommitteeNodeWithDefaults() *CommitteeNode

NewCommitteeNodeWithDefaults instantiates a new CommitteeNode 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 (*CommitteeNode) GetAccessAPI

func (o *CommitteeNode) GetAccessAPI() string

GetAccessAPI returns the AccessAPI field value

func (*CommitteeNode) GetAccessAPIOk

func (o *CommitteeNode) GetAccessAPIOk() (*string, bool)

GetAccessAPIOk returns a tuple with the AccessAPI field value and a boolean to check if the value has been set.

func (*CommitteeNode) GetNode

GetNode returns the Node field value

func (*CommitteeNode) GetNodeOk

func (o *CommitteeNode) GetNodeOk() (*PeeringNodeStatusResponse, bool)

GetNodeOk returns a tuple with the Node field value and a boolean to check if the value has been set.

func (CommitteeNode) MarshalJSON

func (o CommitteeNode) MarshalJSON() ([]byte, error)

func (*CommitteeNode) SetAccessAPI

func (o *CommitteeNode) SetAccessAPI(v string)

SetAccessAPI sets field value

func (*CommitteeNode) SetNode

SetNode sets field value

func (CommitteeNode) ToMap

func (o CommitteeNode) ToMap() (map[string]interface{}, error)

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConsensusPipeMetrics

type ConsensusPipeMetrics struct {
	EventACSMsgPipeSize             int32 `json:"eventACSMsgPipeSize"`
	EventPeerLogIndexMsgPipeSize    int32 `json:"eventPeerLogIndexMsgPipeSize"`
	EventStateTransitionMsgPipeSize int32 `json:"eventStateTransitionMsgPipeSize"`
	EventTimerMsgPipeSize           int32 `json:"eventTimerMsgPipeSize"`
	EventVMResultMsgPipeSize        int32 `json:"eventVMResultMsgPipeSize"`
}

ConsensusPipeMetrics struct for ConsensusPipeMetrics

func NewConsensusPipeMetrics

func NewConsensusPipeMetrics(eventACSMsgPipeSize int32, eventPeerLogIndexMsgPipeSize int32, eventStateTransitionMsgPipeSize int32, eventTimerMsgPipeSize int32, eventVMResultMsgPipeSize int32) *ConsensusPipeMetrics

NewConsensusPipeMetrics instantiates a new ConsensusPipeMetrics 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 NewConsensusPipeMetricsWithDefaults

func NewConsensusPipeMetricsWithDefaults() *ConsensusPipeMetrics

NewConsensusPipeMetricsWithDefaults instantiates a new ConsensusPipeMetrics 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 (*ConsensusPipeMetrics) GetEventACSMsgPipeSize

func (o *ConsensusPipeMetrics) GetEventACSMsgPipeSize() int32

GetEventACSMsgPipeSize returns the EventACSMsgPipeSize field value

func (*ConsensusPipeMetrics) GetEventACSMsgPipeSizeOk

func (o *ConsensusPipeMetrics) GetEventACSMsgPipeSizeOk() (*int32, bool)

GetEventACSMsgPipeSizeOk returns a tuple with the EventACSMsgPipeSize field value and a boolean to check if the value has been set.

func (*ConsensusPipeMetrics) GetEventPeerLogIndexMsgPipeSize

func (o *ConsensusPipeMetrics) GetEventPeerLogIndexMsgPipeSize() int32

GetEventPeerLogIndexMsgPipeSize returns the EventPeerLogIndexMsgPipeSize field value

func (*ConsensusPipeMetrics) GetEventPeerLogIndexMsgPipeSizeOk

func (o *ConsensusPipeMetrics) GetEventPeerLogIndexMsgPipeSizeOk() (*int32, bool)

GetEventPeerLogIndexMsgPipeSizeOk returns a tuple with the EventPeerLogIndexMsgPipeSize field value and a boolean to check if the value has been set.

func (*ConsensusPipeMetrics) GetEventStateTransitionMsgPipeSize

func (o *ConsensusPipeMetrics) GetEventStateTransitionMsgPipeSize() int32

GetEventStateTransitionMsgPipeSize returns the EventStateTransitionMsgPipeSize field value

func (*ConsensusPipeMetrics) GetEventStateTransitionMsgPipeSizeOk

func (o *ConsensusPipeMetrics) GetEventStateTransitionMsgPipeSizeOk() (*int32, bool)

GetEventStateTransitionMsgPipeSizeOk returns a tuple with the EventStateTransitionMsgPipeSize field value and a boolean to check if the value has been set.

func (*ConsensusPipeMetrics) GetEventTimerMsgPipeSize

func (o *ConsensusPipeMetrics) GetEventTimerMsgPipeSize() int32

GetEventTimerMsgPipeSize returns the EventTimerMsgPipeSize field value

func (*ConsensusPipeMetrics) GetEventTimerMsgPipeSizeOk

func (o *ConsensusPipeMetrics) GetEventTimerMsgPipeSizeOk() (*int32, bool)

GetEventTimerMsgPipeSizeOk returns a tuple with the EventTimerMsgPipeSize field value and a boolean to check if the value has been set.

func (*ConsensusPipeMetrics) GetEventVMResultMsgPipeSize

func (o *ConsensusPipeMetrics) GetEventVMResultMsgPipeSize() int32

GetEventVMResultMsgPipeSize returns the EventVMResultMsgPipeSize field value

func (*ConsensusPipeMetrics) GetEventVMResultMsgPipeSizeOk

func (o *ConsensusPipeMetrics) GetEventVMResultMsgPipeSizeOk() (*int32, bool)

GetEventVMResultMsgPipeSizeOk returns a tuple with the EventVMResultMsgPipeSize field value and a boolean to check if the value has been set.

func (ConsensusPipeMetrics) MarshalJSON

func (o ConsensusPipeMetrics) MarshalJSON() ([]byte, error)

func (*ConsensusPipeMetrics) SetEventACSMsgPipeSize

func (o *ConsensusPipeMetrics) SetEventACSMsgPipeSize(v int32)

SetEventACSMsgPipeSize sets field value

func (*ConsensusPipeMetrics) SetEventPeerLogIndexMsgPipeSize

func (o *ConsensusPipeMetrics) SetEventPeerLogIndexMsgPipeSize(v int32)

SetEventPeerLogIndexMsgPipeSize sets field value

func (*ConsensusPipeMetrics) SetEventStateTransitionMsgPipeSize

func (o *ConsensusPipeMetrics) SetEventStateTransitionMsgPipeSize(v int32)

SetEventStateTransitionMsgPipeSize sets field value

func (*ConsensusPipeMetrics) SetEventTimerMsgPipeSize

func (o *ConsensusPipeMetrics) SetEventTimerMsgPipeSize(v int32)

SetEventTimerMsgPipeSize sets field value

func (*ConsensusPipeMetrics) SetEventVMResultMsgPipeSize

func (o *ConsensusPipeMetrics) SetEventVMResultMsgPipeSize(v int32)

SetEventVMResultMsgPipeSize sets field value

func (ConsensusPipeMetrics) ToMap

func (o ConsensusPipeMetrics) ToMap() (map[string]interface{}, error)

type ConsensusWorkflowMetrics

type ConsensusWorkflowMetrics struct {
	// Shows current state index of the consensus
	CurrentStateIndex *uint32 `json:"currentStateIndex,omitempty"`
	// Shows if batch proposal is sent out in current consensus iteration
	FlagBatchProposalSent bool `json:"flagBatchProposalSent"`
	// Shows if consensus on batch is reached and known in current consensus iteration
	FlagConsensusBatchKnown bool `json:"flagConsensusBatchKnown"`
	// Shows if consensus algorithm is still not completed in current consensus iteration
	FlagInProgress bool `json:"flagInProgress"`
	// Shows if state output is received in current consensus iteration
	FlagStateReceived bool `json:"flagStateReceived"`
	// Shows if consensus on transaction is reached in current consensus iteration
	FlagTransactionFinalized bool `json:"flagTransactionFinalized"`
	// Shows if transaction is posted to L1 in current consensus iteration
	FlagTransactionPosted bool `json:"flagTransactionPosted"`
	// Shows if L1 reported that it has seen the transaction of current consensus iteration
	FlagTransactionSeen bool `json:"flagTransactionSeen"`
	// Shows if virtual machine has returned its results in current consensus iteration
	FlagVMResultSigned bool `json:"flagVMResultSigned"`
	// Shows if virtual machine is started in current consensus iteration
	FlagVMStarted bool `json:"flagVMStarted"`
	// Shows when batch proposal was last sent out in current consensus iteration
	TimeBatchProposalSent time.Time `json:"timeBatchProposalSent"`
	// Shows when algorithm was last completed in current consensus iteration
	TimeCompleted time.Time `json:"timeCompleted"`
	// Shows when ACS results of consensus on batch was last received in current consensus iteration
	TimeConsensusBatchKnown time.Time `json:"timeConsensusBatchKnown"`
	// Shows when algorithm last noted that all the data for consensus on transaction had been received in current consensus iteration
	TimeTransactionFinalized time.Time `json:"timeTransactionFinalized"`
	// Shows when transaction was last posted to L1 in current consensus iteration
	TimeTransactionPosted time.Time `json:"timeTransactionPosted"`
	// Shows when algorithm last noted that transaction had been seen by L1 in current consensus iteration
	TimeTransactionSeen time.Time `json:"timeTransactionSeen"`
	// Shows when virtual machine results were last received and signed in current consensus iteration
	TimeVMResultSigned time.Time `json:"timeVMResultSigned"`
	// Shows when virtual machine was last started in current consensus iteration
	TimeVMStarted time.Time `json:"timeVMStarted"`
}

ConsensusWorkflowMetrics struct for ConsensusWorkflowMetrics

func NewConsensusWorkflowMetrics

func NewConsensusWorkflowMetrics(flagBatchProposalSent bool, flagConsensusBatchKnown bool, flagInProgress bool, flagStateReceived bool, flagTransactionFinalized bool, flagTransactionPosted bool, flagTransactionSeen bool, flagVMResultSigned bool, flagVMStarted bool, timeBatchProposalSent time.Time, timeCompleted time.Time, timeConsensusBatchKnown time.Time, timeTransactionFinalized time.Time, timeTransactionPosted time.Time, timeTransactionSeen time.Time, timeVMResultSigned time.Time, timeVMStarted time.Time) *ConsensusWorkflowMetrics

NewConsensusWorkflowMetrics instantiates a new ConsensusWorkflowMetrics 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 NewConsensusWorkflowMetricsWithDefaults

func NewConsensusWorkflowMetricsWithDefaults() *ConsensusWorkflowMetrics

NewConsensusWorkflowMetricsWithDefaults instantiates a new ConsensusWorkflowMetrics 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 (*ConsensusWorkflowMetrics) GetCurrentStateIndex

func (o *ConsensusWorkflowMetrics) GetCurrentStateIndex() uint32

GetCurrentStateIndex returns the CurrentStateIndex field value if set, zero value otherwise.

func (*ConsensusWorkflowMetrics) GetCurrentStateIndexOk

func (o *ConsensusWorkflowMetrics) GetCurrentStateIndexOk() (*uint32, bool)

GetCurrentStateIndexOk returns a tuple with the CurrentStateIndex field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagBatchProposalSent

func (o *ConsensusWorkflowMetrics) GetFlagBatchProposalSent() bool

GetFlagBatchProposalSent returns the FlagBatchProposalSent field value

func (*ConsensusWorkflowMetrics) GetFlagBatchProposalSentOk

func (o *ConsensusWorkflowMetrics) GetFlagBatchProposalSentOk() (*bool, bool)

GetFlagBatchProposalSentOk returns a tuple with the FlagBatchProposalSent field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagConsensusBatchKnown

func (o *ConsensusWorkflowMetrics) GetFlagConsensusBatchKnown() bool

GetFlagConsensusBatchKnown returns the FlagConsensusBatchKnown field value

func (*ConsensusWorkflowMetrics) GetFlagConsensusBatchKnownOk

func (o *ConsensusWorkflowMetrics) GetFlagConsensusBatchKnownOk() (*bool, bool)

GetFlagConsensusBatchKnownOk returns a tuple with the FlagConsensusBatchKnown field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagInProgress

func (o *ConsensusWorkflowMetrics) GetFlagInProgress() bool

GetFlagInProgress returns the FlagInProgress field value

func (*ConsensusWorkflowMetrics) GetFlagInProgressOk

func (o *ConsensusWorkflowMetrics) GetFlagInProgressOk() (*bool, bool)

GetFlagInProgressOk returns a tuple with the FlagInProgress field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagStateReceived

func (o *ConsensusWorkflowMetrics) GetFlagStateReceived() bool

GetFlagStateReceived returns the FlagStateReceived field value

func (*ConsensusWorkflowMetrics) GetFlagStateReceivedOk

func (o *ConsensusWorkflowMetrics) GetFlagStateReceivedOk() (*bool, bool)

GetFlagStateReceivedOk returns a tuple with the FlagStateReceived field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagTransactionFinalized

func (o *ConsensusWorkflowMetrics) GetFlagTransactionFinalized() bool

GetFlagTransactionFinalized returns the FlagTransactionFinalized field value

func (*ConsensusWorkflowMetrics) GetFlagTransactionFinalizedOk

func (o *ConsensusWorkflowMetrics) GetFlagTransactionFinalizedOk() (*bool, bool)

GetFlagTransactionFinalizedOk returns a tuple with the FlagTransactionFinalized field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagTransactionPosted

func (o *ConsensusWorkflowMetrics) GetFlagTransactionPosted() bool

GetFlagTransactionPosted returns the FlagTransactionPosted field value

func (*ConsensusWorkflowMetrics) GetFlagTransactionPostedOk

func (o *ConsensusWorkflowMetrics) GetFlagTransactionPostedOk() (*bool, bool)

GetFlagTransactionPostedOk returns a tuple with the FlagTransactionPosted field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagTransactionSeen

func (o *ConsensusWorkflowMetrics) GetFlagTransactionSeen() bool

GetFlagTransactionSeen returns the FlagTransactionSeen field value

func (*ConsensusWorkflowMetrics) GetFlagTransactionSeenOk

func (o *ConsensusWorkflowMetrics) GetFlagTransactionSeenOk() (*bool, bool)

GetFlagTransactionSeenOk returns a tuple with the FlagTransactionSeen field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagVMResultSigned

func (o *ConsensusWorkflowMetrics) GetFlagVMResultSigned() bool

GetFlagVMResultSigned returns the FlagVMResultSigned field value

func (*ConsensusWorkflowMetrics) GetFlagVMResultSignedOk

func (o *ConsensusWorkflowMetrics) GetFlagVMResultSignedOk() (*bool, bool)

GetFlagVMResultSignedOk returns a tuple with the FlagVMResultSigned field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetFlagVMStarted

func (o *ConsensusWorkflowMetrics) GetFlagVMStarted() bool

GetFlagVMStarted returns the FlagVMStarted field value

func (*ConsensusWorkflowMetrics) GetFlagVMStartedOk

func (o *ConsensusWorkflowMetrics) GetFlagVMStartedOk() (*bool, bool)

GetFlagVMStartedOk returns a tuple with the FlagVMStarted field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeBatchProposalSent

func (o *ConsensusWorkflowMetrics) GetTimeBatchProposalSent() time.Time

GetTimeBatchProposalSent returns the TimeBatchProposalSent field value

func (*ConsensusWorkflowMetrics) GetTimeBatchProposalSentOk

func (o *ConsensusWorkflowMetrics) GetTimeBatchProposalSentOk() (*time.Time, bool)

GetTimeBatchProposalSentOk returns a tuple with the TimeBatchProposalSent field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeCompleted

func (o *ConsensusWorkflowMetrics) GetTimeCompleted() time.Time

GetTimeCompleted returns the TimeCompleted field value

func (*ConsensusWorkflowMetrics) GetTimeCompletedOk

func (o *ConsensusWorkflowMetrics) GetTimeCompletedOk() (*time.Time, bool)

GetTimeCompletedOk returns a tuple with the TimeCompleted field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeConsensusBatchKnown

func (o *ConsensusWorkflowMetrics) GetTimeConsensusBatchKnown() time.Time

GetTimeConsensusBatchKnown returns the TimeConsensusBatchKnown field value

func (*ConsensusWorkflowMetrics) GetTimeConsensusBatchKnownOk

func (o *ConsensusWorkflowMetrics) GetTimeConsensusBatchKnownOk() (*time.Time, bool)

GetTimeConsensusBatchKnownOk returns a tuple with the TimeConsensusBatchKnown field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeTransactionFinalized

func (o *ConsensusWorkflowMetrics) GetTimeTransactionFinalized() time.Time

GetTimeTransactionFinalized returns the TimeTransactionFinalized field value

func (*ConsensusWorkflowMetrics) GetTimeTransactionFinalizedOk

func (o *ConsensusWorkflowMetrics) GetTimeTransactionFinalizedOk() (*time.Time, bool)

GetTimeTransactionFinalizedOk returns a tuple with the TimeTransactionFinalized field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeTransactionPosted

func (o *ConsensusWorkflowMetrics) GetTimeTransactionPosted() time.Time

GetTimeTransactionPosted returns the TimeTransactionPosted field value

func (*ConsensusWorkflowMetrics) GetTimeTransactionPostedOk

func (o *ConsensusWorkflowMetrics) GetTimeTransactionPostedOk() (*time.Time, bool)

GetTimeTransactionPostedOk returns a tuple with the TimeTransactionPosted field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeTransactionSeen

func (o *ConsensusWorkflowMetrics) GetTimeTransactionSeen() time.Time

GetTimeTransactionSeen returns the TimeTransactionSeen field value

func (*ConsensusWorkflowMetrics) GetTimeTransactionSeenOk

func (o *ConsensusWorkflowMetrics) GetTimeTransactionSeenOk() (*time.Time, bool)

GetTimeTransactionSeenOk returns a tuple with the TimeTransactionSeen field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeVMResultSigned

func (o *ConsensusWorkflowMetrics) GetTimeVMResultSigned() time.Time

GetTimeVMResultSigned returns the TimeVMResultSigned field value

func (*ConsensusWorkflowMetrics) GetTimeVMResultSignedOk

func (o *ConsensusWorkflowMetrics) GetTimeVMResultSignedOk() (*time.Time, bool)

GetTimeVMResultSignedOk returns a tuple with the TimeVMResultSigned field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) GetTimeVMStarted

func (o *ConsensusWorkflowMetrics) GetTimeVMStarted() time.Time

GetTimeVMStarted returns the TimeVMStarted field value

func (*ConsensusWorkflowMetrics) GetTimeVMStartedOk

func (o *ConsensusWorkflowMetrics) GetTimeVMStartedOk() (*time.Time, bool)

GetTimeVMStartedOk returns a tuple with the TimeVMStarted field value and a boolean to check if the value has been set.

func (*ConsensusWorkflowMetrics) HasCurrentStateIndex

func (o *ConsensusWorkflowMetrics) HasCurrentStateIndex() bool

HasCurrentStateIndex returns a boolean if a field has been set.

func (ConsensusWorkflowMetrics) MarshalJSON

func (o ConsensusWorkflowMetrics) MarshalJSON() ([]byte, error)

func (*ConsensusWorkflowMetrics) SetCurrentStateIndex

func (o *ConsensusWorkflowMetrics) SetCurrentStateIndex(v uint32)

SetCurrentStateIndex gets a reference to the given uint32 and assigns it to the CurrentStateIndex field.

func (*ConsensusWorkflowMetrics) SetFlagBatchProposalSent

func (o *ConsensusWorkflowMetrics) SetFlagBatchProposalSent(v bool)

SetFlagBatchProposalSent sets field value

func (*ConsensusWorkflowMetrics) SetFlagConsensusBatchKnown

func (o *ConsensusWorkflowMetrics) SetFlagConsensusBatchKnown(v bool)

SetFlagConsensusBatchKnown sets field value

func (*ConsensusWorkflowMetrics) SetFlagInProgress

func (o *ConsensusWorkflowMetrics) SetFlagInProgress(v bool)

SetFlagInProgress sets field value

func (*ConsensusWorkflowMetrics) SetFlagStateReceived

func (o *ConsensusWorkflowMetrics) SetFlagStateReceived(v bool)

SetFlagStateReceived sets field value

func (*ConsensusWorkflowMetrics) SetFlagTransactionFinalized

func (o *ConsensusWorkflowMetrics) SetFlagTransactionFinalized(v bool)

SetFlagTransactionFinalized sets field value

func (*ConsensusWorkflowMetrics) SetFlagTransactionPosted

func (o *ConsensusWorkflowMetrics) SetFlagTransactionPosted(v bool)

SetFlagTransactionPosted sets field value

func (*ConsensusWorkflowMetrics) SetFlagTransactionSeen

func (o *ConsensusWorkflowMetrics) SetFlagTransactionSeen(v bool)

SetFlagTransactionSeen sets field value

func (*ConsensusWorkflowMetrics) SetFlagVMResultSigned

func (o *ConsensusWorkflowMetrics) SetFlagVMResultSigned(v bool)

SetFlagVMResultSigned sets field value

func (*ConsensusWorkflowMetrics) SetFlagVMStarted

func (o *ConsensusWorkflowMetrics) SetFlagVMStarted(v bool)

SetFlagVMStarted sets field value

func (*ConsensusWorkflowMetrics) SetTimeBatchProposalSent

func (o *ConsensusWorkflowMetrics) SetTimeBatchProposalSent(v time.Time)

SetTimeBatchProposalSent sets field value

func (*ConsensusWorkflowMetrics) SetTimeCompleted

func (o *ConsensusWorkflowMetrics) SetTimeCompleted(v time.Time)

SetTimeCompleted sets field value

func (*ConsensusWorkflowMetrics) SetTimeConsensusBatchKnown

func (o *ConsensusWorkflowMetrics) SetTimeConsensusBatchKnown(v time.Time)

SetTimeConsensusBatchKnown sets field value

func (*ConsensusWorkflowMetrics) SetTimeTransactionFinalized

func (o *ConsensusWorkflowMetrics) SetTimeTransactionFinalized(v time.Time)

SetTimeTransactionFinalized sets field value

func (*ConsensusWorkflowMetrics) SetTimeTransactionPosted

func (o *ConsensusWorkflowMetrics) SetTimeTransactionPosted(v time.Time)

SetTimeTransactionPosted sets field value

func (*ConsensusWorkflowMetrics) SetTimeTransactionSeen

func (o *ConsensusWorkflowMetrics) SetTimeTransactionSeen(v time.Time)

SetTimeTransactionSeen sets field value

func (*ConsensusWorkflowMetrics) SetTimeVMResultSigned

func (o *ConsensusWorkflowMetrics) SetTimeVMResultSigned(v time.Time)

SetTimeVMResultSigned sets field value

func (*ConsensusWorkflowMetrics) SetTimeVMStarted

func (o *ConsensusWorkflowMetrics) SetTimeVMStarted(v time.Time)

SetTimeVMStarted sets field value

func (ConsensusWorkflowMetrics) ToMap

func (o ConsensusWorkflowMetrics) ToMap() (map[string]interface{}, error)

type ContractCallViewRequest

type ContractCallViewRequest struct {
	Arguments JSONDict `json:"arguments"`
	// The chain id
	ChainId string `json:"chainId"`
	// The contract name as HName (Hex)
	ContractHName string `json:"contractHName"`
	// The contract name
	ContractName string `json:"contractName"`
	// The function name as HName (Hex)
	FunctionHName string `json:"functionHName"`
	// The function name
	FunctionName string `json:"functionName"`
}

ContractCallViewRequest struct for ContractCallViewRequest

func NewContractCallViewRequest

func NewContractCallViewRequest(arguments JSONDict, chainId string, contractHName string, contractName string, functionHName string, functionName string) *ContractCallViewRequest

NewContractCallViewRequest instantiates a new ContractCallViewRequest 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 NewContractCallViewRequestWithDefaults

func NewContractCallViewRequestWithDefaults() *ContractCallViewRequest

NewContractCallViewRequestWithDefaults instantiates a new ContractCallViewRequest 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 (*ContractCallViewRequest) GetArguments

func (o *ContractCallViewRequest) GetArguments() JSONDict

GetArguments returns the Arguments field value

func (*ContractCallViewRequest) GetArgumentsOk

func (o *ContractCallViewRequest) GetArgumentsOk() (*JSONDict, bool)

GetArgumentsOk returns a tuple with the Arguments field value and a boolean to check if the value has been set.

func (*ContractCallViewRequest) GetChainId

func (o *ContractCallViewRequest) GetChainId() string

GetChainId returns the ChainId field value

func (*ContractCallViewRequest) GetChainIdOk

func (o *ContractCallViewRequest) GetChainIdOk() (*string, bool)

GetChainIdOk returns a tuple with the ChainId field value and a boolean to check if the value has been set.

func (*ContractCallViewRequest) GetContractHName

func (o *ContractCallViewRequest) GetContractHName() string

GetContractHName returns the ContractHName field value

func (*ContractCallViewRequest) GetContractHNameOk

func (o *ContractCallViewRequest) GetContractHNameOk() (*string, bool)

GetContractHNameOk returns a tuple with the ContractHName field value and a boolean to check if the value has been set.

func (*ContractCallViewRequest) GetContractName

func (o *ContractCallViewRequest) GetContractName() string

GetContractName returns the ContractName field value

func (*ContractCallViewRequest) GetContractNameOk

func (o *ContractCallViewRequest) GetContractNameOk() (*string, bool)

GetContractNameOk returns a tuple with the ContractName field value and a boolean to check if the value has been set.

func (*ContractCallViewRequest) GetFunctionHName

func (o *ContractCallViewRequest) GetFunctionHName() string

GetFunctionHName returns the FunctionHName field value

func (*ContractCallViewRequest) GetFunctionHNameOk

func (o *ContractCallViewRequest) GetFunctionHNameOk() (*string, bool)

GetFunctionHNameOk returns a tuple with the FunctionHName field value and a boolean to check if the value has been set.

func (*ContractCallViewRequest) GetFunctionName

func (o *ContractCallViewRequest) GetFunctionName() string

GetFunctionName returns the FunctionName field value

func (*ContractCallViewRequest) GetFunctionNameOk

func (o *ContractCallViewRequest) GetFunctionNameOk() (*string, bool)

GetFunctionNameOk returns a tuple with the FunctionName field value and a boolean to check if the value has been set.

func (ContractCallViewRequest) MarshalJSON

func (o ContractCallViewRequest) MarshalJSON() ([]byte, error)

func (*ContractCallViewRequest) SetArguments

func (o *ContractCallViewRequest) SetArguments(v JSONDict)

SetArguments sets field value

func (*ContractCallViewRequest) SetChainId

func (o *ContractCallViewRequest) SetChainId(v string)

SetChainId sets field value

func (*ContractCallViewRequest) SetContractHName

func (o *ContractCallViewRequest) SetContractHName(v string)

SetContractHName sets field value

func (*ContractCallViewRequest) SetContractName

func (o *ContractCallViewRequest) SetContractName(v string)

SetContractName sets field value

func (*ContractCallViewRequest) SetFunctionHName

func (o *ContractCallViewRequest) SetFunctionHName(v string)

SetFunctionHName sets field value

func (*ContractCallViewRequest) SetFunctionName

func (o *ContractCallViewRequest) SetFunctionName(v string)

SetFunctionName sets field value

func (ContractCallViewRequest) ToMap

func (o ContractCallViewRequest) ToMap() (map[string]interface{}, error)

type ContractInfoResponse

type ContractInfoResponse struct {
	// The description of the contract.
	Description string `json:"description"`
	// The id (HName as Hex)) of the contract.
	HName string `json:"hName"`
	// The name of the contract.
	Name string `json:"name"`
	// The hash of the contract. (Hex encoded)
	ProgramHash string `json:"programHash"`
}

ContractInfoResponse struct for ContractInfoResponse

func NewContractInfoResponse

func NewContractInfoResponse(description string, hName string, name string, programHash string) *ContractInfoResponse

NewContractInfoResponse instantiates a new ContractInfoResponse 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 NewContractInfoResponseWithDefaults

func NewContractInfoResponseWithDefaults() *ContractInfoResponse

NewContractInfoResponseWithDefaults instantiates a new ContractInfoResponse 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 (*ContractInfoResponse) GetDescription

func (o *ContractInfoResponse) GetDescription() string

GetDescription returns the Description field value

func (*ContractInfoResponse) GetDescriptionOk

func (o *ContractInfoResponse) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*ContractInfoResponse) GetHName

func (o *ContractInfoResponse) GetHName() string

GetHName returns the HName field value

func (*ContractInfoResponse) GetHNameOk

func (o *ContractInfoResponse) GetHNameOk() (*string, bool)

GetHNameOk returns a tuple with the HName field value and a boolean to check if the value has been set.

func (*ContractInfoResponse) GetName

func (o *ContractInfoResponse) GetName() string

GetName returns the Name field value

func (*ContractInfoResponse) GetNameOk

func (o *ContractInfoResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ContractInfoResponse) GetProgramHash

func (o *ContractInfoResponse) GetProgramHash() string

GetProgramHash returns the ProgramHash field value

func (*ContractInfoResponse) GetProgramHashOk

func (o *ContractInfoResponse) GetProgramHashOk() (*string, bool)

GetProgramHashOk returns a tuple with the ProgramHash field value and a boolean to check if the value has been set.

func (ContractInfoResponse) MarshalJSON

func (o ContractInfoResponse) MarshalJSON() ([]byte, error)

func (*ContractInfoResponse) SetDescription

func (o *ContractInfoResponse) SetDescription(v string)

SetDescription sets field value

func (*ContractInfoResponse) SetHName

func (o *ContractInfoResponse) SetHName(v string)

SetHName sets field value

func (*ContractInfoResponse) SetName

func (o *ContractInfoResponse) SetName(v string)

SetName sets field value

func (*ContractInfoResponse) SetProgramHash

func (o *ContractInfoResponse) SetProgramHash(v string)

SetProgramHash sets field value

func (ContractInfoResponse) ToMap

func (o ContractInfoResponse) ToMap() (map[string]interface{}, error)

type ControlAddressesResponse

type ControlAddressesResponse struct {
	// The governing address (Bech32)
	GoverningAddress string `json:"governingAddress"`
	// The block index (uint32
	SinceBlockIndex uint32 `json:"sinceBlockIndex"`
	// The state address (Bech32)
	StateAddress string `json:"stateAddress"`
}

ControlAddressesResponse struct for ControlAddressesResponse

func NewControlAddressesResponse

func NewControlAddressesResponse(governingAddress string, sinceBlockIndex uint32, stateAddress string) *ControlAddressesResponse

NewControlAddressesResponse instantiates a new ControlAddressesResponse 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 NewControlAddressesResponseWithDefaults

func NewControlAddressesResponseWithDefaults() *ControlAddressesResponse

NewControlAddressesResponseWithDefaults instantiates a new ControlAddressesResponse 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 (*ControlAddressesResponse) GetGoverningAddress

func (o *ControlAddressesResponse) GetGoverningAddress() string

GetGoverningAddress returns the GoverningAddress field value

func (*ControlAddressesResponse) GetGoverningAddressOk

func (o *ControlAddressesResponse) GetGoverningAddressOk() (*string, bool)

GetGoverningAddressOk returns a tuple with the GoverningAddress field value and a boolean to check if the value has been set.

func (*ControlAddressesResponse) GetSinceBlockIndex

func (o *ControlAddressesResponse) GetSinceBlockIndex() uint32

GetSinceBlockIndex returns the SinceBlockIndex field value

func (*ControlAddressesResponse) GetSinceBlockIndexOk

func (o *ControlAddressesResponse) GetSinceBlockIndexOk() (*uint32, bool)

GetSinceBlockIndexOk returns a tuple with the SinceBlockIndex field value and a boolean to check if the value has been set.

func (*ControlAddressesResponse) GetStateAddress

func (o *ControlAddressesResponse) GetStateAddress() string

GetStateAddress returns the StateAddress field value

func (*ControlAddressesResponse) GetStateAddressOk

func (o *ControlAddressesResponse) GetStateAddressOk() (*string, bool)

GetStateAddressOk returns a tuple with the StateAddress field value and a boolean to check if the value has been set.

func (ControlAddressesResponse) MarshalJSON

func (o ControlAddressesResponse) MarshalJSON() ([]byte, error)

func (*ControlAddressesResponse) SetGoverningAddress

func (o *ControlAddressesResponse) SetGoverningAddress(v string)

SetGoverningAddress sets field value

func (*ControlAddressesResponse) SetSinceBlockIndex

func (o *ControlAddressesResponse) SetSinceBlockIndex(v uint32)

SetSinceBlockIndex sets field value

func (*ControlAddressesResponse) SetStateAddress

func (o *ControlAddressesResponse) SetStateAddress(v string)

SetStateAddress sets field value

func (ControlAddressesResponse) ToMap

func (o ControlAddressesResponse) ToMap() (map[string]interface{}, error)

type CorecontractsApiService

type CorecontractsApiService service

CorecontractsApiService CorecontractsApi service

func (*CorecontractsApiService) AccountsGetAccountBalance

func (a *CorecontractsApiService) AccountsGetAccountBalance(ctx context.Context, chainID string, agentID string) ApiAccountsGetAccountBalanceRequest

AccountsGetAccountBalance Get all assets belonging to an account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param agentID AgentID (Bech32 for WasmVM | Hex for EVM)
@return ApiAccountsGetAccountBalanceRequest

func (*CorecontractsApiService) AccountsGetAccountBalanceExecute

Execute executes the request

@return AssetsResponse

func (*CorecontractsApiService) AccountsGetAccountFoundries

func (a *CorecontractsApiService) AccountsGetAccountFoundries(ctx context.Context, chainID string, agentID string) ApiAccountsGetAccountFoundriesRequest

AccountsGetAccountFoundries Get all foundries owned by an account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param agentID AgentID (Bech32 for WasmVM | Hex for EVM)
@return ApiAccountsGetAccountFoundriesRequest

func (*CorecontractsApiService) AccountsGetAccountFoundriesExecute

Execute executes the request

@return AccountFoundriesResponse

func (*CorecontractsApiService) AccountsGetAccountNFTIDs

func (a *CorecontractsApiService) AccountsGetAccountNFTIDs(ctx context.Context, chainID string, agentID string) ApiAccountsGetAccountNFTIDsRequest

AccountsGetAccountNFTIDs Get all NFT ids belonging to an account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param agentID AgentID (Bech32 for WasmVM | Hex for EVM)
@return ApiAccountsGetAccountNFTIDsRequest

func (*CorecontractsApiService) AccountsGetAccountNFTIDsExecute

Execute executes the request

@return AccountNFTsResponse

func (*CorecontractsApiService) AccountsGetAccountNonce

func (a *CorecontractsApiService) AccountsGetAccountNonce(ctx context.Context, chainID string, agentID string) ApiAccountsGetAccountNonceRequest

AccountsGetAccountNonce Get the current nonce of an account

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param agentID AgentID (Bech32 for WasmVM | Hex for EVM)
@return ApiAccountsGetAccountNonceRequest

func (*CorecontractsApiService) AccountsGetAccountNonceExecute

Execute executes the request

@return AccountNonceResponse

func (*CorecontractsApiService) AccountsGetAccounts

func (a *CorecontractsApiService) AccountsGetAccounts(ctx context.Context, chainID string) ApiAccountsGetAccountsRequest

AccountsGetAccounts Get a list of all accounts

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiAccountsGetAccountsRequest

func (*CorecontractsApiService) AccountsGetAccountsExecute

Execute executes the request

@return AccountListResponse

func (*CorecontractsApiService) AccountsGetFoundryOutput

func (a *CorecontractsApiService) AccountsGetFoundryOutput(ctx context.Context, chainID string, serialNumber uint32) ApiAccountsGetFoundryOutputRequest

AccountsGetFoundryOutput Get the foundry output

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param serialNumber Serial Number (uint32)
@return ApiAccountsGetFoundryOutputRequest

func (*CorecontractsApiService) AccountsGetFoundryOutputExecute

Execute executes the request

@return FoundryOutputResponse

func (*CorecontractsApiService) AccountsGetNFTData

func (a *CorecontractsApiService) AccountsGetNFTData(ctx context.Context, chainID string, nftID string) ApiAccountsGetNFTDataRequest

AccountsGetNFTData Get the NFT data by an ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param nftID NFT ID (Hex)
@return ApiAccountsGetNFTDataRequest

func (*CorecontractsApiService) AccountsGetNFTDataExecute

Execute executes the request

@return NFTDataResponse

func (*CorecontractsApiService) AccountsGetNativeTokenIDRegistry

func (a *CorecontractsApiService) AccountsGetNativeTokenIDRegistry(ctx context.Context, chainID string) ApiAccountsGetNativeTokenIDRegistryRequest

AccountsGetNativeTokenIDRegistry Get a list of all registries

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiAccountsGetNativeTokenIDRegistryRequest

func (*CorecontractsApiService) AccountsGetNativeTokenIDRegistryExecute

Execute executes the request

@return NativeTokenIDRegistryResponse

func (*CorecontractsApiService) AccountsGetTotalAssets

func (a *CorecontractsApiService) AccountsGetTotalAssets(ctx context.Context, chainID string) ApiAccountsGetTotalAssetsRequest

AccountsGetTotalAssets Get all stored assets

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiAccountsGetTotalAssetsRequest

func (*CorecontractsApiService) AccountsGetTotalAssetsExecute

Execute executes the request

@return AssetsResponse

func (*CorecontractsApiService) BlobsGetAllBlobs

func (a *CorecontractsApiService) BlobsGetAllBlobs(ctx context.Context, chainID string) ApiBlobsGetAllBlobsRequest

BlobsGetAllBlobs Get all stored blobs

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiBlobsGetAllBlobsRequest

func (*CorecontractsApiService) BlobsGetAllBlobsExecute

Execute executes the request

@return BlobListResponse

func (*CorecontractsApiService) BlobsGetBlobInfo

func (a *CorecontractsApiService) BlobsGetBlobInfo(ctx context.Context, chainID string, blobHash string) ApiBlobsGetBlobInfoRequest

BlobsGetBlobInfo Get all fields of a blob

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param blobHash BlobHash (Hex)
@return ApiBlobsGetBlobInfoRequest

func (*CorecontractsApiService) BlobsGetBlobInfoExecute

Execute executes the request

@return BlobInfoResponse

func (*CorecontractsApiService) BlobsGetBlobValue

func (a *CorecontractsApiService) BlobsGetBlobValue(ctx context.Context, chainID string, blobHash string, fieldKey string) ApiBlobsGetBlobValueRequest

BlobsGetBlobValue Get the value of the supplied field (key)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param blobHash BlobHash (Hex)
@param fieldKey FieldKey (String)
@return ApiBlobsGetBlobValueRequest

func (*CorecontractsApiService) BlobsGetBlobValueExecute

Execute executes the request

@return BlobValueResponse

func (*CorecontractsApiService) BlocklogGetBlockInfo

func (a *CorecontractsApiService) BlocklogGetBlockInfo(ctx context.Context, chainID string, blockIndex uint32) ApiBlocklogGetBlockInfoRequest

BlocklogGetBlockInfo Get the block info of a certain block index

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param blockIndex BlockIndex (uint32)
@return ApiBlocklogGetBlockInfoRequest

func (*CorecontractsApiService) BlocklogGetBlockInfoExecute

Execute executes the request

@return BlockInfoResponse

func (*CorecontractsApiService) BlocklogGetControlAddresses

func (a *CorecontractsApiService) BlocklogGetControlAddresses(ctx context.Context, chainID string) ApiBlocklogGetControlAddressesRequest

BlocklogGetControlAddresses Get the control addresses

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiBlocklogGetControlAddressesRequest

func (*CorecontractsApiService) BlocklogGetControlAddressesExecute

Execute executes the request

@return ControlAddressesResponse

func (*CorecontractsApiService) BlocklogGetEventsOfBlock

func (a *CorecontractsApiService) BlocklogGetEventsOfBlock(ctx context.Context, chainID string, blockIndex uint32) ApiBlocklogGetEventsOfBlockRequest

BlocklogGetEventsOfBlock Get events of a block

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param blockIndex BlockIndex (uint32)
@return ApiBlocklogGetEventsOfBlockRequest

func (*CorecontractsApiService) BlocklogGetEventsOfBlockExecute

Execute executes the request

@return EventsResponse

func (*CorecontractsApiService) BlocklogGetEventsOfContract

func (a *CorecontractsApiService) BlocklogGetEventsOfContract(ctx context.Context, chainID string, contractHname string) ApiBlocklogGetEventsOfContractRequest

BlocklogGetEventsOfContract Get events of a contract

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param contractHname The contract hname (Hex)
@return ApiBlocklogGetEventsOfContractRequest

func (*CorecontractsApiService) BlocklogGetEventsOfContractExecute

func (a *CorecontractsApiService) BlocklogGetEventsOfContractExecute(r ApiBlocklogGetEventsOfContractRequest) (*EventsResponse, *http.Response, error)

Execute executes the request

@return EventsResponse

func (*CorecontractsApiService) BlocklogGetEventsOfLatestBlock

func (a *CorecontractsApiService) BlocklogGetEventsOfLatestBlock(ctx context.Context, chainID string) ApiBlocklogGetEventsOfLatestBlockRequest

BlocklogGetEventsOfLatestBlock Get events of the latest block

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiBlocklogGetEventsOfLatestBlockRequest

func (*CorecontractsApiService) BlocklogGetEventsOfLatestBlockExecute

func (a *CorecontractsApiService) BlocklogGetEventsOfLatestBlockExecute(r ApiBlocklogGetEventsOfLatestBlockRequest) (*EventsResponse, *http.Response, error)

Execute executes the request

@return EventsResponse

func (*CorecontractsApiService) BlocklogGetEventsOfRequest

func (a *CorecontractsApiService) BlocklogGetEventsOfRequest(ctx context.Context, chainID string, requestID string) ApiBlocklogGetEventsOfRequestRequest

BlocklogGetEventsOfRequest Get events of a request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param requestID RequestID (Hex)
@return ApiBlocklogGetEventsOfRequestRequest

func (*CorecontractsApiService) BlocklogGetEventsOfRequestExecute

func (a *CorecontractsApiService) BlocklogGetEventsOfRequestExecute(r ApiBlocklogGetEventsOfRequestRequest) (*EventsResponse, *http.Response, error)

Execute executes the request

@return EventsResponse

func (*CorecontractsApiService) BlocklogGetLatestBlockInfo

func (a *CorecontractsApiService) BlocklogGetLatestBlockInfo(ctx context.Context, chainID string) ApiBlocklogGetLatestBlockInfoRequest

BlocklogGetLatestBlockInfo Get the block info of the latest block

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiBlocklogGetLatestBlockInfoRequest

func (*CorecontractsApiService) BlocklogGetLatestBlockInfoExecute

Execute executes the request

@return BlockInfoResponse

func (*CorecontractsApiService) BlocklogGetRequestIDsForBlock

func (a *CorecontractsApiService) BlocklogGetRequestIDsForBlock(ctx context.Context, chainID string, blockIndex uint32) ApiBlocklogGetRequestIDsForBlockRequest

BlocklogGetRequestIDsForBlock Get the request ids for a certain block index

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param blockIndex BlockIndex (uint32)
@return ApiBlocklogGetRequestIDsForBlockRequest

func (*CorecontractsApiService) BlocklogGetRequestIDsForBlockExecute

Execute executes the request

@return RequestIDsResponse

func (*CorecontractsApiService) BlocklogGetRequestIDsForLatestBlock

func (a *CorecontractsApiService) BlocklogGetRequestIDsForLatestBlock(ctx context.Context, chainID string) ApiBlocklogGetRequestIDsForLatestBlockRequest

BlocklogGetRequestIDsForLatestBlock Get the request ids for the latest block

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiBlocklogGetRequestIDsForLatestBlockRequest

func (*CorecontractsApiService) BlocklogGetRequestIDsForLatestBlockExecute

func (a *CorecontractsApiService) BlocklogGetRequestIDsForLatestBlockExecute(r ApiBlocklogGetRequestIDsForLatestBlockRequest) (*RequestIDsResponse, *http.Response, error)

Execute executes the request

@return RequestIDsResponse

func (*CorecontractsApiService) BlocklogGetRequestIsProcessed

func (a *CorecontractsApiService) BlocklogGetRequestIsProcessed(ctx context.Context, chainID string, requestID string) ApiBlocklogGetRequestIsProcessedRequest

BlocklogGetRequestIsProcessed Get the request processing status

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param requestID RequestID (Hex)
@return ApiBlocklogGetRequestIsProcessedRequest

func (*CorecontractsApiService) BlocklogGetRequestIsProcessedExecute

Execute executes the request

@return RequestProcessedResponse

func (*CorecontractsApiService) BlocklogGetRequestReceipt

func (a *CorecontractsApiService) BlocklogGetRequestReceipt(ctx context.Context, chainID string, requestID string) ApiBlocklogGetRequestReceiptRequest

BlocklogGetRequestReceipt Get the receipt of a certain request id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param requestID RequestID (Hex)
@return ApiBlocklogGetRequestReceiptRequest

func (*CorecontractsApiService) BlocklogGetRequestReceiptExecute

Execute executes the request

@return RequestReceiptResponse

func (*CorecontractsApiService) BlocklogGetRequestReceiptsOfBlock

func (a *CorecontractsApiService) BlocklogGetRequestReceiptsOfBlock(ctx context.Context, chainID string, blockIndex uint32) ApiBlocklogGetRequestReceiptsOfBlockRequest

BlocklogGetRequestReceiptsOfBlock Get all receipts of a certain block

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param blockIndex BlockIndex (uint32)
@return ApiBlocklogGetRequestReceiptsOfBlockRequest

func (*CorecontractsApiService) BlocklogGetRequestReceiptsOfBlockExecute

Execute executes the request

@return BlockReceiptsResponse

func (*CorecontractsApiService) BlocklogGetRequestReceiptsOfLatestBlock

func (a *CorecontractsApiService) BlocklogGetRequestReceiptsOfLatestBlock(ctx context.Context, chainID string) ApiBlocklogGetRequestReceiptsOfLatestBlockRequest

BlocklogGetRequestReceiptsOfLatestBlock Get all receipts of the latest block

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiBlocklogGetRequestReceiptsOfLatestBlockRequest

func (*CorecontractsApiService) BlocklogGetRequestReceiptsOfLatestBlockExecute

Execute executes the request

@return BlockReceiptsResponse

func (*CorecontractsApiService) ErrorsGetErrorMessageFormat

func (a *CorecontractsApiService) ErrorsGetErrorMessageFormat(ctx context.Context, chainID string, contractHname string, errorID uint32) ApiErrorsGetErrorMessageFormatRequest

ErrorsGetErrorMessageFormat Get the error message format of a specific error id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param contractHname Contract (Hname as Hex)
@param errorID Error Id (uint16)
@return ApiErrorsGetErrorMessageFormatRequest

func (*CorecontractsApiService) ErrorsGetErrorMessageFormatExecute

Execute executes the request

@return ErrorMessageFormatResponse

func (*CorecontractsApiService) GovernanceGetAllowedStateControllerAddresses

func (a *CorecontractsApiService) GovernanceGetAllowedStateControllerAddresses(ctx context.Context, chainID string) ApiGovernanceGetAllowedStateControllerAddressesRequest

GovernanceGetAllowedStateControllerAddresses Get the allowed state controller addresses

Returns the allowed state controller addresses

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGovernanceGetAllowedStateControllerAddressesRequest

func (*CorecontractsApiService) GovernanceGetAllowedStateControllerAddressesExecute

Execute executes the request

@return GovAllowedStateControllerAddressesResponse

func (*CorecontractsApiService) GovernanceGetChainInfo

func (a *CorecontractsApiService) GovernanceGetChainInfo(ctx context.Context, chainID string) ApiGovernanceGetChainInfoRequest

GovernanceGetChainInfo Get the chain info

If you are using the common API functions, you most likely rather want to use '/chains/:chainID' to get information about a chain.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGovernanceGetChainInfoRequest

func (*CorecontractsApiService) GovernanceGetChainInfoExecute

Execute executes the request

@return GovChainInfoResponse

func (*CorecontractsApiService) GovernanceGetChainOwner

func (a *CorecontractsApiService) GovernanceGetChainOwner(ctx context.Context, chainID string) ApiGovernanceGetChainOwnerRequest

GovernanceGetChainOwner Get the chain owner

Returns the chain owner

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGovernanceGetChainOwnerRequest

func (*CorecontractsApiService) GovernanceGetChainOwnerExecute

Execute executes the request

@return GovChainOwnerResponse

type DKSharesInfo

type DKSharesInfo struct {
	// New generated shared address.
	Address string `json:"address"`
	// Identities of the nodes sharing the key. (Hex)
	PeerIdentities []string `json:"peerIdentities"`
	PeerIndex      uint32   `json:"peerIndex"`
	// Used public key. (Hex)
	PublicKey string `json:"publicKey"`
	// Public key shares for all the peers. (Hex)
	PublicKeyShares []string `json:"publicKeyShares"`
	Threshold       uint32   `json:"threshold"`
}

DKSharesInfo struct for DKSharesInfo

func NewDKSharesInfo

func NewDKSharesInfo(address string, peerIdentities []string, peerIndex uint32, publicKey string, publicKeyShares []string, threshold uint32) *DKSharesInfo

NewDKSharesInfo instantiates a new DKSharesInfo 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 NewDKSharesInfoWithDefaults

func NewDKSharesInfoWithDefaults() *DKSharesInfo

NewDKSharesInfoWithDefaults instantiates a new DKSharesInfo 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 (*DKSharesInfo) GetAddress

func (o *DKSharesInfo) GetAddress() string

GetAddress returns the Address field value

func (*DKSharesInfo) GetAddressOk

func (o *DKSharesInfo) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*DKSharesInfo) GetPeerIdentities

func (o *DKSharesInfo) GetPeerIdentities() []string

GetPeerIdentities returns the PeerIdentities field value

func (*DKSharesInfo) GetPeerIdentitiesOk

func (o *DKSharesInfo) GetPeerIdentitiesOk() ([]string, bool)

GetPeerIdentitiesOk returns a tuple with the PeerIdentities field value and a boolean to check if the value has been set.

func (*DKSharesInfo) GetPeerIndex

func (o *DKSharesInfo) GetPeerIndex() uint32

GetPeerIndex returns the PeerIndex field value

func (*DKSharesInfo) GetPeerIndexOk

func (o *DKSharesInfo) GetPeerIndexOk() (*uint32, bool)

GetPeerIndexOk returns a tuple with the PeerIndex field value and a boolean to check if the value has been set.

func (*DKSharesInfo) GetPublicKey

func (o *DKSharesInfo) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*DKSharesInfo) GetPublicKeyOk

func (o *DKSharesInfo) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (*DKSharesInfo) GetPublicKeyShares

func (o *DKSharesInfo) GetPublicKeyShares() []string

GetPublicKeyShares returns the PublicKeyShares field value

func (*DKSharesInfo) GetPublicKeySharesOk

func (o *DKSharesInfo) GetPublicKeySharesOk() ([]string, bool)

GetPublicKeySharesOk returns a tuple with the PublicKeyShares field value and a boolean to check if the value has been set.

func (*DKSharesInfo) GetThreshold

func (o *DKSharesInfo) GetThreshold() uint32

GetThreshold returns the Threshold field value

func (*DKSharesInfo) GetThresholdOk

func (o *DKSharesInfo) GetThresholdOk() (*uint32, bool)

GetThresholdOk returns a tuple with the Threshold field value and a boolean to check if the value has been set.

func (DKSharesInfo) MarshalJSON

func (o DKSharesInfo) MarshalJSON() ([]byte, error)

func (*DKSharesInfo) SetAddress

func (o *DKSharesInfo) SetAddress(v string)

SetAddress sets field value

func (*DKSharesInfo) SetPeerIdentities

func (o *DKSharesInfo) SetPeerIdentities(v []string)

SetPeerIdentities sets field value

func (*DKSharesInfo) SetPeerIndex

func (o *DKSharesInfo) SetPeerIndex(v uint32)

SetPeerIndex sets field value

func (*DKSharesInfo) SetPublicKey

func (o *DKSharesInfo) SetPublicKey(v string)

SetPublicKey sets field value

func (*DKSharesInfo) SetPublicKeyShares

func (o *DKSharesInfo) SetPublicKeyShares(v []string)

SetPublicKeyShares sets field value

func (*DKSharesInfo) SetThreshold

func (o *DKSharesInfo) SetThreshold(v uint32)

SetThreshold sets field value

func (DKSharesInfo) ToMap

func (o DKSharesInfo) ToMap() (map[string]interface{}, error)

type DKSharesPostRequest

type DKSharesPostRequest struct {
	// Names or hex encoded public keys of trusted peers to run DKG on.
	PeerIdentities []string `json:"peerIdentities"`
	// Should be =< len(PeerPublicIdentities)
	Threshold uint32 `json:"threshold"`
	// Timeout in milliseconds.
	TimeoutMS uint32 `json:"timeoutMS"`
}

DKSharesPostRequest struct for DKSharesPostRequest

func NewDKSharesPostRequest

func NewDKSharesPostRequest(peerIdentities []string, threshold uint32, timeoutMS uint32) *DKSharesPostRequest

NewDKSharesPostRequest instantiates a new DKSharesPostRequest 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 NewDKSharesPostRequestWithDefaults

func NewDKSharesPostRequestWithDefaults() *DKSharesPostRequest

NewDKSharesPostRequestWithDefaults instantiates a new DKSharesPostRequest 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 (*DKSharesPostRequest) GetPeerIdentities

func (o *DKSharesPostRequest) GetPeerIdentities() []string

GetPeerIdentities returns the PeerIdentities field value

func (*DKSharesPostRequest) GetPeerIdentitiesOk

func (o *DKSharesPostRequest) GetPeerIdentitiesOk() ([]string, bool)

GetPeerIdentitiesOk returns a tuple with the PeerIdentities field value and a boolean to check if the value has been set.

func (*DKSharesPostRequest) GetThreshold

func (o *DKSharesPostRequest) GetThreshold() uint32

GetThreshold returns the Threshold field value

func (*DKSharesPostRequest) GetThresholdOk

func (o *DKSharesPostRequest) GetThresholdOk() (*uint32, bool)

GetThresholdOk returns a tuple with the Threshold field value and a boolean to check if the value has been set.

func (*DKSharesPostRequest) GetTimeoutMS

func (o *DKSharesPostRequest) GetTimeoutMS() uint32

GetTimeoutMS returns the TimeoutMS field value

func (*DKSharesPostRequest) GetTimeoutMSOk

func (o *DKSharesPostRequest) GetTimeoutMSOk() (*uint32, bool)

GetTimeoutMSOk returns a tuple with the TimeoutMS field value and a boolean to check if the value has been set.

func (DKSharesPostRequest) MarshalJSON

func (o DKSharesPostRequest) MarshalJSON() ([]byte, error)

func (*DKSharesPostRequest) SetPeerIdentities

func (o *DKSharesPostRequest) SetPeerIdentities(v []string)

SetPeerIdentities sets field value

func (*DKSharesPostRequest) SetThreshold

func (o *DKSharesPostRequest) SetThreshold(v uint32)

SetThreshold sets field value

func (*DKSharesPostRequest) SetTimeoutMS

func (o *DKSharesPostRequest) SetTimeoutMS(v uint32)

SetTimeoutMS sets field value

func (DKSharesPostRequest) ToMap

func (o DKSharesPostRequest) ToMap() (map[string]interface{}, error)

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) WsGet

WsGet The websocket connection service

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiWsGetRequest

func (*DefaultApiService) WsGetExecute

func (a *DefaultApiService) WsGetExecute(r ApiWsGetRequest) (*http.Response, error)

Execute executes the request

type ErrorMessageFormatResponse

type ErrorMessageFormatResponse struct {
	MessageFormat string `json:"messageFormat"`
}

ErrorMessageFormatResponse struct for ErrorMessageFormatResponse

func NewErrorMessageFormatResponse

func NewErrorMessageFormatResponse(messageFormat string) *ErrorMessageFormatResponse

NewErrorMessageFormatResponse instantiates a new ErrorMessageFormatResponse 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 NewErrorMessageFormatResponseWithDefaults

func NewErrorMessageFormatResponseWithDefaults() *ErrorMessageFormatResponse

NewErrorMessageFormatResponseWithDefaults instantiates a new ErrorMessageFormatResponse 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 (*ErrorMessageFormatResponse) GetMessageFormat

func (o *ErrorMessageFormatResponse) GetMessageFormat() string

GetMessageFormat returns the MessageFormat field value

func (*ErrorMessageFormatResponse) GetMessageFormatOk

func (o *ErrorMessageFormatResponse) GetMessageFormatOk() (*string, bool)

GetMessageFormatOk returns a tuple with the MessageFormat field value and a boolean to check if the value has been set.

func (ErrorMessageFormatResponse) MarshalJSON

func (o ErrorMessageFormatResponse) MarshalJSON() ([]byte, error)

func (*ErrorMessageFormatResponse) SetMessageFormat

func (o *ErrorMessageFormatResponse) SetMessageFormat(v string)

SetMessageFormat sets field value

func (ErrorMessageFormatResponse) ToMap

func (o ErrorMessageFormatResponse) ToMap() (map[string]interface{}, error)

type ErrorParameter

type ErrorParameter struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

ErrorParameter struct for ErrorParameter

func NewErrorParameter

func NewErrorParameter(type_ string, value string) *ErrorParameter

NewErrorParameter instantiates a new ErrorParameter 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 NewErrorParameterWithDefaults

func NewErrorParameterWithDefaults() *ErrorParameter

NewErrorParameterWithDefaults instantiates a new ErrorParameter 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 (*ErrorParameter) GetType

func (o *ErrorParameter) GetType() string

GetType returns the Type field value

func (*ErrorParameter) GetTypeOk

func (o *ErrorParameter) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ErrorParameter) GetValue

func (o *ErrorParameter) GetValue() string

GetValue returns the Value field value

func (*ErrorParameter) GetValueOk

func (o *ErrorParameter) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (ErrorParameter) MarshalJSON

func (o ErrorParameter) MarshalJSON() ([]byte, error)

func (*ErrorParameter) SetType

func (o *ErrorParameter) SetType(v string)

SetType sets field value

func (*ErrorParameter) SetValue

func (o *ErrorParameter) SetValue(v string)

SetValue sets field value

func (ErrorParameter) ToMap

func (o ErrorParameter) ToMap() (map[string]interface{}, error)

type EventsResponse

type EventsResponse struct {
	Events []string `json:"events"`
}

EventsResponse struct for EventsResponse

func NewEventsResponse

func NewEventsResponse(events []string) *EventsResponse

NewEventsResponse instantiates a new EventsResponse 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 NewEventsResponseWithDefaults

func NewEventsResponseWithDefaults() *EventsResponse

NewEventsResponseWithDefaults instantiates a new EventsResponse 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 (*EventsResponse) GetEvents

func (o *EventsResponse) GetEvents() []string

GetEvents returns the Events field value

func (*EventsResponse) GetEventsOk

func (o *EventsResponse) GetEventsOk() ([]string, bool)

GetEventsOk returns a tuple with the Events field value and a boolean to check if the value has been set.

func (EventsResponse) MarshalJSON

func (o EventsResponse) MarshalJSON() ([]byte, error)

func (*EventsResponse) SetEvents

func (o *EventsResponse) SetEvents(v []string)

SetEvents sets field value

func (EventsResponse) ToMap

func (o EventsResponse) ToMap() (map[string]interface{}, error)

type FoundryOutputResponse

type FoundryOutputResponse struct {
	Assets    AssetsResponse `json:"assets"`
	FoundryId string         `json:"foundryId"`
}

FoundryOutputResponse struct for FoundryOutputResponse

func NewFoundryOutputResponse

func NewFoundryOutputResponse(assets AssetsResponse, foundryId string) *FoundryOutputResponse

NewFoundryOutputResponse instantiates a new FoundryOutputResponse 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 NewFoundryOutputResponseWithDefaults

func NewFoundryOutputResponseWithDefaults() *FoundryOutputResponse

NewFoundryOutputResponseWithDefaults instantiates a new FoundryOutputResponse 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 (*FoundryOutputResponse) GetAssets

func (o *FoundryOutputResponse) GetAssets() AssetsResponse

GetAssets returns the Assets field value

func (*FoundryOutputResponse) GetAssetsOk

func (o *FoundryOutputResponse) GetAssetsOk() (*AssetsResponse, bool)

GetAssetsOk returns a tuple with the Assets field value and a boolean to check if the value has been set.

func (*FoundryOutputResponse) GetFoundryId

func (o *FoundryOutputResponse) GetFoundryId() string

GetFoundryId returns the FoundryId field value

func (*FoundryOutputResponse) GetFoundryIdOk

func (o *FoundryOutputResponse) GetFoundryIdOk() (*string, bool)

GetFoundryIdOk returns a tuple with the FoundryId field value and a boolean to check if the value has been set.

func (FoundryOutputResponse) MarshalJSON

func (o FoundryOutputResponse) MarshalJSON() ([]byte, error)

func (*FoundryOutputResponse) SetAssets

func (o *FoundryOutputResponse) SetAssets(v AssetsResponse)

SetAssets sets field value

func (*FoundryOutputResponse) SetFoundryId

func (o *FoundryOutputResponse) SetFoundryId(v string)

SetFoundryId sets field value

func (FoundryOutputResponse) ToMap

func (o FoundryOutputResponse) ToMap() (map[string]interface{}, error)

type GasFeePolicy

type GasFeePolicy struct {
	EvmGasRatio Ratio32 `json:"evmGasRatio"`
	GasPerToken Ratio32 `json:"gasPerToken"`
	// The validator fee share.
	ValidatorFeeShare int32 `json:"validatorFeeShare"`
}

GasFeePolicy struct for GasFeePolicy

func NewGasFeePolicy

func NewGasFeePolicy(evmGasRatio Ratio32, gasPerToken Ratio32, validatorFeeShare int32) *GasFeePolicy

NewGasFeePolicy instantiates a new GasFeePolicy 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 NewGasFeePolicyWithDefaults

func NewGasFeePolicyWithDefaults() *GasFeePolicy

NewGasFeePolicyWithDefaults instantiates a new GasFeePolicy 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 (*GasFeePolicy) GetEvmGasRatio

func (o *GasFeePolicy) GetEvmGasRatio() Ratio32

GetEvmGasRatio returns the EvmGasRatio field value

func (*GasFeePolicy) GetEvmGasRatioOk

func (o *GasFeePolicy) GetEvmGasRatioOk() (*Ratio32, bool)

GetEvmGasRatioOk returns a tuple with the EvmGasRatio field value and a boolean to check if the value has been set.

func (*GasFeePolicy) GetGasPerToken

func (o *GasFeePolicy) GetGasPerToken() Ratio32

GetGasPerToken returns the GasPerToken field value

func (*GasFeePolicy) GetGasPerTokenOk

func (o *GasFeePolicy) GetGasPerTokenOk() (*Ratio32, bool)

GetGasPerTokenOk returns a tuple with the GasPerToken field value and a boolean to check if the value has been set.

func (*GasFeePolicy) GetValidatorFeeShare

func (o *GasFeePolicy) GetValidatorFeeShare() int32

GetValidatorFeeShare returns the ValidatorFeeShare field value

func (*GasFeePolicy) GetValidatorFeeShareOk

func (o *GasFeePolicy) GetValidatorFeeShareOk() (*int32, bool)

GetValidatorFeeShareOk returns a tuple with the ValidatorFeeShare field value and a boolean to check if the value has been set.

func (GasFeePolicy) MarshalJSON

func (o GasFeePolicy) MarshalJSON() ([]byte, error)

func (*GasFeePolicy) SetEvmGasRatio

func (o *GasFeePolicy) SetEvmGasRatio(v Ratio32)

SetEvmGasRatio sets field value

func (*GasFeePolicy) SetGasPerToken

func (o *GasFeePolicy) SetGasPerToken(v Ratio32)

SetGasPerToken sets field value

func (*GasFeePolicy) SetValidatorFeeShare

func (o *GasFeePolicy) SetValidatorFeeShare(v int32)

SetValidatorFeeShare sets field value

func (GasFeePolicy) ToMap

func (o GasFeePolicy) ToMap() (map[string]interface{}, error)

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 GovAllowedStateControllerAddressesResponse

type GovAllowedStateControllerAddressesResponse struct {
	// The allowed state controller addresses (Bech32-encoded)
	Addresses []string `json:"addresses,omitempty"`
}

GovAllowedStateControllerAddressesResponse struct for GovAllowedStateControllerAddressesResponse

func NewGovAllowedStateControllerAddressesResponse

func NewGovAllowedStateControllerAddressesResponse() *GovAllowedStateControllerAddressesResponse

NewGovAllowedStateControllerAddressesResponse instantiates a new GovAllowedStateControllerAddressesResponse 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 NewGovAllowedStateControllerAddressesResponseWithDefaults

func NewGovAllowedStateControllerAddressesResponseWithDefaults() *GovAllowedStateControllerAddressesResponse

NewGovAllowedStateControllerAddressesResponseWithDefaults instantiates a new GovAllowedStateControllerAddressesResponse 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 (*GovAllowedStateControllerAddressesResponse) GetAddresses

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*GovAllowedStateControllerAddressesResponse) GetAddressesOk

func (o *GovAllowedStateControllerAddressesResponse) GetAddressesOk() ([]string, bool)

GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GovAllowedStateControllerAddressesResponse) HasAddresses

HasAddresses returns a boolean if a field has been set.

func (GovAllowedStateControllerAddressesResponse) MarshalJSON

func (*GovAllowedStateControllerAddressesResponse) SetAddresses

SetAddresses gets a reference to the given []string and assigns it to the Addresses field.

func (GovAllowedStateControllerAddressesResponse) ToMap

func (o GovAllowedStateControllerAddressesResponse) ToMap() (map[string]interface{}, error)

type GovChainInfoResponse

type GovChainInfoResponse struct {
	// ChainID (Bech32-encoded).
	ChainID string `json:"chainID"`
	// The chain owner address (Bech32-encoded).
	ChainOwnerId string `json:"chainOwnerId"`
	// (base64) Optional extra metadata that is appended to the L1 AliasOutput
	CustomMetadata *string      `json:"customMetadata,omitempty"`
	GasFeePolicy   GasFeePolicy `json:"gasFeePolicy"`
}

GovChainInfoResponse struct for GovChainInfoResponse

func NewGovChainInfoResponse

func NewGovChainInfoResponse(chainID string, chainOwnerId string, gasFeePolicy GasFeePolicy) *GovChainInfoResponse

NewGovChainInfoResponse instantiates a new GovChainInfoResponse 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 NewGovChainInfoResponseWithDefaults

func NewGovChainInfoResponseWithDefaults() *GovChainInfoResponse

NewGovChainInfoResponseWithDefaults instantiates a new GovChainInfoResponse 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 (*GovChainInfoResponse) GetChainID

func (o *GovChainInfoResponse) GetChainID() string

GetChainID returns the ChainID field value

func (*GovChainInfoResponse) GetChainIDOk

func (o *GovChainInfoResponse) GetChainIDOk() (*string, bool)

GetChainIDOk returns a tuple with the ChainID field value and a boolean to check if the value has been set.

func (*GovChainInfoResponse) GetChainOwnerId

func (o *GovChainInfoResponse) GetChainOwnerId() string

GetChainOwnerId returns the ChainOwnerId field value

func (*GovChainInfoResponse) GetChainOwnerIdOk

func (o *GovChainInfoResponse) GetChainOwnerIdOk() (*string, bool)

GetChainOwnerIdOk returns a tuple with the ChainOwnerId field value and a boolean to check if the value has been set.

func (*GovChainInfoResponse) GetCustomMetadata

func (o *GovChainInfoResponse) GetCustomMetadata() string

GetCustomMetadata returns the CustomMetadata field value if set, zero value otherwise.

func (*GovChainInfoResponse) GetCustomMetadataOk

func (o *GovChainInfoResponse) GetCustomMetadataOk() (*string, bool)

GetCustomMetadataOk returns a tuple with the CustomMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GovChainInfoResponse) GetGasFeePolicy

func (o *GovChainInfoResponse) GetGasFeePolicy() GasFeePolicy

GetGasFeePolicy returns the GasFeePolicy field value

func (*GovChainInfoResponse) GetGasFeePolicyOk

func (o *GovChainInfoResponse) GetGasFeePolicyOk() (*GasFeePolicy, bool)

GetGasFeePolicyOk returns a tuple with the GasFeePolicy field value and a boolean to check if the value has been set.

func (*GovChainInfoResponse) HasCustomMetadata

func (o *GovChainInfoResponse) HasCustomMetadata() bool

HasCustomMetadata returns a boolean if a field has been set.

func (GovChainInfoResponse) MarshalJSON

func (o GovChainInfoResponse) MarshalJSON() ([]byte, error)

func (*GovChainInfoResponse) SetChainID

func (o *GovChainInfoResponse) SetChainID(v string)

SetChainID sets field value

func (*GovChainInfoResponse) SetChainOwnerId

func (o *GovChainInfoResponse) SetChainOwnerId(v string)

SetChainOwnerId sets field value

func (*GovChainInfoResponse) SetCustomMetadata

func (o *GovChainInfoResponse) SetCustomMetadata(v string)

SetCustomMetadata gets a reference to the given string and assigns it to the CustomMetadata field.

func (*GovChainInfoResponse) SetGasFeePolicy

func (o *GovChainInfoResponse) SetGasFeePolicy(v GasFeePolicy)

SetGasFeePolicy sets field value

func (GovChainInfoResponse) ToMap

func (o GovChainInfoResponse) ToMap() (map[string]interface{}, error)

type GovChainOwnerResponse

type GovChainOwnerResponse struct {
	// The chain owner (Bech32-encoded)
	ChainOwner *string `json:"chainOwner,omitempty"`
}

GovChainOwnerResponse struct for GovChainOwnerResponse

func NewGovChainOwnerResponse

func NewGovChainOwnerResponse() *GovChainOwnerResponse

NewGovChainOwnerResponse instantiates a new GovChainOwnerResponse 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 NewGovChainOwnerResponseWithDefaults

func NewGovChainOwnerResponseWithDefaults() *GovChainOwnerResponse

NewGovChainOwnerResponseWithDefaults instantiates a new GovChainOwnerResponse 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 (*GovChainOwnerResponse) GetChainOwner

func (o *GovChainOwnerResponse) GetChainOwner() string

GetChainOwner returns the ChainOwner field value if set, zero value otherwise.

func (*GovChainOwnerResponse) GetChainOwnerOk

func (o *GovChainOwnerResponse) GetChainOwnerOk() (*string, bool)

GetChainOwnerOk returns a tuple with the ChainOwner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GovChainOwnerResponse) HasChainOwner

func (o *GovChainOwnerResponse) HasChainOwner() bool

HasChainOwner returns a boolean if a field has been set.

func (GovChainOwnerResponse) MarshalJSON

func (o GovChainOwnerResponse) MarshalJSON() ([]byte, error)

func (*GovChainOwnerResponse) SetChainOwner

func (o *GovChainOwnerResponse) SetChainOwner(v string)

SetChainOwner gets a reference to the given string and assigns it to the ChainOwner field.

func (GovChainOwnerResponse) ToMap

func (o GovChainOwnerResponse) ToMap() (map[string]interface{}, error)

type InOutput

type InOutput struct {
	Output Output `json:"output"`
	// The output ID
	OutputId string `json:"outputId"`
}

InOutput struct for InOutput

func NewInOutput

func NewInOutput(output Output, outputId string) *InOutput

NewInOutput instantiates a new InOutput 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 NewInOutputWithDefaults

func NewInOutputWithDefaults() *InOutput

NewInOutputWithDefaults instantiates a new InOutput 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 (*InOutput) GetOutput

func (o *InOutput) GetOutput() Output

GetOutput returns the Output field value

func (*InOutput) GetOutputId

func (o *InOutput) GetOutputId() string

GetOutputId returns the OutputId field value

func (*InOutput) GetOutputIdOk

func (o *InOutput) GetOutputIdOk() (*string, bool)

GetOutputIdOk returns a tuple with the OutputId field value and a boolean to check if the value has been set.

func (*InOutput) GetOutputOk

func (o *InOutput) GetOutputOk() (*Output, bool)

GetOutputOk returns a tuple with the Output field value and a boolean to check if the value has been set.

func (InOutput) MarshalJSON

func (o InOutput) MarshalJSON() ([]byte, error)

func (*InOutput) SetOutput

func (o *InOutput) SetOutput(v Output)

SetOutput sets field value

func (*InOutput) SetOutputId

func (o *InOutput) SetOutputId(v string)

SetOutputId sets field value

func (InOutput) ToMap

func (o InOutput) ToMap() (map[string]interface{}, error)

type InOutputMetricItem

type InOutputMetricItem struct {
	LastMessage InOutput  `json:"lastMessage"`
	Messages    uint32    `json:"messages"`
	Timestamp   time.Time `json:"timestamp"`
}

InOutputMetricItem struct for InOutputMetricItem

func NewInOutputMetricItem

func NewInOutputMetricItem(lastMessage InOutput, messages uint32, timestamp time.Time) *InOutputMetricItem

NewInOutputMetricItem instantiates a new InOutputMetricItem 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 NewInOutputMetricItemWithDefaults

func NewInOutputMetricItemWithDefaults() *InOutputMetricItem

NewInOutputMetricItemWithDefaults instantiates a new InOutputMetricItem 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 (*InOutputMetricItem) GetLastMessage

func (o *InOutputMetricItem) GetLastMessage() InOutput

GetLastMessage returns the LastMessage field value

func (*InOutputMetricItem) GetLastMessageOk

func (o *InOutputMetricItem) GetLastMessageOk() (*InOutput, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*InOutputMetricItem) GetMessages

func (o *InOutputMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*InOutputMetricItem) GetMessagesOk

func (o *InOutputMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*InOutputMetricItem) GetTimestamp

func (o *InOutputMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*InOutputMetricItem) GetTimestampOk

func (o *InOutputMetricItem) 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 (InOutputMetricItem) MarshalJSON

func (o InOutputMetricItem) MarshalJSON() ([]byte, error)

func (*InOutputMetricItem) SetLastMessage

func (o *InOutputMetricItem) SetLastMessage(v InOutput)

SetLastMessage sets field value

func (*InOutputMetricItem) SetMessages

func (o *InOutputMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*InOutputMetricItem) SetTimestamp

func (o *InOutputMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (InOutputMetricItem) ToMap

func (o InOutputMetricItem) ToMap() (map[string]interface{}, error)

type InStateOutput

type InStateOutput struct {
	Output Output `json:"output"`
	// The output ID
	OutputId string `json:"outputId"`
}

InStateOutput struct for InStateOutput

func NewInStateOutput

func NewInStateOutput(output Output, outputId string) *InStateOutput

NewInStateOutput instantiates a new InStateOutput 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 NewInStateOutputWithDefaults

func NewInStateOutputWithDefaults() *InStateOutput

NewInStateOutputWithDefaults instantiates a new InStateOutput 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 (*InStateOutput) GetOutput

func (o *InStateOutput) GetOutput() Output

GetOutput returns the Output field value

func (*InStateOutput) GetOutputId

func (o *InStateOutput) GetOutputId() string

GetOutputId returns the OutputId field value

func (*InStateOutput) GetOutputIdOk

func (o *InStateOutput) GetOutputIdOk() (*string, bool)

GetOutputIdOk returns a tuple with the OutputId field value and a boolean to check if the value has been set.

func (*InStateOutput) GetOutputOk

func (o *InStateOutput) GetOutputOk() (*Output, bool)

GetOutputOk returns a tuple with the Output field value and a boolean to check if the value has been set.

func (InStateOutput) MarshalJSON

func (o InStateOutput) MarshalJSON() ([]byte, error)

func (*InStateOutput) SetOutput

func (o *InStateOutput) SetOutput(v Output)

SetOutput sets field value

func (*InStateOutput) SetOutputId

func (o *InStateOutput) SetOutputId(v string)

SetOutputId sets field value

func (InStateOutput) ToMap

func (o InStateOutput) ToMap() (map[string]interface{}, error)

type InStateOutputMetricItem

type InStateOutputMetricItem struct {
	LastMessage InStateOutput `json:"lastMessage"`
	Messages    uint32        `json:"messages"`
	Timestamp   time.Time     `json:"timestamp"`
}

InStateOutputMetricItem struct for InStateOutputMetricItem

func NewInStateOutputMetricItem

func NewInStateOutputMetricItem(lastMessage InStateOutput, messages uint32, timestamp time.Time) *InStateOutputMetricItem

NewInStateOutputMetricItem instantiates a new InStateOutputMetricItem 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 NewInStateOutputMetricItemWithDefaults

func NewInStateOutputMetricItemWithDefaults() *InStateOutputMetricItem

NewInStateOutputMetricItemWithDefaults instantiates a new InStateOutputMetricItem 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 (*InStateOutputMetricItem) GetLastMessage

func (o *InStateOutputMetricItem) GetLastMessage() InStateOutput

GetLastMessage returns the LastMessage field value

func (*InStateOutputMetricItem) GetLastMessageOk

func (o *InStateOutputMetricItem) GetLastMessageOk() (*InStateOutput, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*InStateOutputMetricItem) GetMessages

func (o *InStateOutputMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*InStateOutputMetricItem) GetMessagesOk

func (o *InStateOutputMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*InStateOutputMetricItem) GetTimestamp

func (o *InStateOutputMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*InStateOutputMetricItem) GetTimestampOk

func (o *InStateOutputMetricItem) 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 (InStateOutputMetricItem) MarshalJSON

func (o InStateOutputMetricItem) MarshalJSON() ([]byte, error)

func (*InStateOutputMetricItem) SetLastMessage

func (o *InStateOutputMetricItem) SetLastMessage(v InStateOutput)

SetLastMessage sets field value

func (*InStateOutputMetricItem) SetMessages

func (o *InStateOutputMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*InStateOutputMetricItem) SetTimestamp

func (o *InStateOutputMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (InStateOutputMetricItem) ToMap

func (o InStateOutputMetricItem) ToMap() (map[string]interface{}, error)

type InfoResponse

type InfoResponse struct {
	L1Params L1Params `json:"l1Params"`
	// The net id of the node
	PeeringURL string `json:"peeringURL"`
	// The public key of the node (Hex)
	PublicKey string `json:"publicKey"`
	// The version of the node
	Version string `json:"version"`
}

InfoResponse struct for InfoResponse

func NewInfoResponse

func NewInfoResponse(l1Params L1Params, peeringURL string, publicKey string, version string) *InfoResponse

NewInfoResponse instantiates a new InfoResponse 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 NewInfoResponseWithDefaults

func NewInfoResponseWithDefaults() *InfoResponse

NewInfoResponseWithDefaults instantiates a new InfoResponse 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 (*InfoResponse) GetL1Params

func (o *InfoResponse) GetL1Params() L1Params

GetL1Params returns the L1Params field value

func (*InfoResponse) GetL1ParamsOk

func (o *InfoResponse) GetL1ParamsOk() (*L1Params, bool)

GetL1ParamsOk returns a tuple with the L1Params field value and a boolean to check if the value has been set.

func (*InfoResponse) GetPeeringURL

func (o *InfoResponse) GetPeeringURL() string

GetPeeringURL returns the PeeringURL field value

func (*InfoResponse) GetPeeringURLOk

func (o *InfoResponse) GetPeeringURLOk() (*string, bool)

GetPeeringURLOk returns a tuple with the PeeringURL field value and a boolean to check if the value has been set.

func (*InfoResponse) GetPublicKey

func (o *InfoResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*InfoResponse) GetPublicKeyOk

func (o *InfoResponse) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (*InfoResponse) GetVersion

func (o *InfoResponse) GetVersion() string

GetVersion returns the Version field value

func (*InfoResponse) GetVersionOk

func (o *InfoResponse) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (InfoResponse) MarshalJSON

func (o InfoResponse) MarshalJSON() ([]byte, error)

func (*InfoResponse) SetL1Params

func (o *InfoResponse) SetL1Params(v L1Params)

SetL1Params sets field value

func (*InfoResponse) SetPeeringURL

func (o *InfoResponse) SetPeeringURL(v string)

SetPeeringURL sets field value

func (*InfoResponse) SetPublicKey

func (o *InfoResponse) SetPublicKey(v string)

SetPublicKey sets field value

func (*InfoResponse) SetVersion

func (o *InfoResponse) SetVersion(v string)

SetVersion sets field value

func (InfoResponse) ToMap

func (o InfoResponse) ToMap() (map[string]interface{}, error)

type InterfaceMetricItem

type InterfaceMetricItem struct {
	LastMessage string    `json:"lastMessage"`
	Messages    uint32    `json:"messages"`
	Timestamp   time.Time `json:"timestamp"`
}

InterfaceMetricItem struct for InterfaceMetricItem

func NewInterfaceMetricItem

func NewInterfaceMetricItem(lastMessage string, messages uint32, timestamp time.Time) *InterfaceMetricItem

NewInterfaceMetricItem instantiates a new InterfaceMetricItem 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 NewInterfaceMetricItemWithDefaults

func NewInterfaceMetricItemWithDefaults() *InterfaceMetricItem

NewInterfaceMetricItemWithDefaults instantiates a new InterfaceMetricItem 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 (*InterfaceMetricItem) GetLastMessage

func (o *InterfaceMetricItem) GetLastMessage() string

GetLastMessage returns the LastMessage field value

func (*InterfaceMetricItem) GetLastMessageOk

func (o *InterfaceMetricItem) GetLastMessageOk() (*string, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*InterfaceMetricItem) GetMessages

func (o *InterfaceMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*InterfaceMetricItem) GetMessagesOk

func (o *InterfaceMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*InterfaceMetricItem) GetTimestamp

func (o *InterfaceMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*InterfaceMetricItem) GetTimestampOk

func (o *InterfaceMetricItem) 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 (InterfaceMetricItem) MarshalJSON

func (o InterfaceMetricItem) MarshalJSON() ([]byte, error)

func (*InterfaceMetricItem) SetLastMessage

func (o *InterfaceMetricItem) SetLastMessage(v string)

SetLastMessage sets field value

func (*InterfaceMetricItem) SetMessages

func (o *InterfaceMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*InterfaceMetricItem) SetTimestamp

func (o *InterfaceMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (InterfaceMetricItem) ToMap

func (o InterfaceMetricItem) ToMap() (map[string]interface{}, error)

type Item

type Item struct {
	// key (hex-encoded)
	Key string `json:"key"`
	// value (hex-encoded)
	Value string `json:"value"`
}

Item struct for Item

func NewItem

func NewItem(key string, value string) *Item

NewItem instantiates a new Item 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 NewItemWithDefaults

func NewItemWithDefaults() *Item

NewItemWithDefaults instantiates a new Item 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 (*Item) GetKey

func (o *Item) GetKey() string

GetKey returns the Key field value

func (*Item) GetKeyOk

func (o *Item) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*Item) GetValue

func (o *Item) GetValue() string

GetValue returns the Value field value

func (*Item) GetValueOk

func (o *Item) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (Item) MarshalJSON

func (o Item) MarshalJSON() ([]byte, error)

func (*Item) SetKey

func (o *Item) SetKey(v string)

SetKey sets field value

func (*Item) SetValue

func (o *Item) SetValue(v string)

SetValue sets field value

func (Item) ToMap

func (o Item) ToMap() (map[string]interface{}, error)

type JSONDict

type JSONDict struct {
	Items []Item `json:"Items,omitempty"`
}

JSONDict struct for JSONDict

func NewJSONDict

func NewJSONDict() *JSONDict

NewJSONDict instantiates a new JSONDict 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 NewJSONDictWithDefaults

func NewJSONDictWithDefaults() *JSONDict

NewJSONDictWithDefaults instantiates a new JSONDict 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 (*JSONDict) GetItems

func (o *JSONDict) GetItems() []Item

GetItems returns the Items field value if set, zero value otherwise.

func (*JSONDict) GetItemsOk

func (o *JSONDict) GetItemsOk() ([]Item, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*JSONDict) HasItems

func (o *JSONDict) HasItems() bool

HasItems returns a boolean if a field has been set.

func (JSONDict) MarshalJSON

func (o JSONDict) MarshalJSON() ([]byte, error)

func (*JSONDict) SetItems

func (o *JSONDict) SetItems(v []Item)

SetItems gets a reference to the given []Item and assigns it to the Items field.

func (JSONDict) ToMap

func (o JSONDict) ToMap() (map[string]interface{}, error)

type L1Params

type L1Params struct {
	BaseToken BaseToken `json:"baseToken"`
	// The max payload size
	MaxPayloadSize int32              `json:"maxPayloadSize"`
	Protocol       ProtocolParameters `json:"protocol"`
}

L1Params struct for L1Params

func NewL1Params

func NewL1Params(baseToken BaseToken, maxPayloadSize int32, protocol ProtocolParameters) *L1Params

NewL1Params instantiates a new L1Params 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 NewL1ParamsWithDefaults

func NewL1ParamsWithDefaults() *L1Params

NewL1ParamsWithDefaults instantiates a new L1Params 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 (*L1Params) GetBaseToken

func (o *L1Params) GetBaseToken() BaseToken

GetBaseToken returns the BaseToken field value

func (*L1Params) GetBaseTokenOk

func (o *L1Params) GetBaseTokenOk() (*BaseToken, bool)

GetBaseTokenOk returns a tuple with the BaseToken field value and a boolean to check if the value has been set.

func (*L1Params) GetMaxPayloadSize

func (o *L1Params) GetMaxPayloadSize() int32

GetMaxPayloadSize returns the MaxPayloadSize field value

func (*L1Params) GetMaxPayloadSizeOk

func (o *L1Params) GetMaxPayloadSizeOk() (*int32, bool)

GetMaxPayloadSizeOk returns a tuple with the MaxPayloadSize field value and a boolean to check if the value has been set.

func (*L1Params) GetProtocol

func (o *L1Params) GetProtocol() ProtocolParameters

GetProtocol returns the Protocol field value

func (*L1Params) GetProtocolOk

func (o *L1Params) GetProtocolOk() (*ProtocolParameters, bool)

GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set.

func (L1Params) MarshalJSON

func (o L1Params) MarshalJSON() ([]byte, error)

func (*L1Params) SetBaseToken

func (o *L1Params) SetBaseToken(v BaseToken)

SetBaseToken sets field value

func (*L1Params) SetMaxPayloadSize

func (o *L1Params) SetMaxPayloadSize(v int32)

SetMaxPayloadSize sets field value

func (*L1Params) SetProtocol

func (o *L1Params) SetProtocol(v ProtocolParameters)

SetProtocol sets field value

func (L1Params) ToMap

func (o L1Params) ToMap() (map[string]interface{}, error)

type LoginRequest

type LoginRequest struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LoginRequest struct for LoginRequest

func NewLoginRequest

func NewLoginRequest(password string, username string) *LoginRequest

NewLoginRequest instantiates a new LoginRequest 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 NewLoginRequestWithDefaults

func NewLoginRequestWithDefaults() *LoginRequest

NewLoginRequestWithDefaults instantiates a new LoginRequest 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 (*LoginRequest) GetPassword

func (o *LoginRequest) GetPassword() string

GetPassword returns the Password field value

func (*LoginRequest) GetPasswordOk

func (o *LoginRequest) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (*LoginRequest) GetUsername

func (o *LoginRequest) GetUsername() string

GetUsername returns the Username field value

func (*LoginRequest) GetUsernameOk

func (o *LoginRequest) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (LoginRequest) MarshalJSON

func (o LoginRequest) MarshalJSON() ([]byte, error)

func (*LoginRequest) SetPassword

func (o *LoginRequest) SetPassword(v string)

SetPassword sets field value

func (*LoginRequest) SetUsername

func (o *LoginRequest) SetUsername(v string)

SetUsername sets field value

func (LoginRequest) ToMap

func (o LoginRequest) ToMap() (map[string]interface{}, error)

type LoginResponse

type LoginResponse struct {
	Error string `json:"error"`
	Jwt   string `json:"jwt"`
}

LoginResponse struct for LoginResponse

func NewLoginResponse

func NewLoginResponse(error_ string, jwt string) *LoginResponse

NewLoginResponse instantiates a new LoginResponse 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 NewLoginResponseWithDefaults

func NewLoginResponseWithDefaults() *LoginResponse

NewLoginResponseWithDefaults instantiates a new LoginResponse 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 (*LoginResponse) GetError

func (o *LoginResponse) GetError() string

GetError returns the Error field value

func (*LoginResponse) GetErrorOk

func (o *LoginResponse) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*LoginResponse) GetJwt

func (o *LoginResponse) GetJwt() string

GetJwt returns the Jwt field value

func (*LoginResponse) GetJwtOk

func (o *LoginResponse) GetJwtOk() (*string, bool)

GetJwtOk returns a tuple with the Jwt field value and a boolean to check if the value has been set.

func (LoginResponse) MarshalJSON

func (o LoginResponse) MarshalJSON() ([]byte, error)

func (*LoginResponse) SetError

func (o *LoginResponse) SetError(v string)

SetError sets field value

func (*LoginResponse) SetJwt

func (o *LoginResponse) SetJwt(v string)

SetJwt sets field value

func (LoginResponse) ToMap

func (o LoginResponse) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MetricsApiService

type MetricsApiService service

MetricsApiService MetricsApi service

func (*MetricsApiService) GetChainMetrics

func (a *MetricsApiService) GetChainMetrics(ctx context.Context, chainID string) ApiGetChainMetricsRequest

GetChainMetrics Get chain specific metrics.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGetChainMetricsRequest

func (*MetricsApiService) GetChainMetricsExecute

func (a *MetricsApiService) GetChainMetricsExecute(r ApiGetChainMetricsRequest) (*ChainMetrics, *http.Response, error)

Execute executes the request

@return ChainMetrics

func (*MetricsApiService) GetChainPipeMetrics

func (a *MetricsApiService) GetChainPipeMetrics(ctx context.Context, chainID string) ApiGetChainPipeMetricsRequest

GetChainPipeMetrics Get chain pipe event metrics.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGetChainPipeMetricsRequest

func (*MetricsApiService) GetChainPipeMetricsExecute

Execute executes the request

@return ConsensusPipeMetrics

func (*MetricsApiService) GetChainWorkflowMetrics

func (a *MetricsApiService) GetChainWorkflowMetrics(ctx context.Context, chainID string) ApiGetChainWorkflowMetricsRequest

GetChainWorkflowMetrics Get chain workflow metrics.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@return ApiGetChainWorkflowMetricsRequest

func (*MetricsApiService) GetChainWorkflowMetricsExecute

Execute executes the request

@return ConsensusWorkflowMetrics

func (*MetricsApiService) GetL1Metrics

GetL1Metrics Get accumulated metrics.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetL1MetricsRequest

func (*MetricsApiService) GetL1MetricsExecute

func (a *MetricsApiService) GetL1MetricsExecute(r ApiGetL1MetricsRequest) (*ChainMetrics, *http.Response, error)

Execute executes the request

@return ChainMetrics

type MilestoneInfo

type MilestoneInfo struct {
	Index       *uint32 `json:"index,omitempty"`
	MilestoneId *string `json:"milestoneId,omitempty"`
	Timestamp   *uint32 `json:"timestamp,omitempty"`
}

MilestoneInfo struct for MilestoneInfo

func NewMilestoneInfo

func NewMilestoneInfo() *MilestoneInfo

NewMilestoneInfo instantiates a new MilestoneInfo 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 NewMilestoneInfoWithDefaults

func NewMilestoneInfoWithDefaults() *MilestoneInfo

NewMilestoneInfoWithDefaults instantiates a new MilestoneInfo 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 (*MilestoneInfo) GetIndex

func (o *MilestoneInfo) GetIndex() uint32

GetIndex returns the Index field value if set, zero value otherwise.

func (*MilestoneInfo) GetIndexOk

func (o *MilestoneInfo) GetIndexOk() (*uint32, bool)

GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MilestoneInfo) GetMilestoneId

func (o *MilestoneInfo) GetMilestoneId() string

GetMilestoneId returns the MilestoneId field value if set, zero value otherwise.

func (*MilestoneInfo) GetMilestoneIdOk

func (o *MilestoneInfo) GetMilestoneIdOk() (*string, bool)

GetMilestoneIdOk returns a tuple with the MilestoneId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MilestoneInfo) GetTimestamp

func (o *MilestoneInfo) GetTimestamp() uint32

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*MilestoneInfo) GetTimestampOk

func (o *MilestoneInfo) GetTimestampOk() (*uint32, 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 (*MilestoneInfo) HasIndex

func (o *MilestoneInfo) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*MilestoneInfo) HasMilestoneId

func (o *MilestoneInfo) HasMilestoneId() bool

HasMilestoneId returns a boolean if a field has been set.

func (*MilestoneInfo) HasTimestamp

func (o *MilestoneInfo) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (MilestoneInfo) MarshalJSON

func (o MilestoneInfo) MarshalJSON() ([]byte, error)

func (*MilestoneInfo) SetIndex

func (o *MilestoneInfo) SetIndex(v uint32)

SetIndex gets a reference to the given uint32 and assigns it to the Index field.

func (*MilestoneInfo) SetMilestoneId

func (o *MilestoneInfo) SetMilestoneId(v string)

SetMilestoneId gets a reference to the given string and assigns it to the MilestoneId field.

func (*MilestoneInfo) SetTimestamp

func (o *MilestoneInfo) SetTimestamp(v uint32)

SetTimestamp gets a reference to the given uint32 and assigns it to the Timestamp field.

func (MilestoneInfo) ToMap

func (o MilestoneInfo) ToMap() (map[string]interface{}, error)

type MilestoneMetricItem

type MilestoneMetricItem struct {
	LastMessage MilestoneInfo `json:"lastMessage"`
	Messages    uint32        `json:"messages"`
	Timestamp   time.Time     `json:"timestamp"`
}

MilestoneMetricItem struct for MilestoneMetricItem

func NewMilestoneMetricItem

func NewMilestoneMetricItem(lastMessage MilestoneInfo, messages uint32, timestamp time.Time) *MilestoneMetricItem

NewMilestoneMetricItem instantiates a new MilestoneMetricItem 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 NewMilestoneMetricItemWithDefaults

func NewMilestoneMetricItemWithDefaults() *MilestoneMetricItem

NewMilestoneMetricItemWithDefaults instantiates a new MilestoneMetricItem 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 (*MilestoneMetricItem) GetLastMessage

func (o *MilestoneMetricItem) GetLastMessage() MilestoneInfo

GetLastMessage returns the LastMessage field value

func (*MilestoneMetricItem) GetLastMessageOk

func (o *MilestoneMetricItem) GetLastMessageOk() (*MilestoneInfo, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*MilestoneMetricItem) GetMessages

func (o *MilestoneMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*MilestoneMetricItem) GetMessagesOk

func (o *MilestoneMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*MilestoneMetricItem) GetTimestamp

func (o *MilestoneMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*MilestoneMetricItem) GetTimestampOk

func (o *MilestoneMetricItem) 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 (MilestoneMetricItem) MarshalJSON

func (o MilestoneMetricItem) MarshalJSON() ([]byte, error)

func (*MilestoneMetricItem) SetLastMessage

func (o *MilestoneMetricItem) SetLastMessage(v MilestoneInfo)

SetLastMessage sets field value

func (*MilestoneMetricItem) SetMessages

func (o *MilestoneMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*MilestoneMetricItem) SetTimestamp

func (o *MilestoneMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (MilestoneMetricItem) ToMap

func (o MilestoneMetricItem) ToMap() (map[string]interface{}, error)

type NFTDataResponse

type NFTDataResponse struct {
	Id       string `json:"id"`
	Issuer   string `json:"issuer"`
	Metadata string `json:"metadata"`
	Owner    string `json:"owner"`
}

NFTDataResponse struct for NFTDataResponse

func NewNFTDataResponse

func NewNFTDataResponse(id string, issuer string, metadata string, owner string) *NFTDataResponse

NewNFTDataResponse instantiates a new NFTDataResponse 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 NewNFTDataResponseWithDefaults

func NewNFTDataResponseWithDefaults() *NFTDataResponse

NewNFTDataResponseWithDefaults instantiates a new NFTDataResponse 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 (*NFTDataResponse) GetId

func (o *NFTDataResponse) GetId() string

GetId returns the Id field value

func (*NFTDataResponse) GetIdOk

func (o *NFTDataResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*NFTDataResponse) GetIssuer

func (o *NFTDataResponse) GetIssuer() string

GetIssuer returns the Issuer field value

func (*NFTDataResponse) GetIssuerOk

func (o *NFTDataResponse) GetIssuerOk() (*string, bool)

GetIssuerOk returns a tuple with the Issuer field value and a boolean to check if the value has been set.

func (*NFTDataResponse) GetMetadata

func (o *NFTDataResponse) GetMetadata() string

GetMetadata returns the Metadata field value

func (*NFTDataResponse) GetMetadataOk

func (o *NFTDataResponse) GetMetadataOk() (*string, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (*NFTDataResponse) GetOwner

func (o *NFTDataResponse) GetOwner() string

GetOwner returns the Owner field value

func (*NFTDataResponse) GetOwnerOk

func (o *NFTDataResponse) GetOwnerOk() (*string, bool)

GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.

func (NFTDataResponse) MarshalJSON

func (o NFTDataResponse) MarshalJSON() ([]byte, error)

func (*NFTDataResponse) SetId

func (o *NFTDataResponse) SetId(v string)

SetId sets field value

func (*NFTDataResponse) SetIssuer

func (o *NFTDataResponse) SetIssuer(v string)

SetIssuer sets field value

func (*NFTDataResponse) SetMetadata

func (o *NFTDataResponse) SetMetadata(v string)

SetMetadata sets field value

func (*NFTDataResponse) SetOwner

func (o *NFTDataResponse) SetOwner(v string)

SetOwner sets field value

func (NFTDataResponse) ToMap

func (o NFTDataResponse) ToMap() (map[string]interface{}, error)

type NativeToken

type NativeToken struct {
	Amount string `json:"amount"`
	Id     string `json:"id"`
}

NativeToken struct for NativeToken

func NewNativeToken

func NewNativeToken(amount string, id string) *NativeToken

NewNativeToken instantiates a new NativeToken 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 NewNativeTokenWithDefaults

func NewNativeTokenWithDefaults() *NativeToken

NewNativeTokenWithDefaults instantiates a new NativeToken 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 (*NativeToken) GetAmount

func (o *NativeToken) GetAmount() string

GetAmount returns the Amount field value

func (*NativeToken) GetAmountOk

func (o *NativeToken) GetAmountOk() (*string, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*NativeToken) GetId

func (o *NativeToken) GetId() string

GetId returns the Id field value

func (*NativeToken) GetIdOk

func (o *NativeToken) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (NativeToken) MarshalJSON

func (o NativeToken) MarshalJSON() ([]byte, error)

func (*NativeToken) SetAmount

func (o *NativeToken) SetAmount(v string)

SetAmount sets field value

func (*NativeToken) SetId

func (o *NativeToken) SetId(v string)

SetId sets field value

func (NativeToken) ToMap

func (o NativeToken) ToMap() (map[string]interface{}, error)

type NativeTokenIDRegistryResponse

type NativeTokenIDRegistryResponse struct {
	NativeTokenRegistryIds []string `json:"nativeTokenRegistryIds"`
}

NativeTokenIDRegistryResponse struct for NativeTokenIDRegistryResponse

func NewNativeTokenIDRegistryResponse

func NewNativeTokenIDRegistryResponse(nativeTokenRegistryIds []string) *NativeTokenIDRegistryResponse

NewNativeTokenIDRegistryResponse instantiates a new NativeTokenIDRegistryResponse 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 NewNativeTokenIDRegistryResponseWithDefaults

func NewNativeTokenIDRegistryResponseWithDefaults() *NativeTokenIDRegistryResponse

NewNativeTokenIDRegistryResponseWithDefaults instantiates a new NativeTokenIDRegistryResponse 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 (*NativeTokenIDRegistryResponse) GetNativeTokenRegistryIds

func (o *NativeTokenIDRegistryResponse) GetNativeTokenRegistryIds() []string

GetNativeTokenRegistryIds returns the NativeTokenRegistryIds field value

func (*NativeTokenIDRegistryResponse) GetNativeTokenRegistryIdsOk

func (o *NativeTokenIDRegistryResponse) GetNativeTokenRegistryIdsOk() ([]string, bool)

GetNativeTokenRegistryIdsOk returns a tuple with the NativeTokenRegistryIds field value and a boolean to check if the value has been set.

func (NativeTokenIDRegistryResponse) MarshalJSON

func (o NativeTokenIDRegistryResponse) MarshalJSON() ([]byte, error)

func (*NativeTokenIDRegistryResponse) SetNativeTokenRegistryIds

func (o *NativeTokenIDRegistryResponse) SetNativeTokenRegistryIds(v []string)

SetNativeTokenRegistryIds sets field value

func (NativeTokenIDRegistryResponse) ToMap

func (o NativeTokenIDRegistryResponse) ToMap() (map[string]interface{}, error)

type NodeApiService

type NodeApiService service

NodeApiService NodeApi service

func (*NodeApiService) DistrustPeer

func (a *NodeApiService) DistrustPeer(ctx context.Context, peer string) ApiDistrustPeerRequest

DistrustPeer Distrust a peering node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param peer Name or PubKey (hex) of the trusted peer
@return ApiDistrustPeerRequest

func (*NodeApiService) DistrustPeerExecute

func (a *NodeApiService) DistrustPeerExecute(r ApiDistrustPeerRequest) (*http.Response, error)

Execute executes the request

func (*NodeApiService) GenerateDKS

GenerateDKS Generate a new distributed key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGenerateDKSRequest

func (*NodeApiService) GenerateDKSExecute

func (a *NodeApiService) GenerateDKSExecute(r ApiGenerateDKSRequest) (*DKSharesInfo, *http.Response, error)

Execute executes the request

@return DKSharesInfo

func (*NodeApiService) GetAllPeers

GetAllPeers Get basic information about all configured peers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAllPeersRequest

func (*NodeApiService) GetAllPeersExecute

Execute executes the request

@return []PeeringNodeStatusResponse

func (*NodeApiService) GetConfiguration

func (a *NodeApiService) GetConfiguration(ctx context.Context) ApiGetConfigurationRequest

GetConfiguration Return the Wasp configuration

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetConfigurationRequest

func (*NodeApiService) GetConfigurationExecute

func (a *NodeApiService) GetConfigurationExecute(r ApiGetConfigurationRequest) (map[string]string, *http.Response, error)

Execute executes the request

@return map[string]string

func (*NodeApiService) GetDKSInfo

func (a *NodeApiService) GetDKSInfo(ctx context.Context, sharedAddress string) ApiGetDKSInfoRequest

GetDKSInfo Get information about the shared address DKS configuration

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param sharedAddress SharedAddress (Bech32)
@return ApiGetDKSInfoRequest

func (*NodeApiService) GetDKSInfoExecute

func (a *NodeApiService) GetDKSInfoExecute(r ApiGetDKSInfoRequest) (*DKSharesInfo, *http.Response, error)

Execute executes the request

@return DKSharesInfo

func (*NodeApiService) GetHealth

GetHealth Returns 200 if the node health is healthy.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetHealthRequest

func (*NodeApiService) GetHealthExecute

func (a *NodeApiService) GetHealthExecute(r ApiGetHealthRequest) (*http.Response, error)

Execute executes the request

func (*NodeApiService) GetInfo

GetInfo Returns private information about this node.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetInfoRequest

func (*NodeApiService) GetInfoExecute

func (a *NodeApiService) GetInfoExecute(r ApiGetInfoRequest) (*InfoResponse, *http.Response, error)

Execute executes the request

@return InfoResponse

func (*NodeApiService) GetPeeringIdentity

func (a *NodeApiService) GetPeeringIdentity(ctx context.Context) ApiGetPeeringIdentityRequest

GetPeeringIdentity Get basic peer info of the current node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetPeeringIdentityRequest

func (*NodeApiService) GetPeeringIdentityExecute

Execute executes the request

@return PeeringNodeIdentityResponse

func (*NodeApiService) GetTrustedPeers

func (a *NodeApiService) GetTrustedPeers(ctx context.Context) ApiGetTrustedPeersRequest

GetTrustedPeers Get trusted peers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTrustedPeersRequest

func (*NodeApiService) GetTrustedPeersExecute

Execute executes the request

@return []PeeringNodeIdentityResponse

func (*NodeApiService) GetVersion

GetVersion Returns the node version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetVersionRequest

func (*NodeApiService) GetVersionExecute

func (a *NodeApiService) GetVersionExecute(r ApiGetVersionRequest) (*VersionResponse, *http.Response, error)

Execute executes the request

@return VersionResponse

func (*NodeApiService) SetNodeOwner

SetNodeOwner Sets the node owner

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSetNodeOwnerRequest

func (*NodeApiService) SetNodeOwnerExecute

Execute executes the request

@return NodeOwnerCertificateResponse

func (*NodeApiService) ShutdownNode

ShutdownNode Shut down the node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiShutdownNodeRequest

func (*NodeApiService) ShutdownNodeExecute

func (a *NodeApiService) ShutdownNodeExecute(r ApiShutdownNodeRequest) (*http.Response, error)

Execute executes the request

func (*NodeApiService) TrustPeer

TrustPeer Trust a peering node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTrustPeerRequest

func (*NodeApiService) TrustPeerExecute

func (a *NodeApiService) TrustPeerExecute(r ApiTrustPeerRequest) (*http.Response, error)

Execute executes the request

type NodeOwnerCertificateRequest

type NodeOwnerCertificateRequest struct {
	// Node owner address. (Bech32)
	OwnerAddress string `json:"ownerAddress"`
	// The public key of the node (Hex)
	PublicKey string `json:"publicKey"`
}

NodeOwnerCertificateRequest struct for NodeOwnerCertificateRequest

func NewNodeOwnerCertificateRequest

func NewNodeOwnerCertificateRequest(ownerAddress string, publicKey string) *NodeOwnerCertificateRequest

NewNodeOwnerCertificateRequest instantiates a new NodeOwnerCertificateRequest 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 NewNodeOwnerCertificateRequestWithDefaults

func NewNodeOwnerCertificateRequestWithDefaults() *NodeOwnerCertificateRequest

NewNodeOwnerCertificateRequestWithDefaults instantiates a new NodeOwnerCertificateRequest 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 (*NodeOwnerCertificateRequest) GetOwnerAddress

func (o *NodeOwnerCertificateRequest) GetOwnerAddress() string

GetOwnerAddress returns the OwnerAddress field value

func (*NodeOwnerCertificateRequest) GetOwnerAddressOk

func (o *NodeOwnerCertificateRequest) GetOwnerAddressOk() (*string, bool)

GetOwnerAddressOk returns a tuple with the OwnerAddress field value and a boolean to check if the value has been set.

func (*NodeOwnerCertificateRequest) GetPublicKey

func (o *NodeOwnerCertificateRequest) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*NodeOwnerCertificateRequest) GetPublicKeyOk

func (o *NodeOwnerCertificateRequest) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (NodeOwnerCertificateRequest) MarshalJSON

func (o NodeOwnerCertificateRequest) MarshalJSON() ([]byte, error)

func (*NodeOwnerCertificateRequest) SetOwnerAddress

func (o *NodeOwnerCertificateRequest) SetOwnerAddress(v string)

SetOwnerAddress sets field value

func (*NodeOwnerCertificateRequest) SetPublicKey

func (o *NodeOwnerCertificateRequest) SetPublicKey(v string)

SetPublicKey sets field value

func (NodeOwnerCertificateRequest) ToMap

func (o NodeOwnerCertificateRequest) ToMap() (map[string]interface{}, error)

type NodeOwnerCertificateResponse

type NodeOwnerCertificateResponse struct {
	// Certificate stating the ownership. (Hex)
	Certificate string `json:"certificate"`
}

NodeOwnerCertificateResponse struct for NodeOwnerCertificateResponse

func NewNodeOwnerCertificateResponse

func NewNodeOwnerCertificateResponse(certificate string) *NodeOwnerCertificateResponse

NewNodeOwnerCertificateResponse instantiates a new NodeOwnerCertificateResponse 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 NewNodeOwnerCertificateResponseWithDefaults

func NewNodeOwnerCertificateResponseWithDefaults() *NodeOwnerCertificateResponse

NewNodeOwnerCertificateResponseWithDefaults instantiates a new NodeOwnerCertificateResponse 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 (*NodeOwnerCertificateResponse) GetCertificate

func (o *NodeOwnerCertificateResponse) GetCertificate() string

GetCertificate returns the Certificate field value

func (*NodeOwnerCertificateResponse) GetCertificateOk

func (o *NodeOwnerCertificateResponse) GetCertificateOk() (*string, bool)

GetCertificateOk returns a tuple with the Certificate field value and a boolean to check if the value has been set.

func (NodeOwnerCertificateResponse) MarshalJSON

func (o NodeOwnerCertificateResponse) MarshalJSON() ([]byte, error)

func (*NodeOwnerCertificateResponse) SetCertificate

func (o *NodeOwnerCertificateResponse) SetCertificate(v string)

SetCertificate sets field value

func (NodeOwnerCertificateResponse) ToMap

func (o NodeOwnerCertificateResponse) ToMap() (map[string]interface{}, error)

type NullableAccountFoundriesResponse

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

func (NullableAccountFoundriesResponse) Get

func (NullableAccountFoundriesResponse) IsSet

func (NullableAccountFoundriesResponse) MarshalJSON

func (v NullableAccountFoundriesResponse) MarshalJSON() ([]byte, error)

func (*NullableAccountFoundriesResponse) Set

func (*NullableAccountFoundriesResponse) UnmarshalJSON

func (v *NullableAccountFoundriesResponse) UnmarshalJSON(src []byte) error

func (*NullableAccountFoundriesResponse) Unset

type NullableAccountListResponse

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

func NewNullableAccountListResponse

func NewNullableAccountListResponse(val *AccountListResponse) *NullableAccountListResponse

func (NullableAccountListResponse) Get

func (NullableAccountListResponse) IsSet

func (NullableAccountListResponse) MarshalJSON

func (v NullableAccountListResponse) MarshalJSON() ([]byte, error)

func (*NullableAccountListResponse) Set

func (*NullableAccountListResponse) UnmarshalJSON

func (v *NullableAccountListResponse) UnmarshalJSON(src []byte) error

func (*NullableAccountListResponse) Unset

func (v *NullableAccountListResponse) Unset()

type NullableAccountNFTsResponse

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

func NewNullableAccountNFTsResponse

func NewNullableAccountNFTsResponse(val *AccountNFTsResponse) *NullableAccountNFTsResponse

func (NullableAccountNFTsResponse) Get

func (NullableAccountNFTsResponse) IsSet

func (NullableAccountNFTsResponse) MarshalJSON

func (v NullableAccountNFTsResponse) MarshalJSON() ([]byte, error)

func (*NullableAccountNFTsResponse) Set

func (*NullableAccountNFTsResponse) UnmarshalJSON

func (v *NullableAccountNFTsResponse) UnmarshalJSON(src []byte) error

func (*NullableAccountNFTsResponse) Unset

func (v *NullableAccountNFTsResponse) Unset()

type NullableAccountNonceResponse

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

func NewNullableAccountNonceResponse

func NewNullableAccountNonceResponse(val *AccountNonceResponse) *NullableAccountNonceResponse

func (NullableAccountNonceResponse) Get

func (NullableAccountNonceResponse) IsSet

func (NullableAccountNonceResponse) MarshalJSON

func (v NullableAccountNonceResponse) MarshalJSON() ([]byte, error)

func (*NullableAccountNonceResponse) Set

func (*NullableAccountNonceResponse) UnmarshalJSON

func (v *NullableAccountNonceResponse) UnmarshalJSON(src []byte) error

func (*NullableAccountNonceResponse) Unset

func (v *NullableAccountNonceResponse) Unset()

type NullableAddUserRequest

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

func NewNullableAddUserRequest

func NewNullableAddUserRequest(val *AddUserRequest) *NullableAddUserRequest

func (NullableAddUserRequest) Get

func (NullableAddUserRequest) IsSet

func (v NullableAddUserRequest) IsSet() bool

func (NullableAddUserRequest) MarshalJSON

func (v NullableAddUserRequest) MarshalJSON() ([]byte, error)

func (*NullableAddUserRequest) Set

func (*NullableAddUserRequest) UnmarshalJSON

func (v *NullableAddUserRequest) UnmarshalJSON(src []byte) error

func (*NullableAddUserRequest) Unset

func (v *NullableAddUserRequest) Unset()

type NullableAliasOutputMetricItem

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

func (NullableAliasOutputMetricItem) Get

func (NullableAliasOutputMetricItem) IsSet

func (NullableAliasOutputMetricItem) MarshalJSON

func (v NullableAliasOutputMetricItem) MarshalJSON() ([]byte, error)

func (*NullableAliasOutputMetricItem) Set

func (*NullableAliasOutputMetricItem) UnmarshalJSON

func (v *NullableAliasOutputMetricItem) UnmarshalJSON(src []byte) error

func (*NullableAliasOutputMetricItem) Unset

func (v *NullableAliasOutputMetricItem) Unset()

type NullableAssets

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

func NewNullableAssets

func NewNullableAssets(val *Assets) *NullableAssets

func (NullableAssets) Get

func (v NullableAssets) Get() *Assets

func (NullableAssets) IsSet

func (v NullableAssets) IsSet() bool

func (NullableAssets) MarshalJSON

func (v NullableAssets) MarshalJSON() ([]byte, error)

func (*NullableAssets) Set

func (v *NullableAssets) Set(val *Assets)

func (*NullableAssets) UnmarshalJSON

func (v *NullableAssets) UnmarshalJSON(src []byte) error

func (*NullableAssets) Unset

func (v *NullableAssets) Unset()

type NullableAssetsResponse

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

func NewNullableAssetsResponse

func NewNullableAssetsResponse(val *AssetsResponse) *NullableAssetsResponse

func (NullableAssetsResponse) Get

func (NullableAssetsResponse) IsSet

func (v NullableAssetsResponse) IsSet() bool

func (NullableAssetsResponse) MarshalJSON

func (v NullableAssetsResponse) MarshalJSON() ([]byte, error)

func (*NullableAssetsResponse) Set

func (*NullableAssetsResponse) UnmarshalJSON

func (v *NullableAssetsResponse) UnmarshalJSON(src []byte) error

func (*NullableAssetsResponse) Unset

func (v *NullableAssetsResponse) Unset()

type NullableAuthInfoModel

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

func NewNullableAuthInfoModel

func NewNullableAuthInfoModel(val *AuthInfoModel) *NullableAuthInfoModel

func (NullableAuthInfoModel) Get

func (NullableAuthInfoModel) IsSet

func (v NullableAuthInfoModel) IsSet() bool

func (NullableAuthInfoModel) MarshalJSON

func (v NullableAuthInfoModel) MarshalJSON() ([]byte, error)

func (*NullableAuthInfoModel) Set

func (v *NullableAuthInfoModel) Set(val *AuthInfoModel)

func (*NullableAuthInfoModel) UnmarshalJSON

func (v *NullableAuthInfoModel) UnmarshalJSON(src []byte) error

func (*NullableAuthInfoModel) Unset

func (v *NullableAuthInfoModel) Unset()

type NullableBaseToken

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

func NewNullableBaseToken

func NewNullableBaseToken(val *BaseToken) *NullableBaseToken

func (NullableBaseToken) Get

func (v NullableBaseToken) Get() *BaseToken

func (NullableBaseToken) IsSet

func (v NullableBaseToken) IsSet() bool

func (NullableBaseToken) MarshalJSON

func (v NullableBaseToken) MarshalJSON() ([]byte, error)

func (*NullableBaseToken) Set

func (v *NullableBaseToken) Set(val *BaseToken)

func (*NullableBaseToken) UnmarshalJSON

func (v *NullableBaseToken) UnmarshalJSON(src []byte) error

func (*NullableBaseToken) Unset

func (v *NullableBaseToken) Unset()

type NullableBlob

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

func NewNullableBlob

func NewNullableBlob(val *Blob) *NullableBlob

func (NullableBlob) Get

func (v NullableBlob) Get() *Blob

func (NullableBlob) IsSet

func (v NullableBlob) IsSet() bool

func (NullableBlob) MarshalJSON

func (v NullableBlob) MarshalJSON() ([]byte, error)

func (*NullableBlob) Set

func (v *NullableBlob) Set(val *Blob)

func (*NullableBlob) UnmarshalJSON

func (v *NullableBlob) UnmarshalJSON(src []byte) error

func (*NullableBlob) Unset

func (v *NullableBlob) Unset()

type NullableBlobInfoResponse

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

func NewNullableBlobInfoResponse

func NewNullableBlobInfoResponse(val *BlobInfoResponse) *NullableBlobInfoResponse

func (NullableBlobInfoResponse) Get

func (NullableBlobInfoResponse) IsSet

func (v NullableBlobInfoResponse) IsSet() bool

func (NullableBlobInfoResponse) MarshalJSON

func (v NullableBlobInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableBlobInfoResponse) Set

func (*NullableBlobInfoResponse) UnmarshalJSON

func (v *NullableBlobInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableBlobInfoResponse) Unset

func (v *NullableBlobInfoResponse) Unset()

type NullableBlobListResponse

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

func NewNullableBlobListResponse

func NewNullableBlobListResponse(val *BlobListResponse) *NullableBlobListResponse

func (NullableBlobListResponse) Get

func (NullableBlobListResponse) IsSet

func (v NullableBlobListResponse) IsSet() bool

func (NullableBlobListResponse) MarshalJSON

func (v NullableBlobListResponse) MarshalJSON() ([]byte, error)

func (*NullableBlobListResponse) Set

func (*NullableBlobListResponse) UnmarshalJSON

func (v *NullableBlobListResponse) UnmarshalJSON(src []byte) error

func (*NullableBlobListResponse) Unset

func (v *NullableBlobListResponse) Unset()

type NullableBlobValueResponse

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

func NewNullableBlobValueResponse

func NewNullableBlobValueResponse(val *BlobValueResponse) *NullableBlobValueResponse

func (NullableBlobValueResponse) Get

func (NullableBlobValueResponse) IsSet

func (v NullableBlobValueResponse) IsSet() bool

func (NullableBlobValueResponse) MarshalJSON

func (v NullableBlobValueResponse) MarshalJSON() ([]byte, error)

func (*NullableBlobValueResponse) Set

func (*NullableBlobValueResponse) UnmarshalJSON

func (v *NullableBlobValueResponse) UnmarshalJSON(src []byte) error

func (*NullableBlobValueResponse) Unset

func (v *NullableBlobValueResponse) Unset()

type NullableBlockInfoResponse

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

func NewNullableBlockInfoResponse

func NewNullableBlockInfoResponse(val *BlockInfoResponse) *NullableBlockInfoResponse

func (NullableBlockInfoResponse) Get

func (NullableBlockInfoResponse) IsSet

func (v NullableBlockInfoResponse) IsSet() bool

func (NullableBlockInfoResponse) MarshalJSON

func (v NullableBlockInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableBlockInfoResponse) Set

func (*NullableBlockInfoResponse) UnmarshalJSON

func (v *NullableBlockInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableBlockInfoResponse) Unset

func (v *NullableBlockInfoResponse) Unset()

type NullableBlockReceiptError

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

func NewNullableBlockReceiptError

func NewNullableBlockReceiptError(val *BlockReceiptError) *NullableBlockReceiptError

func (NullableBlockReceiptError) Get

func (NullableBlockReceiptError) IsSet

func (v NullableBlockReceiptError) IsSet() bool

func (NullableBlockReceiptError) MarshalJSON

func (v NullableBlockReceiptError) MarshalJSON() ([]byte, error)

func (*NullableBlockReceiptError) Set

func (*NullableBlockReceiptError) UnmarshalJSON

func (v *NullableBlockReceiptError) UnmarshalJSON(src []byte) error

func (*NullableBlockReceiptError) Unset

func (v *NullableBlockReceiptError) Unset()

type NullableBlockReceiptsResponse

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

func (NullableBlockReceiptsResponse) Get

func (NullableBlockReceiptsResponse) IsSet

func (NullableBlockReceiptsResponse) MarshalJSON

func (v NullableBlockReceiptsResponse) MarshalJSON() ([]byte, error)

func (*NullableBlockReceiptsResponse) Set

func (*NullableBlockReceiptsResponse) UnmarshalJSON

func (v *NullableBlockReceiptsResponse) UnmarshalJSON(src []byte) error

func (*NullableBlockReceiptsResponse) Unset

func (v *NullableBlockReceiptsResponse) 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 NullableBurnLog

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

func NewNullableBurnLog

func NewNullableBurnLog(val *BurnLog) *NullableBurnLog

func (NullableBurnLog) Get

func (v NullableBurnLog) Get() *BurnLog

func (NullableBurnLog) IsSet

func (v NullableBurnLog) IsSet() bool

func (NullableBurnLog) MarshalJSON

func (v NullableBurnLog) MarshalJSON() ([]byte, error)

func (*NullableBurnLog) Set

func (v *NullableBurnLog) Set(val *BurnLog)

func (*NullableBurnLog) UnmarshalJSON

func (v *NullableBurnLog) UnmarshalJSON(src []byte) error

func (*NullableBurnLog) Unset

func (v *NullableBurnLog) Unset()

type NullableBurnRecord

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

func NewNullableBurnRecord

func NewNullableBurnRecord(val *BurnRecord) *NullableBurnRecord

func (NullableBurnRecord) Get

func (v NullableBurnRecord) Get() *BurnRecord

func (NullableBurnRecord) IsSet

func (v NullableBurnRecord) IsSet() bool

func (NullableBurnRecord) MarshalJSON

func (v NullableBurnRecord) MarshalJSON() ([]byte, error)

func (*NullableBurnRecord) Set

func (v *NullableBurnRecord) Set(val *BurnRecord)

func (*NullableBurnRecord) UnmarshalJSON

func (v *NullableBurnRecord) UnmarshalJSON(src []byte) error

func (*NullableBurnRecord) Unset

func (v *NullableBurnRecord) Unset()

type NullableCallTarget

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

func NewNullableCallTarget

func NewNullableCallTarget(val *CallTarget) *NullableCallTarget

func (NullableCallTarget) Get

func (v NullableCallTarget) Get() *CallTarget

func (NullableCallTarget) IsSet

func (v NullableCallTarget) IsSet() bool

func (NullableCallTarget) MarshalJSON

func (v NullableCallTarget) MarshalJSON() ([]byte, error)

func (*NullableCallTarget) Set

func (v *NullableCallTarget) Set(val *CallTarget)

func (*NullableCallTarget) UnmarshalJSON

func (v *NullableCallTarget) UnmarshalJSON(src []byte) error

func (*NullableCallTarget) Unset

func (v *NullableCallTarget) Unset()

type NullableChainInfoResponse

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

func NewNullableChainInfoResponse

func NewNullableChainInfoResponse(val *ChainInfoResponse) *NullableChainInfoResponse

func (NullableChainInfoResponse) Get

func (NullableChainInfoResponse) IsSet

func (v NullableChainInfoResponse) IsSet() bool

func (NullableChainInfoResponse) MarshalJSON

func (v NullableChainInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableChainInfoResponse) Set

func (*NullableChainInfoResponse) UnmarshalJSON

func (v *NullableChainInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableChainInfoResponse) Unset

func (v *NullableChainInfoResponse) Unset()

type NullableChainMetrics

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

func NewNullableChainMetrics

func NewNullableChainMetrics(val *ChainMetrics) *NullableChainMetrics

func (NullableChainMetrics) Get

func (NullableChainMetrics) IsSet

func (v NullableChainMetrics) IsSet() bool

func (NullableChainMetrics) MarshalJSON

func (v NullableChainMetrics) MarshalJSON() ([]byte, error)

func (*NullableChainMetrics) Set

func (v *NullableChainMetrics) Set(val *ChainMetrics)

func (*NullableChainMetrics) UnmarshalJSON

func (v *NullableChainMetrics) UnmarshalJSON(src []byte) error

func (*NullableChainMetrics) Unset

func (v *NullableChainMetrics) Unset()

type NullableChainRecord

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

func NewNullableChainRecord

func NewNullableChainRecord(val *ChainRecord) *NullableChainRecord

func (NullableChainRecord) Get

func (NullableChainRecord) IsSet

func (v NullableChainRecord) IsSet() bool

func (NullableChainRecord) MarshalJSON

func (v NullableChainRecord) MarshalJSON() ([]byte, error)

func (*NullableChainRecord) Set

func (v *NullableChainRecord) Set(val *ChainRecord)

func (*NullableChainRecord) UnmarshalJSON

func (v *NullableChainRecord) UnmarshalJSON(src []byte) error

func (*NullableChainRecord) Unset

func (v *NullableChainRecord) Unset()

type NullableCommitteeInfoResponse

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

func (NullableCommitteeInfoResponse) Get

func (NullableCommitteeInfoResponse) IsSet

func (NullableCommitteeInfoResponse) MarshalJSON

func (v NullableCommitteeInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableCommitteeInfoResponse) Set

func (*NullableCommitteeInfoResponse) UnmarshalJSON

func (v *NullableCommitteeInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableCommitteeInfoResponse) Unset

func (v *NullableCommitteeInfoResponse) Unset()

type NullableCommitteeNode

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

func NewNullableCommitteeNode

func NewNullableCommitteeNode(val *CommitteeNode) *NullableCommitteeNode

func (NullableCommitteeNode) Get

func (NullableCommitteeNode) IsSet

func (v NullableCommitteeNode) IsSet() bool

func (NullableCommitteeNode) MarshalJSON

func (v NullableCommitteeNode) MarshalJSON() ([]byte, error)

func (*NullableCommitteeNode) Set

func (v *NullableCommitteeNode) Set(val *CommitteeNode)

func (*NullableCommitteeNode) UnmarshalJSON

func (v *NullableCommitteeNode) UnmarshalJSON(src []byte) error

func (*NullableCommitteeNode) Unset

func (v *NullableCommitteeNode) Unset()

type NullableConsensusPipeMetrics

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

func NewNullableConsensusPipeMetrics

func NewNullableConsensusPipeMetrics(val *ConsensusPipeMetrics) *NullableConsensusPipeMetrics

func (NullableConsensusPipeMetrics) Get

func (NullableConsensusPipeMetrics) IsSet

func (NullableConsensusPipeMetrics) MarshalJSON

func (v NullableConsensusPipeMetrics) MarshalJSON() ([]byte, error)

func (*NullableConsensusPipeMetrics) Set

func (*NullableConsensusPipeMetrics) UnmarshalJSON

func (v *NullableConsensusPipeMetrics) UnmarshalJSON(src []byte) error

func (*NullableConsensusPipeMetrics) Unset

func (v *NullableConsensusPipeMetrics) Unset()

type NullableConsensusWorkflowMetrics

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

func (NullableConsensusWorkflowMetrics) Get

func (NullableConsensusWorkflowMetrics) IsSet

func (NullableConsensusWorkflowMetrics) MarshalJSON

func (v NullableConsensusWorkflowMetrics) MarshalJSON() ([]byte, error)

func (*NullableConsensusWorkflowMetrics) Set

func (*NullableConsensusWorkflowMetrics) UnmarshalJSON

func (v *NullableConsensusWorkflowMetrics) UnmarshalJSON(src []byte) error

func (*NullableConsensusWorkflowMetrics) Unset

type NullableContractCallViewRequest

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

func (NullableContractCallViewRequest) Get

func (NullableContractCallViewRequest) IsSet

func (NullableContractCallViewRequest) MarshalJSON

func (v NullableContractCallViewRequest) MarshalJSON() ([]byte, error)

func (*NullableContractCallViewRequest) Set

func (*NullableContractCallViewRequest) UnmarshalJSON

func (v *NullableContractCallViewRequest) UnmarshalJSON(src []byte) error

func (*NullableContractCallViewRequest) Unset

type NullableContractInfoResponse

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

func NewNullableContractInfoResponse

func NewNullableContractInfoResponse(val *ContractInfoResponse) *NullableContractInfoResponse

func (NullableContractInfoResponse) Get

func (NullableContractInfoResponse) IsSet

func (NullableContractInfoResponse) MarshalJSON

func (v NullableContractInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableContractInfoResponse) Set

func (*NullableContractInfoResponse) UnmarshalJSON

func (v *NullableContractInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableContractInfoResponse) Unset

func (v *NullableContractInfoResponse) Unset()

type NullableControlAddressesResponse

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

func (NullableControlAddressesResponse) Get

func (NullableControlAddressesResponse) IsSet

func (NullableControlAddressesResponse) MarshalJSON

func (v NullableControlAddressesResponse) MarshalJSON() ([]byte, error)

func (*NullableControlAddressesResponse) Set

func (*NullableControlAddressesResponse) UnmarshalJSON

func (v *NullableControlAddressesResponse) UnmarshalJSON(src []byte) error

func (*NullableControlAddressesResponse) Unset

type NullableDKSharesInfo

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

func NewNullableDKSharesInfo

func NewNullableDKSharesInfo(val *DKSharesInfo) *NullableDKSharesInfo

func (NullableDKSharesInfo) Get

func (NullableDKSharesInfo) IsSet

func (v NullableDKSharesInfo) IsSet() bool

func (NullableDKSharesInfo) MarshalJSON

func (v NullableDKSharesInfo) MarshalJSON() ([]byte, error)

func (*NullableDKSharesInfo) Set

func (v *NullableDKSharesInfo) Set(val *DKSharesInfo)

func (*NullableDKSharesInfo) UnmarshalJSON

func (v *NullableDKSharesInfo) UnmarshalJSON(src []byte) error

func (*NullableDKSharesInfo) Unset

func (v *NullableDKSharesInfo) Unset()

type NullableDKSharesPostRequest

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

func NewNullableDKSharesPostRequest

func NewNullableDKSharesPostRequest(val *DKSharesPostRequest) *NullableDKSharesPostRequest

func (NullableDKSharesPostRequest) Get

func (NullableDKSharesPostRequest) IsSet

func (NullableDKSharesPostRequest) MarshalJSON

func (v NullableDKSharesPostRequest) MarshalJSON() ([]byte, error)

func (*NullableDKSharesPostRequest) Set

func (*NullableDKSharesPostRequest) UnmarshalJSON

func (v *NullableDKSharesPostRequest) UnmarshalJSON(src []byte) error

func (*NullableDKSharesPostRequest) Unset

func (v *NullableDKSharesPostRequest) Unset()

type NullableErrorMessageFormatResponse

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

func (NullableErrorMessageFormatResponse) Get

func (NullableErrorMessageFormatResponse) IsSet

func (NullableErrorMessageFormatResponse) MarshalJSON

func (v NullableErrorMessageFormatResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorMessageFormatResponse) Set

func (*NullableErrorMessageFormatResponse) UnmarshalJSON

func (v *NullableErrorMessageFormatResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorMessageFormatResponse) Unset

type NullableErrorParameter

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

func NewNullableErrorParameter

func NewNullableErrorParameter(val *ErrorParameter) *NullableErrorParameter

func (NullableErrorParameter) Get

func (NullableErrorParameter) IsSet

func (v NullableErrorParameter) IsSet() bool

func (NullableErrorParameter) MarshalJSON

func (v NullableErrorParameter) MarshalJSON() ([]byte, error)

func (*NullableErrorParameter) Set

func (*NullableErrorParameter) UnmarshalJSON

func (v *NullableErrorParameter) UnmarshalJSON(src []byte) error

func (*NullableErrorParameter) Unset

func (v *NullableErrorParameter) Unset()

type NullableEventsResponse

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

func NewNullableEventsResponse

func NewNullableEventsResponse(val *EventsResponse) *NullableEventsResponse

func (NullableEventsResponse) Get

func (NullableEventsResponse) IsSet

func (v NullableEventsResponse) IsSet() bool

func (NullableEventsResponse) MarshalJSON

func (v NullableEventsResponse) MarshalJSON() ([]byte, error)

func (*NullableEventsResponse) Set

func (*NullableEventsResponse) UnmarshalJSON

func (v *NullableEventsResponse) UnmarshalJSON(src []byte) error

func (*NullableEventsResponse) Unset

func (v *NullableEventsResponse) 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 NullableFoundryOutputResponse

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

func (NullableFoundryOutputResponse) Get

func (NullableFoundryOutputResponse) IsSet

func (NullableFoundryOutputResponse) MarshalJSON

func (v NullableFoundryOutputResponse) MarshalJSON() ([]byte, error)

func (*NullableFoundryOutputResponse) Set

func (*NullableFoundryOutputResponse) UnmarshalJSON

func (v *NullableFoundryOutputResponse) UnmarshalJSON(src []byte) error

func (*NullableFoundryOutputResponse) Unset

func (v *NullableFoundryOutputResponse) Unset()

type NullableGasFeePolicy

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

func NewNullableGasFeePolicy

func NewNullableGasFeePolicy(val *GasFeePolicy) *NullableGasFeePolicy

func (NullableGasFeePolicy) Get

func (NullableGasFeePolicy) IsSet

func (v NullableGasFeePolicy) IsSet() bool

func (NullableGasFeePolicy) MarshalJSON

func (v NullableGasFeePolicy) MarshalJSON() ([]byte, error)

func (*NullableGasFeePolicy) Set

func (v *NullableGasFeePolicy) Set(val *GasFeePolicy)

func (*NullableGasFeePolicy) UnmarshalJSON

func (v *NullableGasFeePolicy) UnmarshalJSON(src []byte) error

func (*NullableGasFeePolicy) Unset

func (v *NullableGasFeePolicy) Unset()

type NullableGovAllowedStateControllerAddressesResponse

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

func (NullableGovAllowedStateControllerAddressesResponse) Get

func (NullableGovAllowedStateControllerAddressesResponse) IsSet

func (NullableGovAllowedStateControllerAddressesResponse) MarshalJSON

func (*NullableGovAllowedStateControllerAddressesResponse) Set

func (*NullableGovAllowedStateControllerAddressesResponse) UnmarshalJSON

func (*NullableGovAllowedStateControllerAddressesResponse) Unset

type NullableGovChainInfoResponse

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

func NewNullableGovChainInfoResponse

func NewNullableGovChainInfoResponse(val *GovChainInfoResponse) *NullableGovChainInfoResponse

func (NullableGovChainInfoResponse) Get

func (NullableGovChainInfoResponse) IsSet

func (NullableGovChainInfoResponse) MarshalJSON

func (v NullableGovChainInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableGovChainInfoResponse) Set

func (*NullableGovChainInfoResponse) UnmarshalJSON

func (v *NullableGovChainInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableGovChainInfoResponse) Unset

func (v *NullableGovChainInfoResponse) Unset()

type NullableGovChainOwnerResponse

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

func (NullableGovChainOwnerResponse) Get

func (NullableGovChainOwnerResponse) IsSet

func (NullableGovChainOwnerResponse) MarshalJSON

func (v NullableGovChainOwnerResponse) MarshalJSON() ([]byte, error)

func (*NullableGovChainOwnerResponse) Set

func (*NullableGovChainOwnerResponse) UnmarshalJSON

func (v *NullableGovChainOwnerResponse) UnmarshalJSON(src []byte) error

func (*NullableGovChainOwnerResponse) Unset

func (v *NullableGovChainOwnerResponse) Unset()

type NullableInOutput

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

func NewNullableInOutput

func NewNullableInOutput(val *InOutput) *NullableInOutput

func (NullableInOutput) Get

func (v NullableInOutput) Get() *InOutput

func (NullableInOutput) IsSet

func (v NullableInOutput) IsSet() bool

func (NullableInOutput) MarshalJSON

func (v NullableInOutput) MarshalJSON() ([]byte, error)

func (*NullableInOutput) Set

func (v *NullableInOutput) Set(val *InOutput)

func (*NullableInOutput) UnmarshalJSON

func (v *NullableInOutput) UnmarshalJSON(src []byte) error

func (*NullableInOutput) Unset

func (v *NullableInOutput) Unset()

type NullableInOutputMetricItem

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

func NewNullableInOutputMetricItem

func NewNullableInOutputMetricItem(val *InOutputMetricItem) *NullableInOutputMetricItem

func (NullableInOutputMetricItem) Get

func (NullableInOutputMetricItem) IsSet

func (v NullableInOutputMetricItem) IsSet() bool

func (NullableInOutputMetricItem) MarshalJSON

func (v NullableInOutputMetricItem) MarshalJSON() ([]byte, error)

func (*NullableInOutputMetricItem) Set

func (*NullableInOutputMetricItem) UnmarshalJSON

func (v *NullableInOutputMetricItem) UnmarshalJSON(src []byte) error

func (*NullableInOutputMetricItem) Unset

func (v *NullableInOutputMetricItem) Unset()

type NullableInStateOutput

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

func NewNullableInStateOutput

func NewNullableInStateOutput(val *InStateOutput) *NullableInStateOutput

func (NullableInStateOutput) Get

func (NullableInStateOutput) IsSet

func (v NullableInStateOutput) IsSet() bool

func (NullableInStateOutput) MarshalJSON

func (v NullableInStateOutput) MarshalJSON() ([]byte, error)

func (*NullableInStateOutput) Set

func (v *NullableInStateOutput) Set(val *InStateOutput)

func (*NullableInStateOutput) UnmarshalJSON

func (v *NullableInStateOutput) UnmarshalJSON(src []byte) error

func (*NullableInStateOutput) Unset

func (v *NullableInStateOutput) Unset()

type NullableInStateOutputMetricItem

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

func (NullableInStateOutputMetricItem) Get

func (NullableInStateOutputMetricItem) IsSet

func (NullableInStateOutputMetricItem) MarshalJSON

func (v NullableInStateOutputMetricItem) MarshalJSON() ([]byte, error)

func (*NullableInStateOutputMetricItem) Set

func (*NullableInStateOutputMetricItem) UnmarshalJSON

func (v *NullableInStateOutputMetricItem) UnmarshalJSON(src []byte) error

func (*NullableInStateOutputMetricItem) Unset

type NullableInfoResponse

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

func NewNullableInfoResponse

func NewNullableInfoResponse(val *InfoResponse) *NullableInfoResponse

func (NullableInfoResponse) Get

func (NullableInfoResponse) IsSet

func (v NullableInfoResponse) IsSet() bool

func (NullableInfoResponse) MarshalJSON

func (v NullableInfoResponse) MarshalJSON() ([]byte, error)

func (*NullableInfoResponse) Set

func (v *NullableInfoResponse) Set(val *InfoResponse)

func (*NullableInfoResponse) UnmarshalJSON

func (v *NullableInfoResponse) UnmarshalJSON(src []byte) error

func (*NullableInfoResponse) Unset

func (v *NullableInfoResponse) 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 NullableInterfaceMetricItem

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

func NewNullableInterfaceMetricItem

func NewNullableInterfaceMetricItem(val *InterfaceMetricItem) *NullableInterfaceMetricItem

func (NullableInterfaceMetricItem) Get

func (NullableInterfaceMetricItem) IsSet

func (NullableInterfaceMetricItem) MarshalJSON

func (v NullableInterfaceMetricItem) MarshalJSON() ([]byte, error)

func (*NullableInterfaceMetricItem) Set

func (*NullableInterfaceMetricItem) UnmarshalJSON

func (v *NullableInterfaceMetricItem) UnmarshalJSON(src []byte) error

func (*NullableInterfaceMetricItem) Unset

func (v *NullableInterfaceMetricItem) Unset()

type NullableItem

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

func NewNullableItem

func NewNullableItem(val *Item) *NullableItem

func (NullableItem) Get

func (v NullableItem) Get() *Item

func (NullableItem) IsSet

func (v NullableItem) IsSet() bool

func (NullableItem) MarshalJSON

func (v NullableItem) MarshalJSON() ([]byte, error)

func (*NullableItem) Set

func (v *NullableItem) Set(val *Item)

func (*NullableItem) UnmarshalJSON

func (v *NullableItem) UnmarshalJSON(src []byte) error

func (*NullableItem) Unset

func (v *NullableItem) Unset()

type NullableJSONDict

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

func NewNullableJSONDict

func NewNullableJSONDict(val *JSONDict) *NullableJSONDict

func (NullableJSONDict) Get

func (v NullableJSONDict) Get() *JSONDict

func (NullableJSONDict) IsSet

func (v NullableJSONDict) IsSet() bool

func (NullableJSONDict) MarshalJSON

func (v NullableJSONDict) MarshalJSON() ([]byte, error)

func (*NullableJSONDict) Set

func (v *NullableJSONDict) Set(val *JSONDict)

func (*NullableJSONDict) UnmarshalJSON

func (v *NullableJSONDict) UnmarshalJSON(src []byte) error

func (*NullableJSONDict) Unset

func (v *NullableJSONDict) Unset()

type NullableL1Params

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

func NewNullableL1Params

func NewNullableL1Params(val *L1Params) *NullableL1Params

func (NullableL1Params) Get

func (v NullableL1Params) Get() *L1Params

func (NullableL1Params) IsSet

func (v NullableL1Params) IsSet() bool

func (NullableL1Params) MarshalJSON

func (v NullableL1Params) MarshalJSON() ([]byte, error)

func (*NullableL1Params) Set

func (v *NullableL1Params) Set(val *L1Params)

func (*NullableL1Params) UnmarshalJSON

func (v *NullableL1Params) UnmarshalJSON(src []byte) error

func (*NullableL1Params) Unset

func (v *NullableL1Params) Unset()

type NullableLoginRequest

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

func NewNullableLoginRequest

func NewNullableLoginRequest(val *LoginRequest) *NullableLoginRequest

func (NullableLoginRequest) Get

func (NullableLoginRequest) IsSet

func (v NullableLoginRequest) IsSet() bool

func (NullableLoginRequest) MarshalJSON

func (v NullableLoginRequest) MarshalJSON() ([]byte, error)

func (*NullableLoginRequest) Set

func (v *NullableLoginRequest) Set(val *LoginRequest)

func (*NullableLoginRequest) UnmarshalJSON

func (v *NullableLoginRequest) UnmarshalJSON(src []byte) error

func (*NullableLoginRequest) Unset

func (v *NullableLoginRequest) Unset()

type NullableLoginResponse

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

func NewNullableLoginResponse

func NewNullableLoginResponse(val *LoginResponse) *NullableLoginResponse

func (NullableLoginResponse) Get

func (NullableLoginResponse) IsSet

func (v NullableLoginResponse) IsSet() bool

func (NullableLoginResponse) MarshalJSON

func (v NullableLoginResponse) MarshalJSON() ([]byte, error)

func (*NullableLoginResponse) Set

func (v *NullableLoginResponse) Set(val *LoginResponse)

func (*NullableLoginResponse) UnmarshalJSON

func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error

func (*NullableLoginResponse) Unset

func (v *NullableLoginResponse) Unset()

type NullableMilestoneInfo

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

func NewNullableMilestoneInfo

func NewNullableMilestoneInfo(val *MilestoneInfo) *NullableMilestoneInfo

func (NullableMilestoneInfo) Get

func (NullableMilestoneInfo) IsSet

func (v NullableMilestoneInfo) IsSet() bool

func (NullableMilestoneInfo) MarshalJSON

func (v NullableMilestoneInfo) MarshalJSON() ([]byte, error)

func (*NullableMilestoneInfo) Set

func (v *NullableMilestoneInfo) Set(val *MilestoneInfo)

func (*NullableMilestoneInfo) UnmarshalJSON

func (v *NullableMilestoneInfo) UnmarshalJSON(src []byte) error

func (*NullableMilestoneInfo) Unset

func (v *NullableMilestoneInfo) Unset()

type NullableMilestoneMetricItem

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

func NewNullableMilestoneMetricItem

func NewNullableMilestoneMetricItem(val *MilestoneMetricItem) *NullableMilestoneMetricItem

func (NullableMilestoneMetricItem) Get

func (NullableMilestoneMetricItem) IsSet

func (NullableMilestoneMetricItem) MarshalJSON

func (v NullableMilestoneMetricItem) MarshalJSON() ([]byte, error)

func (*NullableMilestoneMetricItem) Set

func (*NullableMilestoneMetricItem) UnmarshalJSON

func (v *NullableMilestoneMetricItem) UnmarshalJSON(src []byte) error

func (*NullableMilestoneMetricItem) Unset

func (v *NullableMilestoneMetricItem) Unset()

type NullableNFTDataResponse

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

func NewNullableNFTDataResponse

func NewNullableNFTDataResponse(val *NFTDataResponse) *NullableNFTDataResponse

func (NullableNFTDataResponse) Get

func (NullableNFTDataResponse) IsSet

func (v NullableNFTDataResponse) IsSet() bool

func (NullableNFTDataResponse) MarshalJSON

func (v NullableNFTDataResponse) MarshalJSON() ([]byte, error)

func (*NullableNFTDataResponse) Set

func (*NullableNFTDataResponse) UnmarshalJSON

func (v *NullableNFTDataResponse) UnmarshalJSON(src []byte) error

func (*NullableNFTDataResponse) Unset

func (v *NullableNFTDataResponse) Unset()

type NullableNativeToken

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

func NewNullableNativeToken

func NewNullableNativeToken(val *NativeToken) *NullableNativeToken

func (NullableNativeToken) Get

func (NullableNativeToken) IsSet

func (v NullableNativeToken) IsSet() bool

func (NullableNativeToken) MarshalJSON

func (v NullableNativeToken) MarshalJSON() ([]byte, error)

func (*NullableNativeToken) Set

func (v *NullableNativeToken) Set(val *NativeToken)

func (*NullableNativeToken) UnmarshalJSON

func (v *NullableNativeToken) UnmarshalJSON(src []byte) error

func (*NullableNativeToken) Unset

func (v *NullableNativeToken) Unset()

type NullableNativeTokenIDRegistryResponse

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

func (NullableNativeTokenIDRegistryResponse) Get

func (NullableNativeTokenIDRegistryResponse) IsSet

func (NullableNativeTokenIDRegistryResponse) MarshalJSON

func (v NullableNativeTokenIDRegistryResponse) MarshalJSON() ([]byte, error)

func (*NullableNativeTokenIDRegistryResponse) Set

func (*NullableNativeTokenIDRegistryResponse) UnmarshalJSON

func (v *NullableNativeTokenIDRegistryResponse) UnmarshalJSON(src []byte) error

func (*NullableNativeTokenIDRegistryResponse) Unset

type NullableNodeOwnerCertificateRequest

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

func (NullableNodeOwnerCertificateRequest) Get

func (NullableNodeOwnerCertificateRequest) IsSet

func (NullableNodeOwnerCertificateRequest) MarshalJSON

func (v NullableNodeOwnerCertificateRequest) MarshalJSON() ([]byte, error)

func (*NullableNodeOwnerCertificateRequest) Set

func (*NullableNodeOwnerCertificateRequest) UnmarshalJSON

func (v *NullableNodeOwnerCertificateRequest) UnmarshalJSON(src []byte) error

func (*NullableNodeOwnerCertificateRequest) Unset

type NullableNodeOwnerCertificateResponse

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

func (NullableNodeOwnerCertificateResponse) Get

func (NullableNodeOwnerCertificateResponse) IsSet

func (NullableNodeOwnerCertificateResponse) MarshalJSON

func (v NullableNodeOwnerCertificateResponse) MarshalJSON() ([]byte, error)

func (*NullableNodeOwnerCertificateResponse) Set

func (*NullableNodeOwnerCertificateResponse) UnmarshalJSON

func (v *NullableNodeOwnerCertificateResponse) UnmarshalJSON(src []byte) error

func (*NullableNodeOwnerCertificateResponse) Unset

type NullableOffLedgerRequest

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

func NewNullableOffLedgerRequest

func NewNullableOffLedgerRequest(val *OffLedgerRequest) *NullableOffLedgerRequest

func (NullableOffLedgerRequest) Get

func (NullableOffLedgerRequest) IsSet

func (v NullableOffLedgerRequest) IsSet() bool

func (NullableOffLedgerRequest) MarshalJSON

func (v NullableOffLedgerRequest) MarshalJSON() ([]byte, error)

func (*NullableOffLedgerRequest) Set

func (*NullableOffLedgerRequest) UnmarshalJSON

func (v *NullableOffLedgerRequest) UnmarshalJSON(src []byte) error

func (*NullableOffLedgerRequest) Unset

func (v *NullableOffLedgerRequest) Unset()

type NullableOnLedgerRequest

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

func NewNullableOnLedgerRequest

func NewNullableOnLedgerRequest(val *OnLedgerRequest) *NullableOnLedgerRequest

func (NullableOnLedgerRequest) Get

func (NullableOnLedgerRequest) IsSet

func (v NullableOnLedgerRequest) IsSet() bool

func (NullableOnLedgerRequest) MarshalJSON

func (v NullableOnLedgerRequest) MarshalJSON() ([]byte, error)

func (*NullableOnLedgerRequest) Set

func (*NullableOnLedgerRequest) UnmarshalJSON

func (v *NullableOnLedgerRequest) UnmarshalJSON(src []byte) error

func (*NullableOnLedgerRequest) Unset

func (v *NullableOnLedgerRequest) Unset()

type NullableOnLedgerRequestMetricItem

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

func (NullableOnLedgerRequestMetricItem) Get

func (NullableOnLedgerRequestMetricItem) IsSet

func (NullableOnLedgerRequestMetricItem) MarshalJSON

func (v NullableOnLedgerRequestMetricItem) MarshalJSON() ([]byte, error)

func (*NullableOnLedgerRequestMetricItem) Set

func (*NullableOnLedgerRequestMetricItem) UnmarshalJSON

func (v *NullableOnLedgerRequestMetricItem) UnmarshalJSON(src []byte) error

func (*NullableOnLedgerRequestMetricItem) Unset

type NullableOutput

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

func NewNullableOutput

func NewNullableOutput(val *Output) *NullableOutput

func (NullableOutput) Get

func (v NullableOutput) Get() *Output

func (NullableOutput) IsSet

func (v NullableOutput) IsSet() bool

func (NullableOutput) MarshalJSON

func (v NullableOutput) MarshalJSON() ([]byte, error)

func (*NullableOutput) Set

func (v *NullableOutput) Set(val *Output)

func (*NullableOutput) UnmarshalJSON

func (v *NullableOutput) UnmarshalJSON(src []byte) error

func (*NullableOutput) Unset

func (v *NullableOutput) Unset()

type NullableOutputID

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

func NewNullableOutputID

func NewNullableOutputID(val *OutputID) *NullableOutputID

func (NullableOutputID) Get

func (v NullableOutputID) Get() *OutputID

func (NullableOutputID) IsSet

func (v NullableOutputID) IsSet() bool

func (NullableOutputID) MarshalJSON

func (v NullableOutputID) MarshalJSON() ([]byte, error)

func (*NullableOutputID) Set

func (v *NullableOutputID) Set(val *OutputID)

func (*NullableOutputID) UnmarshalJSON

func (v *NullableOutputID) UnmarshalJSON(src []byte) error

func (*NullableOutputID) Unset

func (v *NullableOutputID) Unset()

type NullablePeeringNodeIdentityResponse

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

func (NullablePeeringNodeIdentityResponse) Get

func (NullablePeeringNodeIdentityResponse) IsSet

func (NullablePeeringNodeIdentityResponse) MarshalJSON

func (v NullablePeeringNodeIdentityResponse) MarshalJSON() ([]byte, error)

func (*NullablePeeringNodeIdentityResponse) Set

func (*NullablePeeringNodeIdentityResponse) UnmarshalJSON

func (v *NullablePeeringNodeIdentityResponse) UnmarshalJSON(src []byte) error

func (*NullablePeeringNodeIdentityResponse) Unset

type NullablePeeringNodeStatusResponse

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

func (NullablePeeringNodeStatusResponse) Get

func (NullablePeeringNodeStatusResponse) IsSet

func (NullablePeeringNodeStatusResponse) MarshalJSON

func (v NullablePeeringNodeStatusResponse) MarshalJSON() ([]byte, error)

func (*NullablePeeringNodeStatusResponse) Set

func (*NullablePeeringNodeStatusResponse) UnmarshalJSON

func (v *NullablePeeringNodeStatusResponse) UnmarshalJSON(src []byte) error

func (*NullablePeeringNodeStatusResponse) Unset

type NullablePeeringTrustRequest

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

func NewNullablePeeringTrustRequest

func NewNullablePeeringTrustRequest(val *PeeringTrustRequest) *NullablePeeringTrustRequest

func (NullablePeeringTrustRequest) Get

func (NullablePeeringTrustRequest) IsSet

func (NullablePeeringTrustRequest) MarshalJSON

func (v NullablePeeringTrustRequest) MarshalJSON() ([]byte, error)

func (*NullablePeeringTrustRequest) Set

func (*NullablePeeringTrustRequest) UnmarshalJSON

func (v *NullablePeeringTrustRequest) UnmarshalJSON(src []byte) error

func (*NullablePeeringTrustRequest) Unset

func (v *NullablePeeringTrustRequest) Unset()

type NullableProtocolParameters

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

func NewNullableProtocolParameters

func NewNullableProtocolParameters(val *ProtocolParameters) *NullableProtocolParameters

func (NullableProtocolParameters) Get

func (NullableProtocolParameters) IsSet

func (v NullableProtocolParameters) IsSet() bool

func (NullableProtocolParameters) MarshalJSON

func (v NullableProtocolParameters) MarshalJSON() ([]byte, error)

func (*NullableProtocolParameters) Set

func (*NullableProtocolParameters) UnmarshalJSON

func (v *NullableProtocolParameters) UnmarshalJSON(src []byte) error

func (*NullableProtocolParameters) Unset

func (v *NullableProtocolParameters) Unset()

type NullablePublisherStateTransactionItem

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

func (NullablePublisherStateTransactionItem) Get

func (NullablePublisherStateTransactionItem) IsSet

func (NullablePublisherStateTransactionItem) MarshalJSON

func (v NullablePublisherStateTransactionItem) MarshalJSON() ([]byte, error)

func (*NullablePublisherStateTransactionItem) Set

func (*NullablePublisherStateTransactionItem) UnmarshalJSON

func (v *NullablePublisherStateTransactionItem) UnmarshalJSON(src []byte) error

func (*NullablePublisherStateTransactionItem) Unset

type NullableRatio32

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

func NewNullableRatio32

func NewNullableRatio32(val *Ratio32) *NullableRatio32

func (NullableRatio32) Get

func (v NullableRatio32) Get() *Ratio32

func (NullableRatio32) IsSet

func (v NullableRatio32) IsSet() bool

func (NullableRatio32) MarshalJSON

func (v NullableRatio32) MarshalJSON() ([]byte, error)

func (*NullableRatio32) Set

func (v *NullableRatio32) Set(val *Ratio32)

func (*NullableRatio32) UnmarshalJSON

func (v *NullableRatio32) UnmarshalJSON(src []byte) error

func (*NullableRatio32) Unset

func (v *NullableRatio32) Unset()

type NullableReceiptError

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

func NewNullableReceiptError

func NewNullableReceiptError(val *ReceiptError) *NullableReceiptError

func (NullableReceiptError) Get

func (NullableReceiptError) IsSet

func (v NullableReceiptError) IsSet() bool

func (NullableReceiptError) MarshalJSON

func (v NullableReceiptError) MarshalJSON() ([]byte, error)

func (*NullableReceiptError) Set

func (v *NullableReceiptError) Set(val *ReceiptError)

func (*NullableReceiptError) UnmarshalJSON

func (v *NullableReceiptError) UnmarshalJSON(src []byte) error

func (*NullableReceiptError) Unset

func (v *NullableReceiptError) Unset()

type NullableReceiptResponse

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

func NewNullableReceiptResponse

func NewNullableReceiptResponse(val *ReceiptResponse) *NullableReceiptResponse

func (NullableReceiptResponse) Get

func (NullableReceiptResponse) IsSet

func (v NullableReceiptResponse) IsSet() bool

func (NullableReceiptResponse) MarshalJSON

func (v NullableReceiptResponse) MarshalJSON() ([]byte, error)

func (*NullableReceiptResponse) Set

func (*NullableReceiptResponse) UnmarshalJSON

func (v *NullableReceiptResponse) UnmarshalJSON(src []byte) error

func (*NullableReceiptResponse) Unset

func (v *NullableReceiptResponse) Unset()

type NullableRentStructure

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

func NewNullableRentStructure

func NewNullableRentStructure(val *RentStructure) *NullableRentStructure

func (NullableRentStructure) Get

func (NullableRentStructure) IsSet

func (v NullableRentStructure) IsSet() bool

func (NullableRentStructure) MarshalJSON

func (v NullableRentStructure) MarshalJSON() ([]byte, error)

func (*NullableRentStructure) Set

func (v *NullableRentStructure) Set(val *RentStructure)

func (*NullableRentStructure) UnmarshalJSON

func (v *NullableRentStructure) UnmarshalJSON(src []byte) error

func (*NullableRentStructure) Unset

func (v *NullableRentStructure) Unset()

type NullableRequestDetail

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

func NewNullableRequestDetail

func NewNullableRequestDetail(val *RequestDetail) *NullableRequestDetail

func (NullableRequestDetail) Get

func (NullableRequestDetail) IsSet

func (v NullableRequestDetail) IsSet() bool

func (NullableRequestDetail) MarshalJSON

func (v NullableRequestDetail) MarshalJSON() ([]byte, error)

func (*NullableRequestDetail) Set

func (v *NullableRequestDetail) Set(val *RequestDetail)

func (*NullableRequestDetail) UnmarshalJSON

func (v *NullableRequestDetail) UnmarshalJSON(src []byte) error

func (*NullableRequestDetail) Unset

func (v *NullableRequestDetail) Unset()

type NullableRequestIDResponse

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

func NewNullableRequestIDResponse

func NewNullableRequestIDResponse(val *RequestIDResponse) *NullableRequestIDResponse

func (NullableRequestIDResponse) Get

func (NullableRequestIDResponse) IsSet

func (v NullableRequestIDResponse) IsSet() bool

func (NullableRequestIDResponse) MarshalJSON

func (v NullableRequestIDResponse) MarshalJSON() ([]byte, error)

func (*NullableRequestIDResponse) Set

func (*NullableRequestIDResponse) UnmarshalJSON

func (v *NullableRequestIDResponse) UnmarshalJSON(src []byte) error

func (*NullableRequestIDResponse) Unset

func (v *NullableRequestIDResponse) Unset()

type NullableRequestIDsResponse

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

func NewNullableRequestIDsResponse

func NewNullableRequestIDsResponse(val *RequestIDsResponse) *NullableRequestIDsResponse

func (NullableRequestIDsResponse) Get

func (NullableRequestIDsResponse) IsSet

func (v NullableRequestIDsResponse) IsSet() bool

func (NullableRequestIDsResponse) MarshalJSON

func (v NullableRequestIDsResponse) MarshalJSON() ([]byte, error)

func (*NullableRequestIDsResponse) Set

func (*NullableRequestIDsResponse) UnmarshalJSON

func (v *NullableRequestIDsResponse) UnmarshalJSON(src []byte) error

func (*NullableRequestIDsResponse) Unset

func (v *NullableRequestIDsResponse) Unset()

type NullableRequestProcessedResponse

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

func (NullableRequestProcessedResponse) Get

func (NullableRequestProcessedResponse) IsSet

func (NullableRequestProcessedResponse) MarshalJSON

func (v NullableRequestProcessedResponse) MarshalJSON() ([]byte, error)

func (*NullableRequestProcessedResponse) Set

func (*NullableRequestProcessedResponse) UnmarshalJSON

func (v *NullableRequestProcessedResponse) UnmarshalJSON(src []byte) error

func (*NullableRequestProcessedResponse) Unset

type NullableRequestReceiptResponse

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

func (NullableRequestReceiptResponse) Get

func (NullableRequestReceiptResponse) IsSet

func (NullableRequestReceiptResponse) MarshalJSON

func (v NullableRequestReceiptResponse) MarshalJSON() ([]byte, error)

func (*NullableRequestReceiptResponse) Set

func (*NullableRequestReceiptResponse) UnmarshalJSON

func (v *NullableRequestReceiptResponse) UnmarshalJSON(src []byte) error

func (*NullableRequestReceiptResponse) Unset

func (v *NullableRequestReceiptResponse) Unset()

type NullableStateResponse

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

func NewNullableStateResponse

func NewNullableStateResponse(val *StateResponse) *NullableStateResponse

func (NullableStateResponse) Get

func (NullableStateResponse) IsSet

func (v NullableStateResponse) IsSet() bool

func (NullableStateResponse) MarshalJSON

func (v NullableStateResponse) MarshalJSON() ([]byte, error)

func (*NullableStateResponse) Set

func (v *NullableStateResponse) Set(val *StateResponse)

func (*NullableStateResponse) UnmarshalJSON

func (v *NullableStateResponse) UnmarshalJSON(src []byte) error

func (*NullableStateResponse) Unset

func (v *NullableStateResponse) Unset()

type NullableStateTransaction

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

func NewNullableStateTransaction

func NewNullableStateTransaction(val *StateTransaction) *NullableStateTransaction

func (NullableStateTransaction) Get

func (NullableStateTransaction) IsSet

func (v NullableStateTransaction) IsSet() bool

func (NullableStateTransaction) MarshalJSON

func (v NullableStateTransaction) MarshalJSON() ([]byte, error)

func (*NullableStateTransaction) Set

func (*NullableStateTransaction) UnmarshalJSON

func (v *NullableStateTransaction) UnmarshalJSON(src []byte) error

func (*NullableStateTransaction) Unset

func (v *NullableStateTransaction) 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 (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 NullableTransactionIDMetricItem

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

func (NullableTransactionIDMetricItem) Get

func (NullableTransactionIDMetricItem) IsSet

func (NullableTransactionIDMetricItem) MarshalJSON

func (v NullableTransactionIDMetricItem) MarshalJSON() ([]byte, error)

func (*NullableTransactionIDMetricItem) Set

func (*NullableTransactionIDMetricItem) UnmarshalJSON

func (v *NullableTransactionIDMetricItem) UnmarshalJSON(src []byte) error

func (*NullableTransactionIDMetricItem) Unset

type NullableTransactionMetricItem

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

func (NullableTransactionMetricItem) Get

func (NullableTransactionMetricItem) IsSet

func (NullableTransactionMetricItem) MarshalJSON

func (v NullableTransactionMetricItem) MarshalJSON() ([]byte, error)

func (*NullableTransactionMetricItem) Set

func (*NullableTransactionMetricItem) UnmarshalJSON

func (v *NullableTransactionMetricItem) UnmarshalJSON(src []byte) error

func (*NullableTransactionMetricItem) Unset

func (v *NullableTransactionMetricItem) Unset()

type NullableTxInclusionStateMsg

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

func NewNullableTxInclusionStateMsg

func NewNullableTxInclusionStateMsg(val *TxInclusionStateMsg) *NullableTxInclusionStateMsg

func (NullableTxInclusionStateMsg) Get

func (NullableTxInclusionStateMsg) IsSet

func (NullableTxInclusionStateMsg) MarshalJSON

func (v NullableTxInclusionStateMsg) MarshalJSON() ([]byte, error)

func (*NullableTxInclusionStateMsg) Set

func (*NullableTxInclusionStateMsg) UnmarshalJSON

func (v *NullableTxInclusionStateMsg) UnmarshalJSON(src []byte) error

func (*NullableTxInclusionStateMsg) Unset

func (v *NullableTxInclusionStateMsg) Unset()

type NullableTxInclusionStateMsgMetricItem

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

func (NullableTxInclusionStateMsgMetricItem) Get

func (NullableTxInclusionStateMsgMetricItem) IsSet

func (NullableTxInclusionStateMsgMetricItem) MarshalJSON

func (v NullableTxInclusionStateMsgMetricItem) MarshalJSON() ([]byte, error)

func (*NullableTxInclusionStateMsgMetricItem) Set

func (*NullableTxInclusionStateMsgMetricItem) UnmarshalJSON

func (v *NullableTxInclusionStateMsgMetricItem) UnmarshalJSON(src []byte) error

func (*NullableTxInclusionStateMsgMetricItem) Unset

type NullableUTXOInputMetricItem

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

func NewNullableUTXOInputMetricItem

func NewNullableUTXOInputMetricItem(val *UTXOInputMetricItem) *NullableUTXOInputMetricItem

func (NullableUTXOInputMetricItem) Get

func (NullableUTXOInputMetricItem) IsSet

func (NullableUTXOInputMetricItem) MarshalJSON

func (v NullableUTXOInputMetricItem) MarshalJSON() ([]byte, error)

func (*NullableUTXOInputMetricItem) Set

func (*NullableUTXOInputMetricItem) UnmarshalJSON

func (v *NullableUTXOInputMetricItem) UnmarshalJSON(src []byte) error

func (*NullableUTXOInputMetricItem) Unset

func (v *NullableUTXOInputMetricItem) Unset()

type NullableUpdateUserPasswordRequest

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

func (NullableUpdateUserPasswordRequest) Get

func (NullableUpdateUserPasswordRequest) IsSet

func (NullableUpdateUserPasswordRequest) MarshalJSON

func (v NullableUpdateUserPasswordRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateUserPasswordRequest) Set

func (*NullableUpdateUserPasswordRequest) UnmarshalJSON

func (v *NullableUpdateUserPasswordRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateUserPasswordRequest) Unset

type NullableUpdateUserPermissionsRequest

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

func (NullableUpdateUserPermissionsRequest) Get

func (NullableUpdateUserPermissionsRequest) IsSet

func (NullableUpdateUserPermissionsRequest) MarshalJSON

func (v NullableUpdateUserPermissionsRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateUserPermissionsRequest) Set

func (*NullableUpdateUserPermissionsRequest) UnmarshalJSON

func (v *NullableUpdateUserPermissionsRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateUserPermissionsRequest) Unset

type NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableValidationError

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

func NewNullableValidationError

func NewNullableValidationError(val *ValidationError) *NullableValidationError

func (NullableValidationError) Get

func (NullableValidationError) IsSet

func (v NullableValidationError) IsSet() bool

func (NullableValidationError) MarshalJSON

func (v NullableValidationError) MarshalJSON() ([]byte, error)

func (*NullableValidationError) Set

func (*NullableValidationError) UnmarshalJSON

func (v *NullableValidationError) UnmarshalJSON(src []byte) error

func (*NullableValidationError) Unset

func (v *NullableValidationError) Unset()

type NullableVersionResponse

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

func NewNullableVersionResponse

func NewNullableVersionResponse(val *VersionResponse) *NullableVersionResponse

func (NullableVersionResponse) Get

func (NullableVersionResponse) IsSet

func (v NullableVersionResponse) IsSet() bool

func (NullableVersionResponse) MarshalJSON

func (v NullableVersionResponse) MarshalJSON() ([]byte, error)

func (*NullableVersionResponse) Set

func (*NullableVersionResponse) UnmarshalJSON

func (v *NullableVersionResponse) UnmarshalJSON(src []byte) error

func (*NullableVersionResponse) Unset

func (v *NullableVersionResponse) Unset()

type OffLedgerRequest

type OffLedgerRequest struct {
	// The chain id
	ChainId string `json:"chainId"`
	// Offledger Request (Hex)
	Request string `json:"request"`
}

OffLedgerRequest struct for OffLedgerRequest

func NewOffLedgerRequest

func NewOffLedgerRequest(chainId string, request string) *OffLedgerRequest

NewOffLedgerRequest instantiates a new OffLedgerRequest 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 NewOffLedgerRequestWithDefaults

func NewOffLedgerRequestWithDefaults() *OffLedgerRequest

NewOffLedgerRequestWithDefaults instantiates a new OffLedgerRequest 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 (*OffLedgerRequest) GetChainId

func (o *OffLedgerRequest) GetChainId() string

GetChainId returns the ChainId field value

func (*OffLedgerRequest) GetChainIdOk

func (o *OffLedgerRequest) GetChainIdOk() (*string, bool)

GetChainIdOk returns a tuple with the ChainId field value and a boolean to check if the value has been set.

func (*OffLedgerRequest) GetRequest

func (o *OffLedgerRequest) GetRequest() string

GetRequest returns the Request field value

func (*OffLedgerRequest) GetRequestOk

func (o *OffLedgerRequest) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value and a boolean to check if the value has been set.

func (OffLedgerRequest) MarshalJSON

func (o OffLedgerRequest) MarshalJSON() ([]byte, error)

func (*OffLedgerRequest) SetChainId

func (o *OffLedgerRequest) SetChainId(v string)

SetChainId sets field value

func (*OffLedgerRequest) SetRequest

func (o *OffLedgerRequest) SetRequest(v string)

SetRequest sets field value

func (OffLedgerRequest) ToMap

func (o OffLedgerRequest) ToMap() (map[string]interface{}, error)

type OnLedgerRequest

type OnLedgerRequest struct {
	// The request ID
	Id     string `json:"id"`
	Output Output `json:"output"`
	// The output ID
	OutputId string `json:"outputId"`
	// The raw data of the request (Hex)
	Raw string `json:"raw"`
}

OnLedgerRequest struct for OnLedgerRequest

func NewOnLedgerRequest

func NewOnLedgerRequest(id string, output Output, outputId string, raw string) *OnLedgerRequest

NewOnLedgerRequest instantiates a new OnLedgerRequest 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 NewOnLedgerRequestWithDefaults

func NewOnLedgerRequestWithDefaults() *OnLedgerRequest

NewOnLedgerRequestWithDefaults instantiates a new OnLedgerRequest 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 (*OnLedgerRequest) GetId

func (o *OnLedgerRequest) GetId() string

GetId returns the Id field value

func (*OnLedgerRequest) GetIdOk

func (o *OnLedgerRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*OnLedgerRequest) GetOutput

func (o *OnLedgerRequest) GetOutput() Output

GetOutput returns the Output field value

func (*OnLedgerRequest) GetOutputId

func (o *OnLedgerRequest) GetOutputId() string

GetOutputId returns the OutputId field value

func (*OnLedgerRequest) GetOutputIdOk

func (o *OnLedgerRequest) GetOutputIdOk() (*string, bool)

GetOutputIdOk returns a tuple with the OutputId field value and a boolean to check if the value has been set.

func (*OnLedgerRequest) GetOutputOk

func (o *OnLedgerRequest) GetOutputOk() (*Output, bool)

GetOutputOk returns a tuple with the Output field value and a boolean to check if the value has been set.

func (*OnLedgerRequest) GetRaw

func (o *OnLedgerRequest) GetRaw() string

GetRaw returns the Raw field value

func (*OnLedgerRequest) GetRawOk

func (o *OnLedgerRequest) GetRawOk() (*string, bool)

GetRawOk returns a tuple with the Raw field value and a boolean to check if the value has been set.

func (OnLedgerRequest) MarshalJSON

func (o OnLedgerRequest) MarshalJSON() ([]byte, error)

func (*OnLedgerRequest) SetId

func (o *OnLedgerRequest) SetId(v string)

SetId sets field value

func (*OnLedgerRequest) SetOutput

func (o *OnLedgerRequest) SetOutput(v Output)

SetOutput sets field value

func (*OnLedgerRequest) SetOutputId

func (o *OnLedgerRequest) SetOutputId(v string)

SetOutputId sets field value

func (*OnLedgerRequest) SetRaw

func (o *OnLedgerRequest) SetRaw(v string)

SetRaw sets field value

func (OnLedgerRequest) ToMap

func (o OnLedgerRequest) ToMap() (map[string]interface{}, error)

type OnLedgerRequestMetricItem

type OnLedgerRequestMetricItem struct {
	LastMessage OnLedgerRequest `json:"lastMessage"`
	Messages    uint32          `json:"messages"`
	Timestamp   time.Time       `json:"timestamp"`
}

OnLedgerRequestMetricItem struct for OnLedgerRequestMetricItem

func NewOnLedgerRequestMetricItem

func NewOnLedgerRequestMetricItem(lastMessage OnLedgerRequest, messages uint32, timestamp time.Time) *OnLedgerRequestMetricItem

NewOnLedgerRequestMetricItem instantiates a new OnLedgerRequestMetricItem 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 NewOnLedgerRequestMetricItemWithDefaults

func NewOnLedgerRequestMetricItemWithDefaults() *OnLedgerRequestMetricItem

NewOnLedgerRequestMetricItemWithDefaults instantiates a new OnLedgerRequestMetricItem 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 (*OnLedgerRequestMetricItem) GetLastMessage

func (o *OnLedgerRequestMetricItem) GetLastMessage() OnLedgerRequest

GetLastMessage returns the LastMessage field value

func (*OnLedgerRequestMetricItem) GetLastMessageOk

func (o *OnLedgerRequestMetricItem) GetLastMessageOk() (*OnLedgerRequest, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*OnLedgerRequestMetricItem) GetMessages

func (o *OnLedgerRequestMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*OnLedgerRequestMetricItem) GetMessagesOk

func (o *OnLedgerRequestMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*OnLedgerRequestMetricItem) GetTimestamp

func (o *OnLedgerRequestMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*OnLedgerRequestMetricItem) GetTimestampOk

func (o *OnLedgerRequestMetricItem) 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 (OnLedgerRequestMetricItem) MarshalJSON

func (o OnLedgerRequestMetricItem) MarshalJSON() ([]byte, error)

func (*OnLedgerRequestMetricItem) SetLastMessage

func (o *OnLedgerRequestMetricItem) SetLastMessage(v OnLedgerRequest)

SetLastMessage sets field value

func (*OnLedgerRequestMetricItem) SetMessages

func (o *OnLedgerRequestMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*OnLedgerRequestMetricItem) SetTimestamp

func (o *OnLedgerRequestMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (OnLedgerRequestMetricItem) ToMap

func (o OnLedgerRequestMetricItem) ToMap() (map[string]interface{}, error)

type Output

type Output struct {
	// The output type
	OutputType int32 `json:"outputType"`
	// The raw data of the output (Hex)
	Raw string `json:"raw"`
}

Output struct for Output

func NewOutput

func NewOutput(outputType int32, raw string) *Output

NewOutput instantiates a new Output 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 NewOutputWithDefaults

func NewOutputWithDefaults() *Output

NewOutputWithDefaults instantiates a new Output 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 (*Output) GetOutputType

func (o *Output) GetOutputType() int32

GetOutputType returns the OutputType field value

func (*Output) GetOutputTypeOk

func (o *Output) GetOutputTypeOk() (*int32, bool)

GetOutputTypeOk returns a tuple with the OutputType field value and a boolean to check if the value has been set.

func (*Output) GetRaw

func (o *Output) GetRaw() string

GetRaw returns the Raw field value

func (*Output) GetRawOk

func (o *Output) GetRawOk() (*string, bool)

GetRawOk returns a tuple with the Raw field value and a boolean to check if the value has been set.

func (Output) MarshalJSON

func (o Output) MarshalJSON() ([]byte, error)

func (*Output) SetOutputType

func (o *Output) SetOutputType(v int32)

SetOutputType sets field value

func (*Output) SetRaw

func (o *Output) SetRaw(v string)

SetRaw sets field value

func (Output) ToMap

func (o Output) ToMap() (map[string]interface{}, error)

type OutputID

type OutputID struct {
	// The output ID
	OutputId string `json:"outputId"`
}

OutputID struct for OutputID

func NewOutputID

func NewOutputID(outputId string) *OutputID

NewOutputID instantiates a new OutputID 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 NewOutputIDWithDefaults

func NewOutputIDWithDefaults() *OutputID

NewOutputIDWithDefaults instantiates a new OutputID 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 (*OutputID) GetOutputId

func (o *OutputID) GetOutputId() string

GetOutputId returns the OutputId field value

func (*OutputID) GetOutputIdOk

func (o *OutputID) GetOutputIdOk() (*string, bool)

GetOutputIdOk returns a tuple with the OutputId field value and a boolean to check if the value has been set.

func (OutputID) MarshalJSON

func (o OutputID) MarshalJSON() ([]byte, error)

func (*OutputID) SetOutputId

func (o *OutputID) SetOutputId(v string)

SetOutputId sets field value

func (OutputID) ToMap

func (o OutputID) ToMap() (map[string]interface{}, error)

type PeeringNodeIdentityResponse

type PeeringNodeIdentityResponse struct {
	IsTrusted bool   `json:"isTrusted"`
	Name      string `json:"name"`
	// The peering URL of the peer
	PeeringURL string `json:"peeringURL"`
	// The peers public key encoded in Hex
	PublicKey string `json:"publicKey"`
}

PeeringNodeIdentityResponse struct for PeeringNodeIdentityResponse

func NewPeeringNodeIdentityResponse

func NewPeeringNodeIdentityResponse(isTrusted bool, name string, peeringURL string, publicKey string) *PeeringNodeIdentityResponse

NewPeeringNodeIdentityResponse instantiates a new PeeringNodeIdentityResponse 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 NewPeeringNodeIdentityResponseWithDefaults

func NewPeeringNodeIdentityResponseWithDefaults() *PeeringNodeIdentityResponse

NewPeeringNodeIdentityResponseWithDefaults instantiates a new PeeringNodeIdentityResponse 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 (*PeeringNodeIdentityResponse) GetIsTrusted

func (o *PeeringNodeIdentityResponse) GetIsTrusted() bool

GetIsTrusted returns the IsTrusted field value

func (*PeeringNodeIdentityResponse) GetIsTrustedOk

func (o *PeeringNodeIdentityResponse) GetIsTrustedOk() (*bool, bool)

GetIsTrustedOk returns a tuple with the IsTrusted field value and a boolean to check if the value has been set.

func (*PeeringNodeIdentityResponse) GetName

func (o *PeeringNodeIdentityResponse) GetName() string

GetName returns the Name field value

func (*PeeringNodeIdentityResponse) GetNameOk

func (o *PeeringNodeIdentityResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PeeringNodeIdentityResponse) GetPeeringURL

func (o *PeeringNodeIdentityResponse) GetPeeringURL() string

GetPeeringURL returns the PeeringURL field value

func (*PeeringNodeIdentityResponse) GetPeeringURLOk

func (o *PeeringNodeIdentityResponse) GetPeeringURLOk() (*string, bool)

GetPeeringURLOk returns a tuple with the PeeringURL field value and a boolean to check if the value has been set.

func (*PeeringNodeIdentityResponse) GetPublicKey

func (o *PeeringNodeIdentityResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*PeeringNodeIdentityResponse) GetPublicKeyOk

func (o *PeeringNodeIdentityResponse) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (PeeringNodeIdentityResponse) MarshalJSON

func (o PeeringNodeIdentityResponse) MarshalJSON() ([]byte, error)

func (*PeeringNodeIdentityResponse) SetIsTrusted

func (o *PeeringNodeIdentityResponse) SetIsTrusted(v bool)

SetIsTrusted sets field value

func (*PeeringNodeIdentityResponse) SetName

func (o *PeeringNodeIdentityResponse) SetName(v string)

SetName sets field value

func (*PeeringNodeIdentityResponse) SetPeeringURL

func (o *PeeringNodeIdentityResponse) SetPeeringURL(v string)

SetPeeringURL sets field value

func (*PeeringNodeIdentityResponse) SetPublicKey

func (o *PeeringNodeIdentityResponse) SetPublicKey(v string)

SetPublicKey sets field value

func (PeeringNodeIdentityResponse) ToMap

func (o PeeringNodeIdentityResponse) ToMap() (map[string]interface{}, error)

type PeeringNodeStatusResponse

type PeeringNodeStatusResponse struct {
	// Whether or not the peer is activated
	IsAlive   bool   `json:"isAlive"`
	IsTrusted bool   `json:"isTrusted"`
	Name      string `json:"name"`
	// The amount of users attached to the peer
	NumUsers int32 `json:"numUsers"`
	// The peering URL of the peer
	PeeringURL string `json:"peeringURL"`
	// The peers public key encoded in Hex
	PublicKey string `json:"publicKey"`
}

PeeringNodeStatusResponse struct for PeeringNodeStatusResponse

func NewPeeringNodeStatusResponse

func NewPeeringNodeStatusResponse(isAlive bool, isTrusted bool, name string, numUsers int32, peeringURL string, publicKey string) *PeeringNodeStatusResponse

NewPeeringNodeStatusResponse instantiates a new PeeringNodeStatusResponse 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 NewPeeringNodeStatusResponseWithDefaults

func NewPeeringNodeStatusResponseWithDefaults() *PeeringNodeStatusResponse

NewPeeringNodeStatusResponseWithDefaults instantiates a new PeeringNodeStatusResponse 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 (*PeeringNodeStatusResponse) GetIsAlive

func (o *PeeringNodeStatusResponse) GetIsAlive() bool

GetIsAlive returns the IsAlive field value

func (*PeeringNodeStatusResponse) GetIsAliveOk

func (o *PeeringNodeStatusResponse) GetIsAliveOk() (*bool, bool)

GetIsAliveOk returns a tuple with the IsAlive field value and a boolean to check if the value has been set.

func (*PeeringNodeStatusResponse) GetIsTrusted

func (o *PeeringNodeStatusResponse) GetIsTrusted() bool

GetIsTrusted returns the IsTrusted field value

func (*PeeringNodeStatusResponse) GetIsTrustedOk

func (o *PeeringNodeStatusResponse) GetIsTrustedOk() (*bool, bool)

GetIsTrustedOk returns a tuple with the IsTrusted field value and a boolean to check if the value has been set.

func (*PeeringNodeStatusResponse) GetName

func (o *PeeringNodeStatusResponse) GetName() string

GetName returns the Name field value

func (*PeeringNodeStatusResponse) GetNameOk

func (o *PeeringNodeStatusResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PeeringNodeStatusResponse) GetNumUsers

func (o *PeeringNodeStatusResponse) GetNumUsers() int32

GetNumUsers returns the NumUsers field value

func (*PeeringNodeStatusResponse) GetNumUsersOk

func (o *PeeringNodeStatusResponse) GetNumUsersOk() (*int32, bool)

GetNumUsersOk returns a tuple with the NumUsers field value and a boolean to check if the value has been set.

func (*PeeringNodeStatusResponse) GetPeeringURL

func (o *PeeringNodeStatusResponse) GetPeeringURL() string

GetPeeringURL returns the PeeringURL field value

func (*PeeringNodeStatusResponse) GetPeeringURLOk

func (o *PeeringNodeStatusResponse) GetPeeringURLOk() (*string, bool)

GetPeeringURLOk returns a tuple with the PeeringURL field value and a boolean to check if the value has been set.

func (*PeeringNodeStatusResponse) GetPublicKey

func (o *PeeringNodeStatusResponse) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*PeeringNodeStatusResponse) GetPublicKeyOk

func (o *PeeringNodeStatusResponse) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (PeeringNodeStatusResponse) MarshalJSON

func (o PeeringNodeStatusResponse) MarshalJSON() ([]byte, error)

func (*PeeringNodeStatusResponse) SetIsAlive

func (o *PeeringNodeStatusResponse) SetIsAlive(v bool)

SetIsAlive sets field value

func (*PeeringNodeStatusResponse) SetIsTrusted

func (o *PeeringNodeStatusResponse) SetIsTrusted(v bool)

SetIsTrusted sets field value

func (*PeeringNodeStatusResponse) SetName

func (o *PeeringNodeStatusResponse) SetName(v string)

SetName sets field value

func (*PeeringNodeStatusResponse) SetNumUsers

func (o *PeeringNodeStatusResponse) SetNumUsers(v int32)

SetNumUsers sets field value

func (*PeeringNodeStatusResponse) SetPeeringURL

func (o *PeeringNodeStatusResponse) SetPeeringURL(v string)

SetPeeringURL sets field value

func (*PeeringNodeStatusResponse) SetPublicKey

func (o *PeeringNodeStatusResponse) SetPublicKey(v string)

SetPublicKey sets field value

func (PeeringNodeStatusResponse) ToMap

func (o PeeringNodeStatusResponse) ToMap() (map[string]interface{}, error)

type PeeringTrustRequest

type PeeringTrustRequest struct {
	Name string `json:"name"`
	// The peering URL of the peer
	PeeringURL string `json:"peeringURL"`
	// The peers public key encoded in Hex
	PublicKey string `json:"publicKey"`
}

PeeringTrustRequest struct for PeeringTrustRequest

func NewPeeringTrustRequest

func NewPeeringTrustRequest(name string, peeringURL string, publicKey string) *PeeringTrustRequest

NewPeeringTrustRequest instantiates a new PeeringTrustRequest 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 NewPeeringTrustRequestWithDefaults

func NewPeeringTrustRequestWithDefaults() *PeeringTrustRequest

NewPeeringTrustRequestWithDefaults instantiates a new PeeringTrustRequest 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 (*PeeringTrustRequest) GetName

func (o *PeeringTrustRequest) GetName() string

GetName returns the Name field value

func (*PeeringTrustRequest) GetNameOk

func (o *PeeringTrustRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PeeringTrustRequest) GetPeeringURL

func (o *PeeringTrustRequest) GetPeeringURL() string

GetPeeringURL returns the PeeringURL field value

func (*PeeringTrustRequest) GetPeeringURLOk

func (o *PeeringTrustRequest) GetPeeringURLOk() (*string, bool)

GetPeeringURLOk returns a tuple with the PeeringURL field value and a boolean to check if the value has been set.

func (*PeeringTrustRequest) GetPublicKey

func (o *PeeringTrustRequest) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*PeeringTrustRequest) GetPublicKeyOk

func (o *PeeringTrustRequest) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.

func (PeeringTrustRequest) MarshalJSON

func (o PeeringTrustRequest) MarshalJSON() ([]byte, error)

func (*PeeringTrustRequest) SetName

func (o *PeeringTrustRequest) SetName(v string)

SetName sets field value

func (*PeeringTrustRequest) SetPeeringURL

func (o *PeeringTrustRequest) SetPeeringURL(v string)

SetPeeringURL sets field value

func (*PeeringTrustRequest) SetPublicKey

func (o *PeeringTrustRequest) SetPublicKey(v string)

SetPublicKey sets field value

func (PeeringTrustRequest) ToMap

func (o PeeringTrustRequest) ToMap() (map[string]interface{}, error)

type ProtocolParameters

type ProtocolParameters struct {
	// The human readable network prefix
	Bech32Hrp string `json:"bech32Hrp"`
	// The networks max depth
	BelowMaxDepth uint32 `json:"belowMaxDepth"`
	// The minimal PoW score
	MinPowScore uint32 `json:"minPowScore"`
	// The network name
	NetworkName   string        `json:"networkName"`
	RentStructure RentStructure `json:"rentStructure"`
	// The token supply
	TokenSupply string `json:"tokenSupply"`
	// The protocol version
	Version int32 `json:"version"`
}

ProtocolParameters struct for ProtocolParameters

func NewProtocolParameters

func NewProtocolParameters(bech32Hrp string, belowMaxDepth uint32, minPowScore uint32, networkName string, rentStructure RentStructure, tokenSupply string, version int32) *ProtocolParameters

NewProtocolParameters instantiates a new ProtocolParameters 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 NewProtocolParametersWithDefaults

func NewProtocolParametersWithDefaults() *ProtocolParameters

NewProtocolParametersWithDefaults instantiates a new ProtocolParameters 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 (*ProtocolParameters) GetBech32Hrp

func (o *ProtocolParameters) GetBech32Hrp() string

GetBech32Hrp returns the Bech32Hrp field value

func (*ProtocolParameters) GetBech32HrpOk

func (o *ProtocolParameters) GetBech32HrpOk() (*string, bool)

GetBech32HrpOk returns a tuple with the Bech32Hrp field value and a boolean to check if the value has been set.

func (*ProtocolParameters) GetBelowMaxDepth

func (o *ProtocolParameters) GetBelowMaxDepth() uint32

GetBelowMaxDepth returns the BelowMaxDepth field value

func (*ProtocolParameters) GetBelowMaxDepthOk

func (o *ProtocolParameters) GetBelowMaxDepthOk() (*uint32, bool)

GetBelowMaxDepthOk returns a tuple with the BelowMaxDepth field value and a boolean to check if the value has been set.

func (*ProtocolParameters) GetMinPowScore

func (o *ProtocolParameters) GetMinPowScore() uint32

GetMinPowScore returns the MinPowScore field value

func (*ProtocolParameters) GetMinPowScoreOk

func (o *ProtocolParameters) GetMinPowScoreOk() (*uint32, bool)

GetMinPowScoreOk returns a tuple with the MinPowScore field value and a boolean to check if the value has been set.

func (*ProtocolParameters) GetNetworkName

func (o *ProtocolParameters) GetNetworkName() string

GetNetworkName returns the NetworkName field value

func (*ProtocolParameters) GetNetworkNameOk

func (o *ProtocolParameters) GetNetworkNameOk() (*string, bool)

GetNetworkNameOk returns a tuple with the NetworkName field value and a boolean to check if the value has been set.

func (*ProtocolParameters) GetRentStructure

func (o *ProtocolParameters) GetRentStructure() RentStructure

GetRentStructure returns the RentStructure field value

func (*ProtocolParameters) GetRentStructureOk

func (o *ProtocolParameters) GetRentStructureOk() (*RentStructure, bool)

GetRentStructureOk returns a tuple with the RentStructure field value and a boolean to check if the value has been set.

func (*ProtocolParameters) GetTokenSupply

func (o *ProtocolParameters) GetTokenSupply() string

GetTokenSupply returns the TokenSupply field value

func (*ProtocolParameters) GetTokenSupplyOk

func (o *ProtocolParameters) GetTokenSupplyOk() (*string, bool)

GetTokenSupplyOk returns a tuple with the TokenSupply field value and a boolean to check if the value has been set.

func (*ProtocolParameters) GetVersion

func (o *ProtocolParameters) GetVersion() int32

GetVersion returns the Version field value

func (*ProtocolParameters) GetVersionOk

func (o *ProtocolParameters) GetVersionOk() (*int32, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (ProtocolParameters) MarshalJSON

func (o ProtocolParameters) MarshalJSON() ([]byte, error)

func (*ProtocolParameters) SetBech32Hrp

func (o *ProtocolParameters) SetBech32Hrp(v string)

SetBech32Hrp sets field value

func (*ProtocolParameters) SetBelowMaxDepth

func (o *ProtocolParameters) SetBelowMaxDepth(v uint32)

SetBelowMaxDepth sets field value

func (*ProtocolParameters) SetMinPowScore

func (o *ProtocolParameters) SetMinPowScore(v uint32)

SetMinPowScore sets field value

func (*ProtocolParameters) SetNetworkName

func (o *ProtocolParameters) SetNetworkName(v string)

SetNetworkName sets field value

func (*ProtocolParameters) SetRentStructure

func (o *ProtocolParameters) SetRentStructure(v RentStructure)

SetRentStructure sets field value

func (*ProtocolParameters) SetTokenSupply

func (o *ProtocolParameters) SetTokenSupply(v string)

SetTokenSupply sets field value

func (*ProtocolParameters) SetVersion

func (o *ProtocolParameters) SetVersion(v int32)

SetVersion sets field value

func (ProtocolParameters) ToMap

func (o ProtocolParameters) ToMap() (map[string]interface{}, error)

type PublisherStateTransactionItem

type PublisherStateTransactionItem struct {
	LastMessage StateTransaction `json:"lastMessage"`
	Messages    uint32           `json:"messages"`
	Timestamp   time.Time        `json:"timestamp"`
}

PublisherStateTransactionItem struct for PublisherStateTransactionItem

func NewPublisherStateTransactionItem

func NewPublisherStateTransactionItem(lastMessage StateTransaction, messages uint32, timestamp time.Time) *PublisherStateTransactionItem

NewPublisherStateTransactionItem instantiates a new PublisherStateTransactionItem 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 NewPublisherStateTransactionItemWithDefaults

func NewPublisherStateTransactionItemWithDefaults() *PublisherStateTransactionItem

NewPublisherStateTransactionItemWithDefaults instantiates a new PublisherStateTransactionItem 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 (*PublisherStateTransactionItem) GetLastMessage

func (o *PublisherStateTransactionItem) GetLastMessage() StateTransaction

GetLastMessage returns the LastMessage field value

func (*PublisherStateTransactionItem) GetLastMessageOk

func (o *PublisherStateTransactionItem) GetLastMessageOk() (*StateTransaction, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*PublisherStateTransactionItem) GetMessages

func (o *PublisherStateTransactionItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*PublisherStateTransactionItem) GetMessagesOk

func (o *PublisherStateTransactionItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*PublisherStateTransactionItem) GetTimestamp

func (o *PublisherStateTransactionItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*PublisherStateTransactionItem) GetTimestampOk

func (o *PublisherStateTransactionItem) 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 (PublisherStateTransactionItem) MarshalJSON

func (o PublisherStateTransactionItem) MarshalJSON() ([]byte, error)

func (*PublisherStateTransactionItem) SetLastMessage

func (o *PublisherStateTransactionItem) SetLastMessage(v StateTransaction)

SetLastMessage sets field value

func (*PublisherStateTransactionItem) SetMessages

func (o *PublisherStateTransactionItem) SetMessages(v uint32)

SetMessages sets field value

func (*PublisherStateTransactionItem) SetTimestamp

func (o *PublisherStateTransactionItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (PublisherStateTransactionItem) ToMap

func (o PublisherStateTransactionItem) ToMap() (map[string]interface{}, error)

type Ratio32

type Ratio32 struct {
	A uint32 `json:"a"`
	B uint32 `json:"b"`
}

Ratio32 struct for Ratio32

func NewRatio32

func NewRatio32(a uint32, b uint32) *Ratio32

NewRatio32 instantiates a new Ratio32 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 NewRatio32WithDefaults

func NewRatio32WithDefaults() *Ratio32

NewRatio32WithDefaults instantiates a new Ratio32 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 (*Ratio32) GetA

func (o *Ratio32) GetA() uint32

GetA returns the A field value

func (*Ratio32) GetAOk

func (o *Ratio32) GetAOk() (*uint32, bool)

GetAOk returns a tuple with the A field value and a boolean to check if the value has been set.

func (*Ratio32) GetB

func (o *Ratio32) GetB() uint32

GetB returns the B field value

func (*Ratio32) GetBOk

func (o *Ratio32) GetBOk() (*uint32, bool)

GetBOk returns a tuple with the B field value and a boolean to check if the value has been set.

func (Ratio32) MarshalJSON

func (o Ratio32) MarshalJSON() ([]byte, error)

func (*Ratio32) SetA

func (o *Ratio32) SetA(v uint32)

SetA sets field value

func (*Ratio32) SetB

func (o *Ratio32) SetB(v uint32)

SetB sets field value

func (Ratio32) ToMap

func (o Ratio32) ToMap() (map[string]interface{}, error)

type ReceiptError

type ReceiptError struct {
	// The contract hname (Hex)
	ContractHName string           `json:"contractHName"`
	ErrorCode     string           `json:"errorCode"`
	ErrorId       uint32           `json:"errorId"`
	Message       string           `json:"message"`
	MessageFormat string           `json:"messageFormat"`
	Parameters    []ErrorParameter `json:"parameters,omitempty"`
}

ReceiptError struct for ReceiptError

func NewReceiptError

func NewReceiptError(contractHName string, errorCode string, errorId uint32, message string, messageFormat string) *ReceiptError

NewReceiptError instantiates a new ReceiptError 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 NewReceiptErrorWithDefaults

func NewReceiptErrorWithDefaults() *ReceiptError

NewReceiptErrorWithDefaults instantiates a new ReceiptError 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 (*ReceiptError) GetContractHName

func (o *ReceiptError) GetContractHName() string

GetContractHName returns the ContractHName field value

func (*ReceiptError) GetContractHNameOk

func (o *ReceiptError) GetContractHNameOk() (*string, bool)

GetContractHNameOk returns a tuple with the ContractHName field value and a boolean to check if the value has been set.

func (*ReceiptError) GetErrorCode

func (o *ReceiptError) GetErrorCode() string

GetErrorCode returns the ErrorCode field value

func (*ReceiptError) GetErrorCodeOk

func (o *ReceiptError) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.

func (*ReceiptError) GetErrorId

func (o *ReceiptError) GetErrorId() uint32

GetErrorId returns the ErrorId field value

func (*ReceiptError) GetErrorIdOk

func (o *ReceiptError) GetErrorIdOk() (*uint32, bool)

GetErrorIdOk returns a tuple with the ErrorId field value and a boolean to check if the value has been set.

func (*ReceiptError) GetMessage

func (o *ReceiptError) GetMessage() string

GetMessage returns the Message field value

func (*ReceiptError) GetMessageFormat

func (o *ReceiptError) GetMessageFormat() string

GetMessageFormat returns the MessageFormat field value

func (*ReceiptError) GetMessageFormatOk

func (o *ReceiptError) GetMessageFormatOk() (*string, bool)

GetMessageFormatOk returns a tuple with the MessageFormat field value and a boolean to check if the value has been set.

func (*ReceiptError) GetMessageOk

func (o *ReceiptError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*ReceiptError) GetParameters

func (o *ReceiptError) GetParameters() []ErrorParameter

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*ReceiptError) GetParametersOk

func (o *ReceiptError) GetParametersOk() ([]ErrorParameter, bool)

GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReceiptError) HasParameters

func (o *ReceiptError) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (ReceiptError) MarshalJSON

func (o ReceiptError) MarshalJSON() ([]byte, error)

func (*ReceiptError) SetContractHName

func (o *ReceiptError) SetContractHName(v string)

SetContractHName sets field value

func (*ReceiptError) SetErrorCode

func (o *ReceiptError) SetErrorCode(v string)

SetErrorCode sets field value

func (*ReceiptError) SetErrorId

func (o *ReceiptError) SetErrorId(v uint32)

SetErrorId sets field value

func (*ReceiptError) SetMessage

func (o *ReceiptError) SetMessage(v string)

SetMessage sets field value

func (*ReceiptError) SetMessageFormat

func (o *ReceiptError) SetMessageFormat(v string)

SetMessageFormat sets field value

func (*ReceiptError) SetParameters

func (o *ReceiptError) SetParameters(v []ErrorParameter)

SetParameters gets a reference to the given []ErrorParameter and assigns it to the Parameters field.

func (ReceiptError) ToMap

func (o ReceiptError) ToMap() (map[string]interface{}, error)

type ReceiptResponse

type ReceiptResponse struct {
	BlockIndex uint32        `json:"blockIndex"`
	Error      *ReceiptError `json:"error,omitempty"`
	// The gas budget (uint64 as string)
	GasBudget  string       `json:"gasBudget"`
	GasBurnLog []BurnRecord `json:"gasBurnLog"`
	// The burned gas (uint64 as string)
	GasBurned string `json:"gasBurned"`
	// The charged gas fee (uint64 as string)
	GasFeeCharged string `json:"gasFeeCharged"`
	Request       string `json:"request"`
	RequestIndex  uint32 `json:"requestIndex"`
}

ReceiptResponse struct for ReceiptResponse

func NewReceiptResponse

func NewReceiptResponse(blockIndex uint32, gasBudget string, gasBurnLog []BurnRecord, gasBurned string, gasFeeCharged string, request string, requestIndex uint32) *ReceiptResponse

NewReceiptResponse instantiates a new ReceiptResponse 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 NewReceiptResponseWithDefaults

func NewReceiptResponseWithDefaults() *ReceiptResponse

NewReceiptResponseWithDefaults instantiates a new ReceiptResponse 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 (*ReceiptResponse) GetBlockIndex

func (o *ReceiptResponse) GetBlockIndex() uint32

GetBlockIndex returns the BlockIndex field value

func (*ReceiptResponse) GetBlockIndexOk

func (o *ReceiptResponse) GetBlockIndexOk() (*uint32, bool)

GetBlockIndexOk returns a tuple with the BlockIndex field value and a boolean to check if the value has been set.

func (*ReceiptResponse) GetError

func (o *ReceiptResponse) GetError() ReceiptError

GetError returns the Error field value if set, zero value otherwise.

func (*ReceiptResponse) GetErrorOk

func (o *ReceiptResponse) GetErrorOk() (*ReceiptError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReceiptResponse) GetGasBudget

func (o *ReceiptResponse) GetGasBudget() string

GetGasBudget returns the GasBudget field value

func (*ReceiptResponse) GetGasBudgetOk

func (o *ReceiptResponse) GetGasBudgetOk() (*string, bool)

GetGasBudgetOk returns a tuple with the GasBudget field value and a boolean to check if the value has been set.

func (*ReceiptResponse) GetGasBurnLog

func (o *ReceiptResponse) GetGasBurnLog() []BurnRecord

GetGasBurnLog returns the GasBurnLog field value

func (*ReceiptResponse) GetGasBurnLogOk

func (o *ReceiptResponse) GetGasBurnLogOk() ([]BurnRecord, bool)

GetGasBurnLogOk returns a tuple with the GasBurnLog field value and a boolean to check if the value has been set.

func (*ReceiptResponse) GetGasBurned

func (o *ReceiptResponse) GetGasBurned() string

GetGasBurned returns the GasBurned field value

func (*ReceiptResponse) GetGasBurnedOk

func (o *ReceiptResponse) GetGasBurnedOk() (*string, bool)

GetGasBurnedOk returns a tuple with the GasBurned field value and a boolean to check if the value has been set.

func (*ReceiptResponse) GetGasFeeCharged

func (o *ReceiptResponse) GetGasFeeCharged() string

GetGasFeeCharged returns the GasFeeCharged field value

func (*ReceiptResponse) GetGasFeeChargedOk

func (o *ReceiptResponse) GetGasFeeChargedOk() (*string, bool)

GetGasFeeChargedOk returns a tuple with the GasFeeCharged field value and a boolean to check if the value has been set.

func (*ReceiptResponse) GetRequest

func (o *ReceiptResponse) GetRequest() string

GetRequest returns the Request field value

func (*ReceiptResponse) GetRequestIndex

func (o *ReceiptResponse) GetRequestIndex() uint32

GetRequestIndex returns the RequestIndex field value

func (*ReceiptResponse) GetRequestIndexOk

func (o *ReceiptResponse) GetRequestIndexOk() (*uint32, bool)

GetRequestIndexOk returns a tuple with the RequestIndex field value and a boolean to check if the value has been set.

func (*ReceiptResponse) GetRequestOk

func (o *ReceiptResponse) GetRequestOk() (*string, bool)

GetRequestOk returns a tuple with the Request field value and a boolean to check if the value has been set.

func (*ReceiptResponse) HasError

func (o *ReceiptResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (ReceiptResponse) MarshalJSON

func (o ReceiptResponse) MarshalJSON() ([]byte, error)

func (*ReceiptResponse) SetBlockIndex

func (o *ReceiptResponse) SetBlockIndex(v uint32)

SetBlockIndex sets field value

func (*ReceiptResponse) SetError

func (o *ReceiptResponse) SetError(v ReceiptError)

SetError gets a reference to the given ReceiptError and assigns it to the Error field.

func (*ReceiptResponse) SetGasBudget

func (o *ReceiptResponse) SetGasBudget(v string)

SetGasBudget sets field value

func (*ReceiptResponse) SetGasBurnLog

func (o *ReceiptResponse) SetGasBurnLog(v []BurnRecord)

SetGasBurnLog sets field value

func (*ReceiptResponse) SetGasBurned

func (o *ReceiptResponse) SetGasBurned(v string)

SetGasBurned sets field value

func (*ReceiptResponse) SetGasFeeCharged

func (o *ReceiptResponse) SetGasFeeCharged(v string)

SetGasFeeCharged sets field value

func (*ReceiptResponse) SetRequest

func (o *ReceiptResponse) SetRequest(v string)

SetRequest sets field value

func (*ReceiptResponse) SetRequestIndex

func (o *ReceiptResponse) SetRequestIndex(v uint32)

SetRequestIndex sets field value

func (ReceiptResponse) ToMap

func (o ReceiptResponse) ToMap() (map[string]interface{}, error)

type RentStructure

type RentStructure struct {
	// The virtual byte cost
	VByteCost uint32 `json:"vByteCost"`
	// The virtual byte factor for data fields
	VByteFactorData int32 `json:"vByteFactorData"`
	// The virtual byte factor for key/lookup generating fields
	VByteFactorKey int32 `json:"vByteFactorKey"`
}

RentStructure struct for RentStructure

func NewRentStructure

func NewRentStructure(vByteCost uint32, vByteFactorData int32, vByteFactorKey int32) *RentStructure

NewRentStructure instantiates a new RentStructure 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 NewRentStructureWithDefaults

func NewRentStructureWithDefaults() *RentStructure

NewRentStructureWithDefaults instantiates a new RentStructure 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 (*RentStructure) GetVByteCost

func (o *RentStructure) GetVByteCost() uint32

GetVByteCost returns the VByteCost field value

func (*RentStructure) GetVByteCostOk

func (o *RentStructure) GetVByteCostOk() (*uint32, bool)

GetVByteCostOk returns a tuple with the VByteCost field value and a boolean to check if the value has been set.

func (*RentStructure) GetVByteFactorData

func (o *RentStructure) GetVByteFactorData() int32

GetVByteFactorData returns the VByteFactorData field value

func (*RentStructure) GetVByteFactorDataOk

func (o *RentStructure) GetVByteFactorDataOk() (*int32, bool)

GetVByteFactorDataOk returns a tuple with the VByteFactorData field value and a boolean to check if the value has been set.

func (*RentStructure) GetVByteFactorKey

func (o *RentStructure) GetVByteFactorKey() int32

GetVByteFactorKey returns the VByteFactorKey field value

func (*RentStructure) GetVByteFactorKeyOk

func (o *RentStructure) GetVByteFactorKeyOk() (*int32, bool)

GetVByteFactorKeyOk returns a tuple with the VByteFactorKey field value and a boolean to check if the value has been set.

func (RentStructure) MarshalJSON

func (o RentStructure) MarshalJSON() ([]byte, error)

func (*RentStructure) SetVByteCost

func (o *RentStructure) SetVByteCost(v uint32)

SetVByteCost sets field value

func (*RentStructure) SetVByteFactorData

func (o *RentStructure) SetVByteFactorData(v int32)

SetVByteFactorData sets field value

func (*RentStructure) SetVByteFactorKey

func (o *RentStructure) SetVByteFactorKey(v int32)

SetVByteFactorKey sets field value

func (RentStructure) ToMap

func (o RentStructure) ToMap() (map[string]interface{}, error)

type RequestDetail

type RequestDetail struct {
	Allowance      Assets     `json:"allowance"`
	CallTarget     CallTarget `json:"callTarget"`
	FungibleTokens Assets     `json:"fungibleTokens"`
	// The gas budget (uint64 as string)
	GasGudget     string          `json:"gasGudget"`
	IsEVM         bool            `json:"isEVM"`
	IsOffLedger   bool            `json:"isOffLedger"`
	Nft           NFTDataResponse `json:"nft"`
	Params        JSONDict        `json:"params"`
	RequestId     string          `json:"requestId"`
	SenderAccount string          `json:"senderAccount"`
	TargetAddress string          `json:"targetAddress"`
}

RequestDetail struct for RequestDetail

func NewRequestDetail

func NewRequestDetail(allowance Assets, callTarget CallTarget, fungibleTokens Assets, gasGudget string, isEVM bool, isOffLedger bool, nft NFTDataResponse, params JSONDict, requestId string, senderAccount string, targetAddress string) *RequestDetail

NewRequestDetail instantiates a new RequestDetail 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 NewRequestDetailWithDefaults

func NewRequestDetailWithDefaults() *RequestDetail

NewRequestDetailWithDefaults instantiates a new RequestDetail 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 (*RequestDetail) GetAllowance

func (o *RequestDetail) GetAllowance() Assets

GetAllowance returns the Allowance field value

func (*RequestDetail) GetAllowanceOk

func (o *RequestDetail) GetAllowanceOk() (*Assets, bool)

GetAllowanceOk returns a tuple with the Allowance field value and a boolean to check if the value has been set.

func (*RequestDetail) GetCallTarget

func (o *RequestDetail) GetCallTarget() CallTarget

GetCallTarget returns the CallTarget field value

func (*RequestDetail) GetCallTargetOk

func (o *RequestDetail) GetCallTargetOk() (*CallTarget, bool)

GetCallTargetOk returns a tuple with the CallTarget field value and a boolean to check if the value has been set.

func (*RequestDetail) GetFungibleTokens

func (o *RequestDetail) GetFungibleTokens() Assets

GetFungibleTokens returns the FungibleTokens field value

func (*RequestDetail) GetFungibleTokensOk

func (o *RequestDetail) GetFungibleTokensOk() (*Assets, bool)

GetFungibleTokensOk returns a tuple with the FungibleTokens field value and a boolean to check if the value has been set.

func (*RequestDetail) GetGasGudget

func (o *RequestDetail) GetGasGudget() string

GetGasGudget returns the GasGudget field value

func (*RequestDetail) GetGasGudgetOk

func (o *RequestDetail) GetGasGudgetOk() (*string, bool)

GetGasGudgetOk returns a tuple with the GasGudget field value and a boolean to check if the value has been set.

func (*RequestDetail) GetIsEVM

func (o *RequestDetail) GetIsEVM() bool

GetIsEVM returns the IsEVM field value

func (*RequestDetail) GetIsEVMOk

func (o *RequestDetail) GetIsEVMOk() (*bool, bool)

GetIsEVMOk returns a tuple with the IsEVM field value and a boolean to check if the value has been set.

func (*RequestDetail) GetIsOffLedger

func (o *RequestDetail) GetIsOffLedger() bool

GetIsOffLedger returns the IsOffLedger field value

func (*RequestDetail) GetIsOffLedgerOk

func (o *RequestDetail) GetIsOffLedgerOk() (*bool, bool)

GetIsOffLedgerOk returns a tuple with the IsOffLedger field value and a boolean to check if the value has been set.

func (*RequestDetail) GetNft

func (o *RequestDetail) GetNft() NFTDataResponse

GetNft returns the Nft field value

func (*RequestDetail) GetNftOk

func (o *RequestDetail) GetNftOk() (*NFTDataResponse, bool)

GetNftOk returns a tuple with the Nft field value and a boolean to check if the value has been set.

func (*RequestDetail) GetParams

func (o *RequestDetail) GetParams() JSONDict

GetParams returns the Params field value

func (*RequestDetail) GetParamsOk

func (o *RequestDetail) GetParamsOk() (*JSONDict, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (*RequestDetail) GetRequestId

func (o *RequestDetail) GetRequestId() string

GetRequestId returns the RequestId field value

func (*RequestDetail) GetRequestIdOk

func (o *RequestDetail) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.

func (*RequestDetail) GetSenderAccount

func (o *RequestDetail) GetSenderAccount() string

GetSenderAccount returns the SenderAccount field value

func (*RequestDetail) GetSenderAccountOk

func (o *RequestDetail) GetSenderAccountOk() (*string, bool)

GetSenderAccountOk returns a tuple with the SenderAccount field value and a boolean to check if the value has been set.

func (*RequestDetail) GetTargetAddress

func (o *RequestDetail) GetTargetAddress() string

GetTargetAddress returns the TargetAddress field value

func (*RequestDetail) GetTargetAddressOk

func (o *RequestDetail) GetTargetAddressOk() (*string, bool)

GetTargetAddressOk returns a tuple with the TargetAddress field value and a boolean to check if the value has been set.

func (RequestDetail) MarshalJSON

func (o RequestDetail) MarshalJSON() ([]byte, error)

func (*RequestDetail) SetAllowance

func (o *RequestDetail) SetAllowance(v Assets)

SetAllowance sets field value

func (*RequestDetail) SetCallTarget

func (o *RequestDetail) SetCallTarget(v CallTarget)

SetCallTarget sets field value

func (*RequestDetail) SetFungibleTokens

func (o *RequestDetail) SetFungibleTokens(v Assets)

SetFungibleTokens sets field value

func (*RequestDetail) SetGasGudget

func (o *RequestDetail) SetGasGudget(v string)

SetGasGudget sets field value

func (*RequestDetail) SetIsEVM

func (o *RequestDetail) SetIsEVM(v bool)

SetIsEVM sets field value

func (*RequestDetail) SetIsOffLedger

func (o *RequestDetail) SetIsOffLedger(v bool)

SetIsOffLedger sets field value

func (*RequestDetail) SetNft

func (o *RequestDetail) SetNft(v NFTDataResponse)

SetNft sets field value

func (*RequestDetail) SetParams

func (o *RequestDetail) SetParams(v JSONDict)

SetParams sets field value

func (*RequestDetail) SetRequestId

func (o *RequestDetail) SetRequestId(v string)

SetRequestId sets field value

func (*RequestDetail) SetSenderAccount

func (o *RequestDetail) SetSenderAccount(v string)

SetSenderAccount sets field value

func (*RequestDetail) SetTargetAddress

func (o *RequestDetail) SetTargetAddress(v string)

SetTargetAddress sets field value

func (RequestDetail) ToMap

func (o RequestDetail) ToMap() (map[string]interface{}, error)

type RequestIDResponse

type RequestIDResponse struct {
	// The request ID of the given transaction ID. (Hex)
	RequestId string `json:"requestId"`
}

RequestIDResponse struct for RequestIDResponse

func NewRequestIDResponse

func NewRequestIDResponse(requestId string) *RequestIDResponse

NewRequestIDResponse instantiates a new RequestIDResponse 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 NewRequestIDResponseWithDefaults

func NewRequestIDResponseWithDefaults() *RequestIDResponse

NewRequestIDResponseWithDefaults instantiates a new RequestIDResponse 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 (*RequestIDResponse) GetRequestId

func (o *RequestIDResponse) GetRequestId() string

GetRequestId returns the RequestId field value

func (*RequestIDResponse) GetRequestIdOk

func (o *RequestIDResponse) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.

func (RequestIDResponse) MarshalJSON

func (o RequestIDResponse) MarshalJSON() ([]byte, error)

func (*RequestIDResponse) SetRequestId

func (o *RequestIDResponse) SetRequestId(v string)

SetRequestId sets field value

func (RequestIDResponse) ToMap

func (o RequestIDResponse) ToMap() (map[string]interface{}, error)

type RequestIDsResponse

type RequestIDsResponse struct {
	RequestIds []string `json:"requestIds"`
}

RequestIDsResponse struct for RequestIDsResponse

func NewRequestIDsResponse

func NewRequestIDsResponse(requestIds []string) *RequestIDsResponse

NewRequestIDsResponse instantiates a new RequestIDsResponse 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 NewRequestIDsResponseWithDefaults

func NewRequestIDsResponseWithDefaults() *RequestIDsResponse

NewRequestIDsResponseWithDefaults instantiates a new RequestIDsResponse 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 (*RequestIDsResponse) GetRequestIds

func (o *RequestIDsResponse) GetRequestIds() []string

GetRequestIds returns the RequestIds field value

func (*RequestIDsResponse) GetRequestIdsOk

func (o *RequestIDsResponse) GetRequestIdsOk() ([]string, bool)

GetRequestIdsOk returns a tuple with the RequestIds field value and a boolean to check if the value has been set.

func (RequestIDsResponse) MarshalJSON

func (o RequestIDsResponse) MarshalJSON() ([]byte, error)

func (*RequestIDsResponse) SetRequestIds

func (o *RequestIDsResponse) SetRequestIds(v []string)

SetRequestIds sets field value

func (RequestIDsResponse) ToMap

func (o RequestIDsResponse) ToMap() (map[string]interface{}, error)

type RequestProcessedResponse

type RequestProcessedResponse struct {
	ChainId     string `json:"chainId"`
	IsProcessed bool   `json:"isProcessed"`
	RequestId   string `json:"requestId"`
}

RequestProcessedResponse struct for RequestProcessedResponse

func NewRequestProcessedResponse

func NewRequestProcessedResponse(chainId string, isProcessed bool, requestId string) *RequestProcessedResponse

NewRequestProcessedResponse instantiates a new RequestProcessedResponse 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 NewRequestProcessedResponseWithDefaults

func NewRequestProcessedResponseWithDefaults() *RequestProcessedResponse

NewRequestProcessedResponseWithDefaults instantiates a new RequestProcessedResponse 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 (*RequestProcessedResponse) GetChainId

func (o *RequestProcessedResponse) GetChainId() string

GetChainId returns the ChainId field value

func (*RequestProcessedResponse) GetChainIdOk

func (o *RequestProcessedResponse) GetChainIdOk() (*string, bool)

GetChainIdOk returns a tuple with the ChainId field value and a boolean to check if the value has been set.

func (*RequestProcessedResponse) GetIsProcessed

func (o *RequestProcessedResponse) GetIsProcessed() bool

GetIsProcessed returns the IsProcessed field value

func (*RequestProcessedResponse) GetIsProcessedOk

func (o *RequestProcessedResponse) GetIsProcessedOk() (*bool, bool)

GetIsProcessedOk returns a tuple with the IsProcessed field value and a boolean to check if the value has been set.

func (*RequestProcessedResponse) GetRequestId

func (o *RequestProcessedResponse) GetRequestId() string

GetRequestId returns the RequestId field value

func (*RequestProcessedResponse) GetRequestIdOk

func (o *RequestProcessedResponse) GetRequestIdOk() (*string, bool)

GetRequestIdOk returns a tuple with the RequestId field value and a boolean to check if the value has been set.

func (RequestProcessedResponse) MarshalJSON

func (o RequestProcessedResponse) MarshalJSON() ([]byte, error)

func (*RequestProcessedResponse) SetChainId

func (o *RequestProcessedResponse) SetChainId(v string)

SetChainId sets field value

func (*RequestProcessedResponse) SetIsProcessed

func (o *RequestProcessedResponse) SetIsProcessed(v bool)

SetIsProcessed sets field value

func (*RequestProcessedResponse) SetRequestId

func (o *RequestProcessedResponse) SetRequestId(v string)

SetRequestId sets field value

func (RequestProcessedResponse) ToMap

func (o RequestProcessedResponse) ToMap() (map[string]interface{}, error)

type RequestReceiptResponse

type RequestReceiptResponse struct {
	BlockIndex uint32             `json:"blockIndex"`
	Error      *BlockReceiptError `json:"error,omitempty"`
	// The gas budget (uint64 as string)
	GasBudget  string  `json:"gasBudget"`
	GasBurnLog BurnLog `json:"gasBurnLog"`
	// The burned gas (uint64 as string)
	GasBurned string `json:"gasBurned"`
	// The charged gas fee (uint64 as string)
	GasFeeCharged string        `json:"gasFeeCharged"`
	Request       RequestDetail `json:"request"`
	RequestIndex  uint32        `json:"requestIndex"`
}

RequestReceiptResponse struct for RequestReceiptResponse

func NewRequestReceiptResponse

func NewRequestReceiptResponse(blockIndex uint32, gasBudget string, gasBurnLog BurnLog, gasBurned string, gasFeeCharged string, request RequestDetail, requestIndex uint32) *RequestReceiptResponse

NewRequestReceiptResponse instantiates a new RequestReceiptResponse 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 NewRequestReceiptResponseWithDefaults

func NewRequestReceiptResponseWithDefaults() *RequestReceiptResponse

NewRequestReceiptResponseWithDefaults instantiates a new RequestReceiptResponse 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 (*RequestReceiptResponse) GetBlockIndex

func (o *RequestReceiptResponse) GetBlockIndex() uint32

GetBlockIndex returns the BlockIndex field value

func (*RequestReceiptResponse) GetBlockIndexOk

func (o *RequestReceiptResponse) GetBlockIndexOk() (*uint32, bool)

GetBlockIndexOk returns a tuple with the BlockIndex field value and a boolean to check if the value has been set.

func (*RequestReceiptResponse) GetError

GetError returns the Error field value if set, zero value otherwise.

func (*RequestReceiptResponse) GetErrorOk

func (o *RequestReceiptResponse) GetErrorOk() (*BlockReceiptError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RequestReceiptResponse) GetGasBudget

func (o *RequestReceiptResponse) GetGasBudget() string

GetGasBudget returns the GasBudget field value

func (*RequestReceiptResponse) GetGasBudgetOk

func (o *RequestReceiptResponse) GetGasBudgetOk() (*string, bool)

GetGasBudgetOk returns a tuple with the GasBudget field value and a boolean to check if the value has been set.

func (*RequestReceiptResponse) GetGasBurnLog

func (o *RequestReceiptResponse) GetGasBurnLog() BurnLog

GetGasBurnLog returns the GasBurnLog field value

func (*RequestReceiptResponse) GetGasBurnLogOk

func (o *RequestReceiptResponse) GetGasBurnLogOk() (*BurnLog, bool)

GetGasBurnLogOk returns a tuple with the GasBurnLog field value and a boolean to check if the value has been set.

func (*RequestReceiptResponse) GetGasBurned

func (o *RequestReceiptResponse) GetGasBurned() string

GetGasBurned returns the GasBurned field value

func (*RequestReceiptResponse) GetGasBurnedOk

func (o *RequestReceiptResponse) GetGasBurnedOk() (*string, bool)

GetGasBurnedOk returns a tuple with the GasBurned field value and a boolean to check if the value has been set.

func (*RequestReceiptResponse) GetGasFeeCharged

func (o *RequestReceiptResponse) GetGasFeeCharged() string

GetGasFeeCharged returns the GasFeeCharged field value

func (*RequestReceiptResponse) GetGasFeeChargedOk

func (o *RequestReceiptResponse) GetGasFeeChargedOk() (*string, bool)

GetGasFeeChargedOk returns a tuple with the GasFeeCharged field value and a boolean to check if the value has been set.

func (*RequestReceiptResponse) GetRequest

func (o *RequestReceiptResponse) GetRequest() RequestDetail

GetRequest returns the Request field value

func (*RequestReceiptResponse) GetRequestIndex

func (o *RequestReceiptResponse) GetRequestIndex() uint32

GetRequestIndex returns the RequestIndex field value

func (*RequestReceiptResponse) GetRequestIndexOk

func (o *RequestReceiptResponse) GetRequestIndexOk() (*uint32, bool)

GetRequestIndexOk returns a tuple with the RequestIndex field value and a boolean to check if the value has been set.

func (*RequestReceiptResponse) GetRequestOk

func (o *RequestReceiptResponse) GetRequestOk() (*RequestDetail, bool)

GetRequestOk returns a tuple with the Request field value and a boolean to check if the value has been set.

func (*RequestReceiptResponse) HasError

func (o *RequestReceiptResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (RequestReceiptResponse) MarshalJSON

func (o RequestReceiptResponse) MarshalJSON() ([]byte, error)

func (*RequestReceiptResponse) SetBlockIndex

func (o *RequestReceiptResponse) SetBlockIndex(v uint32)

SetBlockIndex sets field value

func (*RequestReceiptResponse) SetError

SetError gets a reference to the given BlockReceiptError and assigns it to the Error field.

func (*RequestReceiptResponse) SetGasBudget

func (o *RequestReceiptResponse) SetGasBudget(v string)

SetGasBudget sets field value

func (*RequestReceiptResponse) SetGasBurnLog

func (o *RequestReceiptResponse) SetGasBurnLog(v BurnLog)

SetGasBurnLog sets field value

func (*RequestReceiptResponse) SetGasBurned

func (o *RequestReceiptResponse) SetGasBurned(v string)

SetGasBurned sets field value

func (*RequestReceiptResponse) SetGasFeeCharged

func (o *RequestReceiptResponse) SetGasFeeCharged(v string)

SetGasFeeCharged sets field value

func (*RequestReceiptResponse) SetRequest

func (o *RequestReceiptResponse) SetRequest(v RequestDetail)

SetRequest sets field value

func (*RequestReceiptResponse) SetRequestIndex

func (o *RequestReceiptResponse) SetRequestIndex(v uint32)

SetRequestIndex sets field value

func (RequestReceiptResponse) ToMap

func (o RequestReceiptResponse) ToMap() (map[string]interface{}, error)

type RequestsApiService

type RequestsApiService service

RequestsApiService RequestsApi service

func (*RequestsApiService) CallView

CallView Call a view function on a contract by Hname

Execute a view call. Either use HName or Name properties. If both are supplied, HName are used.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCallViewRequest

func (*RequestsApiService) CallViewExecute

func (a *RequestsApiService) CallViewExecute(r ApiCallViewRequest) (*JSONDict, *http.Response, error)

Execute executes the request

@return JSONDict

func (*RequestsApiService) GetReceipt

func (a *RequestsApiService) GetReceipt(ctx context.Context, chainID string, requestID string) ApiGetReceiptRequest

GetReceipt Get a receipt from a request ID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param requestID RequestID (Hex)
@return ApiGetReceiptRequest

func (*RequestsApiService) GetReceiptExecute

Execute executes the request

@return ReceiptResponse

func (*RequestsApiService) OffLedger

OffLedger Post an off-ledger request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiOffLedgerRequest

func (*RequestsApiService) OffLedgerExecute

func (a *RequestsApiService) OffLedgerExecute(r ApiOffLedgerRequest) (*http.Response, error)

Execute executes the request

func (*RequestsApiService) WaitForRequest

func (a *RequestsApiService) WaitForRequest(ctx context.Context, chainID string, requestID string) ApiWaitForRequestRequest

WaitForRequest Wait until the given request has been processed by the node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param chainID ChainID (Bech32)
@param requestID RequestID (Hex)
@return ApiWaitForRequestRequest

func (*RequestsApiService) WaitForRequestExecute

Execute executes the request

@return ReceiptResponse

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StateResponse

type StateResponse struct {
	// The state of the requested key (Hex-encoded)
	State string `json:"state"`
}

StateResponse struct for StateResponse

func NewStateResponse

func NewStateResponse(state string) *StateResponse

NewStateResponse instantiates a new StateResponse 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 NewStateResponseWithDefaults

func NewStateResponseWithDefaults() *StateResponse

NewStateResponseWithDefaults instantiates a new StateResponse 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 (*StateResponse) GetState

func (o *StateResponse) GetState() string

GetState returns the State field value

func (*StateResponse) GetStateOk

func (o *StateResponse) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (StateResponse) MarshalJSON

func (o StateResponse) MarshalJSON() ([]byte, error)

func (*StateResponse) SetState

func (o *StateResponse) SetState(v string)

SetState sets field value

func (StateResponse) ToMap

func (o StateResponse) ToMap() (map[string]interface{}, error)

type StateTransaction

type StateTransaction struct {
	// The state index
	StateIndex uint32 `json:"stateIndex"`
	// The transaction ID
	TxId string `json:"txId"`
}

StateTransaction struct for StateTransaction

func NewStateTransaction

func NewStateTransaction(stateIndex uint32, txId string) *StateTransaction

NewStateTransaction instantiates a new StateTransaction 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 NewStateTransactionWithDefaults

func NewStateTransactionWithDefaults() *StateTransaction

NewStateTransactionWithDefaults instantiates a new StateTransaction 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 (*StateTransaction) GetStateIndex

func (o *StateTransaction) GetStateIndex() uint32

GetStateIndex returns the StateIndex field value

func (*StateTransaction) GetStateIndexOk

func (o *StateTransaction) GetStateIndexOk() (*uint32, bool)

GetStateIndexOk returns a tuple with the StateIndex field value and a boolean to check if the value has been set.

func (*StateTransaction) GetTxId

func (o *StateTransaction) GetTxId() string

GetTxId returns the TxId field value

func (*StateTransaction) GetTxIdOk

func (o *StateTransaction) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value and a boolean to check if the value has been set.

func (StateTransaction) MarshalJSON

func (o StateTransaction) MarshalJSON() ([]byte, error)

func (*StateTransaction) SetStateIndex

func (o *StateTransaction) SetStateIndex(v uint32)

SetStateIndex sets field value

func (*StateTransaction) SetTxId

func (o *StateTransaction) SetTxId(v string)

SetTxId sets field value

func (StateTransaction) ToMap

func (o StateTransaction) ToMap() (map[string]interface{}, error)

type Transaction

type Transaction struct {
	// The transaction ID
	TxId string `json:"txId"`
}

Transaction struct for Transaction

func NewTransaction

func NewTransaction(txId string) *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) GetTxId

func (o *Transaction) GetTxId() string

GetTxId returns the TxId field value

func (*Transaction) GetTxIdOk

func (o *Transaction) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value and a boolean to check if the value has been set.

func (Transaction) MarshalJSON

func (o Transaction) MarshalJSON() ([]byte, error)

func (*Transaction) SetTxId

func (o *Transaction) SetTxId(v string)

SetTxId sets field value

func (Transaction) ToMap

func (o Transaction) ToMap() (map[string]interface{}, error)

type TransactionIDMetricItem

type TransactionIDMetricItem struct {
	LastMessage Transaction `json:"lastMessage"`
	Messages    uint32      `json:"messages"`
	Timestamp   time.Time   `json:"timestamp"`
}

TransactionIDMetricItem struct for TransactionIDMetricItem

func NewTransactionIDMetricItem

func NewTransactionIDMetricItem(lastMessage Transaction, messages uint32, timestamp time.Time) *TransactionIDMetricItem

NewTransactionIDMetricItem instantiates a new TransactionIDMetricItem 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 NewTransactionIDMetricItemWithDefaults

func NewTransactionIDMetricItemWithDefaults() *TransactionIDMetricItem

NewTransactionIDMetricItemWithDefaults instantiates a new TransactionIDMetricItem 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 (*TransactionIDMetricItem) GetLastMessage

func (o *TransactionIDMetricItem) GetLastMessage() Transaction

GetLastMessage returns the LastMessage field value

func (*TransactionIDMetricItem) GetLastMessageOk

func (o *TransactionIDMetricItem) GetLastMessageOk() (*Transaction, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*TransactionIDMetricItem) GetMessages

func (o *TransactionIDMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*TransactionIDMetricItem) GetMessagesOk

func (o *TransactionIDMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*TransactionIDMetricItem) GetTimestamp

func (o *TransactionIDMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*TransactionIDMetricItem) GetTimestampOk

func (o *TransactionIDMetricItem) 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 (TransactionIDMetricItem) MarshalJSON

func (o TransactionIDMetricItem) MarshalJSON() ([]byte, error)

func (*TransactionIDMetricItem) SetLastMessage

func (o *TransactionIDMetricItem) SetLastMessage(v Transaction)

SetLastMessage sets field value

func (*TransactionIDMetricItem) SetMessages

func (o *TransactionIDMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*TransactionIDMetricItem) SetTimestamp

func (o *TransactionIDMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (TransactionIDMetricItem) ToMap

func (o TransactionIDMetricItem) ToMap() (map[string]interface{}, error)

type TransactionMetricItem

type TransactionMetricItem struct {
	LastMessage Transaction `json:"lastMessage"`
	Messages    uint32      `json:"messages"`
	Timestamp   time.Time   `json:"timestamp"`
}

TransactionMetricItem struct for TransactionMetricItem

func NewTransactionMetricItem

func NewTransactionMetricItem(lastMessage Transaction, messages uint32, timestamp time.Time) *TransactionMetricItem

NewTransactionMetricItem instantiates a new TransactionMetricItem 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 NewTransactionMetricItemWithDefaults

func NewTransactionMetricItemWithDefaults() *TransactionMetricItem

NewTransactionMetricItemWithDefaults instantiates a new TransactionMetricItem 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 (*TransactionMetricItem) GetLastMessage

func (o *TransactionMetricItem) GetLastMessage() Transaction

GetLastMessage returns the LastMessage field value

func (*TransactionMetricItem) GetLastMessageOk

func (o *TransactionMetricItem) GetLastMessageOk() (*Transaction, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*TransactionMetricItem) GetMessages

func (o *TransactionMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*TransactionMetricItem) GetMessagesOk

func (o *TransactionMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*TransactionMetricItem) GetTimestamp

func (o *TransactionMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*TransactionMetricItem) GetTimestampOk

func (o *TransactionMetricItem) 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 (TransactionMetricItem) MarshalJSON

func (o TransactionMetricItem) MarshalJSON() ([]byte, error)

func (*TransactionMetricItem) SetLastMessage

func (o *TransactionMetricItem) SetLastMessage(v Transaction)

SetLastMessage sets field value

func (*TransactionMetricItem) SetMessages

func (o *TransactionMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*TransactionMetricItem) SetTimestamp

func (o *TransactionMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (TransactionMetricItem) ToMap

func (o TransactionMetricItem) ToMap() (map[string]interface{}, error)

type TxInclusionStateMsg

type TxInclusionStateMsg struct {
	// The inclusion state
	State string `json:"state"`
	// The transaction ID
	TxId string `json:"txId"`
}

TxInclusionStateMsg struct for TxInclusionStateMsg

func NewTxInclusionStateMsg

func NewTxInclusionStateMsg(state string, txId string) *TxInclusionStateMsg

NewTxInclusionStateMsg instantiates a new TxInclusionStateMsg 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 NewTxInclusionStateMsgWithDefaults

func NewTxInclusionStateMsgWithDefaults() *TxInclusionStateMsg

NewTxInclusionStateMsgWithDefaults instantiates a new TxInclusionStateMsg 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 (*TxInclusionStateMsg) GetState

func (o *TxInclusionStateMsg) GetState() string

GetState returns the State field value

func (*TxInclusionStateMsg) GetStateOk

func (o *TxInclusionStateMsg) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (*TxInclusionStateMsg) GetTxId

func (o *TxInclusionStateMsg) GetTxId() string

GetTxId returns the TxId field value

func (*TxInclusionStateMsg) GetTxIdOk

func (o *TxInclusionStateMsg) GetTxIdOk() (*string, bool)

GetTxIdOk returns a tuple with the TxId field value and a boolean to check if the value has been set.

func (TxInclusionStateMsg) MarshalJSON

func (o TxInclusionStateMsg) MarshalJSON() ([]byte, error)

func (*TxInclusionStateMsg) SetState

func (o *TxInclusionStateMsg) SetState(v string)

SetState sets field value

func (*TxInclusionStateMsg) SetTxId

func (o *TxInclusionStateMsg) SetTxId(v string)

SetTxId sets field value

func (TxInclusionStateMsg) ToMap

func (o TxInclusionStateMsg) ToMap() (map[string]interface{}, error)

type TxInclusionStateMsgMetricItem

type TxInclusionStateMsgMetricItem struct {
	LastMessage TxInclusionStateMsg `json:"lastMessage"`
	Messages    uint32              `json:"messages"`
	Timestamp   time.Time           `json:"timestamp"`
}

TxInclusionStateMsgMetricItem struct for TxInclusionStateMsgMetricItem

func NewTxInclusionStateMsgMetricItem

func NewTxInclusionStateMsgMetricItem(lastMessage TxInclusionStateMsg, messages uint32, timestamp time.Time) *TxInclusionStateMsgMetricItem

NewTxInclusionStateMsgMetricItem instantiates a new TxInclusionStateMsgMetricItem 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 NewTxInclusionStateMsgMetricItemWithDefaults

func NewTxInclusionStateMsgMetricItemWithDefaults() *TxInclusionStateMsgMetricItem

NewTxInclusionStateMsgMetricItemWithDefaults instantiates a new TxInclusionStateMsgMetricItem 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 (*TxInclusionStateMsgMetricItem) GetLastMessage

GetLastMessage returns the LastMessage field value

func (*TxInclusionStateMsgMetricItem) GetLastMessageOk

func (o *TxInclusionStateMsgMetricItem) GetLastMessageOk() (*TxInclusionStateMsg, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*TxInclusionStateMsgMetricItem) GetMessages

func (o *TxInclusionStateMsgMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*TxInclusionStateMsgMetricItem) GetMessagesOk

func (o *TxInclusionStateMsgMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*TxInclusionStateMsgMetricItem) GetTimestamp

func (o *TxInclusionStateMsgMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*TxInclusionStateMsgMetricItem) GetTimestampOk

func (o *TxInclusionStateMsgMetricItem) 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 (TxInclusionStateMsgMetricItem) MarshalJSON

func (o TxInclusionStateMsgMetricItem) MarshalJSON() ([]byte, error)

func (*TxInclusionStateMsgMetricItem) SetLastMessage

SetLastMessage sets field value

func (*TxInclusionStateMsgMetricItem) SetMessages

func (o *TxInclusionStateMsgMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*TxInclusionStateMsgMetricItem) SetTimestamp

func (o *TxInclusionStateMsgMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (TxInclusionStateMsgMetricItem) ToMap

func (o TxInclusionStateMsgMetricItem) ToMap() (map[string]interface{}, error)

type UTXOInputMetricItem

type UTXOInputMetricItem struct {
	LastMessage OutputID  `json:"lastMessage"`
	Messages    uint32    `json:"messages"`
	Timestamp   time.Time `json:"timestamp"`
}

UTXOInputMetricItem struct for UTXOInputMetricItem

func NewUTXOInputMetricItem

func NewUTXOInputMetricItem(lastMessage OutputID, messages uint32, timestamp time.Time) *UTXOInputMetricItem

NewUTXOInputMetricItem instantiates a new UTXOInputMetricItem 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 NewUTXOInputMetricItemWithDefaults

func NewUTXOInputMetricItemWithDefaults() *UTXOInputMetricItem

NewUTXOInputMetricItemWithDefaults instantiates a new UTXOInputMetricItem 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 (*UTXOInputMetricItem) GetLastMessage

func (o *UTXOInputMetricItem) GetLastMessage() OutputID

GetLastMessage returns the LastMessage field value

func (*UTXOInputMetricItem) GetLastMessageOk

func (o *UTXOInputMetricItem) GetLastMessageOk() (*OutputID, bool)

GetLastMessageOk returns a tuple with the LastMessage field value and a boolean to check if the value has been set.

func (*UTXOInputMetricItem) GetMessages

func (o *UTXOInputMetricItem) GetMessages() uint32

GetMessages returns the Messages field value

func (*UTXOInputMetricItem) GetMessagesOk

func (o *UTXOInputMetricItem) GetMessagesOk() (*uint32, bool)

GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.

func (*UTXOInputMetricItem) GetTimestamp

func (o *UTXOInputMetricItem) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*UTXOInputMetricItem) GetTimestampOk

func (o *UTXOInputMetricItem) 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 (UTXOInputMetricItem) MarshalJSON

func (o UTXOInputMetricItem) MarshalJSON() ([]byte, error)

func (*UTXOInputMetricItem) SetLastMessage

func (o *UTXOInputMetricItem) SetLastMessage(v OutputID)

SetLastMessage sets field value

func (*UTXOInputMetricItem) SetMessages

func (o *UTXOInputMetricItem) SetMessages(v uint32)

SetMessages sets field value

func (*UTXOInputMetricItem) SetTimestamp

func (o *UTXOInputMetricItem) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (UTXOInputMetricItem) ToMap

func (o UTXOInputMetricItem) ToMap() (map[string]interface{}, error)

type UpdateUserPasswordRequest

type UpdateUserPasswordRequest struct {
	Password string `json:"password"`
}

UpdateUserPasswordRequest struct for UpdateUserPasswordRequest

func NewUpdateUserPasswordRequest

func NewUpdateUserPasswordRequest(password string) *UpdateUserPasswordRequest

NewUpdateUserPasswordRequest instantiates a new UpdateUserPasswordRequest 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 NewUpdateUserPasswordRequestWithDefaults

func NewUpdateUserPasswordRequestWithDefaults() *UpdateUserPasswordRequest

NewUpdateUserPasswordRequestWithDefaults instantiates a new UpdateUserPasswordRequest 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 (*UpdateUserPasswordRequest) GetPassword

func (o *UpdateUserPasswordRequest) GetPassword() string

GetPassword returns the Password field value

func (*UpdateUserPasswordRequest) GetPasswordOk

func (o *UpdateUserPasswordRequest) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.

func (UpdateUserPasswordRequest) MarshalJSON

func (o UpdateUserPasswordRequest) MarshalJSON() ([]byte, error)

func (*UpdateUserPasswordRequest) SetPassword

func (o *UpdateUserPasswordRequest) SetPassword(v string)

SetPassword sets field value

func (UpdateUserPasswordRequest) ToMap

func (o UpdateUserPasswordRequest) ToMap() (map[string]interface{}, error)

type UpdateUserPermissionsRequest

type UpdateUserPermissionsRequest struct {
	Permissions []string `json:"permissions"`
}

UpdateUserPermissionsRequest struct for UpdateUserPermissionsRequest

func NewUpdateUserPermissionsRequest

func NewUpdateUserPermissionsRequest(permissions []string) *UpdateUserPermissionsRequest

NewUpdateUserPermissionsRequest instantiates a new UpdateUserPermissionsRequest 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 NewUpdateUserPermissionsRequestWithDefaults

func NewUpdateUserPermissionsRequestWithDefaults() *UpdateUserPermissionsRequest

NewUpdateUserPermissionsRequestWithDefaults instantiates a new UpdateUserPermissionsRequest 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 (*UpdateUserPermissionsRequest) GetPermissions

func (o *UpdateUserPermissionsRequest) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*UpdateUserPermissionsRequest) GetPermissionsOk

func (o *UpdateUserPermissionsRequest) GetPermissionsOk() ([]string, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (UpdateUserPermissionsRequest) MarshalJSON

func (o UpdateUserPermissionsRequest) MarshalJSON() ([]byte, error)

func (*UpdateUserPermissionsRequest) SetPermissions

func (o *UpdateUserPermissionsRequest) SetPermissions(v []string)

SetPermissions sets field value

func (UpdateUserPermissionsRequest) ToMap

func (o UpdateUserPermissionsRequest) ToMap() (map[string]interface{}, error)

type User

type User struct {
	Permissions []string `json:"permissions"`
	Username    string   `json:"username"`
}

User struct for User

func NewUser

func NewUser(permissions []string, username string) *User

NewUser instantiates a new User 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 NewUserWithDefaults

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User 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 (*User) GetPermissions

func (o *User) GetPermissions() []string

GetPermissions returns the Permissions field value

func (*User) GetPermissionsOk

func (o *User) GetPermissionsOk() ([]string, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (*User) GetUsername

func (o *User) GetUsername() string

GetUsername returns the Username field value

func (*User) GetUsernameOk

func (o *User) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetPermissions

func (o *User) SetPermissions(v []string)

SetPermissions sets field value

func (*User) SetUsername

func (o *User) SetUsername(v string)

SetUsername sets field value

func (User) ToMap

func (o User) ToMap() (map[string]interface{}, error)

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) AddUser

AddUser Add a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAddUserRequest

func (*UsersApiService) AddUserExecute

func (a *UsersApiService) AddUserExecute(r ApiAddUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) ChangeUserPassword

func (a *UsersApiService) ChangeUserPassword(ctx context.Context, username string) ApiChangeUserPasswordRequest

ChangeUserPassword Change user password

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The username
@return ApiChangeUserPasswordRequest

func (*UsersApiService) ChangeUserPasswordExecute

func (a *UsersApiService) ChangeUserPasswordExecute(r ApiChangeUserPasswordRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) ChangeUserPermissions

func (a *UsersApiService) ChangeUserPermissions(ctx context.Context, username string) ApiChangeUserPermissionsRequest

ChangeUserPermissions Change user permissions

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The username
@return ApiChangeUserPermissionsRequest

func (*UsersApiService) ChangeUserPermissionsExecute

func (a *UsersApiService) ChangeUserPermissionsExecute(r ApiChangeUserPermissionsRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) DeleteUser

func (a *UsersApiService) DeleteUser(ctx context.Context, username string) ApiDeleteUserRequest

DeleteUser Deletes a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The username
@return ApiDeleteUserRequest

func (*UsersApiService) DeleteUserExecute

func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) GetUser

func (a *UsersApiService) GetUser(ctx context.Context, username string) ApiGetUserRequest

GetUser Get a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The username
@return ApiGetUserRequest

func (*UsersApiService) GetUserExecute

func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersApiService) GetUsers

GetUsers Get a list of all users

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUsersRequest

func (*UsersApiService) GetUsersExecute

func (a *UsersApiService) GetUsersExecute(r ApiGetUsersRequest) ([]User, *http.Response, error)

Execute executes the request

@return []User

type ValidationError

type ValidationError struct {
	Error             string `json:"error"`
	MissingPermission string `json:"missingPermission"`
}

ValidationError struct for ValidationError

func NewValidationError

func NewValidationError(error_ string, missingPermission string) *ValidationError

NewValidationError instantiates a new ValidationError 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 NewValidationErrorWithDefaults

func NewValidationErrorWithDefaults() *ValidationError

NewValidationErrorWithDefaults instantiates a new ValidationError 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 (*ValidationError) GetError

func (o *ValidationError) GetError() string

GetError returns the Error field value

func (*ValidationError) GetErrorOk

func (o *ValidationError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*ValidationError) GetMissingPermission

func (o *ValidationError) GetMissingPermission() string

GetMissingPermission returns the MissingPermission field value

func (*ValidationError) GetMissingPermissionOk

func (o *ValidationError) GetMissingPermissionOk() (*string, bool)

GetMissingPermissionOk returns a tuple with the MissingPermission field value and a boolean to check if the value has been set.

func (ValidationError) MarshalJSON

func (o ValidationError) MarshalJSON() ([]byte, error)

func (*ValidationError) SetError

func (o *ValidationError) SetError(v string)

SetError sets field value

func (*ValidationError) SetMissingPermission

func (o *ValidationError) SetMissingPermission(v string)

SetMissingPermission sets field value

func (ValidationError) ToMap

func (o ValidationError) ToMap() (map[string]interface{}, error)

type VersionResponse

type VersionResponse struct {
	// The version of the node
	Version string `json:"version"`
}

VersionResponse struct for VersionResponse

func NewVersionResponse

func NewVersionResponse(version string) *VersionResponse

NewVersionResponse instantiates a new VersionResponse 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 NewVersionResponseWithDefaults

func NewVersionResponseWithDefaults() *VersionResponse

NewVersionResponseWithDefaults instantiates a new VersionResponse 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 (*VersionResponse) GetVersion

func (o *VersionResponse) GetVersion() string

GetVersion returns the Version field value

func (*VersionResponse) GetVersionOk

func (o *VersionResponse) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (VersionResponse) MarshalJSON

func (o VersionResponse) MarshalJSON() ([]byte, error)

func (*VersionResponse) SetVersion

func (o *VersionResponse) SetVersion(v string)

SetVersion sets field value

func (VersionResponse) ToMap

func (o VersionResponse) ToMap() (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

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