a24f02a017473aeba273aa895f867801de9f55b9
[arvados.git] / sdk / java-v2 / src / main / java / org / arvados / client / api / model / Link.java
1 /*
2  * Copyright (C) The Arvados Authors. All rights reserved.
3  *
4  * SPDX-License-Identifier: AGPL-3.0 OR Apache-2.0
5  *
6  */
7
8 package org.arvados.client.api.model;
9
10 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
11 import com.fasterxml.jackson.annotation.JsonInclude;
12 import com.fasterxml.jackson.annotation.JsonProperty;
13 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
14
15
16 @JsonInclude(JsonInclude.Include.NON_NULL)
17 @JsonIgnoreProperties(ignoreUnknown = true)
18 @JsonPropertyOrder({ "name", "head_kind", "head_uuid", "link_class" })
19 public class Link extends Item {
20
21     @JsonProperty("name")
22     private String name;
23     @JsonProperty("head_kind")
24     private String headKind;
25     @JsonProperty("head_uuid")
26     private String headUuid;
27     @JsonProperty("link_class")
28     private String linkClass;
29
30     public String getName() {
31         return name;
32     }
33
34     public String getHeadKind() {
35         return headKind;
36     }
37
38     public String getHeadUuid() {
39         return headUuid;
40     }
41
42     public String getLinkClass() {
43         return linkClass;
44     }
45
46     public void setName(String name) {
47         this.name = name;
48     }
49
50     public void setHeadKind(String headKind) {
51         this.headKind = headKind;
52     }
53
54     public void setHeadUuid(String headUuid) {
55         this.headUuid = headUuid;
56     }
57
58     public void setLinkClass(String linkClass) {
59         this.linkClass = linkClass;
60     }
61
62 }