public class QuestionStub extends com.vmware.vapi.internal.bindings.Stub implements Question
Question
API service.
WARNING: Internal class, subject to change in future versions.
QuestionTypes.AnswerSpec, QuestionTypes.Info, QuestionTypes.Question, QuestionTypes.QuestionType
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
QuestionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
QuestionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
answer(QuestionTypes.AnswerSpec spec)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Supply answer to the raised question.
|
void |
answer(QuestionTypes.AnswerSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Supply answer to the raised question.
|
QuestionTypes.Info |
get()
Get the question that was raised during the configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<QuestionTypes.Info> asyncCallback)
Get the question that was raised during the configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<QuestionTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the question that was raised during the configuration.
|
QuestionTypes.Info |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the question that was raised during the configuration.
|
public QuestionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public QuestionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public QuestionTypes.Info get()
Question
Synchronous method overload. Result of the invocation will be reported as a method return value.
public QuestionTypes.Info get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Question
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(com.vmware.vapi.bindings.client.AsyncCallback<QuestionTypes.Info> asyncCallback)
Question
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Info structure containing the question.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.
InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.
public void get(com.vmware.vapi.bindings.client.AsyncCallback<QuestionTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Question
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:
Info structure containing the question.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if the appliance is not in QUESTION_RAISED state.
InternalServerError
- if questions could not be retrieved although the appliance is in QUESTION_RAISED
state.
public void answer(QuestionTypes.AnswerSpec spec)
Question
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void answer(QuestionTypes.AnswerSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Question
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 answer(QuestionTypes.AnswerSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Question
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.
InternalServerError
- if answer file could not be created.
public void answer(QuestionTypes.AnswerSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Question
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
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is NOT in QUESTION_RAISED state.
InternalServerError
- if answer file could not be created.