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.Pool"] |
ObjectType | string | The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. | [default to "macpool.Pool"] |
MacBlocks | Pointer to []MacpoolBlock | [optional] | |
BlockHeads | Pointer to []MacpoolIdBlockRelationship | An array of relationships to macpoolIdBlock resources. | [optional] [readonly] |
Organization | Pointer to NullableOrganizationOrganizationRelationship | [optional] | |
Reservations | Pointer to []MacpoolReservationRelationship | An array of relationships to macpoolReservation resources. | [optional] |
func NewMacpoolPool(classId string, objectType string, ) *MacpoolPool
NewMacpoolPool instantiates a new MacpoolPool 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 NewMacpoolPoolWithDefaults() *MacpoolPool
NewMacpoolPoolWithDefaults instantiates a new MacpoolPool 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 *MacpoolPool) GetClassId() string
GetClassId returns the ClassId field if non-nil, zero value otherwise.
func (o *MacpoolPool) 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 *MacpoolPool) SetClassId(v string)
SetClassId sets ClassId field to given value.
func (o *MacpoolPool) GetObjectType() string
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
func (o *MacpoolPool) 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 *MacpoolPool) SetObjectType(v string)
SetObjectType sets ObjectType field to given value.
func (o *MacpoolPool) GetMacBlocks() []MacpoolBlock
GetMacBlocks returns the MacBlocks field if non-nil, zero value otherwise.
func (o *MacpoolPool) GetMacBlocksOk() (*[]MacpoolBlock, bool)
GetMacBlocksOk returns a tuple with the MacBlocks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MacpoolPool) SetMacBlocks(v []MacpoolBlock)
SetMacBlocks sets MacBlocks field to given value.
func (o *MacpoolPool) HasMacBlocks() bool
HasMacBlocks returns a boolean if a field has been set.
func (o *MacpoolPool) SetMacBlocksNil(b bool)
SetMacBlocksNil sets the value for MacBlocks to be an explicit nil
func (o *MacpoolPool) UnsetMacBlocks()
UnsetMacBlocks ensures that no value is present for MacBlocks, not even an explicit nil
func (o *MacpoolPool) GetBlockHeads() []MacpoolIdBlockRelationship
GetBlockHeads returns the BlockHeads field if non-nil, zero value otherwise.
func (o *MacpoolPool) GetBlockHeadsOk() (*[]MacpoolIdBlockRelationship, bool)
GetBlockHeadsOk returns a tuple with the BlockHeads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MacpoolPool) SetBlockHeads(v []MacpoolIdBlockRelationship)
SetBlockHeads sets BlockHeads field to given value.
func (o *MacpoolPool) HasBlockHeads() bool
HasBlockHeads returns a boolean if a field has been set.
func (o *MacpoolPool) SetBlockHeadsNil(b bool)
SetBlockHeadsNil sets the value for BlockHeads to be an explicit nil
func (o *MacpoolPool) UnsetBlockHeads()
UnsetBlockHeads ensures that no value is present for BlockHeads, not even an explicit nil
func (o *MacpoolPool) GetOrganization() OrganizationOrganizationRelationship
GetOrganization returns the Organization field if non-nil, zero value otherwise.
func (o *MacpoolPool) GetOrganizationOk() (*OrganizationOrganizationRelationship, bool)
GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MacpoolPool) SetOrganization(v OrganizationOrganizationRelationship)
SetOrganization sets Organization field to given value.
func (o *MacpoolPool) HasOrganization() bool
HasOrganization returns a boolean if a field has been set.
func (o *MacpoolPool) SetOrganizationNil(b bool)
SetOrganizationNil sets the value for Organization to be an explicit nil
func (o *MacpoolPool) UnsetOrganization()
UnsetOrganization ensures that no value is present for Organization, not even an explicit nil
func (o *MacpoolPool) GetReservations() []MacpoolReservationRelationship
GetReservations returns the Reservations field if non-nil, zero value otherwise.
func (o *MacpoolPool) GetReservationsOk() (*[]MacpoolReservationRelationship, bool)
GetReservationsOk returns a tuple with the Reservations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MacpoolPool) SetReservations(v []MacpoolReservationRelationship)
SetReservations sets Reservations field to given value.
func (o *MacpoolPool) HasReservations() bool
HasReservations returns a boolean if a field has been set.
func (o *MacpoolPool) SetReservationsNil(b bool)
SetReservationsNil sets the value for Reservations to be an explicit nil
func (o *MacpoolPool) UnsetReservations()
UnsetReservations ensures that no value is present for Reservations, not even an explicit nil