Skip to content

Instantly share code, notes, and snippets.

@sirgalleto
Created October 9, 2016 04:03
Show Gist options
  • Save sirgalleto/e4c2e4e7cb6b61a096c251e6a875815a to your computer and use it in GitHub Desktop.
Save sirgalleto/e4c2e4e7cb6b61a096c251e6a875815a to your computer and use it in GitHub Desktop.
Model example
/* tslint:disable */
export interface EmailInterface {
to: string;
from: string;
subject: string;
text?: string;
html?: string;
id?: number;
}
export class Email implements EmailInterface {
to: string;
from: string;
subject: string;
text: string;
html: string;
id: number;
constructor(instance?: Email) {
Object.assign(this, instance);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment