text: "use strict";
  /* tslint:disable */
  /* eslint-disable */
  /**
   * Rosetta
   * Build Once. Integrate Your Blockchain Everywhere.
   *
   * The version of the OpenAPI document: 1.4.10
   *
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   */
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.BlockTransactionRequestToJSON = exports.BlockTransactionRequestFromJSONTyped = exports.BlockTransactionRequestFromJSON = void 0;
  const _1 = require("./");
  function BlockTransactionRequestFromJSON(json) {
      return BlockTransactionRequestFromJSONTyped(json, false);
  }
  exports.BlockTransactionRequestFromJSON = BlockTransactionRequestFromJSON;
  function BlockTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
      if (json === undefined || json === null) {
          return json;
      }
      return {
          network_identifier: (0, _1.NetworkIdentifierFromJSON)(json['network_identifier']),
          block_identifier: (0, _1.BlockIdentifierFromJSON)(json['block_identifier']),
          transaction_identifier: (0, _1.TransactionIdentifierFromJSON)(json['transaction_identifier']),
      };
  }
  exports.BlockTransactionRequestFromJSONTyped = BlockTransactionRequestFromJSONTyped;
  function BlockTransactionRequestToJSON(value) {
      if (value === undefined) {
          return undefined;
      }
      if (value === null) {
          return null;
      }
      return {
          network_identifier: (0, _1.NetworkIdentifierToJSON)(value.network_identifier),
          block_identifier: (0, _1.BlockIdentifierToJSON)(value.block_identifier),
          transaction_identifier: (0, _1.TransactionIdentifierToJSON)(value.transaction_identifier),
      };
  }
  exports.BlockTransactionRequestToJSON = BlockTransactionRequestToJSON;
  