-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathApiAccountDocumentDeleteResponseDto.java
More file actions
64 lines (52 loc) · 1.48 KB
/
ApiAccountDocumentDeleteResponseDto.java
File metadata and controls
64 lines (52 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// This file was generated by liblab | https://liblab.com/
package com.asaas.apisdk.models;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.With;
import lombok.extern.jackson.Jacksonized;
import org.openapitools.jackson.nullable.JsonNullable;
@Data
@Builder
@With
@ToString
@EqualsAndHashCode
@Jacksonized
public class ApiAccountDocumentDeleteResponseDto {
/**
* Indicates whether the document was removed
*/
@JsonProperty("deleted")
private JsonNullable<Boolean> deleted;
/**
* Unique document identifier in Asaas
*/
@JsonProperty("id")
private JsonNullable<String> id;
@JsonIgnore
public Boolean getDeleted() {
return deleted.orElse(null);
}
@JsonIgnore
public String getId() {
return id.orElse(null);
}
// Overwrite lombok builder methods
public static class ApiAccountDocumentDeleteResponseDtoBuilder {
private JsonNullable<Boolean> deleted = JsonNullable.undefined();
@JsonProperty("deleted")
public ApiAccountDocumentDeleteResponseDtoBuilder deleted(Boolean value) {
this.deleted = JsonNullable.of(value);
return this;
}
private JsonNullable<String> id = JsonNullable.undefined();
@JsonProperty("id")
public ApiAccountDocumentDeleteResponseDtoBuilder id(String value) {
this.id = JsonNullable.of(value);
return this;
}
}
}