Class: AWSCDK::QuickSight::CfnAnalysis::PercentVisibleRangeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

The percent range in the visible range.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(from: nil, to: nil) ⇒ PercentVisibleRangeProperty

Returns a new instance of PercentVisibleRangeProperty.

Parameters:

  • from (Numeric, nil) (defaults to: nil)

    The lower bound of the range.

  • to (Numeric, nil) (defaults to: nil)

    The top bound of the range.



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

#fromNumeric? (readonly)

The lower bound of the range.



20858
20859
20860
# File 'quick_sight/cfn_analysis.rb', line 20858

def from
  @from
end

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



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_jsiiObject



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