Class: Imagekitio::Models::Accounts::UsageAnalyticsResponse::StatusCode
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::Accounts::UsageAnalyticsResponse::StatusCode
- Defined in:
- lib/imagekitio/models/accounts/usage_analytics_response.rb,
sig/imagekitio/models/accounts/usage_analytics_response.rbs
Instance Attribute Summary collapse
-
#name ⇒ String
HTTP status code.
-
#request_count ⇒ Float
Number of requests that received this status code.
Instance Method Summary collapse
-
#initialize ⇒ StatusCode
constructor
A new instance of StatusCode.
- #to_hash ⇒ { name: String, request_count: Float }
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 ⇒ StatusCode
Returns a new instance of StatusCode.
375 |
# File 'sig/imagekitio/models/accounts/usage_analytics_response.rbs', line 375
def initialize: (name: String, request_count: Float) -> void
|
Instance Attribute Details
#name ⇒ String
HTTP status code.
555 |
# File 'lib/imagekitio/models/accounts/usage_analytics_response.rb', line 555 required :name, String |
#request_count ⇒ Float
Number of requests that received this status code.
561 |
# File 'lib/imagekitio/models/accounts/usage_analytics_response.rb', line 561 required :request_count, Float, api_name: :requestCount |
Instance Method Details
#to_hash ⇒ { name: String, request_count: Float }
377 |
# File 'sig/imagekitio/models/accounts/usage_analytics_response.rbs', line 377
def to_hash: -> { name: String, request_count: Float }
|