Class: GrowsurfRuby::Models::Campaign::WebhookTestResponse::Response
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- GrowsurfRuby::Models::Campaign::WebhookTestResponse::Response
- Defined in:
- lib/growsurf_ruby/models/campaign/webhook_test_response.rb,
sig/growsurf_ruby/models/campaign/webhook_test_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(msg: nil, status_code: nil) ⇒ Response
constructor
A new instance of Response.
- #to_hash ⇒ { msg: String, status_code: Integer }
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(msg: nil, status_code: nil) ⇒ Response
Returns a new instance of Response.
|
|
# File 'lib/growsurf_ruby/models/campaign/webhook_test_response.rb', line 43
|
Instance Attribute Details
#msg ⇒ String?
36 |
# File 'lib/growsurf_ruby/models/campaign/webhook_test_response.rb', line 36 optional :msg, String |
#status_code ⇒ Integer?
41 |
# File 'lib/growsurf_ruby/models/campaign/webhook_test_response.rb', line 41 optional :status_code, Integer, api_name: :statusCode |
Instance Method Details
#to_hash ⇒ { msg: String, status_code: Integer }
49 |
# File 'sig/growsurf_ruby/models/campaign/webhook_test_response.rbs', line 49
def to_hash: -> { msg: String, status_code: Integer }
|