mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
1.2 KiB
1.2 KiB
ModelsUserEmail
Properties
| Name | Type |
|---|---|
created_at |
Date |
email |
string |
id |
string |
is_primary |
boolean |
is_verified |
boolean |
updated_at |
Date |
user |
ModelsUser |
user_id |
string |
Example
import type { ModelsUserEmail } from "@glueops/autoglue-sdk";
// TODO: Update the object below with actual values
const example = {
created_at: null,
email: null,
id: null,
is_primary: null,
is_verified: null,
updated_at: null,
user: null,
user_id: null,
} satisfies ModelsUserEmail;
console.log(example);
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example);
console.log(exampleJSON);
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as ModelsUserEmail;
console.log(exampleParsed);
[Back to top] [Back to API list] [Back to Model list] [Back to README]