Class: AWSCDK::QuickSight::CfnAnalysis::PercentVisibleRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::PercentVisibleRangeProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The percent range in the visible range.
Instance Attribute Summary collapse
-
#from ⇒ Numeric?
readonly
The lower bound of the range.
-
#to ⇒ Numeric?
readonly
The top bound of the range.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(from: nil, to: nil) ⇒ PercentVisibleRangeProperty
constructor
A new instance of PercentVisibleRangeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(from: nil, to: nil) ⇒ PercentVisibleRangeProperty
Returns a new instance of PercentVisibleRangeProperty.
20847 20848 20849 20850 20851 20852 |
# File 'quick_sight/cfn_analysis.rb', line 20847 def initialize(from: nil, to: nil) @from = from Jsii::Type.check_type(@from, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "from") unless @from.nil? @to = to Jsii::Type.check_type(@to, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "to") unless @to.nil? end |
Instance Attribute Details
#from ⇒ Numeric? (readonly)
The lower bound of the range.
20858 20859 20860 |
# File 'quick_sight/cfn_analysis.rb', line 20858 def from @from end |
#to ⇒ Numeric? (readonly)
The top bound of the range.
20863 20864 20865 |
# File 'quick_sight/cfn_analysis.rb', line 20863 def to @to end |
Class Method Details
.jsii_properties ⇒ Object
20865 20866 20867 20868 20869 20870 |
# File 'quick_sight/cfn_analysis.rb', line 20865 def self.jsii_properties { :from => "from", :to => "to", } end |
Instance Method Details
#to_jsii ⇒ Object
20872 20873 20874 20875 20876 20877 20878 20879 |
# File 'quick_sight/cfn_analysis.rb', line 20872 def to_jsii result = {} result.merge!({ "from" => @from, "to" => @to, }) result.compact end |