##### Coverage Report - com.ctrip.framework.apollo.core.dto.ServiceDTO

Classes in this File | Line Coverage | Branch Coverage | Complexity
ServiceDTO |
0% | 0/16
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.framework.apollo.core.dto;
2 |  |
3 | 0 |
     public class ServiceDTO {
4 |  |
5 |  |
       private String appName;
6 |  |
7 |  |
       private String instanceId;
8 |  |
9 |  |
       private String homepageUrl;
10 |  |
11 |  |
       public String getAppName() {
12 | 0 |
         return appName;
13 |  |
       }
14 |  |
15 |  |
       public String getHomepageUrl() {
16 | 0 |
         return homepageUrl;
17 |  |
       }
18 |  |
19 |  |
       public String getInstanceId() {
20 | 0 |
         return instanceId;
21 |  |
       }
22 |  |
23 |  |
       public void setAppName(String appName) {
24 | 0 |
         this.appName = appName;
25 | 0 |
       }
26 |  |
27 |  |
       public void setHomepageUrl(String homepageUrl) {
28 | 0 |
         this.homepageUrl = homepageUrl;
29 | 0 |
       }
30 |  |
31 |  |
       public void setInstanceId(String instanceId) {
32 | 0 |
         this.instanceId = instanceId;
33 | 0 |
       }
34 |  |
35 |  |
       @Override
36 |  |
       public String toString() {
37 | 0 |
         final StringBuilder sb = new StringBuilder("ServiceDTO{");
38 | 0 |
         sb.append("appName='").append(appName).append('\'');
39 | 0 |
         sb.append(", instanceId='").append(instanceId).append('\'');
40 | 0 |
         sb.append(", homepageUrl='").append(homepageUrl).append('\'');
41 | 0 |
         sb.append('}');
42 | 0 |
         return sb.toString();
43 |  |
       }
44 |  |
     }