// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type NodeInfoV2 struct {
	Decimals                   *int64   `json:"decimals,omitempty"`
	Features                   []string `json:"features,omitempty"`
	IsHealthy                  *bool    `json:"is_healthy,omitempty"`
	LatestMilestone            *int64   `json:"latest_milestone,omitempty"`
	LatestUncommittedMilestone *int64   `json:"latest_uncommitted_milestone,omitempty"`
	Name                       *string  `json:"name,omitempty"`
	NetworkName                *string  `json:"network_name,omitempty"`
	ProtocolVersion            *int64   `json:"protocol_version,omitempty"`
	Subunit                    *string  `json:"subunit,omitempty"`
	SupportedProtocolVersions  []int64  `json:"supported_protocol_versions,omitempty"`
	TickerSymbol               *string  `json:"ticker_symbol,omitempty"`
	TokenName                  *string  `json:"token_name,omitempty"`
	TokenSupply                *string  `json:"token_supply,omitempty"`
	Unit                       *string  `json:"unit,omitempty"`
	Version                    *string  `json:"version,omitempty"`
}

func (o *NodeInfoV2) GetDecimals() *int64 {
	if o == nil {
		return nil
	}
	return o.Decimals
}

func (o *NodeInfoV2) GetFeatures() []string {
	if o == nil {
		return nil
	}
	return o.Features
}

func (o *NodeInfoV2) GetIsHealthy() *bool {
	if o == nil {
		return nil
	}
	return o.IsHealthy
}

func (o *NodeInfoV2) GetLatestMilestone() *int64 {
	if o == nil {
		return nil
	}
	return o.LatestMilestone
}

func (o *NodeInfoV2) GetLatestUncommittedMilestone() *int64 {
	if o == nil {
		return nil
	}
	return o.LatestUncommittedMilestone
}

func (o *NodeInfoV2) GetName() *string {
	if o == nil {
		return nil
	}
	return o.Name
}

func (o *NodeInfoV2) GetNetworkName() *string {
	if o == nil {
		return nil
	}
	return o.NetworkName
}

func (o *NodeInfoV2) GetProtocolVersion() *int64 {
	if o == nil {
		return nil
	}
	return o.ProtocolVersion
}

func (o *NodeInfoV2) GetSubunit() *string {
	if o == nil {
		return nil
	}
	return o.Subunit
}

func (o *NodeInfoV2) GetSupportedProtocolVersions() []int64 {
	if o == nil {
		return nil
	}
	return o.SupportedProtocolVersions
}

func (o *NodeInfoV2) GetTickerSymbol() *string {
	if o == nil {
		return nil
	}
	return o.TickerSymbol
}

func (o *NodeInfoV2) GetTokenName() *string {
	if o == nil {
		return nil
	}
	return o.TokenName
}

func (o *NodeInfoV2) GetTokenSupply() *string {
	if o == nil {
		return nil
	}
	return o.TokenSupply
}

func (o *NodeInfoV2) GetUnit() *string {
	if o == nil {
		return nil
	}
	return o.Unit
}

func (o *NodeInfoV2) GetVersion() *string {
	if o == nil {
		return nil
	}
	return o.Version
}
