Files
sdk/docs/AiAnthropicMessage.md

2.5 KiB

AiAnthropicMessage

Properties

Name Type Description Notes
Content Pointer to interface{} [optional]
Role Pointer to string [optional]

Methods

NewAiAnthropicMessage

func NewAiAnthropicMessage() *AiAnthropicMessage

NewAiAnthropicMessage instantiates a new AiAnthropicMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewAiAnthropicMessageWithDefaults

func NewAiAnthropicMessageWithDefaults() *AiAnthropicMessage

NewAiAnthropicMessageWithDefaults instantiates a new AiAnthropicMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetContent

func (o *AiAnthropicMessage) GetContent() interface{}

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

func (o *AiAnthropicMessage) GetContentOk() (*interface{}, bool)

GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetContent

func (o *AiAnthropicMessage) SetContent(v interface{})

SetContent sets Content field to given value.

HasContent

func (o *AiAnthropicMessage) HasContent() bool

HasContent returns a boolean if a field has been set.

SetContentNil

func (o *AiAnthropicMessage) SetContentNil(b bool)

SetContentNil sets the value for Content to be an explicit nil

UnsetContent

func (o *AiAnthropicMessage) UnsetContent()

UnsetContent ensures that no value is present for Content, not even an explicit nil

GetRole

func (o *AiAnthropicMessage) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *AiAnthropicMessage) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRole

func (o *AiAnthropicMessage) SetRole(v string)

SetRole sets Role field to given value.

HasRole

func (o *AiAnthropicMessage) HasRole() bool

HasRole returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]