1.7 KiB
Web3ChainList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Chains | Pointer to []Web3Chain | Chains is every chain this deployment is configured to reach, sorted by id. Empty when none are configured — never a fabricated entry. | [optional] |
Methods
NewWeb3ChainList
func NewWeb3ChainList() *Web3ChainList
NewWeb3ChainList instantiates a new Web3ChainList 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
NewWeb3ChainListWithDefaults
func NewWeb3ChainListWithDefaults() *Web3ChainList
NewWeb3ChainListWithDefaults instantiates a new Web3ChainList 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
GetChains
func (o *Web3ChainList) GetChains() []Web3Chain
GetChains returns the Chains field if non-nil, zero value otherwise.
GetChainsOk
func (o *Web3ChainList) GetChainsOk() (*[]Web3Chain, bool)
GetChainsOk returns a tuple with the Chains field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChains
func (o *Web3ChainList) SetChains(v []Web3Chain)
SetChains sets Chains field to given value.
HasChains
func (o *Web3ChainList) HasChains() bool
HasChains returns a boolean if a field has been set.