/** * 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. */ import type { ResponseCorrectness } from './ResponseCorrectness'; /** * A record of whether a given user passed a given test * @export * @interface PassingRecord */ export interface PassingRecord { /** * The principal id of the user * @type {string} * @memberof PassingRecord */ userId?: string; /** * The id of the quiz * @type {number} * @memberof PassingRecord */ quizId?: number; /** * The id of the user's response * @type {number} * @memberof PassingRecord */ responseId?: number; /** * The score the user received on the test * @type {number} * @memberof PassingRecord */ score?: number; /** * Whether the user passed the given test * @type {boolean} * @memberof PassingRecord */ passed?: boolean; /** * DEPRECATED: Same as createdOn. Date/time when the user submitted the response for this passing record. Note that this DOES NOT indicate when the user passed the certification quiz. * @type {string} * @memberof PassingRecord */ passedOn?: string; /** * Date/time when this record was generated on a response submission (this will match the createdOn of a QuizResponse). * @type {string} * @memberof PassingRecord */ createdOn?: string; /** * Date/time when the passing record was revoked (omitted if the record was not revoked) * @type {string} * @memberof PassingRecord */ revokedOn?: string; /** * True if the record is revoked, false otherwise * @type {boolean} * @memberof PassingRecord */ revoked?: boolean; /** * True if the record is not revoked and passed is true, false otherwise * @type {boolean} * @memberof PassingRecord */ certified?: boolean; /** * For each response, whether it was correct * @type {Array} * @memberof PassingRecord */ corrections?: Array; } /** * Check if a given object implements the PassingRecord interface. */ export declare function instanceOfPassingRecord(value: object): value is PassingRecord; export declare function PassingRecordFromJSON(json: any): PassingRecord; export declare function PassingRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): PassingRecord; export declare function PassingRecordToJSON(json: any): PassingRecord; export declare function PassingRecordToJSONTyped(value?: PassingRecord | null, ignoreDiscriminator?: boolean): any;