Class QuotasServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.QuotasServiceImpl
-
- All Implemented Interfaces:
Service
,QuotasService
public class QuotasServiceImpl extends ServiceImpl implements QuotasService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.QuotasService
QuotasService.AddRequest, QuotasService.AddResponse, QuotasService.ListRequest, QuotasService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description QuotasServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotasService.AddRequest
add()
Creates a new quota.QuotasService.ListRequest
list()
Lists quotas of a data center.QuotaService
quotaService(String id)
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
QuotasServiceImpl
public QuotasServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public QuotasService.AddRequest add()
Description copied from interface:QuotasService
Creates a new quota. An example of creating a new quota: [source] ---- POST /ovirt-engine/api/datacenters/123/quotas ---- [source,xml] ----myquota My new quota for virtual machines - Specified by:
add
in interfaceQuotasService
-
list
public QuotasService.ListRequest list()
Description copied from interface:QuotasService
Lists quotas of a data center. The order of the returned list of quotas isn't guaranteed.- Specified by:
list
in interfaceQuotasService
-
quotaService
public QuotaService quotaService(String id)
- Specified by:
quotaService
in interfaceQuotasService
-
service
public Service service(String path)
Description copied from interface:QuotasService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceQuotasService
-
-