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

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

23 Oct 2023 01:51PM UTC coverage: 12.821%. First build
#2746

push

web-flow
Merge a2bc5dbaa into c99ba89a9

2931 of 2931 new or added lines in 118 files covered. (100.0%)

12345 of 96286 relevant lines covered (12.82%)

0.13 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/TerminalConnectivityBluetooth.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
 * TerminalConnectivityBluetooth
32
 */
33
@JsonPropertyOrder({
34
  TerminalConnectivityBluetooth.JSON_PROPERTY_IP_ADDRESS,
35
  TerminalConnectivityBluetooth.JSON_PROPERTY_MAC_ADDRESS
36
})
37

38
public class TerminalConnectivityBluetooth {
39
  public static final String JSON_PROPERTY_IP_ADDRESS = "ipAddress";
40
  private String ipAddress;
41

42
  public static final String JSON_PROPERTY_MAC_ADDRESS = "macAddress";
43
  private String macAddress;
44

45
  public TerminalConnectivityBluetooth() { 
×
46
  }
×
47

48
  public TerminalConnectivityBluetooth ipAddress(String ipAddress) {
49
    this.ipAddress = ipAddress;
×
50
    return this;
×
51
  }
52

53
   /**
54
   * The terminal's Bluetooth IP address.
55
   * @return ipAddress
56
  **/
57
  @ApiModelProperty(value = "The terminal's Bluetooth IP address.")
58
  @JsonProperty(JSON_PROPERTY_IP_ADDRESS)
59
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
60

61
  public String getIpAddress() {
62
    return ipAddress;
×
63
  }
64

65

66
  @JsonProperty(JSON_PROPERTY_IP_ADDRESS)
67
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
68
  public void setIpAddress(String ipAddress) {
69
    this.ipAddress = ipAddress;
×
70
  }
×
71

72

73
  public TerminalConnectivityBluetooth macAddress(String macAddress) {
74
    this.macAddress = macAddress;
×
75
    return this;
×
76
  }
77

78
   /**
79
   * The terminal's Bluetooth MAC address.
80
   * @return macAddress
81
  **/
82
  @ApiModelProperty(value = "The terminal's Bluetooth MAC address.")
83
  @JsonProperty(JSON_PROPERTY_MAC_ADDRESS)
84
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
85

86
  public String getMacAddress() {
87
    return macAddress;
×
88
  }
89

90

91
  @JsonProperty(JSON_PROPERTY_MAC_ADDRESS)
92
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
93
  public void setMacAddress(String macAddress) {
94
    this.macAddress = macAddress;
×
95
  }
×
96

97

98
  /**
99
   * Return true if this TerminalConnectivityBluetooth object is equal to o.
100
   */
101
  @Override
102
  public boolean equals(Object o) {
103
    if (this == o) {
×
104
      return true;
×
105
    }
106
    if (o == null || getClass() != o.getClass()) {
×
107
      return false;
×
108
    }
109
    TerminalConnectivityBluetooth terminalConnectivityBluetooth = (TerminalConnectivityBluetooth) o;
×
110
    return Objects.equals(this.ipAddress, terminalConnectivityBluetooth.ipAddress) &&
×
111
        Objects.equals(this.macAddress, terminalConnectivityBluetooth.macAddress);
×
112
  }
113

114
  @Override
115
  public int hashCode() {
116
    return Objects.hash(ipAddress, macAddress);
×
117
  }
118

119
  @Override
120
  public String toString() {
121
    StringBuilder sb = new StringBuilder();
×
122
    sb.append("class TerminalConnectivityBluetooth {\n");
×
123
    sb.append("    ipAddress: ").append(toIndentedString(ipAddress)).append("\n");
×
124
    sb.append("    macAddress: ").append(toIndentedString(macAddress)).append("\n");
×
125
    sb.append("}");
×
126
    return sb.toString();
×
127
  }
128

129
  /**
130
   * Convert the given object to string with each line indented by 4 spaces
131
   * (except the first line).
132
   */
133
  private String toIndentedString(Object o) {
134
    if (o == null) {
×
135
      return "null";
×
136
    }
137
    return o.toString().replace("\n", "\n    ");
×
138
  }
139

140
/**
141
   * Create an instance of TerminalConnectivityBluetooth given an JSON string
142
   *
143
   * @param jsonString JSON string
144
   * @return An instance of TerminalConnectivityBluetooth
145
   * @throws JsonProcessingException if the JSON string is invalid with respect to TerminalConnectivityBluetooth
146
   */
147
  public static TerminalConnectivityBluetooth fromJson(String jsonString) throws JsonProcessingException {
148
    return JSON.getMapper().readValue(jsonString, TerminalConnectivityBluetooth.class);
×
149
  }
150
/**
151
  * Convert an instance of TerminalConnectivityBluetooth to an JSON string
152
  *
153
  * @return JSON string
154
  */
155
  public String toJson() throws JsonProcessingException {
156
    return JSON.getMapper().writeValueAsString(this);
×
157
  }
158
}
159

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