15397: Remove default_owner_uuid from SDKs and workbench.
[arvados.git] / sdk / java-v2 / src / main / java / org / arvados / client / api / model / User.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.util.List;
16
17 @JsonInclude(JsonInclude.Include.NON_NULL)
18 @JsonIgnoreProperties(ignoreUnknown = true)
19 @JsonPropertyOrder({ "email", "username", "full_name", "first_name", "last_name", "identity_url", "is_active", "is_admin", "is_invited", 
20     "prefs", "writable_by", "default_owner_uuid" })
21 public class User extends Item {
22
23     @JsonProperty("email")
24     private String email;
25     @JsonProperty("username")
26     private String username;
27     @JsonProperty("full_name")
28     private String fullName;
29     @JsonProperty("first_name")
30     private String firstName;
31     @JsonProperty("last_name")
32     private String lastName;
33     @JsonProperty("identity_url")
34     private String identityUrl;
35     @JsonProperty("is_active")
36     private Boolean isActive;
37     @JsonProperty("is_admin")
38     private Boolean isAdmin;
39     @JsonProperty("is_invited")
40     private Boolean isInvited;
41     @JsonProperty("prefs")
42     private Object prefs;
43     @JsonProperty("writable_by")
44     private List<String> writableBy;
45
46     public String getEmail() {
47         return this.email;
48     }
49
50     public String getUsername() {
51         return this.username;
52     }
53
54     public String getFullName() {
55         return this.fullName;
56     }
57
58     public String getFirstName() {
59         return this.firstName;
60     }
61
62     public String getLastName() {
63         return this.lastName;
64     }
65
66     public String getIdentityUrl() {
67         return this.identityUrl;
68     }
69
70     public Boolean getIsActive() {
71         return this.isActive;
72     }
73
74     public Boolean getIsAdmin() {
75         return this.isAdmin;
76     }
77
78     public Boolean getIsInvited() {
79         return this.isInvited;
80     }
81
82     public Object getPrefs() {
83         return this.prefs;
84     }
85
86     public List<String> getWritableBy() {
87         return this.writableBy;
88     }
89
90     public void setEmail(String email) {
91         this.email = email;
92     }
93
94     public void setUsername(String username) {
95         this.username = username;
96     }
97
98     public void setFullName(String fullName) {
99         this.fullName = fullName;
100     }
101
102     public void setFirstName(String firstName) {
103         this.firstName = firstName;
104     }
105
106     public void setLastName(String lastName) {
107         this.lastName = lastName;
108     }
109
110     public void setIdentityUrl(String identityUrl) {
111         this.identityUrl = identityUrl;
112     }
113
114     public void setIsActive(Boolean isActive) {
115         this.isActive = isActive;
116     }
117
118     public void setIsAdmin(Boolean isAdmin) {
119         this.isAdmin = isAdmin;
120     }
121
122     public void setIsInvited(Boolean isInvited) {
123         this.isInvited = isInvited;
124     }
125
126     public void setPrefs(Object prefs) {
127         this.prefs = prefs;
128     }
129
130     public void setWritableBy(List<String> writableBy) {
131         this.writableBy = writableBy;
132     }
133
134     public String toString() {
135         return "User(email=" + this.getEmail() + ", username=" + this.getUsername() + ", fullName=" + this.getFullName() + ", firstName=" + this.getFirstName() + ", lastName=" + this.getLastName() + ", identityUrl=" + this.getIdentityUrl() + ", isActive=" + this.getIsActive() + ", isAdmin=" + this.getIsAdmin() + ", isInvited=" + this.getIsInvited() + ", prefs=" + this.getPrefs() + ", writableBy=" + this.getWritableBy() + ")";
136     }
137 }