Class: AWSCDK::B2BI::CfnTransformer::FormatOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::B2BI::CfnTransformer::FormatOptionsProperty
- Defined in:
- b2_bi/cfn_transformer.rb
Overview
A structure that contains the X12 transaction set and version.
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(x12:) ⇒ FormatOptionsProperty
constructor
A new instance of FormatOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(x12:) ⇒ FormatOptionsProperty
Returns a new instance of FormatOptionsProperty.
751 752 753 754 |
# File 'b2_bi/cfn_transformer.rb', line 751 def initialize(x12:) @x12 = x12.is_a?(Hash) ? ::AWSCDK::B2BI::CfnTransformer::X12DetailsProperty.new(**x12.transform_keys(&:to_sym)) : x12 Jsii::Type.check_type(@x12, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmblRyYW5zZm9ybWVyLlgxMkRldGFpbHNQcm9wZXJ0eSJ9XX19")), "x12") end |
Instance Attribute Details
#x12 ⇒ AWSCDK::IResolvable, AWSCDK::B2BI::CfnTransformer::X12DetailsProperty (readonly)
758 759 760 |
# File 'b2_bi/cfn_transformer.rb', line 758 def x12 @x12 end |
Class Method Details
.jsii_properties ⇒ Object
760 761 762 763 764 |
# File 'b2_bi/cfn_transformer.rb', line 760 def self.jsii_properties { :x12 => "x12", } end |
Instance Method Details
#to_jsii ⇒ Object
766 767 768 769 770 771 772 |
# File 'b2_bi/cfn_transformer.rb', line 766 def to_jsii result = {} result.merge!({ "x12" => @x12, }) result.compact end |