Skip to content

Latest commit

 

History

History
216 lines (119 loc) · 6.72 KB

MacpoolPool.md

File metadata and controls

216 lines (119 loc) · 6.72 KB

MacpoolPool

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.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]

Methods

NewMacpoolPool

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

NewMacpoolPoolWithDefaults

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

GetClassId

func (o *MacpoolPool) GetClassId() string

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

GetClassIdOk

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.

SetClassId

func (o *MacpoolPool) SetClassId(v string)

SetClassId sets ClassId field to given value.

GetObjectType

func (o *MacpoolPool) GetObjectType() string

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

GetObjectTypeOk

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.

SetObjectType

func (o *MacpoolPool) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetMacBlocks

func (o *MacpoolPool) GetMacBlocks() []MacpoolBlock

GetMacBlocks returns the MacBlocks field if non-nil, zero value otherwise.

GetMacBlocksOk

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.

SetMacBlocks

func (o *MacpoolPool) SetMacBlocks(v []MacpoolBlock)

SetMacBlocks sets MacBlocks field to given value.

HasMacBlocks

func (o *MacpoolPool) HasMacBlocks() bool

HasMacBlocks returns a boolean if a field has been set.

SetMacBlocksNil

func (o *MacpoolPool) SetMacBlocksNil(b bool)

SetMacBlocksNil sets the value for MacBlocks to be an explicit nil

UnsetMacBlocks

func (o *MacpoolPool) UnsetMacBlocks()

UnsetMacBlocks ensures that no value is present for MacBlocks, not even an explicit nil

GetBlockHeads

func (o *MacpoolPool) GetBlockHeads() []MacpoolIdBlockRelationship

GetBlockHeads returns the BlockHeads field if non-nil, zero value otherwise.

GetBlockHeadsOk

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.

SetBlockHeads

func (o *MacpoolPool) SetBlockHeads(v []MacpoolIdBlockRelationship)

SetBlockHeads sets BlockHeads field to given value.

HasBlockHeads

func (o *MacpoolPool) HasBlockHeads() bool

HasBlockHeads returns a boolean if a field has been set.

SetBlockHeadsNil

func (o *MacpoolPool) SetBlockHeadsNil(b bool)

SetBlockHeadsNil sets the value for BlockHeads to be an explicit nil

UnsetBlockHeads

func (o *MacpoolPool) UnsetBlockHeads()

UnsetBlockHeads ensures that no value is present for BlockHeads, not even an explicit nil

GetOrganization

func (o *MacpoolPool) GetOrganization() OrganizationOrganizationRelationship

GetOrganization returns the Organization field if non-nil, zero value otherwise.

GetOrganizationOk

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.

SetOrganization

func (o *MacpoolPool) SetOrganization(v OrganizationOrganizationRelationship)

SetOrganization sets Organization field to given value.

HasOrganization

func (o *MacpoolPool) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

SetOrganizationNil

func (o *MacpoolPool) SetOrganizationNil(b bool)

SetOrganizationNil sets the value for Organization to be an explicit nil

UnsetOrganization

func (o *MacpoolPool) UnsetOrganization()

UnsetOrganization ensures that no value is present for Organization, not even an explicit nil

GetReservations

func (o *MacpoolPool) GetReservations() []MacpoolReservationRelationship

GetReservations returns the Reservations field if non-nil, zero value otherwise.

GetReservationsOk

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.

SetReservations

func (o *MacpoolPool) SetReservations(v []MacpoolReservationRelationship)

SetReservations sets Reservations field to given value.

HasReservations

func (o *MacpoolPool) HasReservations() bool

HasReservations returns a boolean if a field has been set.

SetReservationsNil

func (o *MacpoolPool) SetReservationsNil(b bool)

SetReservationsNil sets the value for Reservations to be an explicit nil

UnsetReservations

func (o *MacpoolPool) UnsetReservations()

UnsetReservations ensures that no value is present for Reservations, not even an explicit nil

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