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] |
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
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
func (o *MacpoolLease) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *MacpoolLease) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *MacpoolLease) GetMacAddress() string
GetMacAddress returns the MacAddress field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetMacAddress(v string)
SetMacAddress sets MacAddress field to given value.
func (o *MacpoolLease) HasMacAddress() bool
HasMacAddress returns a boolean if a field has been set.
func (o *MacpoolLease) GetReservation() MacpoolReservationReference
GetReservation returns the Reservation field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetReservation(v MacpoolReservationReference)
SetReservation sets Reservation field to given value.
func (o *MacpoolLease) HasReservation() bool
HasReservation returns a boolean if a field has been set.
func (o *MacpoolLease) GetAssignedToEntity() MoBaseMoRelationship
GetAssignedToEntity returns the AssignedToEntity field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetAssignedToEntity(v MoBaseMoRelationship)
SetAssignedToEntity sets AssignedToEntity field to given value.
func (o *MacpoolLease) HasAssignedToEntity() bool
HasAssignedToEntity returns a boolean if a field has been set.
func (o *MacpoolLease) SetAssignedToEntityNil(b bool)
SetAssignedToEntityNil sets the value for AssignedToEntity to be an explicit nil
func (o *MacpoolLease) UnsetAssignedToEntity()
UnsetAssignedToEntity ensures that no value is present for AssignedToEntity, not even an explicit nil
func (o *MacpoolLease) GetPool() MacpoolPoolRelationship
GetPool returns the Pool field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetPool(v MacpoolPoolRelationship)
SetPool sets Pool field to given value.
func (o *MacpoolLease) HasPool() bool
HasPool returns a boolean if a field has been set.
func (o *MacpoolLease) SetPoolNil(b bool)
SetPoolNil sets the value for Pool to be an explicit nil
func (o *MacpoolLease) UnsetPool()
UnsetPool ensures that no value is present for Pool, not even an explicit nil
func (o *MacpoolLease) GetPoolMember() MacpoolPoolMemberRelationship
GetPoolMember returns the PoolMember field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetPoolMember(v MacpoolPoolMemberRelationship)
SetPoolMember sets PoolMember field to given value.
func (o *MacpoolLease) HasPoolMember() bool
HasPoolMember returns a boolean if a field has been set.
func (o *MacpoolLease) SetPoolMemberNil(b bool)
SetPoolMemberNil sets the value for PoolMember to be an explicit nil
func (o *MacpoolLease) UnsetPoolMember()
UnsetPoolMember ensures that no value is present for PoolMember, not even an explicit nil
func (o *MacpoolLease) GetUniverse() MacpoolUniverseRelationship
GetUniverse returns the Universe field if non-nil, zero value otherwise.
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.
func (o *MacpoolLease) SetUniverse(v MacpoolUniverseRelationship)
SetUniverse sets Universe field to given value.
func (o *MacpoolLease) HasUniverse() bool
HasUniverse returns a boolean if a field has been set.
func (o *MacpoolLease) SetUniverseNil(b bool)
SetUniverseNil sets the value for Universe to be an explicit nil
func (o *MacpoolLease) UnsetUniverse()
UnsetUniverse ensures that no value is present for Universe, not even an explicit nil