Package com.github.copilot.sdk.generated
Enum Class SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
java.lang.Object
java.lang.Enum<SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation>
com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
- All Implemented Interfaces:
Serializable,Comparable<SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation>,Constable
public static enum SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
extends Enum<SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation>
Whether the file was newly created or updated
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CREATE
public static final SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation CREATEThecreatevariant. -
UPDATE
public static final SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation UPDATETheupdatevariant.
-
-
Method Details
-
values
public static SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
fromValue
public static SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation fromValue(String value)
-