Let\'s say I have a typescript object of type Mailtype like following:
export class Mailtype { constructor( public name?: string, public locale?: s