Record Class SessionSettingsJobSnapshot
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionSettingsJobSnapshot
@Generated("copilot-sdk-codegen")
public record SessionSettingsJobSnapshot(String eventType, Boolean isTriggerJob, SessionSettingsBuiltInToolAvailabilitySnapshot builtInToolAvailability)
extends Record
Redacted job settings for a session. The job nonce is excluded.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSettingsJobSnapshot(String eventType, Boolean isTriggerJob, SessionSettingsBuiltInToolAvailabilitySnapshot builtInToolAvailability) Creates an instance of aSessionSettingsJobSnapshotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuiltInToolAvailabilityrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventTyperecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theisTriggerJobrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionSettingsJobSnapshot
public SessionSettingsJobSnapshot(String eventType, Boolean isTriggerJob, SessionSettingsBuiltInToolAvailabilitySnapshot builtInToolAvailability) Creates an instance of aSessionSettingsJobSnapshotrecord class.- Parameters:
eventType- the value for theeventTyperecord componentisTriggerJob- the value for theisTriggerJobrecord componentbuiltInToolAvailability- the value for thebuiltInToolAvailabilityrecord 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). -
eventType
Returns the value of theeventTyperecord component.- Returns:
- the value of the
eventTyperecord component
-
isTriggerJob
Returns the value of theisTriggerJobrecord component.- Returns:
- the value of the
isTriggerJobrecord component
-
builtInToolAvailability
Returns the value of thebuiltInToolAvailabilityrecord component.- Returns:
- the value of the
builtInToolAvailabilityrecord component
-