Class: Zavudev::Models::AgentTemplateRetrieveResponse::Template::File
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::AgentTemplateRetrieveResponse::Template::File
- Defined in:
- lib/zavudev/models/agent_template_retrieve_response.rb,
sig/zavudev/models/agent_template_retrieve_response.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
File contents to write verbatim.
- #path ⇒ String
Instance Method Summary collapse
-
#initialize ⇒ File
constructor
A new instance of File.
- #to_hash ⇒ { content: String, path: 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 ⇒ File
Returns a new instance of File.
93 |
# File 'sig/zavudev/models/agent_template_retrieve_response.rbs', line 93
def initialize: (content: String, path: String) -> void
|
Instance Attribute Details
#content ⇒ String
File contents to write verbatim.
113 |
# File 'lib/zavudev/models/agent_template_retrieve_response.rb', line 113 required :content, String |
#path ⇒ String
118 |
# File 'lib/zavudev/models/agent_template_retrieve_response.rb', line 118 required :path, String |
Instance Method Details
#to_hash ⇒ { content: String, path: String }
95 |
# File 'sig/zavudev/models/agent_template_retrieve_response.rbs', line 95
def to_hash: -> { content: String, path: String }
|