Add 'sdk/java-v2/' from commit '55f103e336ca9fb8bf1720d2ef4ee8dd4e221118'
[arvados.git] / sdk / java-v2 / src / main / java / org / arvados / client / api / model / Collection.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 import java.time.LocalDateTime;
16
17 @JsonInclude(JsonInclude.Include.NON_NULL)
18 @JsonIgnoreProperties(ignoreUnknown = true)
19 @JsonPropertyOrder({ "portable_data_hash", "replication_desired", "replication_confirmed_at", "replication_confirmed", "manifest_text", 
20     "name", "description", "properties", "delete_at", "trash_at", "is_trashed" })
21 public class Collection extends Item {
22
23     @JsonProperty("portable_data_hash")
24     private String portableDataHash;
25     @JsonProperty("replication_desired")
26     private Integer replicationDesired;
27     @JsonProperty("replication_confirmed_at")
28     private LocalDateTime replicationConfirmedAt;
29     @JsonProperty("replication_confirmed")
30     private Integer replicationConfirmed;
31     @JsonProperty("manifest_text")
32     private String manifestText;
33     @JsonProperty("name")
34     private String name;
35     @JsonProperty("description")
36     private String description;
37     @JsonProperty("properties")
38     private Object properties;
39     @JsonProperty("delete_at")
40     private LocalDateTime deleteAt;
41     @JsonProperty("trash_at")
42     private LocalDateTime trashAt;
43     @JsonProperty("is_trashed")
44     private Boolean trashed;
45
46     public String getPortableDataHash() {
47         return this.portableDataHash;
48     }
49
50     public Integer getReplicationDesired() {
51         return this.replicationDesired;
52     }
53
54     public LocalDateTime getReplicationConfirmedAt() {
55         return this.replicationConfirmedAt;
56     }
57
58     public Integer getReplicationConfirmed() {
59         return this.replicationConfirmed;
60     }
61
62     public String getManifestText() {
63         return this.manifestText;
64     }
65
66     public String getName() {
67         return this.name;
68     }
69
70     public String getDescription() {
71         return this.description;
72     }
73
74     public Object getProperties() {
75         return this.properties;
76     }
77
78     public LocalDateTime getDeleteAt() {
79         return this.deleteAt;
80     }
81
82     public LocalDateTime getTrashAt() {
83         return this.trashAt;
84     }
85
86     public Boolean getTrashed() {
87         return this.trashed;
88     }
89
90     public void setPortableDataHash(String portableDataHash) {
91         this.portableDataHash = portableDataHash;
92     }
93
94     public void setReplicationDesired(Integer replicationDesired) {
95         this.replicationDesired = replicationDesired;
96     }
97
98     public void setReplicationConfirmedAt(LocalDateTime replicationConfirmedAt) {
99         this.replicationConfirmedAt = replicationConfirmedAt;
100     }
101
102     public void setReplicationConfirmed(Integer replicationConfirmed) {
103         this.replicationConfirmed = replicationConfirmed;
104     }
105
106     public void setManifestText(String manifestText) {
107         this.manifestText = manifestText;
108     }
109
110     public void setName(String name) {
111         this.name = name;
112     }
113
114     public void setDescription(String description) {
115         this.description = description;
116     }
117
118     public void setProperties(Object properties) {
119         this.properties = properties;
120     }
121
122     public void setDeleteAt(LocalDateTime deleteAt) {
123         this.deleteAt = deleteAt;
124     }
125
126     public void setTrashAt(LocalDateTime trashAt) {
127         this.trashAt = trashAt;
128     }
129
130     public void setTrashed(Boolean trashed) {
131         this.trashed = trashed;
132     }
133
134     public String toString() {
135         return "Collection(portableDataHash=" + this.getPortableDataHash() + ", replicationDesired=" + this.getReplicationDesired() + ", replicationConfirmedAt=" + this.getReplicationConfirmedAt() + ", replicationConfirmed=" + this.getReplicationConfirmed() + ", manifestText=" + this.getManifestText() + ", name=" + this.getName() + ", description=" + this.getDescription() + ", properties=" + this.getProperties() + ", deleteAt=" + this.getDeleteAt() + ", trashAt=" + this.getTrashAt() + ", trashed=" + this.getTrashed() + ")";
136     }
137 }