Name | Type | Description | Notes |
---|---|---|---|
Id | int32 | [readonly] | |
Url | string | [readonly] | |
Display | string | [readonly] | |
DeviceType | NestedDeviceType | ||
Parent | Pointer to NullableInt32 | [optional] | |
Name | string | {module} is accepted as a substitution for the module bay position when attached to a module type. | |
Label | Pointer to string | Physical label | [optional] |
Role | Pointer to NullableNestedInventoryItemRole | [optional] | |
Manufacturer | Pointer to NullableNestedManufacturer | [optional] | |
PartId | Pointer to string | Manufacturer-assigned part identifier | [optional] |
Description | Pointer to string | [optional] | |
ComponentType | Pointer to NullableString | [optional] | |
ComponentId | Pointer to NullableInt64 | [optional] | |
Component | map[string]interface{} | [readonly] | |
Created | NullableTime | [readonly] | |
LastUpdated | NullableTime | [readonly] | |
Depth | int32 | [readonly] |
func NewInventoryItemTemplate(id int32, url string, display string, deviceType NestedDeviceType, name string, component map[string]interface{}, created NullableTime, lastUpdated NullableTime, depth int32, ) *InventoryItemTemplate
NewInventoryItemTemplate instantiates a new InventoryItemTemplate 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 NewInventoryItemTemplateWithDefaults() *InventoryItemTemplate
NewInventoryItemTemplateWithDefaults instantiates a new InventoryItemTemplate 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 *InventoryItemTemplate) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetIdOk() (*int32, 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 *InventoryItemTemplate) SetId(v int32)
SetId sets Id field to given value.
func (o *InventoryItemTemplate) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *InventoryItemTemplate) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetDisplayOk() (*string, bool)
GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetDisplay(v string)
SetDisplay sets Display field to given value.
func (o *InventoryItemTemplate) GetDeviceType() NestedDeviceType
GetDeviceType returns the DeviceType field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetDeviceTypeOk() (*NestedDeviceType, bool)
GetDeviceTypeOk returns a tuple with the DeviceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetDeviceType(v NestedDeviceType)
SetDeviceType sets DeviceType field to given value.
func (o *InventoryItemTemplate) GetParent() int32
GetParent returns the Parent field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetParentOk() (*int32, bool)
GetParentOk returns a tuple with the Parent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetParent(v int32)
SetParent sets Parent field to given value.
func (o *InventoryItemTemplate) HasParent() bool
HasParent returns a boolean if a field has been set.
func (o *InventoryItemTemplate) SetParentNil(b bool)
SetParentNil sets the value for Parent to be an explicit nil
func (o *InventoryItemTemplate) UnsetParent()
UnsetParent ensures that no value is present for Parent, not even an explicit nil
func (o *InventoryItemTemplate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetName(v string)
SetName sets Name field to given value.
func (o *InventoryItemTemplate) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *InventoryItemTemplate) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *InventoryItemTemplate) GetRole() NestedInventoryItemRole
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetRoleOk() (*NestedInventoryItemRole, bool)
GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetRole(v NestedInventoryItemRole)
SetRole sets Role field to given value.
func (o *InventoryItemTemplate) HasRole() bool
HasRole returns a boolean if a field has been set.
func (o *InventoryItemTemplate) SetRoleNil(b bool)
SetRoleNil sets the value for Role to be an explicit nil
func (o *InventoryItemTemplate) UnsetRole()
UnsetRole ensures that no value is present for Role, not even an explicit nil
func (o *InventoryItemTemplate) GetManufacturer() NestedManufacturer
GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetManufacturerOk() (*NestedManufacturer, bool)
GetManufacturerOk returns a tuple with the Manufacturer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetManufacturer(v NestedManufacturer)
SetManufacturer sets Manufacturer field to given value.
func (o *InventoryItemTemplate) HasManufacturer() bool
HasManufacturer returns a boolean if a field has been set.
func (o *InventoryItemTemplate) SetManufacturerNil(b bool)
SetManufacturerNil sets the value for Manufacturer to be an explicit nil
func (o *InventoryItemTemplate) UnsetManufacturer()
UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil
func (o *InventoryItemTemplate) GetPartId() string
GetPartId returns the PartId field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetPartIdOk() (*string, bool)
GetPartIdOk returns a tuple with the PartId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetPartId(v string)
SetPartId sets PartId field to given value.
func (o *InventoryItemTemplate) HasPartId() bool
HasPartId returns a boolean if a field has been set.
func (o *InventoryItemTemplate) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *InventoryItemTemplate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *InventoryItemTemplate) GetComponentType() string
GetComponentType returns the ComponentType field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetComponentTypeOk() (*string, bool)
GetComponentTypeOk returns a tuple with the ComponentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetComponentType(v string)
SetComponentType sets ComponentType field to given value.
func (o *InventoryItemTemplate) HasComponentType() bool
HasComponentType returns a boolean if a field has been set.
func (o *InventoryItemTemplate) SetComponentTypeNil(b bool)
SetComponentTypeNil sets the value for ComponentType to be an explicit nil
func (o *InventoryItemTemplate) UnsetComponentType()
UnsetComponentType ensures that no value is present for ComponentType, not even an explicit nil
func (o *InventoryItemTemplate) GetComponentId() int64
GetComponentId returns the ComponentId field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetComponentIdOk() (*int64, bool)
GetComponentIdOk returns a tuple with the ComponentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetComponentId(v int64)
SetComponentId sets ComponentId field to given value.
func (o *InventoryItemTemplate) HasComponentId() bool
HasComponentId returns a boolean if a field has been set.
func (o *InventoryItemTemplate) SetComponentIdNil(b bool)
SetComponentIdNil sets the value for ComponentId to be an explicit nil
func (o *InventoryItemTemplate) UnsetComponentId()
UnsetComponentId ensures that no value is present for ComponentId, not even an explicit nil
func (o *InventoryItemTemplate) GetComponent() map[string]interface{}
GetComponent returns the Component field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetComponentOk() (*map[string]interface{}, bool)
GetComponentOk returns a tuple with the Component field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetComponent(v map[string]interface{})
SetComponent sets Component field to given value.
func (o *InventoryItemTemplate) SetComponentNil(b bool)
SetComponentNil sets the value for Component to be an explicit nil
func (o *InventoryItemTemplate) UnsetComponent()
UnsetComponent ensures that no value is present for Component, not even an explicit nil
func (o *InventoryItemTemplate) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *InventoryItemTemplate) SetCreatedNil(b bool)
SetCreatedNil sets the value for Created to be an explicit nil
func (o *InventoryItemTemplate) UnsetCreated()
UnsetCreated ensures that no value is present for Created, not even an explicit nil
func (o *InventoryItemTemplate) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetLastUpdatedOk() (*time.Time, bool)
GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *InventoryItemTemplate) SetLastUpdatedNil(b bool)
SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
func (o *InventoryItemTemplate) UnsetLastUpdated()
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
func (o *InventoryItemTemplate) GetDepth() int32
GetDepth returns the Depth field if non-nil, zero value otherwise.
func (o *InventoryItemTemplate) GetDepthOk() (*int32, bool)
GetDepthOk returns a tuple with the Depth field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItemTemplate) SetDepth(v int32)
SetDepth sets Depth field to given value.