forked from alibaba/nacos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,25 +16,18 @@ | |
|
||
package com.alibaba.nacos.api.naming.remote.response; | ||
|
||
import com.alibaba.nacos.api.remote.response.Response; | ||
|
||
/** | ||
* batch instance response. | ||
* | ||
* @author <a href="mailto:[email protected]">chenhao26</a> | ||
*/ | ||
public class BatchInstanceResponse extends Response { | ||
|
||
private String type; | ||
public class BatchInstanceResponse extends InstanceResponse { | ||
|
||
public BatchInstanceResponse() { | ||
super(); | ||
} | ||
|
||
public BatchInstanceResponse(String type) { | ||
this.type = type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
super(type); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,4 +38,7 @@ public void setType(String type) { | |
this.type = type; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
} |