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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SasPortalFrequencyRange
Returns a new instance of SasPortalFrequencyRange.
473 474 475 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 473 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
466 467 468 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 466 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
471 472 473 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 471 def low_frequency_mhz @low_frequency_mhz end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
478 479 480 481 |
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 478 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 |