Record Class ShellOptions
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ShellOptions
@Generated("copilot-sdk-codegen")
public record ShellOptions(ShellInitProfile initProfile, List<ShellInitScript> initScripts, List<String> processFlags)
extends Record
Per-session settings for built-in shell tools.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionShellOptions(ShellInitProfile initProfile, List<ShellInitScript> initScripts, List<String> processFlags) Creates an instance of aShellOptionsrecord 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.Returns the value of theinitProfilerecord component.Returns the value of theinitScriptsrecord component.Returns the value of theprocessFlagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ShellOptions
public ShellOptions(ShellInitProfile initProfile, List<ShellInitScript> initScripts, List<String> processFlags) Creates an instance of aShellOptionsrecord class.- Parameters:
initProfile- the value for theinitProfilerecord componentinitScripts- the value for theinitScriptsrecord componentprocessFlags- the value for theprocessFlagsrecord 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). -
initProfile
Returns the value of theinitProfilerecord component.- Returns:
- the value of the
initProfilerecord component
-
initScripts
Returns the value of theinitScriptsrecord component.- Returns:
- the value of the
initScriptsrecord component
-
processFlags
-