Record Class HostStartParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostStartParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostStartParams(String hostId, HostLocalServerOptions localServer, HostGitHubEnvironmentOptions gitHubEnvironment, Boolean sessionFactory, Boolean resumeFactory)
extends Record
Starts a supervised AHP host with at least one explicitly selected transport.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostStartParams(String hostId, HostLocalServerOptions localServer, HostGitHubEnvironmentOptions gitHubEnvironment, Boolean sessionFactory, Boolean resumeFactory) Creates an instance of aHostStartParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegitHubEnvironmentrecord component.final inthashCode()Returns a hash code value for this object.hostId()Returns the value of thehostIdrecord component.Returns the value of thelocalServerrecord component.Returns the value of theresumeFactoryrecord component.Returns the value of thesessionFactoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostStartParams
public HostStartParams(String hostId, HostLocalServerOptions localServer, HostGitHubEnvironmentOptions gitHubEnvironment, Boolean sessionFactory, Boolean resumeFactory) Creates an instance of aHostStartParamsrecord class.- Parameters:
hostId- the value for thehostIdrecord componentlocalServer- the value for thelocalServerrecord componentgitHubEnvironment- the value for thegitHubEnvironmentrecord componentsessionFactory- the value for thesessionFactoryrecord componentresumeFactory- the value for theresumeFactoryrecord 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). -
hostId
Returns the value of thehostIdrecord component.- Returns:
- the value of the
hostIdrecord component
-
localServer
Returns the value of thelocalServerrecord component.- Returns:
- the value of the
localServerrecord component
-
gitHubEnvironment
Returns the value of thegitHubEnvironmentrecord component.- Returns:
- the value of the
gitHubEnvironmentrecord component
-
sessionFactory
Returns the value of thesessionFactoryrecord component.- Returns:
- the value of the
sessionFactoryrecord component
-
resumeFactory
Returns the value of theresumeFactoryrecord component.- Returns:
- the value of the
resumeFactoryrecord component
-