/**
 * LogAnalytics API
 * The LogAnalytics API for the LogAnalytics service.

 * OpenAPI spec version: 20200601
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * Field outlining queryString aggregate function entries.
 *
 */ export interface FunctionField extends model . AbstractField { /**
     * Name of the aggregate function.
     *
     */ "function" ? : string ; /**
     * List of function arguments if specified.
     *
     */ "arguments" ? : Array < model . Argument > ; "name" : string ; } export namespace FunctionField { export function getJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . AbstractField . getJsonObj ( obj ) as FunctionField ) ) , ... { "arguments" : obj . arguments ? obj . arguments . map ( item => { return model . Argument . getJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } export const name = "FUNCTION" ; export function getDeserializedJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . AbstractField . getDeserializedJsonObj ( obj ) as FunctionField ) ) , ... { "arguments" : obj . arguments ? obj . arguments . map ( item => { return model . Argument . getDeserializedJsonObj ( item ) ; } ) : undefined } } ; return jsonObj ; } }