Record Class SystemMessageContentBlock
java.lang.Object
java.lang.Record
com.github.copilot.generated.SystemMessageContentBlock
@Generated("copilot-sdk-codegen")
public record SystemMessageContentBlock(String content, Boolean isStatic, Boolean cacheBreakpoint)
extends Record
One persisted structured system-message block and its cache intent
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSystemMessageContentBlock(String content, Boolean isStatic, Boolean cacheBreakpoint) Creates an instance of aSystemMessageContentBlockrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheBreakpointrecord component.content()Returns the value of thecontentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.isStatic()Returns the value of theisStaticrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SystemMessageContentBlock
Creates an instance of aSystemMessageContentBlockrecord class.- Parameters:
content- the value for thecontentrecord componentisStatic- the value for theisStaticrecord componentcacheBreakpoint- the value for thecacheBreakpointrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
isStatic
Returns the value of theisStaticrecord component.- Returns:
- the value of the
isStaticrecord component
-
cacheBreakpoint
Returns the value of thecacheBreakpointrecord component.- Returns:
- the value of the
cacheBreakpointrecord component
-