Record Class SessionsOpenProgress
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionsOpenProgress
@Generated("copilot-sdk-codegen")
public record SessionsOpenProgress(SessionsOpenProgressStep step, SessionsOpenProgressStatus status, String message)
extends Record
Schema for the `SessionsOpenProgress` type.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionsOpenProgress(SessionsOpenProgressStep step, SessionsOpenProgressStatus status, String message) Creates an instance of aSessionsOpenProgressrecord 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.message()Returns the value of themessagerecord component.status()Returns the value of thestatusrecord component.step()Returns the value of thesteprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionsOpenProgress
public SessionsOpenProgress(SessionsOpenProgressStep step, SessionsOpenProgressStatus status, String message) Creates an instance of aSessionsOpenProgressrecord class.- Parameters:
step- the value for thesteprecord componentstatus- the value for thestatusrecord componentmessage- the value for themessagerecord 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). -
step
Returns the value of thesteprecord component.- Returns:
- the value of the
steprecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-