Class: Revox::Models::CampaignRetrieveResponse::Campaign::Assistant::PromptFlow::Edge
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(edges:, nodes:) ⇒ Object
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 1242
class Edge < Revox::Internal::Type::BaseModel
required :id, String
required :source, String
required :target, String
end
|
Instance Attribute Details
#id ⇒ String
1246
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 1246
required :id, String
|
#source ⇒ String
1251
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 1251
required :source, String
|
#target ⇒ String
1256
|
# File 'lib/revox/models/campaign_retrieve_response.rb', line 1256
required :target, String
|
Instance Method Details
#to_hash ⇒ { id: String, source: String, target: String }
996
|
# File 'sig/revox/models/campaign_retrieve_response.rbs', line 996
def to_hash: -> { id: String, source: String, target: String }
|