Name | Type | Description | Notes |
---|---|---|---|
Public | bool | Whether to create a public or private IPv4 address. | |
Type | string | The type of address you are allocating. Only IPv4 addresses may be allocated through this operation. |
func NewPostAddLinodeIpRequest(public bool, type_ string, ) *PostAddLinodeIpRequest
NewPostAddLinodeIpRequest instantiates a new PostAddLinodeIpRequest 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 NewPostAddLinodeIpRequestWithDefaults() *PostAddLinodeIpRequest
NewPostAddLinodeIpRequestWithDefaults instantiates a new PostAddLinodeIpRequest 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 *PostAddLinodeIpRequest) GetPublic() bool
GetPublic returns the Public field if non-nil, zero value otherwise.
func (o *PostAddLinodeIpRequest) GetPublicOk() (*bool, bool)
GetPublicOk returns a tuple with the Public field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddLinodeIpRequest) SetPublic(v bool)
SetPublic sets Public field to given value.
func (o *PostAddLinodeIpRequest) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *PostAddLinodeIpRequest) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PostAddLinodeIpRequest) SetType(v string)
SetType sets Type field to given value.