Skip to content

Latest commit

 

History

History
212 lines (115 loc) · 5.6 KB

IPReservationFacility.md

File metadata and controls

212 lines (115 loc) · 5.6 KB

IPReservationFacility

Properties

Name Type Description Notes
Address Pointer to Address [optional]
Code Pointer to string [optional]
Features Pointer to []FacilityFeaturesInner [optional]
Id Pointer to string [optional]
IpRanges Pointer to []string IP ranges registered in facility. Can be used for GeoIP location [optional]
Metro Pointer to DeviceMetro [optional]
Name Pointer to string [optional]

Methods

NewIPReservationFacility

func NewIPReservationFacility() *IPReservationFacility

NewIPReservationFacility instantiates a new IPReservationFacility 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

NewIPReservationFacilityWithDefaults

func NewIPReservationFacilityWithDefaults() *IPReservationFacility

NewIPReservationFacilityWithDefaults instantiates a new IPReservationFacility 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

GetAddress

func (o *IPReservationFacility) GetAddress() Address

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *IPReservationFacility) GetAddressOk() (*Address, bool)

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

SetAddress

func (o *IPReservationFacility) SetAddress(v Address)

SetAddress sets Address field to given value.

HasAddress

func (o *IPReservationFacility) HasAddress() bool

HasAddress returns a boolean if a field has been set.

GetCode

func (o *IPReservationFacility) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

func (o *IPReservationFacility) GetCodeOk() (*string, bool)

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

SetCode

func (o *IPReservationFacility) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *IPReservationFacility) HasCode() bool

HasCode returns a boolean if a field has been set.

GetFeatures

func (o *IPReservationFacility) GetFeatures() []FacilityFeaturesInner

GetFeatures returns the Features field if non-nil, zero value otherwise.

GetFeaturesOk

func (o *IPReservationFacility) GetFeaturesOk() (*[]FacilityFeaturesInner, bool)

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

SetFeatures

func (o *IPReservationFacility) SetFeatures(v []FacilityFeaturesInner)

SetFeatures sets Features field to given value.

HasFeatures

func (o *IPReservationFacility) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

GetId

func (o *IPReservationFacility) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *IPReservationFacility) GetIdOk() (*string, bool)

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

SetId

func (o *IPReservationFacility) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *IPReservationFacility) HasId() bool

HasId returns a boolean if a field has been set.

GetIpRanges

func (o *IPReservationFacility) GetIpRanges() []string

GetIpRanges returns the IpRanges field if non-nil, zero value otherwise.

GetIpRangesOk

func (o *IPReservationFacility) GetIpRangesOk() (*[]string, bool)

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

SetIpRanges

func (o *IPReservationFacility) SetIpRanges(v []string)

SetIpRanges sets IpRanges field to given value.

HasIpRanges

func (o *IPReservationFacility) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

GetMetro

func (o *IPReservationFacility) GetMetro() DeviceMetro

GetMetro returns the Metro field if non-nil, zero value otherwise.

GetMetroOk

func (o *IPReservationFacility) GetMetroOk() (*DeviceMetro, bool)

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

SetMetro

func (o *IPReservationFacility) SetMetro(v DeviceMetro)

SetMetro sets Metro field to given value.

HasMetro

func (o *IPReservationFacility) HasMetro() bool

HasMetro returns a boolean if a field has been set.

GetName

func (o *IPReservationFacility) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *IPReservationFacility) GetNameOk() (*string, bool)

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

SetName

func (o *IPReservationFacility) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *IPReservationFacility) HasName() bool

HasName returns a boolean if a field has been set.

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