class Claude::Anthropic::ContentBlock

Included Modules

Defined in:

claude/anthropic/message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(type : String, text : String | Nil = nil, source : Hash(String, String) | Nil = nil) #

[View source]

Instance Method Detail

def source : Hash(String, String) | Nil #

[View source]
def source=(source : Hash(String, String) | Nil) #

[View source]
def text : String | Nil #

[View source]
def text=(text : String | Nil) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]