##### Coverage Report - com.ctrip.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.apollo.core.dto;
2 |  |
3 |  |
     import com.google.common.base.MoreObjects;
4 |  |
5 | 0 |
     public class ServiceDTO {
6 |  |
7 |  |
       private String appName;
8 |  |
9 |  |
       private String instanceId;
10 |  |
11 |  |
       private String homepageUrl;
12 |  |
13 |  |
       public String getAppName() {
14 | 0 |
         return appName;
15 |  |
       }
16 |  |
17 |  |
       public String getHomepageUrl() {
18 | 0 |
         return homepageUrl;
19 |  |
       }
20 |  |
21 |  |
       public String getInstanceId() {
22 | 0 |
         return instanceId;
23 |  |
       }
24 |  |
25 |  |
       public void setAppName(String appName) {
26 | 0 |
         this.appName = appName;
27 | 0 |
       }
28 |  |
29 |  |
       public void setHomepageUrl(String homepageUrl) {
30 | 0 |
         this.homepageUrl = homepageUrl;
31 | 0 |
       }
32 |  |
33 |  |
       public void setInstanceId(String instanceId) {
34 | 0 |
         this.instanceId = instanceId;
35 | 0 |
       }
36 |  |
37 |  |
       @Override
38 |  |
       public String toString() {
39 | 0 |
         return MoreObjects.toStringHelper(this)
40 | 0 |
             .omitNullValues()
41 | 0 |
             .add("appName", appName)
42 | 0 |
             .add("instanceId", instanceId)
43 | 0 |
             .add("homepageUrl", homepageUrl)
44 | 0 |
             .toString();
45 |  |
       }
46 |  |
     }