/
KuraInventoryBundle.java
117 lines (103 loc) · 2.31 KB
/
KuraInventoryBundle.java
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/*******************************************************************************
* Copyright (c) 2021 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Eurotech - initial API and implementation
*******************************************************************************/
package org.eclipse.kapua.service.device.call.kura.model.inventory.bundles;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
/**
* {@link KuraInventoryBundle} definition.
*
* @since 1.5.0
*/
@JsonRootName("systemPackage")
public class KuraInventoryBundle {
@JsonProperty("id")
public Integer id;
@JsonProperty("name")
public String name;
@JsonProperty("version")
public String version;
@JsonProperty("state")
public String state;
/**
* Gets the identifier.
*
* @return The identifier.
* @since 1.5.0
*/
public Integer getId() {
return id;
}
/**
* Sets the identifier.
*
* @param id The identifier.
* @since 1.5.0
*/
public void setId(Integer id) {
this.id = id;
}
/**
* Gets the name.
*
* @return The name.
* @since 1.5.0
*/
public String getName() {
return name;
}
/**
* Sets the name.
*
* @param name The name.
* @since 1.5.0
*/
public void setName(String name) {
this.name = name;
}
/**
* Gets the version.
*
* @return The version.
* @since 1.5.0
*/
public String getVersion() {
return version;
}
/**
* Gets the version.
*
* @param version The version.
* @since 1.5.0
*/
public void setVersion(String version) {
this.version = version;
}
/**
* Gets the state.
*
* @return The state.
* @since 1.5.0
*/
public String getState() {
return state;
}
/**
* Sets the state.
*
* @param state The state.
* @since 1.5.0
*/
public void setState(String state) {
this.state = state;
}
}