Interface ProjectService
-
- All Implemented Interfaces:
public interface ProjectService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceProjectService.WithRawResponseA view of ProjectService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract ProjectService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract LogServicelogs()Projectcreate(ProjectCreateParams params)Create a new project. abstract Projectcreate(ProjectCreateParams params, RequestOptions requestOptions)Projectretrieve(ProjectRetrieveParams params)Get a project object by its id abstract Projectretrieve(ProjectRetrieveParams params, RequestOptions requestOptions)Projectupdate(ProjectUpdateParams params)Partially update a project object. abstract Projectupdate(ProjectUpdateParams params, RequestOptions requestOptions)ProjectListPagelist()List out all projects. abstract ProjectListPagelist(ProjectListParams params, RequestOptions requestOptions)ProjectListPagelist(ProjectListParams params)ProjectListPagelist(RequestOptions requestOptions)Projectdelete(ProjectDeleteParams params)Delete a project object by its id abstract Projectdelete(ProjectDeleteParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract ProjectService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
logs
abstract LogService logs()
-
create
Project create(ProjectCreateParams params)
Create a new project. If there is an existing project with the same name as the one specified in the request, will return the existing project unmodified
-
create
abstract Project create(ProjectCreateParams params, RequestOptions requestOptions)
-
retrieve
Project retrieve(ProjectRetrieveParams params)
Get a project object by its id
-
retrieve
abstract Project retrieve(ProjectRetrieveParams params, RequestOptions requestOptions)
-
update
Project update(ProjectUpdateParams params)
Partially update a project object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
-
update
abstract Project update(ProjectUpdateParams params, RequestOptions requestOptions)
-
list
ProjectListPage list()
List out all projects. The projects are sorted by creation date, with the most recently-created projects coming first
-
list
abstract ProjectListPage list(ProjectListParams params, RequestOptions requestOptions)
-
list
ProjectListPage list(ProjectListParams params)
-
list
ProjectListPage list(RequestOptions requestOptions)
-
delete
Project delete(ProjectDeleteParams params)
Delete a project object by its id
-
delete
abstract Project delete(ProjectDeleteParams params, RequestOptions requestOptions)
-
-
-
-