Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange
- 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
-
#high_frequency_mhz ⇒ Float
The highest frequency of the frequency range in MHz.
-
#low_frequency_mhz ⇒ Float
The lowest frequency of the frequency range in MHz.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalFrequencyRange
constructor
A new instance of SasPortalFrequencyRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_mhz ⇒ Float
The highest frequency of the frequency range in MHz.
Corresponds to the JSON property highFrequencyMhz
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_mhz ⇒ Float
The lowest frequency of the frequency range in MHz.
Corresponds to the JSON property lowFrequencyMhz
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 |