sdk-go-zincsearch/docs/MetaIPRange.md
2022-06-24 13:04:50 +08:00

2.0 KiB

MetaIPRange

Properties

Name Type Description Notes
From Pointer to string [optional]
To Pointer to string [optional]

Methods

NewMetaIPRange

func NewMetaIPRange() *MetaIPRange

NewMetaIPRange instantiates a new MetaIPRange 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

NewMetaIPRangeWithDefaults

func NewMetaIPRangeWithDefaults() *MetaIPRange

NewMetaIPRangeWithDefaults instantiates a new MetaIPRange 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 *MetaIPRange) GetFrom() string

GetFrom returns the From field if non-nil, zero value otherwise.

GetFromOk

func (o *MetaIPRange) GetFromOk() (*string, 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 *MetaIPRange) SetFrom(v string)

SetFrom sets From field to given value.

HasFrom

func (o *MetaIPRange) HasFrom() bool

HasFrom returns a boolean if a field has been set.

GetTo

func (o *MetaIPRange) GetTo() string

GetTo returns the To field if non-nil, zero value otherwise.

GetToOk

func (o *MetaIPRange) GetToOk() (*string, 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 *MetaIPRange) SetTo(v string)

SetTo sets To field to given value.

HasTo

func (o *MetaIPRange) HasTo() bool

HasTo returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]