Record Class SessionWorkspacesSaveLargePasteResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionWorkspacesSaveLargePasteResult
@Generated("copilot-sdk-codegen")
public record SessionWorkspacesSaveLargePasteResult(SessionWorkspacesSaveLargePasteResult.SessionWorkspacesSaveLargePasteResultSaved saved)
extends Record
Descriptor for the saved paste file, or null when the workspace is unavailable.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionSessionWorkspacesSaveLargePasteResult(SessionWorkspacesSaveLargePasteResult.SessionWorkspacesSaveLargePasteResultSaved saved) Creates an instance of aSessionWorkspacesSaveLargePasteResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.saved()Returns the value of thesavedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionWorkspacesSaveLargePasteResult
public SessionWorkspacesSaveLargePasteResult(SessionWorkspacesSaveLargePasteResult.SessionWorkspacesSaveLargePasteResultSaved saved) Creates an instance of aSessionWorkspacesSaveLargePasteResultrecord class.- Parameters:
saved- the value for thesavedrecord 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). -
saved
Returns the value of thesavedrecord component.- Returns:
- the value of the
savedrecord component
-