Record Class SessionVisibilitySetResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionVisibilitySetResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionVisibilitySetResult(Boolean synced, SessionVisibilityStatus status, String shareUrl)
extends Record
Effective sharing status and shareable GitHub URL after updating session visibility.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionVisibilitySetResult(Boolean synced, SessionVisibilityStatus status, String shareUrl) Creates an instance of aSessionVisibilitySetResultrecord 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.shareUrl()Returns the value of theshareUrlrecord component.status()Returns the value of thestatusrecord component.synced()Returns the value of thesyncedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionVisibilitySetResult
Creates an instance of aSessionVisibilitySetResultrecord class.- Parameters:
synced- the value for thesyncedrecord componentstatus- the value for thestatusrecord componentshareUrl- the value for theshareUrlrecord 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). -
synced
Returns the value of thesyncedrecord component.- Returns:
- the value of the
syncedrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-