Class BetaManagedAgentsGitHubRepositoryResource
-
- All Implemented Interfaces:
public final class BetaManagedAgentsGitHubRepositoryResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsGitHubRepositoryResource.BuilderA builder for BetaManagedAgentsGitHubRepositoryResource.
public final classBetaManagedAgentsGitHubRepositoryResource.Checkout
-
Method Summary
Modifier and Type Method Description final Stringid()final OffsetDateTimecreatedAt()A timestamp in RFC 3339 format final StringmountPath()final OffsetDateTimeupdatedAt()A timestamp in RFC 3339 format final Stringurl()final Optional<BetaManagedAgentsGitHubRepositoryResource.Checkout>checkout()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("github_repository")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_mountPath()Returns the raw JSON value of mountPath. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<BetaManagedAgentsGitHubRepositoryResource.Checkout>_checkout()Returns the raw JSON value of checkout. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsGitHubRepositoryResource.BuildertoBuilder()final BetaManagedAgentsGitHubRepositoryResourcevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsGitHubRepositoryResource.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsGitHubRepositoryResource. -
-
Method Detail
-
createdAt
final OffsetDateTime createdAt()
A timestamp in RFC 3339 format
-
updatedAt
final OffsetDateTime updatedAt()
A timestamp in RFC 3339 format
-
checkout
final Optional<BetaManagedAgentsGitHubRepositoryResource.Checkout> checkout()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("github_repository")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_mountPath
final JsonField<String> _mountPath()
Returns the raw JSON value of mountPath.
Unlike mountPath, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_checkout
final JsonField<BetaManagedAgentsGitHubRepositoryResource.Checkout> _checkout()
Returns the raw JSON value of checkout.
Unlike checkout, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsGitHubRepositoryResource.Builder toBuilder()
-
validate
final BetaManagedAgentsGitHubRepositoryResource 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 BetaManagedAgentsGitHubRepositoryResource.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsGitHubRepositoryResource.
The following fields are required:
.id() .createdAt() .mountPath() .updatedAt() .url()
-
-
-
-