UNPKG

wallee

Version:
40 lines (39 loc) 1.8 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfAnalyticsQueryExecutionRequest = instanceOfAnalyticsQueryExecutionRequest; exports.AnalyticsQueryExecutionRequestFromJSON = AnalyticsQueryExecutionRequestFromJSON; exports.AnalyticsQueryExecutionRequestFromJSONTyped = AnalyticsQueryExecutionRequestFromJSONTyped; exports.AnalyticsQueryExecutionRequestToJSON = AnalyticsQueryExecutionRequestToJSON; exports.AnalyticsQueryExecutionRequestToJSONTyped = AnalyticsQueryExecutionRequestToJSONTyped; /** * Check if a given object implements the AnalyticsQueryExecutionRequest interface. */ function instanceOfAnalyticsQueryExecutionRequest(value) { return true; } function AnalyticsQueryExecutionRequestFromJSON(json) { return AnalyticsQueryExecutionRequestFromJSONTyped(json, false); } function AnalyticsQueryExecutionRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'sftpDispatchSettingsId': json['sftpDispatchSettingsId'] == null ? undefined : json['sftpDispatchSettingsId'], 'sftpDispatchResultFileRenamePattern': json['sftpDispatchResultFileRenamePattern'] == null ? undefined : json['sftpDispatchResultFileRenamePattern'], 'sql': json['sql'] == null ? undefined : json['sql'], }; } function AnalyticsQueryExecutionRequestToJSON(json) { return AnalyticsQueryExecutionRequestToJSONTyped(json, false); } function AnalyticsQueryExecutionRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'sftpDispatchSettingsId': value['sftpDispatchSettingsId'], 'sftpDispatchResultFileRenamePattern': value['sftpDispatchResultFileRenamePattern'], 'sql': value['sql'], }; }