Class ProjectCreateParams
-
- All Implemented Interfaces:
-
com.openlayer.api.core.Params
public final class ProjectCreateParams implements Params
Create a project in your workspace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectCreateParams.BuilderA builder for ProjectCreateParams.
public final classProjectCreateParams.Bodypublic final classProjectCreateParams.LinksLinks to the project.
public final classProjectCreateParams.SourceThe source of the project.
public final classProjectCreateParams.TaskTypeThe task type of the project.
public final classProjectCreateParams.GitRepo
-
Method Summary
Modifier and Type Method Description final Stringid()The project id. final Optional<String>creatorId()The project creator id. final OffsetDateTimedateCreated()The project creation date. final OffsetDateTimedateUpdated()The project last updated date. final LongdevelopmentGoalCount()The number of tests in the development mode of the project. final LonggoalCount()The total number of tests in the project. final LonginferencePipelineCount()The number of inference pipelines in the project. final ProjectCreateParams.Linkslinks()Links to the project. final LongmonitoringGoalCount()The number of tests in the monitoring mode of the project. final Stringname()The project name. final Optional<ProjectCreateParams.Source>source()The source of the project. final ProjectCreateParams.TaskTypetaskType()The task type of the project. final LongversionCount()The number of versions (commits) in the project. final Optional<String>workspaceId()The workspace id. final Optional<String>description()The project description. final Optional<ProjectCreateParams.GitRepo>gitRepo()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_creatorId()Returns the raw JSON value of creatorId. final JsonField<OffsetDateTime>_dateCreated()Returns the raw JSON value of dateCreated. final JsonField<OffsetDateTime>_dateUpdated()Returns the raw JSON value of dateUpdated. final JsonField<Long>_developmentGoalCount()Returns the raw JSON value of developmentGoalCount. final JsonField<Long>_goalCount()Returns the raw JSON value of goalCount. final JsonField<Long>_inferencePipelineCount()Returns the raw JSON value of inferencePipelineCount. final JsonField<ProjectCreateParams.Links>_links()Returns the raw JSON value of links. final JsonField<Long>_monitoringGoalCount()Returns the raw JSON value of monitoringGoalCount. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<ProjectCreateParams.Source>_source()Returns the raw JSON value of source. final JsonField<ProjectCreateParams.TaskType>_taskType()Returns the raw JSON value of taskType. final JsonField<Long>_versionCount()Returns the raw JSON value of versionCount. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<ProjectCreateParams.GitRepo>_gitRepo()Returns the raw JSON value of gitRepo. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final ProjectCreateParams.BuildertoBuilder()final ProjectCreateParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectCreateParams. -
-
Method Detail
-
dateCreated
final OffsetDateTime dateCreated()
The project creation date.
-
dateUpdated
final OffsetDateTime dateUpdated()
The project last updated date.
-
developmentGoalCount
final Long developmentGoalCount()
The number of tests in the development mode of the project.
-
inferencePipelineCount
final Long inferencePipelineCount()
The number of inference pipelines in the project.
-
links
final ProjectCreateParams.Links links()
Links to the project.
-
monitoringGoalCount
final Long monitoringGoalCount()
The number of tests in the monitoring mode of the project.
-
source
final Optional<ProjectCreateParams.Source> source()
The source of the project.
-
taskType
final ProjectCreateParams.TaskType taskType()
The task type of the project.
-
versionCount
final Long versionCount()
The number of versions (commits) in the project.
-
workspaceId
final Optional<String> workspaceId()
The workspace id.
-
description
final Optional<String> description()
The project description.
-
gitRepo
final Optional<ProjectCreateParams.GitRepo> gitRepo()
-
_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.
-
_creatorId
final JsonField<String> _creatorId()
Returns the raw JSON value of creatorId.
Unlike creatorId, this method doesn't throw if the JSON field has an unexpected type.
-
_dateCreated
final JsonField<OffsetDateTime> _dateCreated()
Returns the raw JSON value of dateCreated.
Unlike dateCreated, this method doesn't throw if the JSON field has an unexpected type.
-
_dateUpdated
final JsonField<OffsetDateTime> _dateUpdated()
Returns the raw JSON value of dateUpdated.
Unlike dateUpdated, this method doesn't throw if the JSON field has an unexpected type.
-
_developmentGoalCount
final JsonField<Long> _developmentGoalCount()
Returns the raw JSON value of developmentGoalCount.
Unlike developmentGoalCount, this method doesn't throw if the JSON field has an unexpected type.
-
_goalCount
final JsonField<Long> _goalCount()
Returns the raw JSON value of goalCount.
Unlike goalCount, this method doesn't throw if the JSON field has an unexpected type.
-
_inferencePipelineCount
final JsonField<Long> _inferencePipelineCount()
Returns the raw JSON value of inferencePipelineCount.
Unlike inferencePipelineCount, this method doesn't throw if the JSON field has an unexpected type.
-
_links
final JsonField<ProjectCreateParams.Links> _links()
Returns the raw JSON value of links.
Unlike links, this method doesn't throw if the JSON field has an unexpected type.
-
_monitoringGoalCount
final JsonField<Long> _monitoringGoalCount()
Returns the raw JSON value of monitoringGoalCount.
Unlike monitoringGoalCount, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_source
final JsonField<ProjectCreateParams.Source> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_taskType
final JsonField<ProjectCreateParams.TaskType> _taskType()
Returns the raw JSON value of taskType.
Unlike taskType, this method doesn't throw if the JSON field has an unexpected type.
-
_versionCount
final JsonField<Long> _versionCount()
Returns the raw JSON value of versionCount.
Unlike versionCount, this method doesn't throw if the JSON field has an unexpected type.
-
_workspaceId
final JsonField<String> _workspaceId()
Returns the raw JSON value of workspaceId.
Unlike workspaceId, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_gitRepo
final JsonField<ProjectCreateParams.GitRepo> _gitRepo()
Returns the raw JSON value of gitRepo.
Unlike gitRepo, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final ProjectCreateParams.Builder toBuilder()
-
_body
final ProjectCreateParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static ProjectCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of ProjectCreateParams.
The following fields are required:
.id() .creatorId() .dateCreated() .dateUpdated() .developmentGoalCount() .goalCount() .inferencePipelineCount() .links() .monitoringGoalCount() .name() .source() .taskType() .versionCount() .workspaceId()
-
-
-
-