public class FactSheetsApi extends Object
| Constructor and Description |
|---|
FactSheetsApi() |
FactSheetsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
archiveFactSheet(String id,
FactSheetArchiveParameter body)
deleteFactSheet
Deletes a Fact Sheet
|
FactSheetResponse |
createFactSheet(FactSheet body)
createFactSheet
Creates a Fact Sheet
|
RelationResponse |
createFactSheetRelation(FactSheetRelation relation,
UUID id)
createFactSheetRelation
Creates the given relation with the Fact Sheet as one side of the relation.
|
void |
deleteFactSheetRelation(UUID id,
UUID relationId)
deleteFactSheetRelation
Deletes the given relation.
|
ApiClient |
getApiClient() |
FactSheetResponse |
getFactSheet(String id,
String relationTypes,
Boolean permissions)
getFactSheet
Retrieves a Fact Sheet
|
RelationListResponse |
getFactSheetRelations(String id,
String type,
Boolean withFactSheets)
getFactSheetRelations
Retrieves all relations of a Fact Sheet, with the given type
|
FactSheetListResponse |
getFactSheets(String type,
String relationTypes,
Integer pageSize,
String cursor,
Boolean permissions)
getFactSheets
Retrieves all Fact Sheets
|
void |
setApiClient(ApiClient apiClient) |
FactSheetResponse |
updateFactSheet(UUID id,
FactSheet body,
String relationTypes)
updateFactSheet
Updates a Fact Sheet
|
RelationResponse |
updateFactSheetRelation(UUID id,
UUID relationId,
FactSheetRelation relation)
updateFactSheetRelation
Updates the given relation.
|
public FactSheetsApi()
public FactSheetsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void archiveFactSheet(String id, FactSheetArchiveParameter body) throws ApiException
id - (required)body - Contains the comment and the Fact Sheet revision (optional)ApiException - if fails to make API callpublic FactSheetResponse createFactSheet(FactSheet body) throws ApiException
body - Fact Sheet to add (required)ApiException - if fails to make API callpublic RelationResponse createFactSheetRelation(FactSheetRelation relation, UUID id) throws ApiException
relation - (required)id - (required)ApiException - if fails to make API callpublic void deleteFactSheetRelation(UUID id, UUID relationId) throws ApiException
id - (required)relationId - (required)ApiException - if fails to make API callpublic FactSheetResponse getFactSheet(String id, String relationTypes, Boolean permissions) throws ApiException
id - (required)relationTypes - Comma separated list of relation types to show on the Fact Sheets (optional)permissions - Show a permission field for the Fact Sheet (optional, default to false)ApiException - if fails to make API callpublic RelationListResponse getFactSheetRelations(String id, String type, Boolean withFactSheets) throws ApiException
id - (required)type - Only return relations of this type (optional)withFactSheets - Include the to Fact Sheet in the relation (optional)ApiException - if fails to make API callpublic FactSheetListResponse getFactSheets(String type, String relationTypes, Integer pageSize, String cursor, Boolean permissions) throws ApiException
type - Only list Fact Sheets with this type (optional)relationTypes - Comma separated list of relation types to show on the Fact Sheets (optional)pageSize - Number of Fact Sheets to return, maximum is 100 (optional, default to 40)cursor - Marks the position of the first element that should be returned (optional)permissions - Show a permission field for the Fact Sheet (optional, default to false)ApiException - if fails to make API callpublic FactSheetResponse updateFactSheet(UUID id, FactSheet body, String relationTypes) throws ApiException
id - (required)body - Fact Sheet to update (required)relationTypes - Comma separated list of relation types to update. If no types are set, the relations will not be changed. (optional)ApiException - if fails to make API callpublic RelationResponse updateFactSheetRelation(UUID id, UUID relationId, FactSheetRelation relation) throws ApiException
id - (required)relationId - (required)relation - (required)ApiException - if fails to make API callCopyright © 2019 LeanIX GmbH. All rights reserved.