Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb

Overview

Frequency range from low_frequency to high_frequency.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalFrequencyRange

Returns a new instance of SasPortalFrequencyRange.



605
606
607
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 605

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#high_frequency_mhzFloat

The highest frequency of the frequency range in MHz. Corresponds to the JSON property highFrequencyMhz

Returns:

  • (Float)


598
599
600
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 598

def high_frequency_mhz
  @high_frequency_mhz
end

#low_frequency_mhzFloat

The lowest frequency of the frequency range in MHz. Corresponds to the JSON property lowFrequencyMhz

Returns:

  • (Float)


603
604
605
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 603

def low_frequency_mhz
  @low_frequency_mhz
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



610
611
612
613
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 610

def update!(**args)
  @high_frequency_mhz = args[:high_frequency_mhz] if args.key?(:high_frequency_mhz)
  @low_frequency_mhz = args[:low_frequency_mhz] if args.key?(:low_frequency_mhz)
end