Record Class AzureMessages.MessageContent
java.lang.Object
java.lang.Record
com.flowable.agent.engine.impl.model.external.azure.client.AzureMessages.MessageContent
- Enclosing class:
AzureMessages
-
Constructor Summary
ConstructorsConstructorDescriptionMessageContent(String id, String object, Long createdAt, String assistantId, String threadId, String runId, String role, List<AzureMessages.Content> content) Creates an instance of aMessageContentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassistantIdrecord component.content()Returns the value of thecontentrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.object()Returns the value of theobjectrecord component.role()Returns the value of therolerecord component.runId()Returns the value of therunIdrecord component.threadId()Returns the value of thethreadIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MessageContent
public MessageContent(String id, String object, Long createdAt, String assistantId, String threadId, String runId, String role, List<AzureMessages.Content> content) Creates an instance of aMessageContentrecord class.- Parameters:
id- the value for theidrecord componentobject- the value for theobjectrecord componentcreatedAt- the value for thecreatedAtrecord componentassistantId- the value for theassistantIdrecord componentthreadId- the value for thethreadIdrecord componentrunId- the value for therunIdrecord componentrole- the value for therolerecord componentcontent- the value for thecontentrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
object
Returns the value of theobjectrecord component.- Returns:
- the value of the
objectrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
assistantId
Returns the value of theassistantIdrecord component.- Returns:
- the value of the
assistantIdrecord component
-
threadId
Returns the value of thethreadIdrecord component.- Returns:
- the value of the
threadIdrecord component
-
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
role
Returns the value of therolerecord component.- Returns:
- the value of the
rolerecord component
-
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-