@wildboar/copp
Version:
Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript
113 lines • 3.63 kB
text/typescript
import { OPTIONAL, ASN1Element as _Element } from '@wildboar/asn1';
import * as $ from '@wildboar/asn1/functional';
import { Result } from '../ISO8823-PRESENTATION/Result.ta.mjs';
import { Transfer_syntax_name } from '../ISO8823-PRESENTATION/Transfer-syntax-name.ta.mjs';
import { Result_list_Item_provider_reason } from '../ISO8823-PRESENTATION/Result-list-Item-provider-reason.ta.mjs';
/**
* @summary Result_list_Item
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* Result-list-Item ::= SEQUENCE { -- REMOVED_FROM_UNNESTING -- }
* ```
*
*/
export declare class Result_list_Item {
/**
* @summary `result`.
* @public
* @readonly
*/
readonly result: Result;
/**
* @summary `transfer_syntax_name`.
* @public
* @readonly
*/
readonly transfer_syntax_name?: OPTIONAL<Transfer_syntax_name>;
/**
* @summary `provider_reason`.
* @public
* @readonly
*/
readonly provider_reason?: OPTIONAL<Result_list_Item_provider_reason>;
constructor(
/**
* @summary `result`.
* @public
* @readonly
*/
result: Result,
/**
* @summary `transfer_syntax_name`.
* @public
* @readonly
*/
transfer_syntax_name?: OPTIONAL<Transfer_syntax_name>,
/**
* @summary `provider_reason`.
* @public
* @readonly
*/
provider_reason?: OPTIONAL<Result_list_Item_provider_reason>);
/**
* @summary Restructures an object into a Result_list_Item
* @description
*
* This takes an `object` and converts it to a `Result_list_Item`.
*
* @public
* @static
* @method
* @param {Object} _o An object having all of the keys and values of a `Result_list_Item`.
* @returns {Result_list_Item}
*/
static _from_object(_o: {
[_K in keyof Result_list_Item]: Result_list_Item[_K];
}): Result_list_Item;
}
/**
* @summary The Leading Root Component Types of Result_list_Item
* @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_Result_list_Item: $.ComponentSpec[];
/**
* @summary The Trailing Root Component Types of Result_list_Item
* @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_Result_list_Item: $.ComponentSpec[];
/**
* @summary The Extension Addition Component Types of Result_list_Item
* @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_Result_list_Item: $.ComponentSpec[];
/**
* @summary Decodes an ASN.1 element into a(n) Result_list_Item
* @function
* @param {_Element} el The element being decoded.
* @returns {Result_list_Item} The decoded data structure.
*/
export declare function _decode_Result_list_Item(el: _Element): Result_list_Item;
/**
* @summary Encodes a(n) Result_list_Item 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 Result_list_Item, encoded as an ASN.1 Element.
*/
export declare function _encode_Result_list_Item(value: Result_list_Item, elGetter: $.ASN1Encoder<Result_list_Item>): _Element;
//# sourceMappingURL=Result-list-Item.ta.d.mts.map