Package org.ovirt.engine.sdk4.services
Interface EventsService.ListRequest
-
- All Superinterfaces:
Request<EventsService.ListRequest,EventsService.ListResponse>
- Enclosing interface:
- EventsService
public static interface EventsService.ListRequest extends Request<EventsService.ListRequest,EventsService.ListResponse>
Get list of events. [source] ---- GET /ovirt-engine/api/events ---- To the above request we get following response: [source,xml] ----User admin@internal-authz logged out. 31
1e892ea9 -1 30 oVirt normal User admin logged in. 30
1fbd81f4 -1 30 oVirt normal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventsService.ListRequest
caseSensitive(Boolean caseSensitive)
Indicates if the search performed using the `search` parameter should be performed taking case into account.EventsService.ListRequest
follow(String follow)
Indicates which inner links should be _followed_.EventsService.ListRequest
from(Integer from)
Indicates the event index after which events should be returned.EventsService.ListRequest
from(Long from)
Indicates the event index after which events should be returned.EventsService.ListRequest
from(BigInteger from)
Indicates the event index after which events should be returned.EventsService.ListRequest
max(Integer max)
Sets the maximum number of events to return.EventsService.ListRequest
max(Long max)
Sets the maximum number of events to return.EventsService.ListRequest
max(BigInteger max)
Sets the maximum number of events to return.EventsService.ListRequest
search(String search)
The events service provides search queries similar to other resource services.
-
-
-
Method Detail
-
caseSensitive
EventsService.ListRequest caseSensitive(Boolean caseSensitive)
Indicates if the search performed using the `search` parameter should be performed taking case into account. The default value is `true`, which means that case is taken into account. If you want to search ignoring case set it to `false`.
-
follow
EventsService.ListRequest follow(String follow)
Indicates which inner links should be _followed_. The objects referenced by these links will be fetched as part of the current request. See <> for details.
-
from
EventsService.ListRequest from(Integer from)
Indicates the event index after which events should be returned. The indexes of events are strictly increasing, so when this parameter is used only the events with greater indexes will be returned. For example, the following request will return only the events with indexes greater than `123`: [source] ---- GET /ovirt-engine/api/events?from=123 ---- This parameter is optional, and if not specified then the first event returned will be most recently generated.
-
from
EventsService.ListRequest from(Long from)
Indicates the event index after which events should be returned. The indexes of events are strictly increasing, so when this parameter is used only the events with greater indexes will be returned. For example, the following request will return only the events with indexes greater than `123`: [source] ---- GET /ovirt-engine/api/events?from=123 ---- This parameter is optional, and if not specified then the first event returned will be most recently generated.
-
from
EventsService.ListRequest from(BigInteger from)
Indicates the event index after which events should be returned. The indexes of events are strictly increasing, so when this parameter is used only the events with greater indexes will be returned. For example, the following request will return only the events with indexes greater than `123`: [source] ---- GET /ovirt-engine/api/events?from=123 ---- This parameter is optional, and if not specified then the first event returned will be most recently generated.
-
max
EventsService.ListRequest max(Integer max)
Sets the maximum number of events to return. If not specified all the events are returned.
-
max
EventsService.ListRequest max(Long max)
Sets the maximum number of events to return. If not specified all the events are returned.
-
max
EventsService.ListRequest max(BigInteger max)
Sets the maximum number of events to return. If not specified all the events are returned.
-
search
EventsService.ListRequest search(String search)
The events service provides search queries similar to other resource services. We can search by providing specific severity. [source] ---- GET /ovirt-engine/api/events?search=severity%3Dnormal ---- To the above request we get a list of events which severity is equal to `normal`: [source,xml] ----User admin@internal-authz logged out. 31
1fbd81f4 -1 30 oVirt normal Affinity Rules Enforcement Manager started. 10780
-1 30 oVirt normal
-
-