Class: Revox::Models::AssistantListResponse::Assistant::PromptFlow::Edge
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Revox::Models::AssistantListResponse::Assistant::PromptFlow::Edge
- Defined in:
- lib/revox/models/assistant_list_response.rb,
sig/revox/models/assistant_list_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(edges:, nodes:) ⇒ Edge
constructor
A new instance of Edge.
- #to_hash ⇒ { id: String, source: String, target: 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(edges:, nodes:) ⇒ Edge
Returns a new instance of Edge.
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 |
# File 'lib/revox/models/assistant_list_response.rb', line 1043 class Edge < Revox::Internal::Type::BaseModel # @!attribute id # # @return [String] required :id, String # @!attribute source # # @return [String] required :source, String # @!attribute target # # @return [String] required :target, String # @!method initialize(id:, source:, target:) # @param id [String] # @param source [String] # @param target [String] end |
Instance Attribute Details
#id ⇒ String
1047 |
# File 'lib/revox/models/assistant_list_response.rb', line 1047 required :id, String |
#source ⇒ String
1052 |
# File 'lib/revox/models/assistant_list_response.rb', line 1052 required :source, String |
#target ⇒ String
1057 |
# File 'lib/revox/models/assistant_list_response.rb', line 1057 required :target, String |
Instance Method Details
#to_hash ⇒ { id: String, source: String, target: String }
829 |
# File 'sig/revox/models/assistant_list_response.rbs', line 829
def to_hash: -> { id: String, source: String, target: String }
|