/** * 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. */ /** * GA4GH Visa * @export * @interface GA4GHVisa */ export interface GA4GHVisa { /** * The visa type. Note: Custom types are not supported. * @type {string} * @memberof GA4GHVisa */ type?: GA4GHVisaTypeEnum; /** * Seconds since unix epoch that represents when the Visa Assertion Source made the claim. * @type {number} * @memberof GA4GHVisa */ asserted?: number; /** * A string that represents any of the scope, process, identifier and version of the assertion. * @type {string} * @memberof GA4GHVisa */ value?: string; /** * A URL Claim that provides at a minimum the organization that made the assertion. * @type {string} * @memberof GA4GHVisa */ source?: string; /** * The level or type of authority within the 'source' organization of the assertion. * @type {string} * @memberof GA4GHVisa */ by?: GA4GHVisaByEnum; } /** * @export */ export declare const GA4GHVisaTypeEnum: { readonly AffiliationAndRole: "AffiliationAndRole"; readonly AcceptedTermsAndPolicies: "AcceptedTermsAndPolicies"; readonly ResearcherStatus: "ResearcherStatus"; readonly ControlledAccessGrants: "ControlledAccessGrants"; readonly LinkedIdentities: "LinkedIdentities"; }; export type GA4GHVisaTypeEnum = typeof GA4GHVisaTypeEnum[keyof typeof GA4GHVisaTypeEnum]; /** * @export */ export declare const GA4GHVisaByEnum: { readonly self: "self"; readonly peer: "peer"; readonly system: "system"; readonly so: "so"; readonly dac: "dac"; }; export type GA4GHVisaByEnum = typeof GA4GHVisaByEnum[keyof typeof GA4GHVisaByEnum]; /** * Check if a given object implements the GA4GHVisa interface. */ export declare function instanceOfGA4GHVisa(value: object): value is GA4GHVisa; export declare function GA4GHVisaFromJSON(json: any): GA4GHVisa; export declare function GA4GHVisaFromJSONTyped(json: any, ignoreDiscriminator: boolean): GA4GHVisa; export declare function GA4GHVisaToJSON(json: any): GA4GHVisa; export declare function GA4GHVisaToJSONTyped(value?: GA4GHVisa | null, ignoreDiscriminator?: boolean): any;