Class: AWSCDK::IoT::CfnCommand::CommandParameterValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoT::CfnCommand::CommandParameterValueProperty
- Defined in:
- io_t/cfn_command.rb
Overview
Instance Attribute Summary collapse
- #b ⇒ Boolean, ... readonly
- #bin ⇒ String? readonly
- #d ⇒ Numeric? readonly
- #i ⇒ Numeric? readonly
- #l ⇒ String? readonly
- #s ⇒ String? readonly
- #ul ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(b: nil, bin: nil, d: nil, i: nil, l: nil, s: nil, ul: nil) ⇒ CommandParameterValueProperty
constructor
A new instance of CommandParameterValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(b: nil, bin: nil, d: nil, i: nil, l: nil, s: nil, ul: nil) ⇒ CommandParameterValueProperty
Returns a new instance of CommandParameterValueProperty.
945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 |
# File 'io_t/cfn_command.rb', line 945 def initialize(b: nil, bin: nil, d: nil, i: nil, l: nil, s: nil, ul: nil) @b = b Jsii::Type.check_type(@b, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "b") unless @b.nil? @bin = bin Jsii::Type.check_type(@bin, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bin") unless @bin.nil? @d = d Jsii::Type.check_type(@d, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "d") unless @d.nil? @i = i Jsii::Type.check_type(@i, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "i") unless @i.nil? @l = l Jsii::Type.check_type(@l, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "l") unless @l.nil? @s = s Jsii::Type.check_type(@s, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s") unless @s.nil? @ul = ul Jsii::Type.check_type(@ul, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "ul") unless @ul.nil? end |
Instance Attribute Details
#b ⇒ Boolean, ... (readonly)
964 965 966 |
# File 'io_t/cfn_command.rb', line 964 def b @b end |
#bin ⇒ String? (readonly)
967 968 969 |
# File 'io_t/cfn_command.rb', line 967 def bin @bin end |
#d ⇒ Numeric? (readonly)
970 971 972 |
# File 'io_t/cfn_command.rb', line 970 def d @d end |
#i ⇒ Numeric? (readonly)
973 974 975 |
# File 'io_t/cfn_command.rb', line 973 def i @i end |
#l ⇒ String? (readonly)
976 977 978 |
# File 'io_t/cfn_command.rb', line 976 def l @l end |
#s ⇒ String? (readonly)
979 980 981 |
# File 'io_t/cfn_command.rb', line 979 def s @s end |
#ul ⇒ String? (readonly)
982 983 984 |
# File 'io_t/cfn_command.rb', line 982 def ul @ul end |
Class Method Details
.jsii_properties ⇒ Object
984 985 986 987 988 989 990 991 992 993 994 |
# File 'io_t/cfn_command.rb', line 984 def self.jsii_properties { :b => "b", :bin => "bin", :d => "d", :i => "i", :l => "l", :s => "s", :ul => "ul", } end |
Instance Method Details
#to_jsii ⇒ Object
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 |
# File 'io_t/cfn_command.rb', line 996 def to_jsii result = {} result.merge!({ "b" => @b, "bin" => @bin, "d" => @d, "i" => @i, "l" => @l, "s" => @s, "ul" => @ul, }) result.compact end |