apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
OrgsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
OrgsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
Organization |
get(java.lang.String org)
Get details of organization
|
void |
get(java.lang.String org,
AsyncCallback<Organization> asyncCallback)
Get details of organization
|
void |
get(java.lang.String org,
AsyncCallback<Organization> asyncCallback,
InvocationConfig invocationConfig)
Get details of organization
|
Organization |
get(java.lang.String org,
InvocationConfig invocationConfig)
Get details of organization
|
java.util.List<Organization> |
list()
Return a list of all organizations the calling user (based on credential) is
authorized on.
|
void |
list(AsyncCallback<java.util.List<Organization>> asyncCallback)
Return a list of all organizations the calling user (based on credential) is
authorized on.
|
void |
list(AsyncCallback<java.util.List<Organization>> asyncCallback,
InvocationConfig invocationConfig)
Return a list of all organizations the calling user (based on credential) is
authorized on.
|
java.util.List<Organization> |
list(InvocationConfig invocationConfig)
Return a list of all organizations the calling user (based on credential) is
authorized on.
|
public OrgsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public OrgsStub(ApiProvider apiProvider, StubConfigurationBase config)
public Organization get(java.lang.String org)
Orgs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Organization get(java.lang.String org, InvocationConfig invocationConfig)
Orgs
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String org, AsyncCallback<Organization> asyncCallback)
Orgs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.Organization
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
NotFound
- Organization doesn't exist
public void get(java.lang.String org, AsyncCallback<Organization> asyncCallback, InvocationConfig invocationConfig)
Orgs
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:
com.vmware.vmc.model.Organization
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
NotFound
- Organization doesn't exist
public java.util.List<Organization> list()
Orgs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<Organization> list(InvocationConfig invocationConfig)
Orgs
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(AsyncCallback<java.util.List<Organization>> asyncCallback)
Orgs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
public void list(AsyncCallback<java.util.List<Organization>> asyncCallback, InvocationConfig invocationConfig)
Orgs
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
- Forbidden