Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions openapi-raw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11062,6 +11062,10 @@ components:
value:
description: '_t__SignatureRequestResponseDataValue::VALUE'
type: string
is_signed:
description: '_t__SignatureRequestResponseDataValue::IS_SIGNED'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueRadio:
allOf:
Expand Down Expand Up @@ -11090,6 +11094,10 @@ components:
value:
description: '_t__SignatureRequestResponseDataValue::VALUE'
type: string
is_signed:
description: '_t__SignatureRequestResponseDataValue::IS_SIGNED'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueText:
allOf:
Expand Down
8 changes: 8 additions & 0 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11678,6 +11678,10 @@ components:
value:
description: 'The value of the form field.'
type: string
is_signed:
description: 'This field contains the boolean true if the field is signed.'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueRadio:
allOf:
Expand Down Expand Up @@ -11706,6 +11710,10 @@ components:
value:
description: 'The value of the form field.'
type: string
is_signed:
description: 'This field contains the boolean true if the field is signed.'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueText:
allOf:
Expand Down
8 changes: 8 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11648,6 +11648,10 @@ components:
value:
description: 'The value of the form field.'
type: string
is_signed:
description: 'This field contains the boolean true if the field is signed.'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueRadio:
allOf:
Expand Down Expand Up @@ -11676,6 +11680,10 @@ components:
value:
description: 'The value of the form field.'
type: string
is_signed:
description: 'This field contains the boolean true if the field is signed.'
type: boolean
nullable: true
type: object
SignatureRequestResponseDataValueText:
allOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**SignatureId** | **string** | The ID of the signature to which this response is linked. | [optional]
**Name** | **string** | The name of the form field. | [optional]
**Required** | **bool** | A boolean value denoting if this field is required. | [optional]
**Type** | **string** | An input field for initials | [optional] [default to "initials"]**Value** | **string** | The value of the form field. | [optional]
**Type** | **string** | An input field for initials | [optional] [default to "initials"]**Value** | **string** | The value of the form field. | [optional] **IsSigned** | **bool?** | This field contains the boolean true if the field is signed. | [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)

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**SignatureId** | **string** | The ID of the signature to which this response is linked. | [optional]
**Name** | **string** | The name of the form field. | [optional]
**Required** | **bool** | A boolean value denoting if this field is required. | [optional]
**Type** | **string** | A signature input field | [optional] [default to "signature"]**Value** | **string** | The value of the form field. | [optional]
**Type** | **string** | A signature input field | [optional] [default to "signature"]**Value** | **string** | The value of the form field. | [optional] **IsSigned** | **bool?** | This field contains the boolean true if the field is signed. | [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)

Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ protected SignatureRequestResponseDataValueInitials() { }
/// </summary>
/// <param name="type">An input field for initials (default to &quot;initials&quot;).</param>
/// <param name="value">The value of the form field..</param>
/// <param name="isSigned">This field contains the boolean true if the field is signed..</param>
/// <param name="apiId">The unique ID for this field..</param>
/// <param name="signatureId">The ID of the signature to which this response is linked..</param>
/// <param name="name">The name of the form field..</param>
/// <param name="required">A boolean value denoting if this field is required..</param>
public SignatureRequestResponseDataValueInitials(string type = @"initials", string value = default(string), string apiId = default(string), string signatureId = default(string), string name = default(string), bool required = default(bool))
public SignatureRequestResponseDataValueInitials(string type = @"initials", string value = default(string), bool? isSigned = default(bool?), string apiId = default(string), string signatureId = default(string), string name = default(string), bool required = default(bool))
{
this.ApiId = apiId;
this.SignatureId = signatureId;
Expand All @@ -57,6 +58,7 @@ protected SignatureRequestResponseDataValueInitials() { }
// use default value if no "type" provided
this.Type = type ?? "initials";
this.Value = value;
this.IsSigned = isSigned;
}

/// <summary>
Expand Down Expand Up @@ -89,6 +91,13 @@ public static SignatureRequestResponseDataValueInitials Init(string jsonData)
[DataMember(Name = "value", EmitDefaultValue = true)]
public string Value { get; set; }

/// <summary>
/// This field contains the boolean true if the field is signed.
/// </summary>
/// <value>This field contains the boolean true if the field is signed.</value>
[DataMember(Name = "is_signed", EmitDefaultValue = true)]
public bool? IsSigned { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -100,6 +109,7 @@ public override string ToString()
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" Value: ").Append(Value).Append("\n");
sb.Append(" IsSigned: ").Append(IsSigned).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -144,6 +154,11 @@ public bool Equals(SignatureRequestResponseDataValueInitials input)
this.Value == input.Value ||
(this.Value != null &&
this.Value.Equals(input.Value))
) && base.Equals(input) &&
(
this.IsSigned == input.IsSigned ||
(this.IsSigned != null &&
this.IsSigned.Equals(input.IsSigned))
);
}

Expand All @@ -164,6 +179,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Value.GetHashCode();
}
if (this.IsSigned != null)
{
hashCode = (hashCode * 59) + this.IsSigned.GetHashCode();
}
return hashCode;
}
}
Expand Down Expand Up @@ -208,6 +227,13 @@ public List<OpenApiType> GetOpenApiTypes()
Type = "string",
Value = Value,
});
types.Add(new OpenApiType()
{
Name = "is_signed",
Property = "IsSigned",
Type = "bool?",
Value = IsSigned,
});

return types;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ protected SignatureRequestResponseDataValueSignature() { }
/// </summary>
/// <param name="type">A signature input field (default to &quot;signature&quot;).</param>
/// <param name="value">The value of the form field..</param>
/// <param name="isSigned">This field contains the boolean true if the field is signed..</param>
/// <param name="apiId">The unique ID for this field..</param>
/// <param name="signatureId">The ID of the signature to which this response is linked..</param>
/// <param name="name">The name of the form field..</param>
/// <param name="required">A boolean value denoting if this field is required..</param>
public SignatureRequestResponseDataValueSignature(string type = @"signature", string value = default(string), string apiId = default(string), string signatureId = default(string), string name = default(string), bool required = default(bool))
public SignatureRequestResponseDataValueSignature(string type = @"signature", string value = default(string), bool? isSigned = default(bool?), string apiId = default(string), string signatureId = default(string), string name = default(string), bool required = default(bool))
{
this.ApiId = apiId;
this.SignatureId = signatureId;
Expand All @@ -57,6 +58,7 @@ protected SignatureRequestResponseDataValueSignature() { }
// use default value if no "type" provided
this.Type = type ?? "signature";
this.Value = value;
this.IsSigned = isSigned;
}

/// <summary>
Expand Down Expand Up @@ -89,6 +91,13 @@ public static SignatureRequestResponseDataValueSignature Init(string jsonData)
[DataMember(Name = "value", EmitDefaultValue = true)]
public string Value { get; set; }

/// <summary>
/// This field contains the boolean true if the field is signed.
/// </summary>
/// <value>This field contains the boolean true if the field is signed.</value>
[DataMember(Name = "is_signed", EmitDefaultValue = true)]
public bool? IsSigned { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -100,6 +109,7 @@ public override string ToString()
sb.Append(" ").Append(base.ToString().Replace("\n", "\n ")).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" Value: ").Append(Value).Append("\n");
sb.Append(" IsSigned: ").Append(IsSigned).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -144,6 +154,11 @@ public bool Equals(SignatureRequestResponseDataValueSignature input)
this.Value == input.Value ||
(this.Value != null &&
this.Value.Equals(input.Value))
) && base.Equals(input) &&
(
this.IsSigned == input.IsSigned ||
(this.IsSigned != null &&
this.IsSigned.Equals(input.IsSigned))
);
}

Expand All @@ -164,6 +179,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Value.GetHashCode();
}
if (this.IsSigned != null)
{
hashCode = (hashCode * 59) + this.IsSigned.GetHashCode();
}
return hashCode;
}
}
Expand Down Expand Up @@ -208,6 +227,13 @@ public List<OpenApiType> GetOpenApiTypes()
Type = "string",
Value = Value,
});
types.Add(new OpenApiType()
{
Name = "is_signed",
Property = "IsSigned",
Type = "bool?",
Value = IsSigned,
});

return types;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
|------------ | ------------- | ------------- | -------------|
| `type` | ```String``` | An input field for initials | |
| `value` | ```String``` | The value of the form field. | |
| `isSigned` | ```Boolean``` | This field contains the boolean true if the field is signed. | |



Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
|------------ | ------------- | ------------- | -------------|
| `type` | ```String``` | A signature input field | |
| `value` | ```String``` | The value of the form field. | |
| `isSigned` | ```Boolean``` | This field contains the boolean true if the field is signed. | |



Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
/** SignatureRequestResponseDataValueInitials */
@JsonPropertyOrder({
SignatureRequestResponseDataValueInitials.JSON_PROPERTY_TYPE,
SignatureRequestResponseDataValueInitials.JSON_PROPERTY_VALUE
SignatureRequestResponseDataValueInitials.JSON_PROPERTY_VALUE,
SignatureRequestResponseDataValueInitials.JSON_PROPERTY_IS_SIGNED
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
Expand All @@ -47,6 +48,9 @@ public class SignatureRequestResponseDataValueInitials extends SignatureRequestR
public static final String JSON_PROPERTY_VALUE = "value";
private String value;

public static final String JSON_PROPERTY_IS_SIGNED = "is_signed";
private Boolean isSigned;

public SignatureRequestResponseDataValueInitials() {}

/**
Expand Down Expand Up @@ -110,6 +114,28 @@ public void setValue(String value) {
this.value = value;
}

public SignatureRequestResponseDataValueInitials isSigned(Boolean isSigned) {
this.isSigned = isSigned;
return this;
}

/**
* This field contains the boolean true if the field is signed.
*
* @return isSigned
*/
@javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IS_SIGNED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getIsSigned() {
return isSigned;
}

@JsonProperty(JSON_PROPERTY_IS_SIGNED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIsSigned(Boolean isSigned) {
this.isSigned = isSigned;
}

/** Return true if this SignatureRequestResponseDataValueInitials object is equal to o. */
@Override
public boolean equals(Object o) {
Expand All @@ -123,12 +149,13 @@ public boolean equals(Object o) {
(SignatureRequestResponseDataValueInitials) o;
return Objects.equals(this.type, signatureRequestResponseDataValueInitials.type)
&& Objects.equals(this.value, signatureRequestResponseDataValueInitials.value)
&& Objects.equals(this.isSigned, signatureRequestResponseDataValueInitials.isSigned)
&& super.equals(o);
}

@Override
public int hashCode() {
return Objects.hash(type, value, super.hashCode());
return Objects.hash(type, value, isSigned, super.hashCode());
}

@Override
Expand All @@ -138,6 +165,7 @@ public String toString() {
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append(" isSigned: ").append(toIndentedString(isSigned)).append("\n");
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -183,6 +211,26 @@ public Map<String, Object> createFormData() throws ApiException {
map.put("value", JSON.getDefault().getMapper().writeValueAsString(value));
}
}
if (isSigned != null) {
if (isFileTypeOrListOfFiles(isSigned)) {
fileTypeFound = true;
}

if (isSigned.getClass().equals(java.io.File.class)
|| isSigned.getClass().equals(Integer.class)
|| isSigned.getClass().equals(String.class)
|| isSigned.getClass().isEnum()) {
map.put("is_signed", isSigned);
} else if (isListOfFile(isSigned)) {
for (int i = 0; i < getListSize(isSigned); i++) {
map.put("is_signed[" + i + "]", getFromList(isSigned, i));
}
} else {
map.put(
"is_signed",
JSON.getDefault().getMapper().writeValueAsString(isSigned));
}
}
} catch (Exception e) {
throw new ApiException(e);
}
Expand Down
Loading
Loading