// File generated from our OpenAPI spec by Stainless.

import * as Core from "../../core";
import { APIResource } from "../../resource";
import { type Response } from "../../_shims/index";

export class Content extends APIResource {
  /**
   * Snippet Content
   */
  get(zoneIdentifier: string, snippetName: string, options?: Core.RequestOptions): Core.APIPromise<Response> {
    return this._client.get(`/zones/${zoneIdentifier}/snippets/${snippetName}/content`, {
      ...options,
      __binaryResponse: true,
    });
  }
}
