mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 11:23:58 +00:00
updated android sample
This commit is contained in:
parent
2729070d7f
commit
f04827c6d3
@ -1,8 +1,6 @@
|
||||
package com.wordnik.client.model;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
import java.util.*;
|
||||
|
||||
import com.wordnik.swagger.annotations.*;
|
||||
|
||||
@ -23,8 +21,6 @@ public class Order {
|
||||
|
||||
private Date shipDate = null;
|
||||
private String status = null;
|
||||
private Boolean complete = null;
|
||||
private Map<String, String> keyValuePairs = new HashMap<String, String>() ;
|
||||
|
||||
|
||||
/**
|
||||
@ -82,28 +78,6 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
**/
|
||||
@ApiModelProperty(required = false, value = "")
|
||||
public Boolean getComplete() {
|
||||
return complete;
|
||||
}
|
||||
public void setComplete(Boolean complete) {
|
||||
this.complete = complete;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
**/
|
||||
@ApiModelProperty(required = false, value = "")
|
||||
public Map<String, String> getKeyValuePairs() {
|
||||
return keyValuePairs;
|
||||
}
|
||||
public void setKeyValuePairs(Map<String, String> keyValuePairs) {
|
||||
this.keyValuePairs = keyValuePairs;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@ -115,8 +89,6 @@ public class Order {
|
||||
sb.append(" quantity: ").append(quantity).append("\n");
|
||||
sb.append(" shipDate: ").append(shipDate).append("\n");
|
||||
sb.append(" status: ").append(status).append("\n");
|
||||
sb.append(" complete: ").append(complete).append("\n");
|
||||
sb.append(" keyValuePairs: ").append(keyValuePairs).append("\n");
|
||||
sb.append("}\n");
|
||||
return sb.toString();
|
||||
}
|
||||
|
@ -1,23 +0,0 @@
|
||||
package com.wordnik.client.model;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.HashMap;
|
||||
import com.wordnik.client.model.Orders;
|
||||
|
||||
import com.wordnik.swagger.annotations.*;
|
||||
|
||||
|
||||
@ApiModel(description = "")
|
||||
public class Orders extends HashMap<String, Orders> {
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class Orders {\n");
|
||||
sb.append(" " + super.toString()).append("\n");
|
||||
sb.append("}\n");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user