class Claude::Anthropic::ContentBlock
- Claude::Anthropic::ContentBlock
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
claude/anthropic/message.crConstructors
- .new(pull : JSON::PullParser)
- .new(type : String, text : String | Nil = nil, source : Hash(String, String) | Nil = nil)
Instance Method Summary
- #source : Hash(String, String) | Nil
- #source=(source : Hash(String, String) | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
- #type : String
- #type=(type : String)