Name | Type | Description | Notes |
---|---|---|---|
BaseToken | BaseToken | ||
MaxPayloadSize | int32 | The max payload size | |
Protocol | ProtocolParameters |
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() *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 (o *L1Params) GetBaseToken() BaseToken
GetBaseToken returns the BaseToken field if non-nil, zero value otherwise.
func (o *L1Params) GetBaseTokenOk() (*BaseToken, bool)
GetBaseTokenOk returns a tuple with the BaseToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *L1Params) SetBaseToken(v BaseToken)
SetBaseToken sets BaseToken field to given value.
func (o *L1Params) GetMaxPayloadSize() int32
GetMaxPayloadSize returns the MaxPayloadSize field if non-nil, zero value otherwise.
func (o *L1Params) GetMaxPayloadSizeOk() (*int32, bool)
GetMaxPayloadSizeOk returns a tuple with the MaxPayloadSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *L1Params) SetMaxPayloadSize(v int32)
SetMaxPayloadSize sets MaxPayloadSize field to given value.
func (o *L1Params) GetProtocol() ProtocolParameters
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *L1Params) GetProtocolOk() (*ProtocolParameters, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *L1Params) SetProtocol(v ProtocolParameters)
SetProtocol sets Protocol field to given value.