import { BaseModel } from "./model-base.class" ; export class DnsRecordType extends BaseModel { public record_type : string ; public static fromObject ( toParse ) { return new DnsRecordType ( toParse ) ; } public static fromObjects ( toParse ) { let toReturn = [ ] ; for ( let curParse of toParse ) { toReturn . push ( DnsRecordType . fromObject ( curParse ) ) ; } return toReturn ; } }