• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Adyen / adyen-java-api-library / #3195

02 Apr 2024 10:58AM UTC coverage: 12.287%. First build
#3195

push

web-flow
Merge d7a962a9b into 78d4e3259

1 of 242 new or added lines in 25 files covered. (0.41%)

12445 of 101289 relevant lines covered (12.29%)

0.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/adyen/model/management/UploadAndroidCertificateResponse.java
1
/*
2
 * Management API
3
 *
4
 * The version of the OpenAPI document: 3
5
 * 
6
 *
7
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
8
 * https://openapi-generator.tech
9
 * Do not edit the class manually.
10
 */
11

12

13
package com.adyen.model.management;
14

15
import java.util.Objects;
16
import java.util.Arrays;
17
import java.util.Map;
18
import java.util.HashMap;
19
import com.fasterxml.jackson.annotation.JsonInclude;
20
import com.fasterxml.jackson.annotation.JsonProperty;
21
import com.fasterxml.jackson.annotation.JsonCreator;
22
import com.fasterxml.jackson.annotation.JsonTypeName;
23
import com.fasterxml.jackson.annotation.JsonValue;
24
import io.swagger.annotations.ApiModel;
25
import io.swagger.annotations.ApiModelProperty;
26
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27
import com.fasterxml.jackson.core.JsonProcessingException;
28

29

30
/**
31
 * UploadAndroidCertificateResponse
32
 */
33
@JsonPropertyOrder({
34
  UploadAndroidCertificateResponse.JSON_PROPERTY_ID
35
})
36

37
public class UploadAndroidCertificateResponse {
38
  public static final String JSON_PROPERTY_ID = "id";
39
  private String id;
40

NEW
41
  public UploadAndroidCertificateResponse() { 
×
NEW
42
  }
×
43

44
  public UploadAndroidCertificateResponse id(String id) {
NEW
45
    this.id = id;
×
NEW
46
    return this;
×
47
  }
48

49
   /**
50
   * The unique identifier of the uploaded Android certificate.
51
   * @return id
52
  **/
53
  @ApiModelProperty(value = "The unique identifier of the uploaded Android certificate.")
54
  @JsonProperty(JSON_PROPERTY_ID)
55
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
56

57
  public String getId() {
NEW
58
    return id;
×
59
  }
60

61

62
 /**
63
  * The unique identifier of the uploaded Android certificate.
64
  *
65
  * @param id
66
  */ 
67
  @JsonProperty(JSON_PROPERTY_ID)
68
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
69
  public void setId(String id) {
NEW
70
    this.id = id;
×
NEW
71
  }
×
72

73

74
  /**
75
   * Return true if this UploadAndroidCertificateResponse object is equal to o.
76
   */
77
  @Override
78
  public boolean equals(Object o) {
NEW
79
    if (this == o) {
×
NEW
80
      return true;
×
81
    }
NEW
82
    if (o == null || getClass() != o.getClass()) {
×
NEW
83
      return false;
×
84
    }
NEW
85
    UploadAndroidCertificateResponse uploadAndroidCertificateResponse = (UploadAndroidCertificateResponse) o;
×
NEW
86
    return Objects.equals(this.id, uploadAndroidCertificateResponse.id);
×
87
  }
88

89
  @Override
90
  public int hashCode() {
NEW
91
    return Objects.hash(id);
×
92
  }
93

94
  @Override
95
  public String toString() {
NEW
96
    StringBuilder sb = new StringBuilder();
×
NEW
97
    sb.append("class UploadAndroidCertificateResponse {\n");
×
NEW
98
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
×
NEW
99
    sb.append("}");
×
NEW
100
    return sb.toString();
×
101
  }
102

103
  /**
104
   * Convert the given object to string with each line indented by 4 spaces
105
   * (except the first line).
106
   */
107
  private String toIndentedString(Object o) {
NEW
108
    if (o == null) {
×
NEW
109
      return "null";
×
110
    }
NEW
111
    return o.toString().replace("\n", "\n    ");
×
112
  }
113

114
/**
115
   * Create an instance of UploadAndroidCertificateResponse given an JSON string
116
   *
117
   * @param jsonString JSON string
118
   * @return An instance of UploadAndroidCertificateResponse
119
   * @throws JsonProcessingException if the JSON string is invalid with respect to UploadAndroidCertificateResponse
120
   */
121
  public static UploadAndroidCertificateResponse fromJson(String jsonString) throws JsonProcessingException {
NEW
122
    return JSON.getMapper().readValue(jsonString, UploadAndroidCertificateResponse.class);
×
123
  }
124
/**
125
  * Convert an instance of UploadAndroidCertificateResponse to an JSON string
126
  *
127
  * @return JSON string
128
  */
129
  public String toJson() throws JsonProcessingException {
NEW
130
    return JSON.getMapper().writeValueAsString(this);
×
131
  }
132
}
133

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc