ModelRange
July 15, 2026 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| From | Pointer to interface{} | [optional] | |
| To | Pointer to interface{} | [optional] |
Methods
NewModelRange
func NewModelRange() *ModelRange
NewModelRange instantiates a new ModelRange 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
NewModelRangeWithDefaults
func NewModelRangeWithDefaults() *ModelRange
NewModelRangeWithDefaults instantiates a new ModelRange 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
GetFrom
func (o *ModelRange) GetFrom() interface{}
GetFrom returns the From field if non-nil, zero value otherwise.
GetFromOk
func (o *ModelRange) GetFromOk() (*interface{}, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFrom
func (o *ModelRange) SetFrom(v interface{})
SetFrom sets From field to given value.
HasFrom
func (o *ModelRange) HasFrom() bool
HasFrom returns a boolean if a field has been set.
SetFromNil
func (o *ModelRange) SetFromNil(b bool)
SetFromNil sets the value for From to be an explicit nil
UnsetFrom
func (o *ModelRange) UnsetFrom()
UnsetFrom ensures that no value is present for From, not even an explicit nil
GetTo
func (o *ModelRange) GetTo() interface{}
GetTo returns the To field if non-nil, zero value otherwise.
GetToOk
func (o *ModelRange) GetToOk() (*interface{}, bool)
GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTo
func (o *ModelRange) SetTo(v interface{})
SetTo sets To field to given value.
HasTo
func (o *ModelRange) HasTo() bool
HasTo returns a boolean if a field has been set.
SetToNil
func (o *ModelRange) SetToNil(b bool)
SetToNil sets the value for To to be an explicit nil
UnsetTo
func (o *ModelRange) UnsetTo()
UnsetTo ensures that no value is present for To, not even an explicit nil