/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * Response serializer for program license assignment details. * * This serializer represents a program license assignment with all its attributes, * including user information, license details, and assignment status. * * Fields: * id: The unique identifier for the assignment * user_id: The ID of the user assigned the license (may be null for email-only assignments) * username: The username of the user assigned the license (may be null for email-only assignments) * name: The full name of the user assigned the license (may be null for email-only assignments) * email: The email address of the user assigned the license (may be null for user-only assignments) * active: Whether the assignment is active and valid * fulfilled: Whether the assignment has been processed/fulfilled * direct: Whether the assignment was directly assigned to the user (vs. via a group) * redirect_to: URL to redirect to after fulfillment * metadata: Additional metadata for the assignment * created: When the assignment was created * modified: When the assignment was last modified * license_id: The ID of the program license * license_name: The name of the program license * program_key: The program key associated with the license */ export type ProgramLicenseAssignmentDetail = { /** * The unique identifier for the assignment */ id: number; /** * The ID of the user assigned the license */ user_id: number | null; /** * The username of the user assigned the license */ username: string | null; /** * The full name of the user assigned the license */ name: string | null; /** * The email address of the user assigned the license */ email: string | null; /** * Whether the assignment is active and valid */ active: boolean; /** * Whether the assignment has been processed/fulfilled */ fulfilled: boolean; /** * Whether the assignment was directly assigned to the user (vs. via a group) */ direct?: boolean; /** * URL to redirect to after fulfillment */ redirect_to?: string; /** * Additional metadata for the assignment */ metadata: Record | null; /** * When the assignment was created */ created?: string; /** * When the assignment was last modified */ modified?: string; /** * The ID of the program license */ license_id: number; /** * The name of the program license */ license_name: string; /** * The program key associated with the license */ program_key: string; };