forked from loafle/openapi-generator-original
Changes lingering isMapContainer to isMap (#7747)
* Changes lingering isMapContainer to isMap * Adds ensure up to date updates
This commit is contained in:
@@ -89,6 +89,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapStringItem(String key, String mapStringItem) {
|
||||
if (this.mapString == null) {
|
||||
this.mapString = new HashMap<>();
|
||||
}
|
||||
this.mapString.put(key, mapStringItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapString
|
||||
* @return mapString
|
||||
@@ -113,6 +121,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapNumberItem(String key, BigDecimal mapNumberItem) {
|
||||
if (this.mapNumber == null) {
|
||||
this.mapNumber = new HashMap<>();
|
||||
}
|
||||
this.mapNumber.put(key, mapNumberItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapNumber
|
||||
* @return mapNumber
|
||||
@@ -137,6 +153,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapIntegerItem(String key, Integer mapIntegerItem) {
|
||||
if (this.mapInteger == null) {
|
||||
this.mapInteger = new HashMap<>();
|
||||
}
|
||||
this.mapInteger.put(key, mapIntegerItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapInteger
|
||||
* @return mapInteger
|
||||
@@ -161,6 +185,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapBooleanItem(String key, Boolean mapBooleanItem) {
|
||||
if (this.mapBoolean == null) {
|
||||
this.mapBoolean = new HashMap<>();
|
||||
}
|
||||
this.mapBoolean.put(key, mapBooleanItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapBoolean
|
||||
* @return mapBoolean
|
||||
@@ -185,6 +217,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapArrayIntegerItem(String key, List<Integer> mapArrayIntegerItem) {
|
||||
if (this.mapArrayInteger == null) {
|
||||
this.mapArrayInteger = new HashMap<>();
|
||||
}
|
||||
this.mapArrayInteger.put(key, mapArrayIntegerItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapArrayInteger
|
||||
* @return mapArrayInteger
|
||||
@@ -209,6 +249,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapArrayAnytypeItem(String key, List<Object> mapArrayAnytypeItem) {
|
||||
if (this.mapArrayAnytype == null) {
|
||||
this.mapArrayAnytype = new HashMap<>();
|
||||
}
|
||||
this.mapArrayAnytype.put(key, mapArrayAnytypeItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapArrayAnytype
|
||||
* @return mapArrayAnytype
|
||||
@@ -233,6 +281,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapMapStringItem(String key, Map<String, String> mapMapStringItem) {
|
||||
if (this.mapMapString == null) {
|
||||
this.mapMapString = new HashMap<>();
|
||||
}
|
||||
this.mapMapString.put(key, mapMapStringItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapMapString
|
||||
* @return mapMapString
|
||||
@@ -257,6 +313,14 @@ public class AdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AdditionalPropertiesClass putMapMapAnytypeItem(String key, Map<String, Object> mapMapAnytypeItem) {
|
||||
if (this.mapMapAnytype == null) {
|
||||
this.mapMapAnytype = new HashMap<>();
|
||||
}
|
||||
this.mapMapAnytype.put(key, mapMapAnytypeItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapMapAnytype
|
||||
* @return mapMapAnytype
|
||||
|
||||
@@ -95,6 +95,14 @@ public class MapTest {
|
||||
return this;
|
||||
}
|
||||
|
||||
public MapTest putMapMapOfStringItem(String key, Map<String, String> mapMapOfStringItem) {
|
||||
if (this.mapMapOfString == null) {
|
||||
this.mapMapOfString = new HashMap<>();
|
||||
}
|
||||
this.mapMapOfString.put(key, mapMapOfStringItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapMapOfString
|
||||
* @return mapMapOfString
|
||||
@@ -119,6 +127,14 @@ public class MapTest {
|
||||
return this;
|
||||
}
|
||||
|
||||
public MapTest putMapOfEnumStringItem(String key, InnerEnum mapOfEnumStringItem) {
|
||||
if (this.mapOfEnumString == null) {
|
||||
this.mapOfEnumString = new HashMap<>();
|
||||
}
|
||||
this.mapOfEnumString.put(key, mapOfEnumStringItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapOfEnumString
|
||||
* @return mapOfEnumString
|
||||
@@ -143,6 +159,14 @@ public class MapTest {
|
||||
return this;
|
||||
}
|
||||
|
||||
public MapTest putDirectMapItem(String key, Boolean directMapItem) {
|
||||
if (this.directMap == null) {
|
||||
this.directMap = new HashMap<>();
|
||||
}
|
||||
this.directMap.put(key, directMapItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get directMap
|
||||
* @return directMap
|
||||
@@ -167,6 +191,14 @@ public class MapTest {
|
||||
return this;
|
||||
}
|
||||
|
||||
public MapTest putIndirectMapItem(String key, Boolean indirectMapItem) {
|
||||
if (this.indirectMap == null) {
|
||||
this.indirectMap = new HashMap<>();
|
||||
}
|
||||
this.indirectMap.put(key, indirectMapItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get indirectMap
|
||||
* @return indirectMap
|
||||
|
||||
@@ -107,6 +107,14 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal mapItem) {
|
||||
if (this.map == null) {
|
||||
this.map = new HashMap<>();
|
||||
}
|
||||
this.map.put(key, mapItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get map
|
||||
* @return map
|
||||
|
||||
Reference in New Issue
Block a user