Class: UU::OS::QoS::TerritoryGetQoS
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::QoS::TerritoryGetQoS
- Defined in:
- uu_os_framework-0.29.16/lib/uu/os/qos/territory_get_qos.rb
Overview
DTO with a QoS attributes for territory. The values means a request limit in a particular period. Special values are 0 (no request is allowed) and -1 (unlimited).
Instance Attribute Summary (collapse)
-
- (Numeric) day_rate
Day rate.
-
- (Numeric) hour_rate
Hour rate.
-
- (Numeric) minute_rate
Minute rate.
-
- (Numeric) month_rate
Month rate.
-
- (Numeric) week_rate
Week rate.
-
- (Numeric) year_rate
Year rate.
Method Summary
Methods inherited from REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (Numeric) day_rate
Day rate. Maximal number of requests per day.
31 32 33 |
# File 'uu_os_framework-0.29.16/lib/uu/os/qos/territory_get_qos.rb', line 31 def day_rate @day_rate end |
- (Numeric) hour_rate
Hour rate. Maximal number of requests per hour.
37 38 39 |
# File 'uu_os_framework-0.29.16/lib/uu/os/qos/territory_get_qos.rb', line 37 def hour_rate @hour_rate end |
- (Numeric) minute_rate
Minute rate. Maximal number of requests per minute.
43 44 45 |
# File 'uu_os_framework-0.29.16/lib/uu/os/qos/territory_get_qos.rb', line 43 def minute_rate @minute_rate end |
- (Numeric) month_rate
Month rate. Maximal number of requests per month.
19 20 21 |
# File 'uu_os_framework-0.29.16/lib/uu/os/qos/territory_get_qos.rb', line 19 def month_rate @month_rate end |
- (Numeric) week_rate
Week rate. Maximal number of requests per week.
25 26 27 |
# File 'uu_os_framework-0.29.16/lib/uu/os/qos/territory_get_qos.rb', line 25 def week_rate @week_rate end |
- (Numeric) year_rate
Year rate. Maximal number of requests per year.
13 14 15 |
# File 'uu_os_framework-0.29.16/lib/uu/os/qos/territory_get_qos.rb', line 13 def year_rate @year_rate end |