Class: Aws::IoTSiteWise::Types::AssetModelHierarchy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb

Overview

Note:

When making an API call, you may pass AssetModelHierarchy data as a hash:

{
  id: "ID",
  name: "Name", # required
  child_asset_model_id: "ID", # required
}

Describes an asset hierarchy that contains a hierarchy's name, ID, and child asset model ID that specifies the type of asset that can be in this hierarchy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#child_asset_model_idString

The ID of the asset model. All assets in this hierarchy must be instances of the childAssetModelId asset model.

Returns:

  • (String)


193
194
195
196
197
198
199
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 193

class AssetModelHierarchy < Struct.new(
  :id,
  :name,
  :child_asset_model_id)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the asset model hierarchy. This ID is a hierarchyId.

Returns:

  • (String)


193
194
195
196
197
198
199
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 193

class AssetModelHierarchy < Struct.new(
  :id,
  :name,
  :child_asset_model_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation.

Returns:

  • (String)


193
194
195
196
197
198
199
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 193

class AssetModelHierarchy < Struct.new(
  :id,
  :name,
  :child_asset_model_id)
  SENSITIVE = []
  include Aws::Structure
end