Class Message
The Message resource generated by the agent.
Inherited Members
Namespace: Oci.GenerativeaiagentruntimeService.Models
Assembly: OCI.DotNetSDK.Generativeaiagentruntime.dll
Syntax
public class Message
Properties
Content
Declaration
[Required(ErrorMessage = "Content is required.")]
[JsonProperty(PropertyName = "content")]
public MessageContent Content { get; set; }
Property Value
Type | Description |
---|---|
MessageContent |
Remarks
Required
Role
Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Message.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
Message.RoleEnum? | The role of the sender of this message. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the message was created in the format of an RFC3339 datetime string. |