public static base_response add ( nitro_service client , dnsmxrec resource ) throws Exception { dnsmxrec addresource = new dnsmxrec ( ) ; addresource . domain = resource . domain ; addresource . mx = resource . mx ; addresource . pref = resource . pref ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client ) ; }
Use this API to add dnsmxrec .