Id
Pointer to string
The resource's unique identifier
[optional] [readonly]
Type
The type of the resource
[optional]
Href
Pointer to string
URL to the object representation (absolute path)
[optional] [readonly]
Metadata
[optional]
Properties
[optional]
Entities
[optional]
func NewResource() *Resource
NewResource instantiates a new Resource 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 NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource 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 *Resource) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Resource) 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.
func (o *Resource) SetId(v string)
SetId sets Id field to given value.
func (o *Resource) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Resource) GetType() Type
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Resource) GetTypeOk() (*Type, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetType(v Type)
SetType sets Type field to given value.
func (o *Resource) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Resource) GetHref() string
GetHref returns the Href field if non-nil, zero value otherwise.
func (o *Resource) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetHref(v string)
SetHref sets Href field to given value.
func (o *Resource) HasHref() bool
HasHref returns a boolean if a field has been set.
func (o *Resource) GetMetadata() DatacenterElementMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Resource) GetMetadataOk() (*DatacenterElementMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetMetadata(v DatacenterElementMetadata)
SetMetadata sets Metadata field to given value.
func (o *Resource) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *Resource) GetProperties() ResourceProperties
GetProperties returns the Properties field if non-nil, zero value otherwise.
func (o *Resource) GetPropertiesOk() (*ResourceProperties, bool)
GetPropertiesOk returns a tuple with the Properties field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetProperties(v ResourceProperties)
SetProperties sets Properties field to given value.
func (o *Resource) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (o *Resource) GetEntities() ResourceEntities
GetEntities returns the Entities field if non-nil, zero value otherwise.
func (o *Resource) GetEntitiesOk() (*ResourceEntities, bool)
GetEntitiesOk returns a tuple with the Entities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Resource) SetEntities(v ResourceEntities)
SetEntities sets Entities field to given value.
func (o *Resource) HasEntities() bool
HasEntities returns a boolean if a field has been set.
Pointer to
Pointer to
Pointer to
Pointer to