import { OPTIONAL, OBJECT_IDENTIFIER, GeneralizedTime, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { TestPatternSequence } from '../TestCategories-ASN1Module/TestPatternSequence.ta.mjs'; import { Timespec } from '../Test-ASN1Module/Timespec.ta.mjs'; import { LoopbackError } from '../TestCategories-ASN1Module/LoopbackError.ta.mjs'; /** * @summary LoopbackTestInfo * @description * * ### ASN.1 Definition: * * ```asn1 * LoopbackTestInfo ::= SEQUENCE { * loopbackData TestPatternSequence OPTIONAL, * testStartTime GeneralizedTime OPTIONAL, * testIntervalTime [1] Timespec OPTIONAL, * reportingIntervalTime [2] Timespec OPTIONAL, * loopbackType OBJECT IDENTIFIER OPTIONAL, * loopbackTimeout [3] Timespec OPTIONAL, * loopbackErrorThreshold LoopbackError OPTIONAL * } * ``` * */ export declare class LoopbackTestInfo { /** * @summary `loopbackData`. * @public * @readonly */ readonly loopbackData?: OPTIONAL; /** * @summary `testStartTime`. * @public * @readonly */ readonly testStartTime?: OPTIONAL; /** * @summary `testIntervalTime`. * @public * @readonly */ readonly testIntervalTime?: OPTIONAL; /** * @summary `reportingIntervalTime`. * @public * @readonly */ readonly reportingIntervalTime?: OPTIONAL; /** * @summary `loopbackType`. * @public * @readonly */ readonly loopbackType?: OPTIONAL; /** * @summary `loopbackTimeout`. * @public * @readonly */ readonly loopbackTimeout?: OPTIONAL; /** * @summary `loopbackErrorThreshold`. * @public * @readonly */ readonly loopbackErrorThreshold?: OPTIONAL; constructor( /** * @summary `loopbackData`. * @public * @readonly */ loopbackData?: OPTIONAL, /** * @summary `testStartTime`. * @public * @readonly */ testStartTime?: OPTIONAL, /** * @summary `testIntervalTime`. * @public * @readonly */ testIntervalTime?: OPTIONAL, /** * @summary `reportingIntervalTime`. * @public * @readonly */ reportingIntervalTime?: OPTIONAL, /** * @summary `loopbackType`. * @public * @readonly */ loopbackType?: OPTIONAL, /** * @summary `loopbackTimeout`. * @public * @readonly */ loopbackTimeout?: OPTIONAL, /** * @summary `loopbackErrorThreshold`. * @public * @readonly */ loopbackErrorThreshold?: OPTIONAL); /** * @summary Restructures an object into a LoopbackTestInfo * @description * * This takes an `object` and converts it to a `LoopbackTestInfo`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `LoopbackTestInfo`. * @returns {LoopbackTestInfo} */ static _from_object(_o: { [_K in keyof LoopbackTestInfo]: LoopbackTestInfo[_K]; }): LoopbackTestInfo; } /** * @summary The Leading Root Component Types of LoopbackTestInfo * @description * * This is an array of `ComponentSpec`s that define how to decode the leading root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_1_spec_for_LoopbackTestInfo: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of LoopbackTestInfo * @description * * This is an array of `ComponentSpec`s that define how to decode the trailing root component type list of a SET or SEQUENCE. * * @constant */ export declare const _root_component_type_list_2_spec_for_LoopbackTestInfo: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of LoopbackTestInfo * @description * * This is an array of `ComponentSpec`s that define how to decode the extension addition component type list of a SET or SEQUENCE. * * @constant */ export declare const _extension_additions_list_spec_for_LoopbackTestInfo: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) LoopbackTestInfo * @function * @param {_Element} el The element being decoded. * @returns {LoopbackTestInfo} The decoded data structure. */ export declare function _decode_LoopbackTestInfo(el: _Element): LoopbackTestInfo; /** * @summary Encodes a(n) LoopbackTestInfo into an ASN.1 Element. * @function * @param value The element being encoded. * @param elGetter A function that can be used to get new ASN.1 elements. * @returns {_Element} The LoopbackTestInfo, encoded as an ASN.1 Element. */ export declare function _encode_LoopbackTestInfo(value: LoopbackTestInfo, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=LoopbackTestInfo.ta.d.mts.map