Show / Hide Table of Contents

Class Message

The Message resource generated by the agent.

Inheritance
object
Message
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top