Method: Twilio::REST::Assistants::V1::ToolList::AssistantsV1ServiceCreateToolRequest#initialize
- Defined in:
-
lib/twilio-ruby/rest/assistants/v1/tool.rb,
lib/twilio-ruby/rest/assistants/v1/tool.rb
Returns a new instance of AssistantsV1ServiceCreateToolRequest.
56 57 58 59 60 61 62 63 64 |
# File 'lib/twilio-ruby/rest/assistants/v1/tool.rb', line 56 def initialize(payload) @assistant_id = payload["assistant_id"] @description = payload["description"] @enabled = payload["enabled"] @meta = payload["meta"] @name = payload["name"] @policy = payload["policy"] @type = payload["type"] end |