Package co.cloudcraft.api
Class BudgetApi
java.lang.Object
co.cloudcraft.api.ApiBase
co.cloudcraft.api.BudgetApi
-
Nested Class Summary
Nested classes/interfaces inherited from class co.cloudcraft.api.ApiBase
ApiBase.BlueprintExportFormat, ApiBase.BudgetExportFormat -
Field Summary
Fields inherited from class co.cloudcraft.api.ApiBase
CONTENT_TYPE_HEADER_MAP, restClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexport(@NonNull String blueprintId, @NonNull ApiBase.BudgetExportFormat format, ExportBudgetQueryParams requestParams) Export budget for blueprint in CSV or XLSX format.
-
Constructor Details
-
BudgetApi
-
-
Method Details
-
export
public CloudcraftResponse export(@NonNull @NonNull String blueprintId, @NonNull @NonNull ApiBase.BudgetExportFormat format, ExportBudgetQueryParams requestParams) throws CloudcraftException Export budget for blueprint in CSV or XLSX format. Consumer of this API can extract the response using the convenience APIs inCloudcraftResponseeither inStringorbyte[]format.- Parameters:
blueprintId- blueprint identifierformat- one of CSV or XLSX formatrequestParams- Optional query parameters for the configuring the response- Returns:
- Response object
- Throws:
CloudcraftException- when any error occurs exercising this API
-