Record Class HostGetConfigurationResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostGetConfigurationResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostGetConfigurationResult(HostLocalServerConfiguration localServer, HostGitHubEnvironmentOptions gitHubEnvironment, Boolean sessionFactory, Boolean resumeFactory)
extends Record
Normalized listener settings delivered only to the supervised hosting participant.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostGetConfigurationResult(HostLocalServerConfiguration localServer, HostGitHubEnvironmentOptions gitHubEnvironment, Boolean sessionFactory, Boolean resumeFactory) Creates an instance of aHostGetConfigurationResultrecord 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.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
-
HostGetConfigurationResult
public HostGetConfigurationResult(HostLocalServerConfiguration localServer, HostGitHubEnvironmentOptions gitHubEnvironment, Boolean sessionFactory, Boolean resumeFactory) Creates an instance of aHostGetConfigurationResultrecord class.- Parameters:
localServer- 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). -
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
-