Class: Imagekitio::Models::Accounts::UsageAnalyticsResponse::Country::ByRequest
- Inherits:
-
RequestBandwidthEntry
- Object
- Internal::Type::BaseModel
- RequestBandwidthEntry
- Imagekitio::Models::Accounts::UsageAnalyticsResponse::Country::ByRequest
- Defined in:
- lib/imagekitio/models/accounts/usage_analytics_response.rb,
sig/imagekitio/models/accounts/usage_analytics_response.rbs
Instance Attribute Summary collapse
-
#code ⇒ String
ISO country code.
-
#name ⇒ String
Country name.
Attributes inherited from RequestBandwidthEntry
#bandwidth_bytes, #request_count
Instance Method Summary collapse
-
#initialize ⇒ ByRequest
constructor
A new instance of ByRequest.
- #to_hash ⇒ { code: String, name: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ ByRequest
Returns a new instance of ByRequest.
246 |
# File 'sig/imagekitio/models/accounts/usage_analytics_response.rbs', line 246
def initialize: (code: String, name: String) -> void
|
Instance Attribute Details
#code ⇒ String
ISO country code.
382 |
# File 'lib/imagekitio/models/accounts/usage_analytics_response.rb', line 382 required :code, String |
#name ⇒ String
Country name.
388 |
# File 'lib/imagekitio/models/accounts/usage_analytics_response.rb', line 388 required :name, String |
Instance Method Details
#to_hash ⇒ { code: String, name: String }
248 |
# File 'sig/imagekitio/models/accounts/usage_analytics_response.rbs', line 248
def to_hash: -> { code: String, name: String }
|