public class ReservationsStub extends com.vmware.vapi.internal.bindings.Stub implements Reservations
Reservations
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ReservationsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ReservationsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<MaintenanceWindowEntry> |
list(java.lang.String org)
Get all reservations for this org
|
void |
list(java.lang.String org,
AsyncCallback<java.util.List<MaintenanceWindowEntry>> asyncCallback)
Get all reservations for this org
|
void |
list(java.lang.String org,
AsyncCallback<java.util.List<MaintenanceWindowEntry>> asyncCallback,
InvocationConfig invocationConfig)
Get all reservations for this org
|
java.util.List<MaintenanceWindowEntry> |
list(java.lang.String org,
InvocationConfig invocationConfig)
Get all reservations for this org
|
public ReservationsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ReservationsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<MaintenanceWindowEntry> list(java.lang.String org)
Reservations
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Reservations
org
- Organization identifier (required)public java.util.List<MaintenanceWindowEntry> list(java.lang.String org, InvocationConfig invocationConfig)
Reservations
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Reservations
org
- Organization identifier (required)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String org, AsyncCallback<java.util.List<MaintenanceWindowEntry>> asyncCallback)
Reservations
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Access not allowed to the operation for the current user
list
in interface Reservations
org
- Organization identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String org, AsyncCallback<java.util.List<MaintenanceWindowEntry>> asyncCallback, InvocationConfig invocationConfig)
Reservations
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Access not allowed to the operation for the current user
list
in interface Reservations
org
- Organization identifier (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.