-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPair.java
More file actions
38 lines (32 loc) · 902 Bytes
/
Pair.java
File metadata and controls
38 lines (32 loc) · 902 Bytes
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
/*
* IaaS-API
* This API allows you to create and modify IaaS resources.
*
* The version of the OpenAPI document: 2
* Contact: stackit-iaas@mail.schwarz
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package cloud.stackit.sdk.iaas;
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.15.0")
public class Pair {
private final String name;
private final String value;
public Pair(String name, String value) {
this.name = isValidString(name) ? name : "";
this.value = isValidString(value) ? value : "";
}
public String getName() {
return this.name;
}
public String getValue() {
return this.value;
}
private static boolean isValidString(String arg) {
return arg != null;
}
}