Class ResourceUpdateParams.Body
-
- All Implemented Interfaces:
public final class ResourceUpdateParams.BodyRequest parameters for updating a session resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResourceUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringauthorizationToken()New authorization token for the resource. final JsonField<String>_authorizationToken()Returns the raw JSON value of authorizationToken. final Map<String, JsonValue>_additionalProperties()final ResourceUpdateParams.Body.BuildertoBuilder()final ResourceUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResourceUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
authorizationToken
final String authorizationToken()
New authorization token for the resource. Currently only
github_repositoryresources support token rotation.
-
_authorizationToken
final JsonField<String> _authorizationToken()
Returns the raw JSON value of authorizationToken.
Unlike authorizationToken, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResourceUpdateParams.Body.Builder toBuilder()
-
validate
final ResourceUpdateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResourceUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.authorizationToken()
-
-
-
-