/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The model object represents a single Subscription. * @export * @interface Subscription */ export interface Subscription { /** * The ID of this subscription * @type {string} * @memberof Subscription */ subscriptionId?: string; /** * The ID of the user who created this subscription * @type {string} * @memberof Subscription */ subscriberId?: string; /** * The ID of the object that being subscribed * @type {string} * @memberof Subscription */ objectId?: string; /** * The types of object that can be subscribed. * @type {string} * @memberof Subscription */ objectType?: SubscriptionObjectTypeEnum; /** * The timestamp when this subscription was created * @type {string} * @memberof Subscription */ createdOn?: string; } /** * @export */ export declare const SubscriptionObjectTypeEnum: { readonly FORUM: "FORUM"; readonly THREAD: "THREAD"; readonly DATA_ACCESS_SUBMISSION: "DATA_ACCESS_SUBMISSION"; readonly DATA_ACCESS_SUBMISSION_STATUS: "DATA_ACCESS_SUBMISSION_STATUS"; }; export type SubscriptionObjectTypeEnum = typeof SubscriptionObjectTypeEnum[keyof typeof SubscriptionObjectTypeEnum]; /** * Check if a given object implements the Subscription interface. */ export declare function instanceOfSubscription(value: object): value is Subscription; export declare function SubscriptionFromJSON(json: any): Subscription; export declare function SubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Subscription; export declare function SubscriptionToJSON(json: any): Subscription; export declare function SubscriptionToJSONTyped(value?: Subscription | null, ignoreDiscriminator?: boolean): any;