Class: AWSCDK::Wisdom::CfnQuickResponse::QuickResponseContentProviderProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wisdom/cfn_quick_response.rb

Overview

The container quick response content.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content: nil) ⇒ QuickResponseContentProviderProperty

Returns a new instance of QuickResponseContentProviderProperty.

Parameters:

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

    The content of the quick response.



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

#contentString? (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_propertiesObject



733
734
735
736
737
# File 'wisdom/cfn_quick_response.rb', line 733

def self.jsii_properties
  {
    :content => "content",
  }
end

Instance Method Details

#to_jsiiObject



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