Search in sources :

Example 1 with EnumerateBillingProfileModel

use of bio.terra.model.EnumerateBillingProfileModel in project jade-data-repo by DataBiosphere.

the class ResourcesApiController method enumerateProfiles.

@Override
public ResponseEntity<EnumerateBillingProfileModel> enumerateProfiles(@Valid Integer offset, @Valid Integer limit) {
    ControllerUtils.validateEnumerateParams(offset, limit);
    EnumerateBillingProfileModel ebpm = profileService.enumerateProfiles(offset, limit);
    return new ResponseEntity<>(ebpm, HttpStatus.OK);
}
Also used : ResponseEntity(org.springframework.http.ResponseEntity) EnumerateBillingProfileModel(bio.terra.model.EnumerateBillingProfileModel)

Aggregations

EnumerateBillingProfileModel (bio.terra.model.EnumerateBillingProfileModel)1 ResponseEntity (org.springframework.http.ResponseEntity)1