Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 3.25 KB

createtexturegenerationresponse.md

File metadata and controls

24 lines (19 loc) · 3.25 KB

CreateTextureGenerationResponse

Example Usage

import { CreateTextureGenerationResponse } from "@leonardo-ai/sdk/sdk/models/operations";

let value: CreateTextureGenerationResponse = {
  contentType: "<value>",
  statusCode: 423,
  rawResponse: new Response("{\"message\": \"hello world\"}", {
    headers: { "Content-Type": "application/json" },
  }),
};

Fields

Field Type Required Description
contentType string ✔️ HTTP response content type for this operation
statusCode number ✔️ HTTP response status code for this operation
rawResponse Response ✔️ Raw HTTP response; suitable for custom response parsing
object operations.CreateTextureGenerationResponseBody Responses for POST /api/rest/v1/generations-texture