|  |  | 
 |  |  |      */ | 
 |  |  |     private Short status; | 
 |  |  |  | 
 |  |  |     public Api() {} | 
 |  |  |     public Api() { | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public Api(String namespace,Short oauth,String request,String response,Date createTime,Date updateTime,Short status) { | 
 |  |  |         this.namespace = namespace;   // 命名空间[非空] | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getOauth$(){ | 
 |  |  |         if (null == this.oauth){ return null; } | 
 |  |  |         if (null == this.oauth) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.oauth){ | 
 |  |  |             case 0: | 
 |  |  |                 return "无需授权"; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getStatus$(){ | 
 |  |  |         if (null == this.status){ return null; } | 
 |  |  |         if (null == this.status) { | 
 |  |  |             return null; | 
 |  |  |         } | 
 |  |  |         switch (this.status){ | 
 |  |  |             case 1: | 
 |  |  |                 return "有效"; |