Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.36 KB

File metadata and controls

134 lines (73 loc) · 3.36 KB

Ipv4

Properties

Name Type Description Notes
Primary Pointer to string [optional]
Secondary Pointer to string [optional]
NetworkMask Pointer to string [optional]
DefaultGateway Pointer to string [optional]

Methods

NewIpv4

func NewIpv4() *Ipv4

NewIpv4 instantiates a new Ipv4 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

NewIpv4WithDefaults

func NewIpv4WithDefaults() *Ipv4

NewIpv4WithDefaults instantiates a new Ipv4 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

GetPrimary

func (o *Ipv4) GetPrimary() string

GetPrimary returns the Primary field if non-nil, zero value otherwise.

GetPrimaryOk

func (o *Ipv4) GetPrimaryOk() (*string, bool)

GetPrimaryOk returns a tuple with the Primary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPrimary

func (o *Ipv4) SetPrimary(v string)

SetPrimary sets Primary field to given value.

HasPrimary

func (o *Ipv4) HasPrimary() bool

HasPrimary returns a boolean if a field has been set.

GetSecondary

func (o *Ipv4) GetSecondary() string

GetSecondary returns the Secondary field if non-nil, zero value otherwise.

GetSecondaryOk

func (o *Ipv4) GetSecondaryOk() (*string, bool)

GetSecondaryOk returns a tuple with the Secondary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSecondary

func (o *Ipv4) SetSecondary(v string)

SetSecondary sets Secondary field to given value.

HasSecondary

func (o *Ipv4) HasSecondary() bool

HasSecondary returns a boolean if a field has been set.

GetNetworkMask

func (o *Ipv4) GetNetworkMask() string

GetNetworkMask returns the NetworkMask field if non-nil, zero value otherwise.

GetNetworkMaskOk

func (o *Ipv4) GetNetworkMaskOk() (*string, bool)

GetNetworkMaskOk returns a tuple with the NetworkMask field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNetworkMask

func (o *Ipv4) SetNetworkMask(v string)

SetNetworkMask sets NetworkMask field to given value.

HasNetworkMask

func (o *Ipv4) HasNetworkMask() bool

HasNetworkMask returns a boolean if a field has been set.

GetDefaultGateway

func (o *Ipv4) GetDefaultGateway() string

GetDefaultGateway returns the DefaultGateway field if non-nil, zero value otherwise.

GetDefaultGatewayOk

func (o *Ipv4) GetDefaultGatewayOk() (*string, bool)

GetDefaultGatewayOk returns a tuple with the DefaultGateway field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDefaultGateway

func (o *Ipv4) SetDefaultGateway(v string)

SetDefaultGateway sets DefaultGateway field to given value.

HasDefaultGateway

func (o *Ipv4) HasDefaultGateway() bool

HasDefaultGateway returns a boolean if a field has been set.

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