Module com.github.copilot.java
Package com.github.copilot.generated
Record Class CanvasRegistryChangedCanvas
java.lang.Object
java.lang.Record
com.github.copilot.generated.CanvasRegistryChangedCanvas
@Generated("copilot-sdk-codegen")
public record CanvasRegistryChangedCanvas(String extensionId, String extensionName, String canvasId, String displayName, String description, Map<String,Object> inputSchema, List<CanvasRegistryChangedCanvasAction> actions)
extends Record
Schema for the `CanvasRegistryChangedCanvas` type.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.canvasId()Returns the value of thecanvasIdrecord component.Returns the value of thedescriptionrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionIdrecord component.Returns the value of theextensionNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinputSchemarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CanvasRegistryChangedCanvas
public CanvasRegistryChangedCanvas(String extensionId, String extensionName, String canvasId, String displayName, String description, Map<String, Object> inputSchema, List<CanvasRegistryChangedCanvasAction> actions) Creates an instance of aCanvasRegistryChangedCanvasrecord class.- Parameters:
extensionId- the value for theextensionIdrecord componentextensionName- the value for theextensionNamerecord componentcanvasId- the value for thecanvasIdrecord componentdisplayName- the value for thedisplayNamerecord componentdescription- the value for thedescriptionrecord componentinputSchema- the value for theinputSchemarecord componentactions- the value for theactionsrecord 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). -
extensionId
Returns the value of theextensionIdrecord component.- Returns:
- the value of the
extensionIdrecord component
-
extensionName
Returns the value of theextensionNamerecord component.- Returns:
- the value of the
extensionNamerecord component
-
canvasId
Returns the value of thecanvasIdrecord component.- Returns:
- the value of the
canvasIdrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
inputSchema
Returns the value of theinputSchemarecord component.- Returns:
- the value of the
inputSchemarecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-