Class: AWSCDK::IoTSiteWise::CfnComputationModel::AssetModelPropertyBindingValueProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_site_wise/cfn_computation_model.rb

Overview

Contains information about an assetModelProperty binding value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(asset_model_id:, property_id:) ⇒ AssetModelPropertyBindingValueProperty

Returns a new instance of AssetModelPropertyBindingValueProperty.

Parameters:

  • asset_model_id (String)

    The ID of the asset model, in UUID format.

  • property_id (String)

    The ID of the asset model property used in data binding value.



650
651
652
653
654
655
# File 'io_t_site_wise/cfn_computation_model.rb', line 650

def initialize(asset_model_id:, property_id:)
  @asset_model_id = asset_model_id
  Jsii::Type.check_type(@asset_model_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "assetModelId")
  @property_id = property_id
  Jsii::Type.check_type(@property_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "propertyId")
end

Instance Attribute Details

#asset_model_idString (readonly)

The ID of the asset model, in UUID format.



661
662
663
# File 'io_t_site_wise/cfn_computation_model.rb', line 661

def asset_model_id
  @asset_model_id
end

#property_idString (readonly)

The ID of the asset model property used in data binding value.



666
667
668
# File 'io_t_site_wise/cfn_computation_model.rb', line 666

def property_id
  @property_id
end

Class Method Details

.jsii_propertiesObject



668
669
670
671
672
673
# File 'io_t_site_wise/cfn_computation_model.rb', line 668

def self.jsii_properties
  {
    :asset_model_id => "assetModelId",
    :property_id => "propertyId",
  }
end

Instance Method Details

#to_jsiiObject



675
676
677
678
679
680
681
682
# File 'io_t_site_wise/cfn_computation_model.rb', line 675

def to_jsii
  result = {}
  result.merge!({
    "assetModelId" => @asset_model_id,
    "propertyId" => @property_id,
  })
  result.compact
end