Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
Url | string | [readonly] | |
Device | NestedDevice | ||
Parent | Pointer to NullableString | [optional] | |
Name | string | ||
Label | Pointer to string | Physical label | [optional] |
Manufacturer | Pointer to NullableInventoryItemManufacturer | [optional] | |
PartId | Pointer to string | Manufacturer-assigned part identifier | [optional] |
Serial | Pointer to string | [optional] | |
AssetTag | Pointer to NullableString | A unique tag used to identify this item | [optional] |
Discovered | Pointer to bool | This item was automatically discovered | [optional] |
Description | Pointer to string | [optional] | |
Tags | Pointer to []TagSerializerField | [optional] | |
Depth | int32 | [readonly] | |
CustomFields | Pointer to map[string]interface{} | [optional] | |
Display | string | Human friendly display value | [readonly] |
func NewInventoryItem(id string, url string, device NestedDevice, name string, depth int32, display string, ) *InventoryItem
NewInventoryItem instantiates a new InventoryItem 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 NewInventoryItemWithDefaults() *InventoryItem
NewInventoryItemWithDefaults instantiates a new InventoryItem 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 *InventoryItem) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetId(v string)
SetId sets Id field to given value.
func (o *InventoryItem) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *InventoryItem) GetDevice() NestedDevice
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *InventoryItem) GetDeviceOk() (*NestedDevice, bool)
GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItem) SetDevice(v NestedDevice)
SetDevice sets Device field to given value.
func (o *InventoryItem) GetParent() string
GetParent returns the Parent field if non-nil, zero value otherwise.
func (o *InventoryItem) GetParentOk() (*string, 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 *InventoryItem) SetParent(v string)
SetParent sets Parent field to given value.
func (o *InventoryItem) HasParent() bool
HasParent returns a boolean if a field has been set.
func (o *InventoryItem) SetParentNil(b bool)
SetParentNil sets the value for Parent to be an explicit nil
func (o *InventoryItem) UnsetParent()
UnsetParent ensures that no value is present for Parent, not even an explicit nil
func (o *InventoryItem) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetName(v string)
SetName sets Name field to given value.
func (o *InventoryItem) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *InventoryItem) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *InventoryItem) GetManufacturer() InventoryItemManufacturer
GetManufacturer returns the Manufacturer field if non-nil, zero value otherwise.
func (o *InventoryItem) GetManufacturerOk() (*InventoryItemManufacturer, 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 *InventoryItem) SetManufacturer(v InventoryItemManufacturer)
SetManufacturer sets Manufacturer field to given value.
func (o *InventoryItem) HasManufacturer() bool
HasManufacturer returns a boolean if a field has been set.
func (o *InventoryItem) SetManufacturerNil(b bool)
SetManufacturerNil sets the value for Manufacturer to be an explicit nil
func (o *InventoryItem) UnsetManufacturer()
UnsetManufacturer ensures that no value is present for Manufacturer, not even an explicit nil
func (o *InventoryItem) GetPartId() string
GetPartId returns the PartId field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetPartId(v string)
SetPartId sets PartId field to given value.
func (o *InventoryItem) HasPartId() bool
HasPartId returns a boolean if a field has been set.
func (o *InventoryItem) GetSerial() string
GetSerial returns the Serial field if non-nil, zero value otherwise.
func (o *InventoryItem) GetSerialOk() (*string, bool)
GetSerialOk returns a tuple with the Serial field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItem) SetSerial(v string)
SetSerial sets Serial field to given value.
func (o *InventoryItem) HasSerial() bool
HasSerial returns a boolean if a field has been set.
func (o *InventoryItem) GetAssetTag() string
GetAssetTag returns the AssetTag field if non-nil, zero value otherwise.
func (o *InventoryItem) GetAssetTagOk() (*string, bool)
GetAssetTagOk returns a tuple with the AssetTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItem) SetAssetTag(v string)
SetAssetTag sets AssetTag field to given value.
func (o *InventoryItem) HasAssetTag() bool
HasAssetTag returns a boolean if a field has been set.
func (o *InventoryItem) SetAssetTagNil(b bool)
SetAssetTagNil sets the value for AssetTag to be an explicit nil
func (o *InventoryItem) UnsetAssetTag()
UnsetAssetTag ensures that no value is present for AssetTag, not even an explicit nil
func (o *InventoryItem) GetDiscovered() bool
GetDiscovered returns the Discovered field if non-nil, zero value otherwise.
func (o *InventoryItem) GetDiscoveredOk() (*bool, bool)
GetDiscoveredOk returns a tuple with the Discovered field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItem) SetDiscovered(v bool)
SetDiscovered sets Discovered field to given value.
func (o *InventoryItem) HasDiscovered() bool
HasDiscovered returns a boolean if a field has been set.
func (o *InventoryItem) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *InventoryItem) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *InventoryItem) GetTags() []TagSerializerField
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *InventoryItem) GetTagsOk() (*[]TagSerializerField, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItem) SetTags(v []TagSerializerField)
SetTags sets Tags field to given value.
func (o *InventoryItem) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *InventoryItem) GetDepth() int32
GetDepth returns the Depth field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetDepth(v int32)
SetDepth sets Depth field to given value.
func (o *InventoryItem) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *InventoryItem) GetCustomFieldsOk() (*map[string]interface{}, bool)
GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InventoryItem) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *InventoryItem) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *InventoryItem) GetDisplay() string
GetDisplay returns the Display field if non-nil, zero value otherwise.
func (o *InventoryItem) 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 *InventoryItem) SetDisplay(v string)
SetDisplay sets Display field to given value.