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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
generated/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.



498
499
500
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 498

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)


491
492
493
# File 'generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 491

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)


496
497
498
# File 'generated/google/apis/prod_tt_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/prod_tt_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