export class EmbedInputViewStyle { height?: string; padding?: string; background?: string; borderRadius?: string; boxShadow?: string; borderStyle?: string; borderColor?: string; borderWidth?: string; color?: string; fontFamily?: string; fontWeight?: string; fontSize?: string; fontSmoothing?: string; lineHeight?: string; constructor( height?: string, padding?: string, background?: string, borderRadius?: string, boxShadow?: string, borderStyle?: string, borderColor?: string, borderWidth?: string, color?: string, fontFamily?: string, fontWeight?: string, fontSize?: string, fontSmoothing?: string, lineHeight?: string ) { this.height = height; this.padding = padding; this.background = background; this.borderRadius = borderRadius; this.boxShadow = boxShadow; this.borderStyle = borderStyle; this.borderColor = borderColor; this.borderWidth = borderWidth; this.color = color; this.fontFamily = fontFamily; this.fontWeight = fontWeight; this.fontSize = fontSize; this.fontSmoothing = fontSmoothing; this.lineHeight = lineHeight; } } export function embedInputViewStyleFromJson(json: { [key: string]: any; }): EmbedInputViewStyle { return new EmbedInputViewStyle( json.height, json.padding, json.background, json.borderRadius, json.boxShadow, json.borderStyle, json.borderColor, json.borderWidth, json.color, json.fontFamily, json.fontWeight, json.fontSize, json.fontSmoothing, json.lineHeight ); } export function embedInputViewStyleToJson( embedInputViewStyle: EmbedInputViewStyle ): { [key: string]: any } { return { height: embedInputViewStyle.height, padding: embedInputViewStyle.padding, background: embedInputViewStyle.background, borderRadius: embedInputViewStyle.borderRadius, boxShadow: embedInputViewStyle.boxShadow, borderStyle: embedInputViewStyle.borderStyle, borderColor: embedInputViewStyle.borderColor, borderWidth: embedInputViewStyle.borderWidth, color: embedInputViewStyle.color, fontFamily: embedInputViewStyle.fontFamily, fontWeight: embedInputViewStyle.fontWeight, fontSize: embedInputViewStyle.fontSize, fontSmoothing: embedInputViewStyle.fontSmoothing, lineHeight: embedInputViewStyle.lineHeight, }; }