Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * created: long (Required)
+ * expires: Long (Optional)
+ * result (Optional): {
+ * created: long (Required)
+ * data (Required): [
+ * (Required){
+ * url: String (Optional)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * ]
+ * }
+ * status: String(notRunning/running/succeeded/canceled/failed/deleted) (Required)
+ * error (Optional): (recursive schema, see error above)
+ * }
+ * }
+ *
+ * @param operationId .
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the result of the operation if the operation succeeded along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public MonoRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the {@link PollerFlux} for polling of status details for long running operations.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFluxResponse Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * created: long (Required)
+ * expires: Long (Optional)
+ * result (Optional): {
+ * created: long (Required)
+ * data (Required): [
+ * (Required){
+ * url: String (Optional)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * ]
+ * }
+ * status: String(notRunning/running/succeeded/canceled/failed/deleted) (Required)
+ * error (Optional): (recursive schema, see error above)
+ * }
+ * }
+ *
+ * @param operationId .
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the result of the operation if the operation succeeded along with {@link Response}.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ResponseRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the {@link SyncPoller} for polling of status details for long running operations.
+ */
+ @Generated
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPollerResponse Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * created: long (Required)
+ * expires: Long (Optional)
+ * result (Optional): {
+ * created: long (Required)
+ * data (Required): [
+ * (Required){
+ * url: String (Optional)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * ]
+ * }
+ * status: String(notRunning/running/succeeded/canceled/failed/deleted) (Required)
+ * error (Optional): (recursive schema, see error above)
+ * }
+ * }
+ *
+ * @param operationId .
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the result of the operation if the operation succeeded along with {@link Response} on successful
+ * completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public MonoResponse Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * created: long (Required)
+ * expires: Long (Optional)
+ * result (Optional): {
+ * created: long (Required)
+ * data (Required): [
+ * (Required){
+ * url: String (Optional)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * ]
+ * }
+ * status: String(notRunning/running/succeeded/canceled/failed/deleted) (Required)
+ * error (Optional): (recursive schema, see error above)
+ * }
+ * }
+ *
+ * @param operationId .
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the result of the operation if the operation succeeded along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public ResponseRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return status details for long running operations along with {@link Response} on successful completion of {@link
+ * Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private MonoRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return status details for long running operations along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private ResponseRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the {@link PollerFlux} for polling of status details for long running operations.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFluxRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the {@link SyncPoller} for polling of status details for long running operations.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPollerRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the {@link PollerFlux} for polling of status details for long running operations.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public PollerFluxRequest Body Schema + * + *
{@code
+ * {
+ * prompt: String (Required)
+ * n: Integer (Optional)
+ * size: String(256x256/512x512/1024x1024) (Optional)
+ * user: String (Optional)
+ * }
+ * }
+ *
+ * Response Body Schema + * + *
{@code
+ * {
+ * id: String (Required)
+ * status: String (Required)
+ * error (Optional): {
+ * code: String (Required)
+ * message: String (Required)
+ * target: String (Optional)
+ * details (Optional): [
+ * (recursive schema, see above)
+ * ]
+ * innererror (Optional): {
+ * code: String (Optional)
+ * innererror (Optional): (recursive schema, see innererror above)
+ * }
+ * }
+ * }
+ * }
+ *
+ * @param imageGenerationOptions Represents the request data used to generate images.
+ * @param requestOptions The options to configure the HTTP request before HTTP client sends it.
+ * @throws HttpResponseException thrown if the request is rejected by server.
+ * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
+ * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
+ * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
+ * @return the {@link SyncPoller} for polling of status details for long running operations.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ public SyncPoller