Name | Type | Description | Notes |
---|---|---|---|
ResourceId | Pointer to NullableString | A custom identifier for the resource, which can be utilized to identify it for various operations such as updates, deletions, and other related tasks. If this identifier is not provided, the application will generate a new value for it automatically | [optional] |
Id | Pointer to NullableInt32 | The internal Id of asset | [optional] [readonly] |
DeviceIds | Pointer to []string | A list of unique device ids | [optional] |
ProjectId | string | ID of the project to which the asset belongs | |
GlobalAssetIdentifier | string | Unique identifier for the asset | |
Name | Pointer to NullableString | Alternate text for the asset to display in frontend | [optional] |
AssetType | string | Reference to asset type by name | |
Latitude | Pointer to NullableFloat64 | Latitude coordinate (GPS) of the asset | [optional] |
Longitude | Pointer to NullableFloat64 | Longitude coordinate (GPS) of the asset | [optional] |
IsTracker | Pointer to NullableBool | Does the asset function as a tracker and capture its position by itself | [optional] [default to false] |
TrackerId | Pointer to NullableInt32 | Tracker Asset Id | [optional] |
Description | Pointer to NullableString | Textual description for this asset | [optional] |
ParentFunctionalAssetId | Pointer to NullableInt32 | The id of an asset which groups this asset as a functional child | [optional] |
FunctionalAssetIdPath | Pointer to []int32 | The hierarchical path of functional ids of the asset | [optional] [readonly] |
ParentLocationalAssetId | Pointer to NullableInt32 | The id of an asset which groups this asset as a locational child | [optional] |
LocationalAssetIdPath | Pointer to []int32 | The hierarchical path of locational ids of the asset | [optional] [readonly] |
ParentFunctionalIdentifier | Pointer to NullableString | The identifier specified by the identifiedBy parameter classifies this asset as a functional child. | [optional] |
ParentLocationalIdentifier | Pointer to NullableString | The identifier specified by the identifiedBy parameter classifies this asset as a locational child | [optional] |
Tags | Pointer to []string | List of associated tags | [optional] |
ChildrenInfo | Pointer to []Asset | List of children for this asset. | [optional] [readonly] |
Attachments | Pointer to []Attachment | A list of files attached to the asset | [optional] |
func NewAsset(projectId string, globalAssetIdentifier string, assetType string, ) *Asset
NewAsset instantiates a new Asset 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 NewAssetWithDefaults() *Asset
NewAssetWithDefaults instantiates a new Asset 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 *Asset) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *Asset) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *Asset) HasResourceId() bool
HasResourceId returns a boolean if a field has been set.
func (o *Asset) SetResourceIdNil(b bool)
SetResourceIdNil sets the value for ResourceId to be an explicit nil
func (o *Asset) UnsetResourceId()
UnsetResourceId ensures that no value is present for ResourceId, not even an explicit nil
func (o *Asset) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Asset) 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 *Asset) SetId(v int32)
SetId sets Id field to given value.
func (o *Asset) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Asset) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
func (o *Asset) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *Asset) GetDeviceIds() []string
GetDeviceIds returns the DeviceIds field if non-nil, zero value otherwise.
func (o *Asset) GetDeviceIdsOk() (*[]string, bool)
GetDeviceIdsOk returns a tuple with the DeviceIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetDeviceIds(v []string)
SetDeviceIds sets DeviceIds field to given value.
func (o *Asset) HasDeviceIds() bool
HasDeviceIds returns a boolean if a field has been set.
func (o *Asset) SetDeviceIdsNil(b bool)
SetDeviceIdsNil sets the value for DeviceIds to be an explicit nil
func (o *Asset) UnsetDeviceIds()
UnsetDeviceIds ensures that no value is present for DeviceIds, not even an explicit nil
func (o *Asset) GetProjectId() string
GetProjectId returns the ProjectId field if non-nil, zero value otherwise.
func (o *Asset) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetProjectId(v string)
SetProjectId sets ProjectId field to given value.
func (o *Asset) GetGlobalAssetIdentifier() string
GetGlobalAssetIdentifier returns the GlobalAssetIdentifier field if non-nil, zero value otherwise.
func (o *Asset) GetGlobalAssetIdentifierOk() (*string, bool)
GetGlobalAssetIdentifierOk returns a tuple with the GlobalAssetIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetGlobalAssetIdentifier(v string)
SetGlobalAssetIdentifier sets GlobalAssetIdentifier field to given value.
func (o *Asset) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Asset) 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 *Asset) SetName(v string)
SetName sets Name field to given value.
func (o *Asset) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Asset) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *Asset) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *Asset) GetAssetType() string
GetAssetType returns the AssetType field if non-nil, zero value otherwise.
func (o *Asset) GetAssetTypeOk() (*string, bool)
GetAssetTypeOk returns a tuple with the AssetType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetAssetType(v string)
SetAssetType sets AssetType field to given value.
func (o *Asset) GetLatitude() float64
GetLatitude returns the Latitude field if non-nil, zero value otherwise.
func (o *Asset) GetLatitudeOk() (*float64, bool)
GetLatitudeOk returns a tuple with the Latitude field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetLatitude(v float64)
SetLatitude sets Latitude field to given value.
func (o *Asset) HasLatitude() bool
HasLatitude returns a boolean if a field has been set.
func (o *Asset) SetLatitudeNil(b bool)
SetLatitudeNil sets the value for Latitude to be an explicit nil
func (o *Asset) UnsetLatitude()
UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil
func (o *Asset) GetLongitude() float64
GetLongitude returns the Longitude field if non-nil, zero value otherwise.
func (o *Asset) GetLongitudeOk() (*float64, bool)
GetLongitudeOk returns a tuple with the Longitude field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetLongitude(v float64)
SetLongitude sets Longitude field to given value.
func (o *Asset) HasLongitude() bool
HasLongitude returns a boolean if a field has been set.
func (o *Asset) SetLongitudeNil(b bool)
SetLongitudeNil sets the value for Longitude to be an explicit nil
func (o *Asset) UnsetLongitude()
UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil
func (o *Asset) GetIsTracker() bool
GetIsTracker returns the IsTracker field if non-nil, zero value otherwise.
func (o *Asset) GetIsTrackerOk() (*bool, bool)
GetIsTrackerOk returns a tuple with the IsTracker field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetIsTracker(v bool)
SetIsTracker sets IsTracker field to given value.
func (o *Asset) HasIsTracker() bool
HasIsTracker returns a boolean if a field has been set.
func (o *Asset) SetIsTrackerNil(b bool)
SetIsTrackerNil sets the value for IsTracker to be an explicit nil
func (o *Asset) UnsetIsTracker()
UnsetIsTracker ensures that no value is present for IsTracker, not even an explicit nil
func (o *Asset) GetTrackerId() int32
GetTrackerId returns the TrackerId field if non-nil, zero value otherwise.
func (o *Asset) GetTrackerIdOk() (*int32, bool)
GetTrackerIdOk returns a tuple with the TrackerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetTrackerId(v int32)
SetTrackerId sets TrackerId field to given value.
func (o *Asset) HasTrackerId() bool
HasTrackerId returns a boolean if a field has been set.
func (o *Asset) SetTrackerIdNil(b bool)
SetTrackerIdNil sets the value for TrackerId to be an explicit nil
func (o *Asset) UnsetTrackerId()
UnsetTrackerId ensures that no value is present for TrackerId, not even an explicit nil
func (o *Asset) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Asset) 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 *Asset) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Asset) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Asset) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *Asset) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *Asset) GetParentFunctionalAssetId() int32
GetParentFunctionalAssetId returns the ParentFunctionalAssetId field if non-nil, zero value otherwise.
func (o *Asset) GetParentFunctionalAssetIdOk() (*int32, bool)
GetParentFunctionalAssetIdOk returns a tuple with the ParentFunctionalAssetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetParentFunctionalAssetId(v int32)
SetParentFunctionalAssetId sets ParentFunctionalAssetId field to given value.
func (o *Asset) HasParentFunctionalAssetId() bool
HasParentFunctionalAssetId returns a boolean if a field has been set.
func (o *Asset) SetParentFunctionalAssetIdNil(b bool)
SetParentFunctionalAssetIdNil sets the value for ParentFunctionalAssetId to be an explicit nil
func (o *Asset) UnsetParentFunctionalAssetId()
UnsetParentFunctionalAssetId ensures that no value is present for ParentFunctionalAssetId, not even an explicit nil
func (o *Asset) GetFunctionalAssetIdPath() []int32
GetFunctionalAssetIdPath returns the FunctionalAssetIdPath field if non-nil, zero value otherwise.
func (o *Asset) GetFunctionalAssetIdPathOk() (*[]int32, bool)
GetFunctionalAssetIdPathOk returns a tuple with the FunctionalAssetIdPath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetFunctionalAssetIdPath(v []int32)
SetFunctionalAssetIdPath sets FunctionalAssetIdPath field to given value.
func (o *Asset) HasFunctionalAssetIdPath() bool
HasFunctionalAssetIdPath returns a boolean if a field has been set.
func (o *Asset) SetFunctionalAssetIdPathNil(b bool)
SetFunctionalAssetIdPathNil sets the value for FunctionalAssetIdPath to be an explicit nil
func (o *Asset) UnsetFunctionalAssetIdPath()
UnsetFunctionalAssetIdPath ensures that no value is present for FunctionalAssetIdPath, not even an explicit nil
func (o *Asset) GetParentLocationalAssetId() int32
GetParentLocationalAssetId returns the ParentLocationalAssetId field if non-nil, zero value otherwise.
func (o *Asset) GetParentLocationalAssetIdOk() (*int32, bool)
GetParentLocationalAssetIdOk returns a tuple with the ParentLocationalAssetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetParentLocationalAssetId(v int32)
SetParentLocationalAssetId sets ParentLocationalAssetId field to given value.
func (o *Asset) HasParentLocationalAssetId() bool
HasParentLocationalAssetId returns a boolean if a field has been set.
func (o *Asset) SetParentLocationalAssetIdNil(b bool)
SetParentLocationalAssetIdNil sets the value for ParentLocationalAssetId to be an explicit nil
func (o *Asset) UnsetParentLocationalAssetId()
UnsetParentLocationalAssetId ensures that no value is present for ParentLocationalAssetId, not even an explicit nil
func (o *Asset) GetLocationalAssetIdPath() []int32
GetLocationalAssetIdPath returns the LocationalAssetIdPath field if non-nil, zero value otherwise.
func (o *Asset) GetLocationalAssetIdPathOk() (*[]int32, bool)
GetLocationalAssetIdPathOk returns a tuple with the LocationalAssetIdPath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetLocationalAssetIdPath(v []int32)
SetLocationalAssetIdPath sets LocationalAssetIdPath field to given value.
func (o *Asset) HasLocationalAssetIdPath() bool
HasLocationalAssetIdPath returns a boolean if a field has been set.
func (o *Asset) SetLocationalAssetIdPathNil(b bool)
SetLocationalAssetIdPathNil sets the value for LocationalAssetIdPath to be an explicit nil
func (o *Asset) UnsetLocationalAssetIdPath()
UnsetLocationalAssetIdPath ensures that no value is present for LocationalAssetIdPath, not even an explicit nil
func (o *Asset) GetParentFunctionalIdentifier() string
GetParentFunctionalIdentifier returns the ParentFunctionalIdentifier field if non-nil, zero value otherwise.
func (o *Asset) GetParentFunctionalIdentifierOk() (*string, bool)
GetParentFunctionalIdentifierOk returns a tuple with the ParentFunctionalIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetParentFunctionalIdentifier(v string)
SetParentFunctionalIdentifier sets ParentFunctionalIdentifier field to given value.
func (o *Asset) HasParentFunctionalIdentifier() bool
HasParentFunctionalIdentifier returns a boolean if a field has been set.
func (o *Asset) SetParentFunctionalIdentifierNil(b bool)
SetParentFunctionalIdentifierNil sets the value for ParentFunctionalIdentifier to be an explicit nil
func (o *Asset) UnsetParentFunctionalIdentifier()
UnsetParentFunctionalIdentifier ensures that no value is present for ParentFunctionalIdentifier, not even an explicit nil
func (o *Asset) GetParentLocationalIdentifier() string
GetParentLocationalIdentifier returns the ParentLocationalIdentifier field if non-nil, zero value otherwise.
func (o *Asset) GetParentLocationalIdentifierOk() (*string, bool)
GetParentLocationalIdentifierOk returns a tuple with the ParentLocationalIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetParentLocationalIdentifier(v string)
SetParentLocationalIdentifier sets ParentLocationalIdentifier field to given value.
func (o *Asset) HasParentLocationalIdentifier() bool
HasParentLocationalIdentifier returns a boolean if a field has been set.
func (o *Asset) SetParentLocationalIdentifierNil(b bool)
SetParentLocationalIdentifierNil sets the value for ParentLocationalIdentifier to be an explicit nil
func (o *Asset) UnsetParentLocationalIdentifier()
UnsetParentLocationalIdentifier ensures that no value is present for ParentLocationalIdentifier, not even an explicit nil
func (o *Asset) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Asset) GetTagsOk() (*[]string, 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 *Asset) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *Asset) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *Asset) SetTagsNil(b bool)
SetTagsNil sets the value for Tags to be an explicit nil
func (o *Asset) UnsetTags()
UnsetTags ensures that no value is present for Tags, not even an explicit nil
func (o *Asset) GetChildrenInfo() []Asset
GetChildrenInfo returns the ChildrenInfo field if non-nil, zero value otherwise.
func (o *Asset) GetChildrenInfoOk() (*[]Asset, bool)
GetChildrenInfoOk returns a tuple with the ChildrenInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetChildrenInfo(v []Asset)
SetChildrenInfo sets ChildrenInfo field to given value.
func (o *Asset) HasChildrenInfo() bool
HasChildrenInfo returns a boolean if a field has been set.
func (o *Asset) SetChildrenInfoNil(b bool)
SetChildrenInfoNil sets the value for ChildrenInfo to be an explicit nil
func (o *Asset) UnsetChildrenInfo()
UnsetChildrenInfo ensures that no value is present for ChildrenInfo, not even an explicit nil
func (o *Asset) GetAttachments() []Attachment
GetAttachments returns the Attachments field if non-nil, zero value otherwise.
func (o *Asset) GetAttachmentsOk() (*[]Attachment, bool)
GetAttachmentsOk returns a tuple with the Attachments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Asset) SetAttachments(v []Attachment)
SetAttachments sets Attachments field to given value.
func (o *Asset) HasAttachments() bool
HasAttachments returns a boolean if a field has been set.
func (o *Asset) SetAttachmentsNil(b bool)
SetAttachmentsNil sets the value for Attachments to be an explicit nil
func (o *Asset) UnsetAttachments()
UnsetAttachments ensures that no value is present for Attachments, not even an explicit nil