Skip to content

Files

23 lines (18 loc) · 1.78 KB

gettransienttokenresponse.md

File metadata and controls

23 lines (18 loc) · 1.78 KB

GetTransientTokenResponse

Example Usage

import { GetTransientTokenResponse } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetTransientTokenResponse = {
  contentType: "<value>",
  statusCode: 203,
  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