Class: AWSCDK::QuickSight::CfnTemplate::PercentVisibleRangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::PercentVisibleRangeProperty
- Defined in:
- quick_sight/cfn_template.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.
18973 18974 18975 18976 18977 18978 |
# File 'quick_sight/cfn_template.rb', line 18973 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.
18984 18985 18986 |
# File 'quick_sight/cfn_template.rb', line 18984 def from @from end |
#to ⇒ Numeric? (readonly)
The top bound of the range.
18989 18990 18991 |
# File 'quick_sight/cfn_template.rb', line 18989 def to @to end |
Class Method Details
.jsii_properties ⇒ Object
18991 18992 18993 18994 18995 18996 |
# File 'quick_sight/cfn_template.rb', line 18991 def self.jsii_properties { :from => "from", :to => "to", } end |
Instance Method Details
#to_jsii ⇒ Object
18998 18999 19000 19001 19002 19003 19004 19005 |
# File 'quick_sight/cfn_template.rb', line 18998 def to_jsii result = {} result.merge!({ "from" => @from, "to" => @to, }) result.compact end |