Record Class HostGetEnvironmentCredentialsResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.HostGetEnvironmentCredentialsResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record HostGetEnvironmentCredentialsResult(String token, String gitHubHost, String gitHubApiUrl, String missionControlUrl)
extends Record
Private credentials delivered only to a runtime-owned Mission Control hosting participant.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionHostGetEnvironmentCredentialsResult(String token, String gitHubHost, String gitHubApiUrl, String missionControlUrl) Creates an instance of aHostGetEnvironmentCredentialsResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegitHubApiUrlrecord component.Returns the value of thegitHubHostrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themissionControlUrlrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HostGetEnvironmentCredentialsResult
public HostGetEnvironmentCredentialsResult(String token, String gitHubHost, String gitHubApiUrl, String missionControlUrl) Creates an instance of aHostGetEnvironmentCredentialsResultrecord class.- Parameters:
token- the value for thetokenrecord componentgitHubHost- the value for thegitHubHostrecord componentgitHubApiUrl- the value for thegitHubApiUrlrecord componentmissionControlUrl- the value for themissionControlUrlrecord 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). -
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
gitHubHost
Returns the value of thegitHubHostrecord component.- Returns:
- the value of the
gitHubHostrecord component
-
gitHubApiUrl
Returns the value of thegitHubApiUrlrecord component.- Returns:
- the value of the
gitHubApiUrlrecord component
-
missionControlUrl
Returns the value of themissionControlUrlrecord component.- Returns:
- the value of the
missionControlUrlrecord component
-