Class: AWSCDK::QuickSight::CfnTopic::SemanticTypeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_topic.rb

Overview

A structure that represents a semantic type.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(falsey_cell_value: nil, falsey_cell_value_synonyms: nil, sub_type_name: nil, truthy_cell_value: nil, truthy_cell_value_synonyms: nil, type_name: nil, type_parameters: nil) ⇒ SemanticTypeProperty

Returns a new instance of SemanticTypeProperty.

Parameters:

  • falsey_cell_value (String, nil) (defaults to: nil)

    The semantic type falsey cell value.

  • falsey_cell_value_synonyms (Array<String>, nil) (defaults to: nil)

    The other names or aliases for the false cell value.

  • sub_type_name (String, nil) (defaults to: nil)

    The semantic type sub type name.

  • truthy_cell_value (String, nil) (defaults to: nil)

    The semantic type truthy cell value.

  • truthy_cell_value_synonyms (Array<String>, nil) (defaults to: nil)

    The other names or aliases for the true cell value.

  • type_name (String, nil) (defaults to: nil)

    The semantic type name.

  • type_parameters (AWSCDK::IResolvable, Hash{String => String}, nil) (defaults to: nil)

    The semantic type parameters.



1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'quick_sight/cfn_topic.rb', line 1398

def initialize(falsey_cell_value: nil, falsey_cell_value_synonyms: nil, sub_type_name: nil, truthy_cell_value: nil, truthy_cell_value_synonyms: nil, type_name: nil, type_parameters: nil)
  @falsey_cell_value = falsey_cell_value
  Jsii::Type.check_type(@falsey_cell_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "falseyCellValue") unless @falsey_cell_value.nil?
  @falsey_cell_value_synonyms = falsey_cell_value_synonyms
  Jsii::Type.check_type(@falsey_cell_value_synonyms, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "falseyCellValueSynonyms") unless @falsey_cell_value_synonyms.nil?
  @sub_type_name = sub_type_name
  Jsii::Type.check_type(@sub_type_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "subTypeName") unless @sub_type_name.nil?
  @truthy_cell_value = truthy_cell_value
  Jsii::Type.check_type(@truthy_cell_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "truthyCellValue") unless @truthy_cell_value.nil?
  @truthy_cell_value_synonyms = truthy_cell_value_synonyms
  Jsii::Type.check_type(@truthy_cell_value_synonyms, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "truthyCellValueSynonyms") unless @truthy_cell_value_synonyms.nil?
  @type_name = type_name
  Jsii::Type.check_type(@type_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "typeName") unless @type_name.nil?
  @type_parameters = type_parameters
  Jsii::Type.check_type(@type_parameters, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "typeParameters") unless @type_parameters.nil?
end

Instance Attribute Details

#falsey_cell_valueString? (readonly)

The semantic type falsey cell value.



1419
1420
1421
# File 'quick_sight/cfn_topic.rb', line 1419

def falsey_cell_value
  @falsey_cell_value
end

#falsey_cell_value_synonymsArray<String>? (readonly)

The other names or aliases for the false cell value.



1424
1425
1426
# File 'quick_sight/cfn_topic.rb', line 1424

def falsey_cell_value_synonyms
  @falsey_cell_value_synonyms
end

#sub_type_nameString? (readonly)

The semantic type sub type name.



1429
1430
1431
# File 'quick_sight/cfn_topic.rb', line 1429

def sub_type_name
  @sub_type_name
end

#truthy_cell_valueString? (readonly)

The semantic type truthy cell value.



1434
1435
1436
# File 'quick_sight/cfn_topic.rb', line 1434

def truthy_cell_value
  @truthy_cell_value
end

#truthy_cell_value_synonymsArray<String>? (readonly)

The other names or aliases for the true cell value.



1439
1440
1441
# File 'quick_sight/cfn_topic.rb', line 1439

def truthy_cell_value_synonyms
  @truthy_cell_value_synonyms
end

#type_nameString? (readonly)

The semantic type name.



1444
1445
1446
# File 'quick_sight/cfn_topic.rb', line 1444

def type_name
  @type_name
end

#type_parametersAWSCDK::IResolvable, ... (readonly)

The semantic type parameters.



1449
1450
1451
# File 'quick_sight/cfn_topic.rb', line 1449

def type_parameters
  @type_parameters
end

Class Method Details

.jsii_propertiesObject



1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
# File 'quick_sight/cfn_topic.rb', line 1451

def self.jsii_properties
  {
    :falsey_cell_value => "falseyCellValue",
    :falsey_cell_value_synonyms => "falseyCellValueSynonyms",
    :sub_type_name => "subTypeName",
    :truthy_cell_value => "truthyCellValue",
    :truthy_cell_value_synonyms => "truthyCellValueSynonyms",
    :type_name => "typeName",
    :type_parameters => "typeParameters",
  }
end

Instance Method Details

#to_jsiiObject



1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
# File 'quick_sight/cfn_topic.rb', line 1463

def to_jsii
  result = {}
  result.merge!({
    "falseyCellValue" => @falsey_cell_value,
    "falseyCellValueSynonyms" => @falsey_cell_value_synonyms,
    "subTypeName" => @sub_type_name,
    "truthyCellValue" => @truthy_cell_value,
    "truthyCellValueSynonyms" => @truthy_cell_value_synonyms,
    "typeName" => @type_name,
    "typeParameters" => @type_parameters,
  })
  result.compact
end