-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPair.java
More file actions
37 lines (30 loc) · 986 Bytes
/
Pair.java
File metadata and controls
37 lines (30 loc) · 986 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
/*
* Croct Export
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.5.0
* Contact: apis@croct.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.croct.client.export;
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.19.0-SNAPSHOT")
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;
}
}