public interface EstimateItemCategoriesApi extends Api.Simple<EstimateItem.Category>
| Modifier and Type | Method and Description |
|---|---|
EstimateItem.Category |
create(EstimateItem.Category creationInfo)
Create a new EstimateItemCategory
|
void |
delete(Reference<EstimateItem.Category> estimateItemCategoryReference)
Delete an existing EstimateItemCategory.
|
EstimateItem.Category |
get(Reference<EstimateItem.Category> estimateItemCategoryReference)
Return an existing EstimateItemCategory.
|
List<EstimateItem.Category> |
list(Instant updatedSince) |
Pagination<EstimateItem.Category> |
list(Instant updatedSince,
int page,
int perPage)
Return a list of estimateItemCategories, sorted by creation date, newest
first.
|
EstimateItem.Category |
update(Reference<EstimateItem.Category> estimateItemCategoryReference,
EstimateItem.Category toChange)
Updates the specific estimateItemCategory by setting the values of the
parameters passed.
|
List<EstimateItem.Category> list(@Nullable Instant updatedSince)
updatedSince - if set, only return categories updated since the given timestampPagination<EstimateItem.Category> list(@Nullable Instant updatedSince, int page, int perPage)
updatedSince - if set, only return categories updated since the given timestamppage - the page numberperPage - how many results to return for one page. Max 100EstimateItem.Category get(Reference<EstimateItem.Category> estimateItemCategoryReference)
get in interface Api.Get<EstimateItem.Category>estimateItemCategoryReference - a reference to an existing EstimateItemCategoryEstimateItem.Category create(EstimateItem.Category creationInfo)
create in interface Api.Create<EstimateItem.Category>creationInfo - creation informationEstimateItem.Category update(Reference<EstimateItem.Category> estimateItemCategoryReference, EstimateItem.Category toChange)
estimateItemCategoryReference - An existing EstimateItemCategory to be updatedtoChange - the changes to be performedvoid delete(Reference<EstimateItem.Category> estimateItemCategoryReference)
delete in interface Api.Delete<EstimateItem.Category>estimateItemCategoryReference - a reference to the EstimateItemCategory to be deleted