Class: AWSCDK::QuickSight::CfnDashboard::PercentVisibleRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::PercentVisibleRangeProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
21819 21820 21821 21822 21823 21824 |
# File 'quick_sight/cfn_dashboard.rb', line 21819 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.
21830 21831 21832 |
# File 'quick_sight/cfn_dashboard.rb', line 21830 def from @from end |
#to ⇒ Numeric? (readonly)
The top bound of the range.
21835 21836 21837 |
# File 'quick_sight/cfn_dashboard.rb', line 21835 def to @to end |
Class Method Details
.jsii_properties ⇒ Object
21837 21838 21839 21840 21841 21842 |
# File 'quick_sight/cfn_dashboard.rb', line 21837 def self.jsii_properties { :from => "from", :to => "to", } end |
Instance Method Details
#to_jsii ⇒ Object
21844 21845 21846 21847 21848 21849 21850 21851 |
# File 'quick_sight/cfn_dashboard.rb', line 21844 def to_jsii result = {} result.merge!({ "from" => @from, "to" => @to, }) result.compact end |