Skip to content

Latest commit

 

History

History
268 lines (147 loc) · 8 KB

MacpoolLease.md

File metadata and controls

268 lines (147 loc) · 8 KB

MacpoolLease

Properties

Name Type Description Notes
ClassId string The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. [default to "macpool.Lease"]
ObjectType string The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. [default to "macpool.Lease"]
MacAddress Pointer to string MAC address allocated for pool-based allocation. [optional]
Reservation Pointer to MacpoolReservationReference [optional]
AssignedToEntity Pointer to NullableMoBaseMoRelationship [optional]
Pool Pointer to NullableMacpoolPoolRelationship [optional]
PoolMember Pointer to NullableMacpoolPoolMemberRelationship [optional]
Universe Pointer to NullableMacpoolUniverseRelationship [optional]

Methods

NewMacpoolLease

func NewMacpoolLease(classId string, objectType string, ) *MacpoolLease

NewMacpoolLease instantiates a new MacpoolLease 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

NewMacpoolLeaseWithDefaults

func NewMacpoolLeaseWithDefaults() *MacpoolLease

NewMacpoolLeaseWithDefaults instantiates a new MacpoolLease 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

GetClassId

func (o *MacpoolLease) GetClassId() string

GetClassId returns the ClassId field if non-nil, zero value otherwise.

GetClassIdOk

func (o *MacpoolLease) GetClassIdOk() (*string, bool)

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

SetClassId

func (o *MacpoolLease) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *MacpoolLease) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

func (o *MacpoolLease) GetObjectTypeOk() (*string, bool)

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

SetObjectType

func (o *MacpoolLease) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetMacAddress

func (o *MacpoolLease) GetMacAddress() string

GetMacAddress returns the MacAddress field if non-nil, zero value otherwise.

GetMacAddressOk

func (o *MacpoolLease) GetMacAddressOk() (*string, bool)

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

SetMacAddress

func (o *MacpoolLease) SetMacAddress(v string)

SetMacAddress sets MacAddress field to given value.

HasMacAddress

func (o *MacpoolLease) HasMacAddress() bool

HasMacAddress returns a boolean if a field has been set.

GetReservation

func (o *MacpoolLease) GetReservation() MacpoolReservationReference

GetReservation returns the Reservation field if non-nil, zero value otherwise.

GetReservationOk

func (o *MacpoolLease) GetReservationOk() (*MacpoolReservationReference, bool)

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

SetReservation

func (o *MacpoolLease) SetReservation(v MacpoolReservationReference)

SetReservation sets Reservation field to given value.

HasReservation

func (o *MacpoolLease) HasReservation() bool

HasReservation returns a boolean if a field has been set.

GetAssignedToEntity

func (o *MacpoolLease) GetAssignedToEntity() MoBaseMoRelationship

GetAssignedToEntity returns the AssignedToEntity field if non-nil, zero value otherwise.

GetAssignedToEntityOk

func (o *MacpoolLease) GetAssignedToEntityOk() (*MoBaseMoRelationship, bool)

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

SetAssignedToEntity

func (o *MacpoolLease) SetAssignedToEntity(v MoBaseMoRelationship)

SetAssignedToEntity sets AssignedToEntity field to given value.

HasAssignedToEntity

func (o *MacpoolLease) HasAssignedToEntity() bool

HasAssignedToEntity returns a boolean if a field has been set.

SetAssignedToEntityNil

func (o *MacpoolLease) SetAssignedToEntityNil(b bool)

SetAssignedToEntityNil sets the value for AssignedToEntity to be an explicit nil

UnsetAssignedToEntity

func (o *MacpoolLease) UnsetAssignedToEntity()

UnsetAssignedToEntity ensures that no value is present for AssignedToEntity, not even an explicit nil

GetPool

func (o *MacpoolLease) GetPool() MacpoolPoolRelationship

GetPool returns the Pool field if non-nil, zero value otherwise.

GetPoolOk

func (o *MacpoolLease) GetPoolOk() (*MacpoolPoolRelationship, bool)

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

SetPool

func (o *MacpoolLease) SetPool(v MacpoolPoolRelationship)

SetPool sets Pool field to given value.

HasPool

func (o *MacpoolLease) HasPool() bool

HasPool returns a boolean if a field has been set.

SetPoolNil

func (o *MacpoolLease) SetPoolNil(b bool)

SetPoolNil sets the value for Pool to be an explicit nil

UnsetPool

func (o *MacpoolLease) UnsetPool()

UnsetPool ensures that no value is present for Pool, not even an explicit nil

GetPoolMember

func (o *MacpoolLease) GetPoolMember() MacpoolPoolMemberRelationship

GetPoolMember returns the PoolMember field if non-nil, zero value otherwise.

GetPoolMemberOk

func (o *MacpoolLease) GetPoolMemberOk() (*MacpoolPoolMemberRelationship, bool)

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

SetPoolMember

func (o *MacpoolLease) SetPoolMember(v MacpoolPoolMemberRelationship)

SetPoolMember sets PoolMember field to given value.

HasPoolMember

func (o *MacpoolLease) HasPoolMember() bool

HasPoolMember returns a boolean if a field has been set.

SetPoolMemberNil

func (o *MacpoolLease) SetPoolMemberNil(b bool)

SetPoolMemberNil sets the value for PoolMember to be an explicit nil

UnsetPoolMember

func (o *MacpoolLease) UnsetPoolMember()

UnsetPoolMember ensures that no value is present for PoolMember, not even an explicit nil

GetUniverse

func (o *MacpoolLease) GetUniverse() MacpoolUniverseRelationship

GetUniverse returns the Universe field if non-nil, zero value otherwise.

GetUniverseOk

func (o *MacpoolLease) GetUniverseOk() (*MacpoolUniverseRelationship, bool)

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

SetUniverse

func (o *MacpoolLease) SetUniverse(v MacpoolUniverseRelationship)

SetUniverse sets Universe field to given value.

HasUniverse

func (o *MacpoolLease) HasUniverse() bool

HasUniverse returns a boolean if a field has been set.

SetUniverseNil

func (o *MacpoolLease) SetUniverseNil(b bool)

SetUniverseNil sets the value for Universe to be an explicit nil

UnsetUniverse

func (o *MacpoolLease) UnsetUniverse()

UnsetUniverse ensures that no value is present for Universe, not even an explicit nil

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