Class: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/google/apis/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.
498 499 500 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 498 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
491 492 493 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 491 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
496 497 498 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 496 def low_frequency_mhz @low_frequency_mhz end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
503 504 505 506 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 503 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 |