Uses of Enum Class
org.springframework.ai.anthropic.api.AnthropicApi.ContentBlock.Type
Packages that use AnthropicApi.ContentBlock.Type
-
Uses of AnthropicApi.ContentBlock.Type in org.springframework.ai.anthropic.api
Methods in org.springframework.ai.anthropic.api that return AnthropicApi.ContentBlock.TypeModifier and TypeMethodDescriptionAnthropicApi.ContentBlock.type()Returns the value of thetyperecord component.Returns the enum constant of this class with the specified name.static AnthropicApi.ContentBlock.Type[]AnthropicApi.ContentBlock.Type.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.springframework.ai.anthropic.api with parameters of type AnthropicApi.ContentBlock.TypeModifierConstructorDescriptionContentBlock(AnthropicApi.ContentBlock.Type type, String toolUseId, String content) Create content blockContentBlock(AnthropicApi.ContentBlock.Type type, String id, String name, Map<String, Object> input) Create content blockCreate content blockContentBlock(AnthropicApi.ContentBlock.Type type, AnthropicApi.ContentBlock.Source source, String text, Integer index) Create content blockContentBlock(AnthropicApi.ContentBlock.Type type, AnthropicApi.ContentBlock.Source source, String text, Integer index, String id, String name, Map<String, Object> input, String toolUseId, String content) Creates an instance of aContentBlockrecord class.