Record Class HostSessionSummary
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostSessionSummary
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostSessionSummary(String resource, String title, String createdAt, String modifiedAt, Long status, String activity)
extends Record
Metadata advertised by the AHP host, not a guarantee that history can be resumed.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivity()Returns the value of theactivityrecord component.Returns the value of thecreatedAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themodifiedAtrecord component.resource()Returns the value of theresourcerecord component.status()Returns the value of thestatusrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostSessionSummary
public HostSessionSummary(String resource, String title, String createdAt, String modifiedAt, Long status, String activity) Creates an instance of aHostSessionSummaryrecord class.- Parameters:
resource- the value for theresourcerecord componenttitle- the value for thetitlerecord componentcreatedAt- the value for thecreatedAtrecord componentmodifiedAt- the value for themodifiedAtrecord componentstatus- the value for thestatusrecord componentactivity- the value for theactivityrecord 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). -
resource
Returns the value of theresourcerecord component.- Returns:
- the value of the
resourcerecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
modifiedAt
Returns the value of themodifiedAtrecord component.- Returns:
- the value of the
modifiedAtrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
activity
Returns the value of theactivityrecord component.- Returns:
- the value of the
activityrecord component
-