public interface Projects
Modifier and Type | Interface and Description |
---|---|
static class |
Projects.ListRequest |
static class |
Projects.NotImplemented
A default implementation which allows source compatibility when adding new methods to the
interface.
|
Modifier and Type | Method and Description |
---|---|
ProjectApi |
create(ProjectInput in)
Create a project.
|
ProjectApi |
create(java.lang.String name)
Create a project using the default configuration.
|
Projects.ListRequest |
list() |
ProjectApi |
name(java.lang.String name)
Look up a project by name.
|
ProjectApi name(java.lang.String name) throws RestApiException
Note: This method eagerly reads the project. Methods that mutate the
project do not necessarily re-read the project. Therefore, calling a getter method on an
instance after calling a mutation method on that same instance is not guaranteed to reflect the
mutation. It is not recommended to store references to ProjectApi
instances.
name
- project name.RestApiException
- if an error occurred.ProjectApi create(java.lang.String name) throws RestApiException
name
- project name.RestApiException
- if an error occurred.ProjectApi create(ProjectInput in) throws RestApiException
in
- project creation input; name must be set.RestApiException
- if an error occurred.Projects.ListRequest list()