Class: AWSCDK::Wisdom::CfnQuickResponse::QuickResponseContentProviderProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnQuickResponse::QuickResponseContentProviderProperty
- Defined in:
- wisdom/cfn_quick_response.rb
Overview
The container quick response content.
Instance Attribute Summary collapse
-
#content ⇒ String?
readonly
The content of the quick response.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(content: nil) ⇒ QuickResponseContentProviderProperty
constructor
A new instance of QuickResponseContentProviderProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(content: nil) ⇒ QuickResponseContentProviderProperty
Returns a new instance of QuickResponseContentProviderProperty.
722 723 724 725 |
# File 'wisdom/cfn_quick_response.rb', line 722 def initialize(content: nil) @content = content Jsii::Type.check_type(@content, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "content") unless @content.nil? end |
Instance Attribute Details
#content ⇒ String? (readonly)
The content of the quick response.
731 732 733 |
# File 'wisdom/cfn_quick_response.rb', line 731 def content @content end |
Class Method Details
.jsii_properties ⇒ Object
733 734 735 736 737 |
# File 'wisdom/cfn_quick_response.rb', line 733 def self.jsii_properties { :content => "content", } end |
Instance Method Details
#to_jsii ⇒ Object
739 740 741 742 743 744 745 |
# File 'wisdom/cfn_quick_response.rb', line 739 def to_jsii result = {} result.merge!({ "content" => @content, }) result.compact end |