Class: Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::PromptFlow::Node::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::PromptFlow::Node::Data
- Defined in:
- lib/revox/models/campaign_retrieve_response.rb,
sig/revox/models/campaign_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Data
constructor
A new instance of Data.
- #to_hash ⇒ { body: String, title: 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 ⇒ Data
Returns a new instance of Data.
1037 |
# File 'sig/revox/models/campaign_retrieve_response.rbs', line 1037
def initialize: (body: String, title: String) -> void
|
Instance Attribute Details
#body ⇒ String
1298 |
# File 'lib/revox/models/campaign_retrieve_response.rb', line 1298 required :body, String |
#title ⇒ String
1303 |
# File 'lib/revox/models/campaign_retrieve_response.rb', line 1303 required :title, String |
Instance Method Details
#to_hash ⇒ { body: String, title: String }
1039 |
# File 'sig/revox/models/campaign_retrieve_response.rbs', line 1039
def to_hash: -> { body: String, title: String }
|