Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class CertificateData {

@SerializedName(SERIALIZED_NAME_LENGTH)
@javax.annotation.Nonnull
private String length;
private Integer length;

public CertificateData() {}

Expand All @@ -64,7 +64,7 @@ public void setData(@javax.annotation.Nonnull String data) {
this.data = data;
}

public CertificateData length(@javax.annotation.Nonnull String length) {
public CertificateData length(@javax.annotation.Nonnull Integer length) {
this.length = length;
return this;
}
Expand All @@ -75,11 +75,11 @@ public CertificateData length(@javax.annotation.Nonnull String length) {
* @return length
*/
@javax.annotation.Nonnull
public String getLength() {
public Integer getLength() {
return length;
}

public void setLength(@javax.annotation.Nonnull String length) {
public void setLength(@javax.annotation.Nonnull Integer length) {
this.length = length;
}

Expand Down Expand Up @@ -169,12 +169,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
"Expected the field `Data` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("Data").toString()));
}
if (!jsonObj.get("Length").isJsonPrimitive()) {
throw new IllegalArgumentException(
String.format(
"Expected the field `Length` to be a primitive type in the JSON string but got `%s`",
jsonObj.get("Length").toString()));
}
}

public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ private String toIndentedString(Object o) {
static {
// a set of all properties/fields (JSON key names)
openapiFields = new HashSet<String>();
openapiFields.add("FieldType");
openapiFields.add("wFieldType");
openapiFields.add("FieldName");
openapiFields.add("StringsCount");
Expand All @@ -120,7 +119,6 @@ private String toIndentedString(Object o) {
// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>();
openapiRequiredFields.add("FieldRect");
openapiRequiredFields.add("FieldType");
openapiRequiredFields.add("wFieldType");
openapiRequiredFields.add("FieldName");
openapiRequiredFields.add("StringsCount");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ public class FiberItem {
@javax.annotation.Nonnull
private List<Integer> colorValues;

public static final String SERIALIZED_NAME_ERROR_CODE = "ErrorCode";

@SerializedName(SERIALIZED_NAME_ERROR_CODE)
@javax.annotation.Nullable
private Integer errorCode;

public FiberItem() {}

public FiberItem rectCount(@javax.annotation.Nonnull Integer rectCount) {
Expand Down Expand Up @@ -307,25 +301,6 @@ public void setColorValues(@javax.annotation.Nonnull List<Integer> colorValues)
this.colorValues = colorValues;
}

public FiberItem errorCode(@javax.annotation.Nullable Integer errorCode) {
this.errorCode = errorCode;
return this;
}

/**
* Get errorCode
*
* @return errorCode
*/
@javax.annotation.Nullable
public Integer getErrorCode() {
return errorCode;
}

public void setErrorCode(@javax.annotation.Nullable Integer errorCode) {
this.errorCode = errorCode;
}

@Override
public boolean equals(Object o) {
if (this == o) {
Expand All @@ -343,8 +318,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.width, fiberItem.width)
&& Objects.equals(this.length, fiberItem.length)
&& Objects.equals(this.area, fiberItem.area)
&& Objects.equals(this.colorValues, fiberItem.colorValues)
&& Objects.equals(this.errorCode, fiberItem.errorCode);
&& Objects.equals(this.colorValues, fiberItem.colorValues);
}

@Override
Expand All @@ -358,8 +332,7 @@ public int hashCode() {
width,
length,
area,
colorValues,
errorCode);
colorValues);
}

@Override
Expand All @@ -375,7 +348,6 @@ public String toString() {
sb.append(" length: ").append(toIndentedString(length)).append("\n");
sb.append(" area: ").append(toIndentedString(area)).append("\n");
sb.append(" colorValues: ").append(toIndentedString(colorValues)).append("\n");
sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -405,7 +377,6 @@ private String toIndentedString(Object o) {
openapiFields.add("Length");
openapiFields.add("Area");
openapiFields.add("ColorValues");
openapiFields.add("ErrorCode");

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ public class FiberResult extends AuthenticityCheckResultItem {
@javax.annotation.Nonnull
private List<Integer> colorValues;

public static final String SERIALIZED_NAME_ERROR_CODE = "ErrorCode";

@SerializedName(SERIALIZED_NAME_ERROR_CODE)
@javax.annotation.Nullable
private Integer errorCode;

public FiberResult() {}

public FiberResult rectCount(@javax.annotation.Nonnull Integer rectCount) {
Expand Down Expand Up @@ -306,25 +300,6 @@ public void setColorValues(@javax.annotation.Nonnull List<Integer> colorValues)
this.colorValues = colorValues;
}

public FiberResult errorCode(@javax.annotation.Nullable Integer errorCode) {
this.errorCode = errorCode;
return this;
}

/**
* Get errorCode
*
* @return errorCode
*/
@javax.annotation.Nullable
public Integer getErrorCode() {
return errorCode;
}

public void setErrorCode(@javax.annotation.Nullable Integer errorCode) {
this.errorCode = errorCode;
}

@Override
public boolean equals(Object o) {
if (this == o) {
Expand All @@ -343,7 +318,6 @@ public boolean equals(Object o) {
&& Objects.equals(this.length, fiberResult.length)
&& Objects.equals(this.area, fiberResult.area)
&& Objects.equals(this.colorValues, fiberResult.colorValues)
&& Objects.equals(this.errorCode, fiberResult.errorCode)
&& super.equals(o);
}

Expand All @@ -359,7 +333,6 @@ public int hashCode() {
length,
area,
colorValues,
errorCode,
super.hashCode());
}

Expand All @@ -377,7 +350,6 @@ public String toString() {
sb.append(" length: ").append(toIndentedString(length)).append("\n");
sb.append(" area: ").append(toIndentedString(area)).append("\n");
sb.append(" colorValues: ").append(toIndentedString(colorValues)).append("\n");
sb.append(" errorCode: ").append(toIndentedString(errorCode)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -411,7 +383,6 @@ private String toIndentedString(Object o) {
openapiFields.add("Length");
openapiFields.add("Area");
openapiFields.add("ColorValues");
openapiFields.add("ErrorCode");

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ public class IdentItem {
@javax.annotation.Nullable
private Integer elementID;

public static final String SERIALIZED_NAME_RESULT = "Result";

@SerializedName(SERIALIZED_NAME_RESULT)
@javax.annotation.Nullable
private Integer result;

public IdentItem() {}

public IdentItem elementType(@javax.annotation.Nonnull SecurityFeatureType elementType) {
Expand Down Expand Up @@ -214,25 +208,6 @@ public void setElementID(@javax.annotation.Nullable Integer elementID) {
this.elementID = elementID;
}

public IdentItem result(@javax.annotation.Nullable Integer result) {
this.result = result;
return this;
}

/**
* Get result
*
* @return result
*/
@javax.annotation.Nullable
public Integer getResult() {
return result;
}

public void setResult(@javax.annotation.Nullable Integer result) {
this.result = result;
}

@Override
public boolean equals(Object o) {
if (this == o) {
Expand All @@ -248,14 +223,12 @@ public boolean equals(Object o) {
&& Objects.equals(this.image, identItem.image)
&& Objects.equals(this.etalonImage, identItem.etalonImage)
&& Objects.equals(this.areaList, identItem.areaList)
&& Objects.equals(this.elementID, identItem.elementID)
&& Objects.equals(this.result, identItem.result);
&& Objects.equals(this.elementID, identItem.elementID);
}

@Override
public int hashCode() {
return Objects.hash(
elementType, lightIndex, area, image, etalonImage, areaList, elementID, result);
return Objects.hash(elementType, lightIndex, area, image, etalonImage, areaList, elementID);
}

@Override
Expand All @@ -269,7 +242,6 @@ public String toString() {
sb.append(" etalonImage: ").append(toIndentedString(etalonImage)).append("\n");
sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n");
sb.append(" elementID: ").append(toIndentedString(elementID)).append("\n");
sb.append(" result: ").append(toIndentedString(result)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -297,7 +269,6 @@ private String toIndentedString(Object o) {
openapiFields.add("EtalonImage");
openapiFields.add("AreaList");
openapiFields.add("ElementID");
openapiFields.add("Result");

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ public class IdentResult extends AuthenticityCheckResultItem {
@javax.annotation.Nullable
private Integer elementID;

public static final String SERIALIZED_NAME_RESULT = "Result";

@SerializedName(SERIALIZED_NAME_RESULT)
@javax.annotation.Nullable
private Integer result;

public IdentResult() {}

public IdentResult elementType(@javax.annotation.Nonnull SecurityFeatureType elementType) {
Expand Down Expand Up @@ -214,25 +208,6 @@ public void setElementID(@javax.annotation.Nullable Integer elementID) {
this.elementID = elementID;
}

public IdentResult result(@javax.annotation.Nullable Integer result) {
this.result = result;
return this;
}

/**
* Get result
*
* @return result
*/
@javax.annotation.Nullable
public Integer getResult() {
return result;
}

public void setResult(@javax.annotation.Nullable Integer result) {
this.result = result;
}

@Override
public boolean equals(Object o) {
if (this == o) {
Expand All @@ -249,22 +224,13 @@ public boolean equals(Object o) {
&& Objects.equals(this.etalonImage, identResult.etalonImage)
&& Objects.equals(this.areaList, identResult.areaList)
&& Objects.equals(this.elementID, identResult.elementID)
&& Objects.equals(this.result, identResult.result)
&& super.equals(o);
}

@Override
public int hashCode() {
return Objects.hash(
elementType,
lightIndex,
area,
image,
etalonImage,
areaList,
elementID,
result,
super.hashCode());
elementType, lightIndex, area, image, etalonImage, areaList, elementID, super.hashCode());
}

@Override
Expand All @@ -279,7 +245,6 @@ public String toString() {
sb.append(" etalonImage: ").append(toIndentedString(etalonImage)).append("\n");
sb.append(" areaList: ").append(toIndentedString(areaList)).append("\n");
sb.append(" elementID: ").append(toIndentedString(elementID)).append("\n");
sb.append(" result: ").append(toIndentedString(result)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -311,7 +276,6 @@ private String toIndentedString(Object o) {
openapiFields.add("EtalonImage");
openapiFields.add("AreaList");
openapiFields.add("ElementID");
openapiFields.add("Result");

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ public enum Light {
/** No Light */
OFF(0),

/** Upper/lower lighters of white light scheme */
WHITE_TOP(2),

/** Side lighters of white light scheme */
WHITE_SIDE(4),

/** White */
WHITE(6),

Expand All @@ -35,8 +41,8 @@ public enum Light {
/** Ultraviolet */
UV(128),

/** Right and left lighters of white coaxial light scheme */
AXIAL_WHITE_FULL(3072);
/** White coaxial */
AXIAL_WHITE(3072);

private Integer value;

Expand Down
Loading