public class CompatibilityStub extends com.vmware.vapi.internal.bindings.Stub implements Compatibility
Compatibility
API service.
WARNING: Internal class, subject to change in future versions.
CompatibilityTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
CompatibilityStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CompatibilityStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CompatibilityTypes.Summary> |
check(EdgesTypes.FilterSpec filter)
Returns a list of Edges matching the given filter and their compatibility
information.
|
void |
check(EdgesTypes.FilterSpec filter,
AsyncCallback<java.util.List<CompatibilityTypes.Summary>> asyncCallback)
Returns a list of Edges matching the given filter and their compatibility
information.
|
void |
check(EdgesTypes.FilterSpec filter,
AsyncCallback<java.util.List<CompatibilityTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of Edges matching the given filter and their compatibility
information.
|
java.util.List<CompatibilityTypes.Summary> |
check(EdgesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns a list of Edges matching the given filter and their compatibility
information.
|
public CompatibilityStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CompatibilityStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<CompatibilityTypes.Summary> check(EdgesTypes.FilterSpec filter)
Compatibility
Synchronous method overload. Result of the invocation will be reported as a method return value.
check
in interface Compatibility
filter
- Specification of matching Edges for which information should be returned.
If null
, the behavior is equivalent to a given filter with all
properties null
which means all Edges will be returned.public java.util.List<CompatibilityTypes.Summary> check(EdgesTypes.FilterSpec filter, InvocationConfig invocationConfig)
Compatibility
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
check
in interface Compatibility
filter
- Specification of matching Edges for which information should be returned.
If null
, the behavior is equivalent to a given filter with all
properties null
which means all Edges will be returned.invocationConfig
- Configuration for the method invocation.public void check(EdgesTypes.FilterSpec filter, AsyncCallback<java.util.List<CompatibilityTypes.Summary>> asyncCallback)
Compatibility
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of Edge compatibility summaries matching the given filter.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if one or more fields of the given filter is incorrect.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have System.Read
privilege.
check
in interface Compatibility
filter
- Specification of matching Edges for which information should be returned.
If null
, the behavior is equivalent to a given filter with all
properties null
which means all Edges will be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void check(EdgesTypes.FilterSpec filter, AsyncCallback<java.util.List<CompatibilityTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Compatibility
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
List of Edge compatibility summaries matching the given filter.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if one or more fields of the given filter is incorrect.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have System.Read
privilege.
check
in interface Compatibility
filter
- Specification of matching Edges for which information should be returned.
If null
, the behavior is equivalent to a given filter with all
properties null
which means all Edges will be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.