import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { BaseManagedObjectId } from '../CMIP-1/BaseManagedObjectId.ta.mjs'; import { AccessControl } from '../CMIP-1/AccessControl.ta.mjs'; import { CMISSync, _enum_for_CMISSync } from '../CMIP-1/CMISSync.ta.mjs'; import { Scope } from '../CMIP-1/Scope.ta.mjs'; import { CMISFilter } from '../CMIP-1/CMISFilter.ta.mjs'; import { SetArgument_modificationList_Item } from '../CMIP-1/SetArgument-modificationList-Item.ta.mjs'; import { ObjectClass } from '../CMIP-1/ObjectClass.ta.mjs'; import { ObjectInstance } from '../CMIP-1/ObjectInstance.ta.mjs'; /** * @summary SetArgument * @description * * ### ASN.1 Definition: * * ```asn1 * SetArgument ::= SEQUENCE { * COMPONENTS OF BaseManagedObjectId, * accessControl [5] AccessControl OPTIONAL, * synchronization [6] IMPLICIT CMISSync DEFAULT bestEffort, * scope [7] Scope DEFAULT namedNumbers:baseObject, * filter CMISFilter DEFAULT and:{}, * modificationList * [12] IMPLICIT SET OF * SEQUENCE {modifyOperator * [2] IMPLICIT ModifyOperator DEFAULT replace, * attributeId * CMIP-ATTRIBUTE.&id({AttributeSet}), * attributeValue * CMIP-ATTRIBUTE.&Value * ({AttributeSet}{@.attributeId}) OPTIONAL * }, * -- value is absent for setToDefault * ... * } * ``` * */ export declare class SetArgument implements BaseManagedObjectId { /** * @summary `baseManagedObjectClass`. * @public * @readonly */ readonly baseManagedObjectClass: ObjectClass; /** * @summary `baseManagedObjectInstance`. * @public * @readonly */ readonly baseManagedObjectInstance: ObjectInstance; /** * @summary `accessControl`. * @public * @readonly */ readonly accessControl: OPTIONAL; /** * @summary `synchronization`. * @public * @readonly */ readonly synchronization: OPTIONAL; /** * @summary `scope`. * @public * @readonly */ readonly scope: OPTIONAL; /** * @summary `filter`. * @public * @readonly */ readonly filter: OPTIONAL; /** * @summary `modificationList`. * @public * @readonly */ readonly modificationList: SetArgument_modificationList_Item[]; /** * @summary Extensions that are not recognized. * @public * @readonly */ readonly _unrecognizedExtensionsList: _Element[]; constructor( /** * @summary `baseManagedObjectClass`. * @public * @readonly */ baseManagedObjectClass: ObjectClass, /** * @summary `baseManagedObjectInstance`. * @public * @readonly */ baseManagedObjectInstance: ObjectInstance, /** * @summary `accessControl`. * @public * @readonly */ accessControl: OPTIONAL, /** * @summary `synchronization`. * @public * @readonly */ synchronization: OPTIONAL, /** * @summary `scope`. * @public * @readonly */ scope: OPTIONAL, /** * @summary `filter`. * @public * @readonly */ filter: OPTIONAL, /** * @summary `modificationList`. * @public * @readonly */ modificationList: SetArgument_modificationList_Item[], /** * @summary Extensions that are not recognized. * @public * @readonly */ _unrecognizedExtensionsList?: _Element[]); /** * @summary Restructures an object into a SetArgument * @description * * This takes an `object` and converts it to a `SetArgument`. * * @public * @static * @method * @param {Object} _o An object having all of the keys and values of a `SetArgument`. * @returns {SetArgument} */ static _from_object(_o: { [_K in keyof SetArgument]: SetArgument[_K]; }): SetArgument; /** * @summary Getter that returns the default value for `synchronization`. * @public * @static * @method */ static get _default_value_for_synchronization(): CMISSync; /** * @summary Getter that returns the default value for `scope`. * @public * @static * @method */ static get _default_value_for_scope(): Scope; /** * @summary Getter that returns the default value for `filter`. * @public * @static * @method */ static get _default_value_for_filter(): CMISFilter; /** * @summary The enum used as the type of the component `synchronization` * @public * @static */ static _enum_for_synchronization: typeof _enum_for_CMISSync; } /** * @summary The Leading Root Component Types of SetArgument * @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_SetArgument: $.ComponentSpec[]; /** * @summary The Trailing Root Component Types of SetArgument * @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_SetArgument: $.ComponentSpec[]; /** * @summary The Extension Addition Component Types of SetArgument * @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_SetArgument: $.ComponentSpec[]; /** * @summary Decodes an ASN.1 element into a(n) SetArgument * @function * @param {_Element} el The element being decoded. * @returns {SetArgument} The decoded data structure. */ export declare function _decode_SetArgument(el: _Element): SetArgument; /** * @summary Encodes a(n) SetArgument 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 SetArgument, encoded as an ASN.1 Element. */ export declare function _encode_SetArgument(value: SetArgument, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SetArgument.ta.d.mts.map