forked from loafle/openapi-generator-original
Better tests for string (number) (#3953)
* beter test for string (number) * fix mapping * fix mapping in csharp generators
This commit is contained in:
@@ -1068,8 +1068,7 @@ public class DefaultCodegen implements CodegenConfig {
|
|||||||
typeMapping.put("file", "File");
|
typeMapping.put("file", "File");
|
||||||
typeMapping.put("UUID", "UUID");
|
typeMapping.put("UUID", "UUID");
|
||||||
typeMapping.put("URI", "URI");
|
typeMapping.put("URI", "URI");
|
||||||
typeMapping.put("BigDecimal", "BigDecimal"); //TODO need the mapping?
|
typeMapping.put("BigDecimal", "BigDecimal");
|
||||||
|
|
||||||
|
|
||||||
instantiationTypes = new HashMap<String, String>();
|
instantiationTypes = new HashMap<String, String>();
|
||||||
|
|
||||||
|
|||||||
@@ -181,6 +181,7 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
|
|||||||
typeMapping.put("long", "long?");
|
typeMapping.put("long", "long?");
|
||||||
typeMapping.put("double", "double?");
|
typeMapping.put("double", "double?");
|
||||||
typeMapping.put("number", "decimal?");
|
typeMapping.put("number", "decimal?");
|
||||||
|
typeMapping.put("BigDecimal", "decimal?");
|
||||||
typeMapping.put("DateTime", "DateTime?");
|
typeMapping.put("DateTime", "DateTime?");
|
||||||
typeMapping.put("date", "DateTime?");
|
typeMapping.put("date", "DateTime?");
|
||||||
typeMapping.put("file", "System.IO.Stream");
|
typeMapping.put("file", "System.IO.Stream");
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ public abstract class AbstractGoCodegen extends DefaultCodegen implements Codege
|
|||||||
typeMapping.put("number", "float32");
|
typeMapping.put("number", "float32");
|
||||||
typeMapping.put("float", "float32");
|
typeMapping.put("float", "float32");
|
||||||
typeMapping.put("double", "float64");
|
typeMapping.put("double", "float64");
|
||||||
|
typeMapping.put("BigDecimal", "float64");
|
||||||
typeMapping.put("boolean", "bool");
|
typeMapping.put("boolean", "bool");
|
||||||
typeMapping.put("string", "string");
|
typeMapping.put("string", "string");
|
||||||
typeMapping.put("UUID", "string");
|
typeMapping.put("UUID", "string");
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ public class CSharpClientCodegen extends AbstractCSharpCodegen {
|
|||||||
typeMapping.put("long", "long");
|
typeMapping.put("long", "long");
|
||||||
typeMapping.put("double", "double");
|
typeMapping.put("double", "double");
|
||||||
typeMapping.put("number", "decimal");
|
typeMapping.put("number", "decimal");
|
||||||
|
typeMapping.put("BigDecimal", "decimal");
|
||||||
typeMapping.put("DateTime", "DateTime");
|
typeMapping.put("DateTime", "DateTime");
|
||||||
typeMapping.put("date", "DateTime");
|
typeMapping.put("date", "DateTime");
|
||||||
typeMapping.put("UUID", "Guid");
|
typeMapping.put("UUID", "Guid");
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ public class CSharpNetCoreClientCodegen extends AbstractCSharpCodegen {
|
|||||||
typeMapping.put("long", "long");
|
typeMapping.put("long", "long");
|
||||||
typeMapping.put("double", "double");
|
typeMapping.put("double", "double");
|
||||||
typeMapping.put("number", "decimal");
|
typeMapping.put("number", "decimal");
|
||||||
|
typeMapping.put("BigDecimal", "decimal");
|
||||||
typeMapping.put("DateTime", "DateTime");
|
typeMapping.put("DateTime", "DateTime");
|
||||||
typeMapping.put("date", "DateTime");
|
typeMapping.put("date", "DateTime");
|
||||||
typeMapping.put("file", "System.IO.Stream");
|
typeMapping.put("file", "System.IO.Stream");
|
||||||
|
|||||||
@@ -222,6 +222,7 @@ public class HaskellHttpClientCodegen extends DefaultCodegen implements CodegenC
|
|||||||
typeMapping.put("float", "Float");
|
typeMapping.put("float", "Float");
|
||||||
typeMapping.put("double", "Double");
|
typeMapping.put("double", "Double");
|
||||||
typeMapping.put("number", "Double");
|
typeMapping.put("number", "Double");
|
||||||
|
typeMapping.put("BigDecimal", "Double");
|
||||||
typeMapping.put("integer", "Int");
|
typeMapping.put("integer", "Int");
|
||||||
typeMapping.put("file", "FilePath");
|
typeMapping.put("file", "FilePath");
|
||||||
// lib
|
// lib
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ public class HaskellServantCodegen extends DefaultCodegen implements CodegenConf
|
|||||||
typeMapping.put("file", "FilePath");
|
typeMapping.put("file", "FilePath");
|
||||||
typeMapping.put("binary", "FilePath");
|
typeMapping.put("binary", "FilePath");
|
||||||
typeMapping.put("number", "Double");
|
typeMapping.put("number", "Double");
|
||||||
|
typeMapping.put("BigDecimal", "Double");
|
||||||
typeMapping.put("any", "Value");
|
typeMapping.put("any", "Value");
|
||||||
typeMapping.put("UUID", "UUID");
|
typeMapping.put("UUID", "UUID");
|
||||||
typeMapping.put("URI", "Text");
|
typeMapping.put("URI", "Text");
|
||||||
|
|||||||
@@ -144,6 +144,7 @@ public class JavascriptClientCodegen extends DefaultCodegen implements CodegenCo
|
|||||||
typeMapping.put("int", "Number");
|
typeMapping.put("int", "Number");
|
||||||
typeMapping.put("float", "Number");
|
typeMapping.put("float", "Number");
|
||||||
typeMapping.put("number", "Number");
|
typeMapping.put("number", "Number");
|
||||||
|
typeMapping.put("BigDecimal", "Number");
|
||||||
typeMapping.put("DateTime", "Date");
|
typeMapping.put("DateTime", "Date");
|
||||||
typeMapping.put("date", "Date");
|
typeMapping.put("date", "Date");
|
||||||
typeMapping.put("long", "Number");
|
typeMapping.put("long", "Number");
|
||||||
|
|||||||
@@ -1403,6 +1403,9 @@ definitions:
|
|||||||
format: password
|
format: password
|
||||||
maxLength: 64
|
maxLength: 64
|
||||||
minLength: 10
|
minLength: 10
|
||||||
|
BigDecimal:
|
||||||
|
type: string
|
||||||
|
format: number
|
||||||
EnumClass:
|
EnumClass:
|
||||||
type: string
|
type: string
|
||||||
default: '-efg'
|
default: '-efg'
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|||||||
**DateTime** | **DateTime** | | [optional]
|
**DateTime** | **DateTime** | | [optional]
|
||||||
**Uuid** | **Guid** | | [optional]
|
**Uuid** | **Guid** | | [optional]
|
||||||
**Password** | **string** | |
|
**Password** | **string** | |
|
||||||
|
**BigDecimal** | **decimal** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="dateTime">dateTime.</param>
|
/// <param name="dateTime">dateTime.</param>
|
||||||
/// <param name="uuid">uuid.</param>
|
/// <param name="uuid">uuid.</param>
|
||||||
/// <param name="password">password (required).</param>
|
/// <param name="password">password (required).</param>
|
||||||
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string))
|
/// <param name="bigDecimal">bigDecimal.</param>
|
||||||
|
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string), decimal bigDecimal = default(decimal))
|
||||||
{
|
{
|
||||||
// to ensure "number" is required (not null)
|
// to ensure "number" is required (not null)
|
||||||
if (number == null)
|
if (number == null)
|
||||||
@@ -104,6 +105,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
this.Binary = binary;
|
this.Binary = binary;
|
||||||
this.DateTime = dateTime;
|
this.DateTime = dateTime;
|
||||||
this.Uuid = uuid;
|
this.Uuid = uuid;
|
||||||
|
this.BigDecimal = bigDecimal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -185,6 +187,12 @@ namespace Org.OpenAPITools.Model
|
|||||||
[DataMember(Name="password", EmitDefaultValue=false)]
|
[DataMember(Name="password", EmitDefaultValue=false)]
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets BigDecimal
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="BigDecimal", EmitDefaultValue=false)]
|
||||||
|
public decimal BigDecimal { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -206,6 +214,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
|
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
|
||||||
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
|
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
|
||||||
sb.Append(" Password: ").Append(Password).Append("\n");
|
sb.Append(" Password: ").Append(Password).Append("\n");
|
||||||
|
sb.Append(" BigDecimal: ").Append(BigDecimal).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
@@ -268,6 +277,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
|
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
|
||||||
if (this.Password != null)
|
if (this.Password != null)
|
||||||
hashCode = hashCode * 59 + this.Password.GetHashCode();
|
hashCode = hashCode * 59 + this.Password.GetHashCode();
|
||||||
|
hashCode = hashCode * 59 + this.BigDecimal.GetHashCode();
|
||||||
return hashCode;
|
return hashCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|||||||
**DateTime** | **DateTime** | | [optional]
|
**DateTime** | **DateTime** | | [optional]
|
||||||
**Uuid** | **Guid** | | [optional]
|
**Uuid** | **Guid** | | [optional]
|
||||||
**Password** | **string** | |
|
**Password** | **string** | |
|
||||||
|
**BigDecimal** | **decimal** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="dateTime">dateTime.</param>
|
/// <param name="dateTime">dateTime.</param>
|
||||||
/// <param name="uuid">uuid.</param>
|
/// <param name="uuid">uuid.</param>
|
||||||
/// <param name="password">password (required).</param>
|
/// <param name="password">password (required).</param>
|
||||||
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string))
|
/// <param name="bigDecimal">bigDecimal.</param>
|
||||||
|
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string), decimal bigDecimal = default(decimal))
|
||||||
{
|
{
|
||||||
// to ensure "number" is required (not null)
|
// to ensure "number" is required (not null)
|
||||||
if (number == null)
|
if (number == null)
|
||||||
@@ -104,6 +105,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
this.Binary = binary;
|
this.Binary = binary;
|
||||||
this.DateTime = dateTime;
|
this.DateTime = dateTime;
|
||||||
this.Uuid = uuid;
|
this.Uuid = uuid;
|
||||||
|
this.BigDecimal = bigDecimal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -185,6 +187,12 @@ namespace Org.OpenAPITools.Model
|
|||||||
[DataMember(Name="password", EmitDefaultValue=false)]
|
[DataMember(Name="password", EmitDefaultValue=false)]
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets BigDecimal
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="BigDecimal", EmitDefaultValue=false)]
|
||||||
|
public decimal BigDecimal { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -206,6 +214,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
|
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
|
||||||
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
|
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
|
||||||
sb.Append(" Password: ").Append(Password).Append("\n");
|
sb.Append(" Password: ").Append(Password).Append("\n");
|
||||||
|
sb.Append(" BigDecimal: ").Append(BigDecimal).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
@@ -268,6 +277,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
|
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
|
||||||
if (this.Password != null)
|
if (this.Password != null)
|
||||||
hashCode = hashCode * 59 + this.Password.GetHashCode();
|
hashCode = hashCode * 59 + this.Password.GetHashCode();
|
||||||
|
hashCode = hashCode * 59 + this.BigDecimal.GetHashCode();
|
||||||
return hashCode;
|
return hashCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
|||||||
**DateTime** | **DateTime** | | [optional]
|
**DateTime** | **DateTime** | | [optional]
|
||||||
**Uuid** | **Guid** | | [optional]
|
**Uuid** | **Guid** | | [optional]
|
||||||
**Password** | **string** | |
|
**Password** | **string** | |
|
||||||
|
**BigDecimal** | **decimal** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models)
|
[[Back to Model list]](../README.md#documentation-for-models)
|
||||||
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
[[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||||
|
|||||||
@@ -51,7 +51,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
/// <param name="dateTime">dateTime.</param>
|
/// <param name="dateTime">dateTime.</param>
|
||||||
/// <param name="uuid">uuid.</param>
|
/// <param name="uuid">uuid.</param>
|
||||||
/// <param name="password">password (required).</param>
|
/// <param name="password">password (required).</param>
|
||||||
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string))
|
/// <param name="bigDecimal">bigDecimal.</param>
|
||||||
|
public FormatTest(int integer = default(int), int int32 = default(int), long int64 = default(long), decimal number = default(decimal), float _float = default(float), double _double = default(double), string _string = default(string), byte[] _byte = default(byte[]), System.IO.Stream binary = default(System.IO.Stream), DateTime date = default(DateTime), DateTime dateTime = default(DateTime), Guid uuid = default(Guid), string password = default(string), decimal bigDecimal = default(decimal))
|
||||||
{
|
{
|
||||||
// to ensure "number" is required (not null)
|
// to ensure "number" is required (not null)
|
||||||
if (number == null)
|
if (number == null)
|
||||||
@@ -102,6 +103,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
this.Binary = binary;
|
this.Binary = binary;
|
||||||
this.DateTime = dateTime;
|
this.DateTime = dateTime;
|
||||||
this.Uuid = uuid;
|
this.Uuid = uuid;
|
||||||
|
this.BigDecimal = bigDecimal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -183,6 +185,12 @@ namespace Org.OpenAPITools.Model
|
|||||||
[DataMember(Name="password", EmitDefaultValue=false)]
|
[DataMember(Name="password", EmitDefaultValue=false)]
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or Sets BigDecimal
|
||||||
|
/// </summary>
|
||||||
|
[DataMember(Name="BigDecimal", EmitDefaultValue=false)]
|
||||||
|
public decimal BigDecimal { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the string presentation of the object
|
/// Returns the string presentation of the object
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -204,6 +212,7 @@ namespace Org.OpenAPITools.Model
|
|||||||
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
|
sb.Append(" DateTime: ").Append(DateTime).Append("\n");
|
||||||
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
|
sb.Append(" Uuid: ").Append(Uuid).Append("\n");
|
||||||
sb.Append(" Password: ").Append(Password).Append("\n");
|
sb.Append(" Password: ").Append(Password).Append("\n");
|
||||||
|
sb.Append(" BigDecimal: ").Append(BigDecimal).Append("\n");
|
||||||
sb.Append("}\n");
|
sb.Append("}\n");
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
@@ -302,6 +311,11 @@ namespace Org.OpenAPITools.Model
|
|||||||
this.Password == input.Password ||
|
this.Password == input.Password ||
|
||||||
(this.Password != null &&
|
(this.Password != null &&
|
||||||
this.Password.Equals(input.Password))
|
this.Password.Equals(input.Password))
|
||||||
|
) &&
|
||||||
|
(
|
||||||
|
this.BigDecimal == input.BigDecimal ||
|
||||||
|
(this.BigDecimal != null &&
|
||||||
|
this.BigDecimal.Equals(input.BigDecimal))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -340,6 +354,8 @@ namespace Org.OpenAPITools.Model
|
|||||||
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
|
hashCode = hashCode * 59 + this.Uuid.GetHashCode();
|
||||||
if (this.Password != null)
|
if (this.Password != null)
|
||||||
hashCode = hashCode * 59 + this.Password.GetHashCode();
|
hashCode = hashCode * 59 + this.Password.GetHashCode();
|
||||||
|
if (this.BigDecimal != null)
|
||||||
|
hashCode = hashCode * 59 + this.BigDecimal.GetHashCode();
|
||||||
return hashCode;
|
return hashCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,8 @@ defmodule OpenapiPetstore.Model.FormatTest do
|
|||||||
:"date",
|
:"date",
|
||||||
:"dateTime",
|
:"dateTime",
|
||||||
:"uuid",
|
:"uuid",
|
||||||
:"password"
|
:"password",
|
||||||
|
:"BigDecimal"
|
||||||
]
|
]
|
||||||
|
|
||||||
@type t :: %__MODULE__{
|
@type t :: %__MODULE__{
|
||||||
@@ -37,7 +38,8 @@ defmodule OpenapiPetstore.Model.FormatTest do
|
|||||||
:"date" => Date.t,
|
:"date" => Date.t,
|
||||||
:"dateTime" => DateTime.t | nil,
|
:"dateTime" => DateTime.t | nil,
|
||||||
:"uuid" => String.t | nil,
|
:"uuid" => String.t | nil,
|
||||||
:"password" => String.t
|
:"password" => String.t,
|
||||||
|
:"BigDecimal" => String.t | nil
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -46,6 +48,7 @@ defimpl Poison.Decoder, for: OpenapiPetstore.Model.FormatTest do
|
|||||||
def decode(value, options) do
|
def decode(value, options) do
|
||||||
value
|
value
|
||||||
|> deserialize(:"date", :date, nil, options)
|
|> deserialize(:"date", :date, nil, options)
|
||||||
|
|> deserialize(:"BigDecimal", :struct, OpenapiPetstore.Model.String.t, options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1491,6 +1491,9 @@ components:
|
|||||||
maxLength: 64
|
maxLength: 64
|
||||||
minLength: 10
|
minLength: 10
|
||||||
type: string
|
type: string
|
||||||
|
BigDecimal:
|
||||||
|
format: number
|
||||||
|
type: string
|
||||||
required:
|
required:
|
||||||
- byte
|
- byte
|
||||||
- date
|
- date
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|||||||
**DateTime** | [**time.Time**](time.Time.md) | | [optional]
|
**DateTime** | [**time.Time**](time.Time.md) | | [optional]
|
||||||
**Uuid** | **string** | | [optional]
|
**Uuid** | **string** | | [optional]
|
||||||
**Password** | **string** | |
|
**Password** | **string** | |
|
||||||
|
**BigDecimal** | **float64** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -28,4 +28,5 @@ type FormatTest struct {
|
|||||||
DateTime time.Time `json:"dateTime,omitempty" xml:"dateTime"`
|
DateTime time.Time `json:"dateTime,omitempty" xml:"dateTime"`
|
||||||
Uuid string `json:"uuid,omitempty" xml:"uuid"`
|
Uuid string `json:"uuid,omitempty" xml:"uuid"`
|
||||||
Password string `json:"password" xml:"password"`
|
Password string `json:"password" xml:"password"`
|
||||||
|
BigDecimal float64 `json:"BigDecimal,omitempty" xml:"BigDecimal"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1491,6 +1491,9 @@ components:
|
|||||||
maxLength: 64
|
maxLength: 64
|
||||||
minLength: 10
|
minLength: 10
|
||||||
type: string
|
type: string
|
||||||
|
BigDecimal:
|
||||||
|
format: number
|
||||||
|
type: string
|
||||||
required:
|
required:
|
||||||
- byte
|
- byte
|
||||||
- date
|
- date
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|||||||
**DateTime** | [**time.Time**](time.Time.md) | | [optional]
|
**DateTime** | [**time.Time**](time.Time.md) | | [optional]
|
||||||
**Uuid** | **string** | | [optional]
|
**Uuid** | **string** | | [optional]
|
||||||
**Password** | **string** | |
|
**Password** | **string** | |
|
||||||
|
**BigDecimal** | **float64** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -27,4 +27,5 @@ type FormatTest struct {
|
|||||||
DateTime time.Time `json:"dateTime,omitempty"`
|
DateTime time.Time `json:"dateTime,omitempty"`
|
||||||
Uuid string `json:"uuid,omitempty"`
|
Uuid string `json:"uuid,omitempty"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
|
BigDecimal float64 `json:"BigDecimal,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1075,6 +1075,7 @@ data FormatTest = FormatTest
|
|||||||
, formatTestDateTime :: !(Maybe DateTime) -- ^ "dateTime"
|
, formatTestDateTime :: !(Maybe DateTime) -- ^ "dateTime"
|
||||||
, formatTestUuid :: !(Maybe Text) -- ^ "uuid"
|
, formatTestUuid :: !(Maybe Text) -- ^ "uuid"
|
||||||
, formatTestPassword :: !(Text) -- ^ /Required/ "password"
|
, formatTestPassword :: !(Text) -- ^ /Required/ "password"
|
||||||
|
, formatTestBigDecimal :: !(Maybe Double) -- ^ "BigDecimal"
|
||||||
} deriving (P.Show, P.Eq, P.Typeable)
|
} deriving (P.Show, P.Eq, P.Typeable)
|
||||||
|
|
||||||
-- | FromJSON FormatTest
|
-- | FromJSON FormatTest
|
||||||
@@ -1094,6 +1095,7 @@ instance A.FromJSON FormatTest where
|
|||||||
<*> (o .:? "dateTime")
|
<*> (o .:? "dateTime")
|
||||||
<*> (o .:? "uuid")
|
<*> (o .:? "uuid")
|
||||||
<*> (o .: "password")
|
<*> (o .: "password")
|
||||||
|
<*> (o .:? "BigDecimal")
|
||||||
|
|
||||||
-- | ToJSON FormatTest
|
-- | ToJSON FormatTest
|
||||||
instance A.ToJSON FormatTest where
|
instance A.ToJSON FormatTest where
|
||||||
@@ -1112,6 +1114,7 @@ instance A.ToJSON FormatTest where
|
|||||||
, "dateTime" .= formatTestDateTime
|
, "dateTime" .= formatTestDateTime
|
||||||
, "uuid" .= formatTestUuid
|
, "uuid" .= formatTestUuid
|
||||||
, "password" .= formatTestPassword
|
, "password" .= formatTestPassword
|
||||||
|
, "BigDecimal" .= formatTestBigDecimal
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@@ -1137,6 +1140,7 @@ mkFormatTest formatTestNumber formatTestByte formatTestDate formatTestPassword =
|
|||||||
, formatTestDateTime = Nothing
|
, formatTestDateTime = Nothing
|
||||||
, formatTestUuid = Nothing
|
, formatTestUuid = Nothing
|
||||||
, formatTestPassword
|
, formatTestPassword
|
||||||
|
, formatTestBigDecimal = Nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
-- ** HasOnlyReadOnly
|
-- ** HasOnlyReadOnly
|
||||||
|
|||||||
@@ -487,6 +487,11 @@ formatTestPasswordL :: Lens_' FormatTest (Text)
|
|||||||
formatTestPasswordL f FormatTest{..} = (\formatTestPassword -> FormatTest { formatTestPassword, ..} ) <$> f formatTestPassword
|
formatTestPasswordL f FormatTest{..} = (\formatTestPassword -> FormatTest { formatTestPassword, ..} ) <$> f formatTestPassword
|
||||||
{-# INLINE formatTestPasswordL #-}
|
{-# INLINE formatTestPasswordL #-}
|
||||||
|
|
||||||
|
-- | 'formatTestBigDecimal' Lens
|
||||||
|
formatTestBigDecimalL :: Lens_' FormatTest (Maybe Double)
|
||||||
|
formatTestBigDecimalL f FormatTest{..} = (\formatTestBigDecimal -> FormatTest { formatTestBigDecimal, ..} ) <$> f formatTestBigDecimal
|
||||||
|
{-# INLINE formatTestBigDecimalL #-}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- * HasOnlyReadOnly
|
-- * HasOnlyReadOnly
|
||||||
|
|||||||
@@ -1491,6 +1491,9 @@ components:
|
|||||||
maxLength: 64
|
maxLength: 64
|
||||||
minLength: 10
|
minLength: 10
|
||||||
type: string
|
type: string
|
||||||
|
BigDecimal:
|
||||||
|
format: number
|
||||||
|
type: string
|
||||||
required:
|
required:
|
||||||
- byte
|
- byte
|
||||||
- date
|
- date
|
||||||
|
|||||||
@@ -354,6 +354,7 @@ genFormatTest n =
|
|||||||
<*> arbitraryReducedMaybe n -- formatTestDateTime :: Maybe DateTime
|
<*> arbitraryReducedMaybe n -- formatTestDateTime :: Maybe DateTime
|
||||||
<*> arbitraryReducedMaybe n -- formatTestUuid :: Maybe Text
|
<*> arbitraryReducedMaybe n -- formatTestUuid :: Maybe Text
|
||||||
<*> arbitrary -- formatTestPassword :: Text
|
<*> arbitrary -- formatTestPassword :: Text
|
||||||
|
<*> arbitraryReducedMaybe n -- formatTestBigDecimal :: Maybe Double
|
||||||
|
|
||||||
instance Arbitrary HasOnlyReadOnly where
|
instance Arbitrary HasOnlyReadOnly where
|
||||||
arbitrary = sized genHasOnlyReadOnly
|
arbitrary = sized genHasOnlyReadOnly
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -86,6 +87,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -431,6 +435,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -452,12 +482,13 @@ public class FormatTest {
|
|||||||
ObjectUtils.equals(this.date, formatTest.date) &&
|
ObjectUtils.equals(this.date, formatTest.date) &&
|
||||||
ObjectUtils.equals(this.dateTime, formatTest.dateTime) &&
|
ObjectUtils.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
ObjectUtils.equals(this.uuid, formatTest.uuid) &&
|
ObjectUtils.equals(this.uuid, formatTest.uuid) &&
|
||||||
ObjectUtils.equals(this.password, formatTest.password);
|
ObjectUtils.equals(this.password, formatTest.password) &&
|
||||||
|
ObjectUtils.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return ObjectUtils.hashCodeMulti(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password);
|
return ObjectUtils.hashCodeMulti(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -478,6 +509,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -88,6 +88,10 @@ public class FormatTest implements Parcelable {
|
|||||||
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
public FormatTest() {
|
public FormatTest() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -409,6 +413,30 @@ public class FormatTest implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -430,12 +458,13 @@ public class FormatTest implements Parcelable {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -456,6 +485,7 @@ public class FormatTest implements Parcelable {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
@@ -486,6 +516,7 @@ public class FormatTest implements Parcelable {
|
|||||||
out.writeValue(dateTime);
|
out.writeValue(dateTime);
|
||||||
out.writeValue(uuid);
|
out.writeValue(uuid);
|
||||||
out.writeValue(password);
|
out.writeValue(password);
|
||||||
|
out.writeValue(bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
FormatTest(Parcel in) {
|
FormatTest(Parcel in) {
|
||||||
@@ -502,6 +533,7 @@ public class FormatTest implements Parcelable {
|
|||||||
dateTime = (OffsetDateTime)in.readValue(OffsetDateTime.class.getClassLoader());
|
dateTime = (OffsetDateTime)in.readValue(OffsetDateTime.class.getClassLoader());
|
||||||
uuid = (UUID)in.readValue(UUID.class.getClassLoader());
|
uuid = (UUID)in.readValue(UUID.class.getClassLoader());
|
||||||
password = (String)in.readValue(null);
|
password = (String)in.readValue(null);
|
||||||
|
bigDecimal = (BigDecimal)in.readValue(BigDecimal.class.getClassLoader());
|
||||||
}
|
}
|
||||||
|
|
||||||
public int describeContents() {
|
public int describeContents() {
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ public class FormatTest {
|
|||||||
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -405,6 +409,30 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -426,12 +454,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -452,6 +481,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ public class FormatTest {
|
|||||||
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -405,6 +409,30 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -426,12 +454,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -452,6 +481,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,8 @@ import javax.xml.bind.annotation.*;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
@XmlRootElement(name = "FormatTest")
|
@XmlRootElement(name = "FormatTest")
|
||||||
@@ -105,6 +106,10 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
@XmlElement(name = "BigDecimal")
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -463,6 +468,33 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
@JacksonXmlProperty(localName = "BigDecimal")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -484,12 +516,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -510,6 +543,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ public class FormatTest {
|
|||||||
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -405,6 +409,30 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -426,12 +454,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -452,6 +481,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,8 @@ import javax.validation.Valid;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -89,6 +90,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -443,6 +447,33 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@Valid
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -464,12 +495,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -490,6 +522,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,8 @@ import javax.validation.Valid;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -89,6 +90,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -443,6 +447,33 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@Valid
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -464,12 +495,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -490,6 +522,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,8 @@ import javax.validation.Valid;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -89,6 +90,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -443,6 +447,33 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@Valid
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -464,12 +495,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -490,6 +522,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ public class FormatTest {
|
|||||||
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -405,6 +409,30 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -426,12 +454,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -452,6 +481,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ public class FormatTest {
|
|||||||
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -405,6 +409,30 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -426,12 +454,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -452,6 +481,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,10 @@ public class FormatTest {
|
|||||||
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
@SerializedName(SERIALIZED_NAME_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String SERIALIZED_NAME_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@SerializedName(SERIALIZED_NAME_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -405,6 +409,30 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -426,12 +454,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -452,6 +481,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
**dateTime** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||||
**uuid** | [**UUID**](UUID.md) | | [optional]
|
**uuid** | [**UUID**](UUID.md) | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest {
|
public class FormatTest {
|
||||||
@@ -87,6 +88,9 @@ public class FormatTest {
|
|||||||
public static final String JSON_PROPERTY_PASSWORD = "password";
|
public static final String JSON_PROPERTY_PASSWORD = "password";
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
|
|
||||||
@@ -432,6 +436,32 @@ public class FormatTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@javax.annotation.Nullable
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
if (this == o) {
|
if (this == o) {
|
||||||
@@ -453,12 +483,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, Arrays.hashCode(_byte), binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -479,6 +510,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,5 +17,6 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | **Date** | | [optional]
|
**dateTime** | **Date** | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | **String** | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | **Number** | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,9 @@ class FormatTest {
|
|||||||
if (data.hasOwnProperty('password')) {
|
if (data.hasOwnProperty('password')) {
|
||||||
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
||||||
}
|
}
|
||||||
|
if (data.hasOwnProperty('BigDecimal')) {
|
||||||
|
obj['BigDecimal'] = ApiClient.convertToType(data['BigDecimal'], 'Number');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
@@ -166,6 +169,11 @@ FormatTest.prototype['uuid'] = undefined;
|
|||||||
*/
|
*/
|
||||||
FormatTest.prototype['password'] = undefined;
|
FormatTest.prototype['password'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @member {Number} BigDecimal
|
||||||
|
*/
|
||||||
|
FormatTest.prototype['BigDecimal'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,5 +17,6 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | **Date** | | [optional]
|
**dateTime** | **Date** | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | **String** | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | **Number** | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -94,6 +94,9 @@ class FormatTest {
|
|||||||
if (data.hasOwnProperty('password')) {
|
if (data.hasOwnProperty('password')) {
|
||||||
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
||||||
}
|
}
|
||||||
|
if (data.hasOwnProperty('BigDecimal')) {
|
||||||
|
obj['BigDecimal'] = ApiClient.convertToType(data['BigDecimal'], 'Number');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
@@ -166,6 +169,11 @@ FormatTest.prototype['uuid'] = undefined;
|
|||||||
*/
|
*/
|
||||||
FormatTest.prototype['password'] = undefined;
|
FormatTest.prototype['password'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @member {Number} BigDecimal
|
||||||
|
*/
|
||||||
|
FormatTest.prototype['BigDecimal'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,5 +17,6 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | **Date** | | [optional]
|
**dateTime** | **Date** | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | **String** | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | **Number** | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -105,6 +105,9 @@
|
|||||||
if (data.hasOwnProperty('password')) {
|
if (data.hasOwnProperty('password')) {
|
||||||
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
||||||
}
|
}
|
||||||
|
if (data.hasOwnProperty('BigDecimal')) {
|
||||||
|
obj['BigDecimal'] = ApiClient.convertToType(data['BigDecimal'], 'Number');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
@@ -161,6 +164,10 @@
|
|||||||
* @member {String} password
|
* @member {String} password
|
||||||
*/
|
*/
|
||||||
exports.prototype['password'] = undefined;
|
exports.prototype['password'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {Number} BigDecimal
|
||||||
|
*/
|
||||||
|
exports.prototype['BigDecimal'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,5 +17,6 @@ Name | Type | Description | Notes
|
|||||||
**dateTime** | **Date** | | [optional]
|
**dateTime** | **Date** | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | **String** | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**bigDecimal** | **Number** | | [optional]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -105,6 +105,9 @@
|
|||||||
if (data.hasOwnProperty('password')) {
|
if (data.hasOwnProperty('password')) {
|
||||||
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
obj['password'] = ApiClient.convertToType(data['password'], 'String');
|
||||||
}
|
}
|
||||||
|
if (data.hasOwnProperty('BigDecimal')) {
|
||||||
|
obj['BigDecimal'] = ApiClient.convertToType(data['BigDecimal'], 'Number');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
@@ -161,6 +164,10 @@
|
|||||||
* @member {String} password
|
* @member {String} password
|
||||||
*/
|
*/
|
||||||
exports.prototype['password'] = undefined;
|
exports.prototype['password'] = undefined;
|
||||||
|
/**
|
||||||
|
* @member {Number} BigDecimal
|
||||||
|
*/
|
||||||
|
exports.prototype['BigDecimal'] = undefined;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|||||||
**date_time** | **DateTime** | | [optional]
|
**date_time** | **DateTime** | | [optional]
|
||||||
**uuid** | **string** | | [optional]
|
**uuid** | **string** | | [optional]
|
||||||
**password** | **string** | |
|
**password** | **string** | |
|
||||||
|
**big_decimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ use Log::Any qw($log);
|
|||||||
use Date::Parse;
|
use Date::Parse;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
|
|
||||||
|
use WWW::OpenAPIClient::Object::BigDecimal;
|
||||||
|
|
||||||
use base ("Class::Accessor", "Class::Data::Inheritable");
|
use base ("Class::Accessor", "Class::Data::Inheritable");
|
||||||
|
|
||||||
@@ -252,6 +253,13 @@ __PACKAGE__->method_documentation({
|
|||||||
format => '',
|
format => '',
|
||||||
read_only => '',
|
read_only => '',
|
||||||
},
|
},
|
||||||
|
'big_decimal' => {
|
||||||
|
datatype => 'BigDecimal',
|
||||||
|
base_name => 'BigDecimal',
|
||||||
|
description => '',
|
||||||
|
format => '',
|
||||||
|
read_only => '',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
__PACKAGE__->openapi_types( {
|
__PACKAGE__->openapi_types( {
|
||||||
@@ -267,7 +275,8 @@ __PACKAGE__->openapi_types( {
|
|||||||
'date' => 'DateTime',
|
'date' => 'DateTime',
|
||||||
'date_time' => 'DateTime',
|
'date_time' => 'DateTime',
|
||||||
'uuid' => 'string',
|
'uuid' => 'string',
|
||||||
'password' => 'string'
|
'password' => 'string',
|
||||||
|
'big_decimal' => 'BigDecimal'
|
||||||
} );
|
} );
|
||||||
|
|
||||||
__PACKAGE__->attribute_map( {
|
__PACKAGE__->attribute_map( {
|
||||||
@@ -283,7 +292,8 @@ __PACKAGE__->attribute_map( {
|
|||||||
'date' => 'date',
|
'date' => 'date',
|
||||||
'date_time' => 'dateTime',
|
'date_time' => 'dateTime',
|
||||||
'uuid' => 'uuid',
|
'uuid' => 'uuid',
|
||||||
'password' => 'password'
|
'password' => 'password',
|
||||||
|
'big_decimal' => 'BigDecimal'
|
||||||
} );
|
} );
|
||||||
|
|
||||||
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
|
__PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|||||||
**date_time** | [**\DateTime**](\DateTime.md) | | [optional]
|
**date_time** | [**\DateTime**](\DateTime.md) | | [optional]
|
||||||
**uuid** | **string** | | [optional]
|
**uuid** | **string** | | [optional]
|
||||||
**password** | **string** | |
|
**password** | **string** | |
|
||||||
|
**big_decimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,8 @@ class FormatTest implements ModelInterface, ArrayAccess
|
|||||||
'date' => '\DateTime',
|
'date' => '\DateTime',
|
||||||
'date_time' => '\DateTime',
|
'date_time' => '\DateTime',
|
||||||
'uuid' => 'string',
|
'uuid' => 'string',
|
||||||
'password' => 'string'
|
'password' => 'string',
|
||||||
|
'big_decimal' => 'BigDecimal'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -90,7 +91,8 @@ class FormatTest implements ModelInterface, ArrayAccess
|
|||||||
'date' => 'date',
|
'date' => 'date',
|
||||||
'date_time' => 'date-time',
|
'date_time' => 'date-time',
|
||||||
'uuid' => 'uuid',
|
'uuid' => 'uuid',
|
||||||
'password' => 'password'
|
'password' => 'password',
|
||||||
|
'big_decimal' => 'number'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -132,7 +134,8 @@ class FormatTest implements ModelInterface, ArrayAccess
|
|||||||
'date' => 'date',
|
'date' => 'date',
|
||||||
'date_time' => 'dateTime',
|
'date_time' => 'dateTime',
|
||||||
'uuid' => 'uuid',
|
'uuid' => 'uuid',
|
||||||
'password' => 'password'
|
'password' => 'password',
|
||||||
|
'big_decimal' => 'BigDecimal'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -153,7 +156,8 @@ class FormatTest implements ModelInterface, ArrayAccess
|
|||||||
'date' => 'setDate',
|
'date' => 'setDate',
|
||||||
'date_time' => 'setDateTime',
|
'date_time' => 'setDateTime',
|
||||||
'uuid' => 'setUuid',
|
'uuid' => 'setUuid',
|
||||||
'password' => 'setPassword'
|
'password' => 'setPassword',
|
||||||
|
'big_decimal' => 'setBigDecimal'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -174,7 +178,8 @@ class FormatTest implements ModelInterface, ArrayAccess
|
|||||||
'date' => 'getDate',
|
'date' => 'getDate',
|
||||||
'date_time' => 'getDateTime',
|
'date_time' => 'getDateTime',
|
||||||
'uuid' => 'getUuid',
|
'uuid' => 'getUuid',
|
||||||
'password' => 'getPassword'
|
'password' => 'getPassword',
|
||||||
|
'big_decimal' => 'getBigDecimal'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -250,6 +255,7 @@ class FormatTest implements ModelInterface, ArrayAccess
|
|||||||
$this->container['date_time'] = isset($data['date_time']) ? $data['date_time'] : null;
|
$this->container['date_time'] = isset($data['date_time']) ? $data['date_time'] : null;
|
||||||
$this->container['uuid'] = isset($data['uuid']) ? $data['uuid'] : null;
|
$this->container['uuid'] = isset($data['uuid']) ? $data['uuid'] : null;
|
||||||
$this->container['password'] = isset($data['password']) ? $data['password'] : null;
|
$this->container['password'] = isset($data['password']) ? $data['password'] : null;
|
||||||
|
$this->container['big_decimal'] = isset($data['big_decimal']) ? $data['big_decimal'] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -712,6 +718,30 @@ class FormatTest implements ModelInterface, ArrayAccess
|
|||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets big_decimal
|
||||||
|
*
|
||||||
|
* @return BigDecimal|null
|
||||||
|
*/
|
||||||
|
public function getBigDecimal()
|
||||||
|
{
|
||||||
|
return $this->container['big_decimal'];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets big_decimal
|
||||||
|
*
|
||||||
|
* @param BigDecimal|null $big_decimal big_decimal
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function setBigDecimal($big_decimal)
|
||||||
|
{
|
||||||
|
$this->container['big_decimal'] = $big_decimal;
|
||||||
|
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Returns true if offset exists. False otherwise.
|
* Returns true if offset exists. False otherwise.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -168,4 +168,11 @@ class FormatTestTest extends TestCase
|
|||||||
public function testPropertyPassword()
|
public function testPropertyPassword()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test attribute "big_decimal"
|
||||||
|
*/
|
||||||
|
public function testPropertyBigDecimal()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|||||||
**date_time** | **datetime** | | [optional]
|
**date_time** | **datetime** | | [optional]
|
||||||
**uuid** | **str** | | [optional]
|
**uuid** | **str** | | [optional]
|
||||||
**password** | **str** | |
|
**password** | **str** | |
|
||||||
|
**big_decimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ class FormatTest(object):
|
|||||||
'date': 'date',
|
'date': 'date',
|
||||||
'date_time': 'datetime',
|
'date_time': 'datetime',
|
||||||
'uuid': 'str',
|
'uuid': 'str',
|
||||||
'password': 'str'
|
'password': 'str',
|
||||||
|
'big_decimal': 'BigDecimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
attribute_map = {
|
attribute_map = {
|
||||||
@@ -59,10 +60,11 @@ class FormatTest(object):
|
|||||||
'date': 'date',
|
'date': 'date',
|
||||||
'date_time': 'dateTime',
|
'date_time': 'dateTime',
|
||||||
'uuid': 'uuid',
|
'uuid': 'uuid',
|
||||||
'password': 'password'
|
'password': 'password',
|
||||||
|
'big_decimal': 'BigDecimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None): # noqa: E501
|
def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None, big_decimal=None): # noqa: E501
|
||||||
"""FormatTest - a model defined in OpenAPI""" # noqa: E501
|
"""FormatTest - a model defined in OpenAPI""" # noqa: E501
|
||||||
|
|
||||||
self._integer = None
|
self._integer = None
|
||||||
@@ -78,6 +80,7 @@ class FormatTest(object):
|
|||||||
self._date_time = None
|
self._date_time = None
|
||||||
self._uuid = None
|
self._uuid = None
|
||||||
self._password = None
|
self._password = None
|
||||||
|
self._big_decimal = None
|
||||||
self.discriminator = None
|
self.discriminator = None
|
||||||
|
|
||||||
if integer is not None:
|
if integer is not None:
|
||||||
@@ -102,6 +105,8 @@ class FormatTest(object):
|
|||||||
if uuid is not None:
|
if uuid is not None:
|
||||||
self.uuid = uuid
|
self.uuid = uuid
|
||||||
self.password = password
|
self.password = password
|
||||||
|
if big_decimal is not None:
|
||||||
|
self.big_decimal = big_decimal
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def integer(self):
|
def integer(self):
|
||||||
@@ -412,6 +417,27 @@ class FormatTest(object):
|
|||||||
|
|
||||||
self._password = password
|
self._password = password
|
||||||
|
|
||||||
|
@property
|
||||||
|
def big_decimal(self):
|
||||||
|
"""Gets the big_decimal of this FormatTest. # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
:return: The big_decimal of this FormatTest. # noqa: E501
|
||||||
|
:rtype: BigDecimal
|
||||||
|
"""
|
||||||
|
return self._big_decimal
|
||||||
|
|
||||||
|
@big_decimal.setter
|
||||||
|
def big_decimal(self, big_decimal):
|
||||||
|
"""Sets the big_decimal of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
|
:param big_decimal: The big_decimal of this FormatTest. # noqa: E501
|
||||||
|
:type: BigDecimal
|
||||||
|
"""
|
||||||
|
|
||||||
|
self._big_decimal = big_decimal
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
"""Returns the model properties as a dict"""
|
"""Returns the model properties as a dict"""
|
||||||
result = {}
|
result = {}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|||||||
**date_time** | **datetime** | | [optional]
|
**date_time** | **datetime** | | [optional]
|
||||||
**uuid** | **str** | | [optional]
|
**uuid** | **str** | | [optional]
|
||||||
**password** | **str** | |
|
**password** | **str** | |
|
||||||
|
**big_decimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ class FormatTest(object):
|
|||||||
'date': 'date',
|
'date': 'date',
|
||||||
'date_time': 'datetime',
|
'date_time': 'datetime',
|
||||||
'uuid': 'str',
|
'uuid': 'str',
|
||||||
'password': 'str'
|
'password': 'str',
|
||||||
|
'big_decimal': 'BigDecimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
attribute_map = {
|
attribute_map = {
|
||||||
@@ -59,10 +60,11 @@ class FormatTest(object):
|
|||||||
'date': 'date',
|
'date': 'date',
|
||||||
'date_time': 'dateTime',
|
'date_time': 'dateTime',
|
||||||
'uuid': 'uuid',
|
'uuid': 'uuid',
|
||||||
'password': 'password'
|
'password': 'password',
|
||||||
|
'big_decimal': 'BigDecimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None): # noqa: E501
|
def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None, big_decimal=None): # noqa: E501
|
||||||
"""FormatTest - a model defined in OpenAPI""" # noqa: E501
|
"""FormatTest - a model defined in OpenAPI""" # noqa: E501
|
||||||
|
|
||||||
self._integer = None
|
self._integer = None
|
||||||
@@ -78,6 +80,7 @@ class FormatTest(object):
|
|||||||
self._date_time = None
|
self._date_time = None
|
||||||
self._uuid = None
|
self._uuid = None
|
||||||
self._password = None
|
self._password = None
|
||||||
|
self._big_decimal = None
|
||||||
self.discriminator = None
|
self.discriminator = None
|
||||||
|
|
||||||
if integer is not None:
|
if integer is not None:
|
||||||
@@ -102,6 +105,8 @@ class FormatTest(object):
|
|||||||
if uuid is not None:
|
if uuid is not None:
|
||||||
self.uuid = uuid
|
self.uuid = uuid
|
||||||
self.password = password
|
self.password = password
|
||||||
|
if big_decimal is not None:
|
||||||
|
self.big_decimal = big_decimal
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def integer(self):
|
def integer(self):
|
||||||
@@ -412,6 +417,27 @@ class FormatTest(object):
|
|||||||
|
|
||||||
self._password = password
|
self._password = password
|
||||||
|
|
||||||
|
@property
|
||||||
|
def big_decimal(self):
|
||||||
|
"""Gets the big_decimal of this FormatTest. # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
:return: The big_decimal of this FormatTest. # noqa: E501
|
||||||
|
:rtype: BigDecimal
|
||||||
|
"""
|
||||||
|
return self._big_decimal
|
||||||
|
|
||||||
|
@big_decimal.setter
|
||||||
|
def big_decimal(self, big_decimal):
|
||||||
|
"""Sets the big_decimal of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
|
:param big_decimal: The big_decimal of this FormatTest. # noqa: E501
|
||||||
|
:type: BigDecimal
|
||||||
|
"""
|
||||||
|
|
||||||
|
self._big_decimal = big_decimal
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
"""Returns the model properties as a dict"""
|
"""Returns the model properties as a dict"""
|
||||||
result = {}
|
result = {}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|||||||
**date_time** | **datetime** | | [optional]
|
**date_time** | **datetime** | | [optional]
|
||||||
**uuid** | **str** | | [optional]
|
**uuid** | **str** | | [optional]
|
||||||
**password** | **str** | |
|
**password** | **str** | |
|
||||||
|
**big_decimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ class FormatTest(object):
|
|||||||
'date': 'date',
|
'date': 'date',
|
||||||
'date_time': 'datetime',
|
'date_time': 'datetime',
|
||||||
'uuid': 'str',
|
'uuid': 'str',
|
||||||
'password': 'str'
|
'password': 'str',
|
||||||
|
'big_decimal': 'BigDecimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
attribute_map = {
|
attribute_map = {
|
||||||
@@ -59,10 +60,11 @@ class FormatTest(object):
|
|||||||
'date': 'date',
|
'date': 'date',
|
||||||
'date_time': 'dateTime',
|
'date_time': 'dateTime',
|
||||||
'uuid': 'uuid',
|
'uuid': 'uuid',
|
||||||
'password': 'password'
|
'password': 'password',
|
||||||
|
'big_decimal': 'BigDecimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None): # noqa: E501
|
def __init__(self, integer=None, int32=None, int64=None, number=None, float=None, double=None, string=None, byte=None, binary=None, date=None, date_time=None, uuid=None, password=None, big_decimal=None): # noqa: E501
|
||||||
"""FormatTest - a model defined in OpenAPI""" # noqa: E501
|
"""FormatTest - a model defined in OpenAPI""" # noqa: E501
|
||||||
|
|
||||||
self._integer = None
|
self._integer = None
|
||||||
@@ -78,6 +80,7 @@ class FormatTest(object):
|
|||||||
self._date_time = None
|
self._date_time = None
|
||||||
self._uuid = None
|
self._uuid = None
|
||||||
self._password = None
|
self._password = None
|
||||||
|
self._big_decimal = None
|
||||||
self.discriminator = None
|
self.discriminator = None
|
||||||
|
|
||||||
if integer is not None:
|
if integer is not None:
|
||||||
@@ -102,6 +105,8 @@ class FormatTest(object):
|
|||||||
if uuid is not None:
|
if uuid is not None:
|
||||||
self.uuid = uuid
|
self.uuid = uuid
|
||||||
self.password = password
|
self.password = password
|
||||||
|
if big_decimal is not None:
|
||||||
|
self.big_decimal = big_decimal
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def integer(self):
|
def integer(self):
|
||||||
@@ -412,6 +417,27 @@ class FormatTest(object):
|
|||||||
|
|
||||||
self._password = password
|
self._password = password
|
||||||
|
|
||||||
|
@property
|
||||||
|
def big_decimal(self):
|
||||||
|
"""Gets the big_decimal of this FormatTest. # noqa: E501
|
||||||
|
|
||||||
|
|
||||||
|
:return: The big_decimal of this FormatTest. # noqa: E501
|
||||||
|
:rtype: BigDecimal
|
||||||
|
"""
|
||||||
|
return self._big_decimal
|
||||||
|
|
||||||
|
@big_decimal.setter
|
||||||
|
def big_decimal(self, big_decimal):
|
||||||
|
"""Sets the big_decimal of this FormatTest.
|
||||||
|
|
||||||
|
|
||||||
|
:param big_decimal: The big_decimal of this FormatTest. # noqa: E501
|
||||||
|
:type: BigDecimal
|
||||||
|
"""
|
||||||
|
|
||||||
|
self._big_decimal = big_decimal
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
"""Returns the model properties as a dict"""
|
"""Returns the model properties as a dict"""
|
||||||
result = {}
|
result = {}
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|||||||
**date_time** | **DateTime** | | [optional]
|
**date_time** | **DateTime** | | [optional]
|
||||||
**uuid** | **String** | | [optional]
|
**uuid** | **String** | | [optional]
|
||||||
**password** | **String** | |
|
**password** | **String** | |
|
||||||
|
**big_decimal** | [**BigDecimal**](BigDecimal.md) | | [optional]
|
||||||
|
|
||||||
## Code Sample
|
## Code Sample
|
||||||
|
|
||||||
@@ -35,7 +36,8 @@ instance = Petstore::FormatTest.new(integer: null,
|
|||||||
date: null,
|
date: null,
|
||||||
date_time: null,
|
date_time: null,
|
||||||
uuid: 72f98069-206d-4f12-9f12-3d1e525a8e84,
|
uuid: 72f98069-206d-4f12-9f12-3d1e525a8e84,
|
||||||
password: null)
|
password: null,
|
||||||
|
big_decimal: null)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ module Petstore
|
|||||||
|
|
||||||
attr_accessor :password
|
attr_accessor :password
|
||||||
|
|
||||||
|
attr_accessor :big_decimal
|
||||||
|
|
||||||
# Attribute mapping from ruby-style variable name to JSON key.
|
# Attribute mapping from ruby-style variable name to JSON key.
|
||||||
def self.attribute_map
|
def self.attribute_map
|
||||||
{
|
{
|
||||||
@@ -55,7 +57,8 @@ module Petstore
|
|||||||
:'date' => :'date',
|
:'date' => :'date',
|
||||||
:'date_time' => :'dateTime',
|
:'date_time' => :'dateTime',
|
||||||
:'uuid' => :'uuid',
|
:'uuid' => :'uuid',
|
||||||
:'password' => :'password'
|
:'password' => :'password',
|
||||||
|
:'big_decimal' => :'BigDecimal'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -74,7 +77,8 @@ module Petstore
|
|||||||
:'date' => :'Date',
|
:'date' => :'Date',
|
||||||
:'date_time' => :'DateTime',
|
:'date_time' => :'DateTime',
|
||||||
:'uuid' => :'String',
|
:'uuid' => :'String',
|
||||||
:'password' => :'String'
|
:'password' => :'String',
|
||||||
|
:'big_decimal' => :'BigDecimal'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -144,6 +148,10 @@ module Petstore
|
|||||||
if attributes.key?(:'password')
|
if attributes.key?(:'password')
|
||||||
self.password = attributes[:'password']
|
self.password = attributes[:'password']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if attributes.key?(:'big_decimal')
|
||||||
|
self.big_decimal = attributes[:'big_decimal']
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Show invalid properties with the reasons. Usually used together with valid?
|
# Show invalid properties with the reasons. Usually used together with valid?
|
||||||
@@ -386,7 +394,8 @@ module Petstore
|
|||||||
date == o.date &&
|
date == o.date &&
|
||||||
date_time == o.date_time &&
|
date_time == o.date_time &&
|
||||||
uuid == o.uuid &&
|
uuid == o.uuid &&
|
||||||
password == o.password
|
password == o.password &&
|
||||||
|
big_decimal == o.big_decimal
|
||||||
end
|
end
|
||||||
|
|
||||||
# @see the `==` method
|
# @see the `==` method
|
||||||
@@ -398,7 +407,7 @@ module Petstore
|
|||||||
# Calculates hash code according to all attributes.
|
# Calculates hash code according to all attributes.
|
||||||
# @return [Integer] Hash code
|
# @return [Integer] Hash code
|
||||||
def hash
|
def hash
|
||||||
[integer, int32, int64, number, float, double, string, byte, binary, date, date_time, uuid, password].hash
|
[integer, int32, int64, number, float, double, string, byte, binary, date, date_time, uuid, password, big_decimal].hash
|
||||||
end
|
end
|
||||||
|
|
||||||
# Builds the object from hash
|
# Builds the object from hash
|
||||||
|
|||||||
@@ -110,4 +110,10 @@ describe 'FormatTest' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe 'test attribute "big_decimal"' do
|
||||||
|
it 'should work' do
|
||||||
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -273,7 +273,8 @@ CREATE TABLE IF NOT EXISTS `format_test` (
|
|||||||
`date` DATE NOT NULL,
|
`date` DATE NOT NULL,
|
||||||
`dateTime` DATETIME DEFAULT NULL,
|
`dateTime` DATETIME DEFAULT NULL,
|
||||||
`uuid` TEXT DEFAULT NULL,
|
`uuid` TEXT DEFAULT NULL,
|
||||||
`password` VARCHAR(64) NOT NULL
|
`password` VARCHAR(64) NOT NULL,
|
||||||
|
`BigDecimal` DECIMAL(20, 9) DEFAULT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -54,6 +54,9 @@ public class FormatTest {
|
|||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
this.integer = integer;
|
this.integer = integer;
|
||||||
return this;
|
return this;
|
||||||
@@ -298,6 +301,24 @@ public class FormatTest {
|
|||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
@@ -320,12 +341,13 @@ public class FormatTest {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -346,6 +368,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ public class FormatTest {
|
|||||||
@JsonProperty("password")
|
@JsonProperty("password")
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
this.integer = integer;
|
this.integer = integer;
|
||||||
return this;
|
return this;
|
||||||
@@ -308,6 +311,24 @@ public class FormatTest {
|
|||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@Valid
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
@@ -330,12 +351,13 @@ public class FormatTest {
|
|||||||
Objects.equals(date, formatTest.date) &&
|
Objects.equals(date, formatTest.date) &&
|
||||||
Objects.equals(dateTime, formatTest.dateTime) &&
|
Objects.equals(dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(uuid, formatTest.uuid) &&
|
Objects.equals(uuid, formatTest.uuid) &&
|
||||||
Objects.equals(password, formatTest.password);
|
Objects.equals(password, formatTest.password) &&
|
||||||
|
Objects.equals(bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("StringBufferReplaceableByString")
|
@SuppressWarnings("StringBufferReplaceableByString")
|
||||||
@@ -357,6 +379,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2021,6 +2021,10 @@
|
|||||||
"maxLength" : 64,
|
"maxLength" : 64,
|
||||||
"minLength" : 10,
|
"minLength" : 10,
|
||||||
"type" : "string"
|
"type" : "string"
|
||||||
|
},
|
||||||
|
"BigDecimal" : {
|
||||||
|
"format" : "number",
|
||||||
|
"type" : "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required" : [ "byte", "date", "number", "password" ],
|
"required" : [ "byte", "date", "number", "password" ],
|
||||||
|
|||||||
@@ -59,6 +59,9 @@ public class FormatTest {
|
|||||||
|
|
||||||
@ApiModelProperty(required = true, value = "")
|
@ApiModelProperty(required = true, value = "")
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
/**
|
/**
|
||||||
* Get integer
|
* Get integer
|
||||||
* minimum: 10
|
* minimum: 10
|
||||||
@@ -307,6 +310,24 @@ public class FormatTest {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
@@ -326,6 +347,7 @@ public class FormatTest {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,8 @@ import javax.validation.Valid;
|
|||||||
FormatTest.JSON_PROPERTY_DATE,
|
FormatTest.JSON_PROPERTY_DATE,
|
||||||
FormatTest.JSON_PROPERTY_DATE_TIME,
|
FormatTest.JSON_PROPERTY_DATE_TIME,
|
||||||
FormatTest.JSON_PROPERTY_UUID,
|
FormatTest.JSON_PROPERTY_UUID,
|
||||||
FormatTest.JSON_PROPERTY_PASSWORD
|
FormatTest.JSON_PROPERTY_PASSWORD,
|
||||||
|
FormatTest.JSON_PROPERTY_BIG_DECIMAL
|
||||||
})
|
})
|
||||||
|
|
||||||
public class FormatTest implements Serializable {
|
public class FormatTest implements Serializable {
|
||||||
@@ -100,6 +101,10 @@ public class FormatTest implements Serializable {
|
|||||||
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
||||||
private String password;
|
private String password;
|
||||||
|
|
||||||
|
public static final String JSON_PROPERTY_BIG_DECIMAL = "BigDecimal";
|
||||||
|
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
|
||||||
|
private BigDecimal bigDecimal;
|
||||||
|
|
||||||
public FormatTest integer(Integer integer) {
|
public FormatTest integer(Integer integer) {
|
||||||
this.integer = integer;
|
this.integer = integer;
|
||||||
return this;
|
return this;
|
||||||
@@ -370,6 +375,26 @@ public class FormatTest implements Serializable {
|
|||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get bigDecimal
|
||||||
|
* @return bigDecimal
|
||||||
|
**/
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
@@ -392,12 +417,13 @@ public class FormatTest implements Serializable {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -419,6 +445,7 @@ public class FormatTest implements Serializable {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ public class FormatTest implements Serializable {
|
|||||||
private @Valid Date dateTime;
|
private @Valid Date dateTime;
|
||||||
private @Valid UUID uuid;
|
private @Valid UUID uuid;
|
||||||
private @Valid String password;
|
private @Valid String password;
|
||||||
|
private @Valid BigDecimal bigDecimal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* minimum: 10
|
* minimum: 10
|
||||||
@@ -270,6 +271,23 @@ public class FormatTest implements Serializable {
|
|||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
@@ -292,12 +310,13 @@ public class FormatTest implements Serializable {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -318,6 +337,7 @@ public class FormatTest implements Serializable {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1626,6 +1626,9 @@ components:
|
|||||||
maxLength: 64
|
maxLength: 64
|
||||||
minLength: 10
|
minLength: 10
|
||||||
type: string
|
type: string
|
||||||
|
BigDecimal:
|
||||||
|
format: number
|
||||||
|
type: string
|
||||||
required:
|
required:
|
||||||
- byte
|
- byte
|
||||||
- date
|
- date
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ public class FormatTest implements Serializable {
|
|||||||
private @Valid Date dateTime;
|
private @Valid Date dateTime;
|
||||||
private @Valid UUID uuid;
|
private @Valid UUID uuid;
|
||||||
private @Valid String password;
|
private @Valid String password;
|
||||||
|
private @Valid BigDecimal bigDecimal;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* minimum: 10
|
* minimum: 10
|
||||||
@@ -270,6 +271,23 @@ public class FormatTest implements Serializable {
|
|||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
**/
|
||||||
|
public FormatTest bigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "")
|
||||||
|
@JsonProperty("BigDecimal")
|
||||||
|
public BigDecimal getBigDecimal() {
|
||||||
|
return bigDecimal;
|
||||||
|
}
|
||||||
|
public void setBigDecimal(BigDecimal bigDecimal) {
|
||||||
|
this.bigDecimal = bigDecimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(java.lang.Object o) {
|
public boolean equals(java.lang.Object o) {
|
||||||
@@ -292,12 +310,13 @@ public class FormatTest implements Serializable {
|
|||||||
Objects.equals(this.date, formatTest.date) &&
|
Objects.equals(this.date, formatTest.date) &&
|
||||||
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
Objects.equals(this.dateTime, formatTest.dateTime) &&
|
||||||
Objects.equals(this.uuid, formatTest.uuid) &&
|
Objects.equals(this.uuid, formatTest.uuid) &&
|
||||||
Objects.equals(this.password, formatTest.password);
|
Objects.equals(this.password, formatTest.password) &&
|
||||||
|
Objects.equals(this.bigDecimal, formatTest.bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password);
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -318,6 +337,7 @@ public class FormatTest implements Serializable {
|
|||||||
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
sb.append(" dateTime: ").append(toIndentedString(dateTime)).append("\n");
|
||||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||||
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
sb.append(" password: ").append(toIndentedString(password)).append("\n");
|
||||||
|
sb.append(" bigDecimal: ").append(toIndentedString(bigDecimal)).append("\n");
|
||||||
sb.append("}");
|
sb.append("}");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user