public class SenlinReceiverServiceImpl extends BaseSenlinServices implements SenlinReceiverService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
SenlinReceiverServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Receiver |
create(ReceiverCreate newReceiver)
|
ActionResponse |
delete(String policyID)
Deletes the specified
Receiver from the server. |
Receiver |
get(String policyID)
returns details of a
Receiver . |
List<? extends Receiver> |
list()
Gets a list of currently existing
Receiver s. |
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Receiver> list()
SenlinReceiverService
Receiver
s.list
in interface SenlinReceiverService
Receiver
spublic Receiver create(ReceiverCreate newReceiver)
SenlinReceiverService
create
in interface SenlinReceiverService
newReceiver
- ReceiverCreate
object out of which Receiver is to be createdReceiver
as returned from the serverpublic Receiver get(String policyID)
SenlinReceiverService
Receiver
.get
in interface SenlinReceiverService
policyID
- Id of Receiver
public ActionResponse delete(String policyID)
SenlinReceiverService
Receiver
from the server.delete
in interface SenlinReceiverService
policyID
- Id of Receiver
Copyright © 2017. All rights reserved.