Method: Twilio::REST::Assistants::V1::ToolList::AssistantsV1ServiceCreateToolRequest#to_json

Defined in:
lib/twilio-ruby/rest/assistants/v1/tool.rb,
lib/twilio-ruby/rest/assistants/v1/tool.rb

#to_json(options = {}) ⇒ Object



65
66
67
68
69
70
71
72
73
74
75
# File 'lib/twilio-ruby/rest/assistants/v1/tool.rb', line 65

def to_json(options = {})
{
        "assistant_id": @assistant_id,
        "description": @description,
        "enabled": @enabled,
        "meta": @meta,
        "name": @name,
        "policy": @policy,
        "type": @type,
}.to_json(options)
end