Tweak test script no issue #
[arvados.git] / 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     @JsonProperty("default_owner_uuid")
46     private Boolean defaultOwnerUuid;
47
48     public String getEmail() {
49         return this.email;
50     }
51
52     public String getUsername() {
53         return this.username;
54     }
55
56     public String getFullName() {
57         return this.fullName;
58     }
59
60     public String getFirstName() {
61         return this.firstName;
62     }
63
64     public String getLastName() {
65         return this.lastName;
66     }
67
68     public String getIdentityUrl() {
69         return this.identityUrl;
70     }
71
72     public Boolean getIsActive() {
73         return this.isActive;
74     }
75
76     public Boolean getIsAdmin() {
77         return this.isAdmin;
78     }
79
80     public Boolean getIsInvited() {
81         return this.isInvited;
82     }
83
84     public Object getPrefs() {
85         return this.prefs;
86     }
87
88     public List<String> getWritableBy() {
89         return this.writableBy;
90     }
91
92     public Boolean getDefaultOwnerUuid() {
93         return this.defaultOwnerUuid;
94     }
95
96     public void setEmail(String email) {
97         this.email = email;
98     }
99
100     public void setUsername(String username) {
101         this.username = username;
102     }
103
104     public void setFullName(String fullName) {
105         this.fullName = fullName;
106     }
107
108     public void setFirstName(String firstName) {
109         this.firstName = firstName;
110     }
111
112     public void setLastName(String lastName) {
113         this.lastName = lastName;
114     }
115
116     public void setIdentityUrl(String identityUrl) {
117         this.identityUrl = identityUrl;
118     }
119
120     public void setIsActive(Boolean isActive) {
121         this.isActive = isActive;
122     }
123
124     public void setIsAdmin(Boolean isAdmin) {
125         this.isAdmin = isAdmin;
126     }
127
128     public void setIsInvited(Boolean isInvited) {
129         this.isInvited = isInvited;
130     }
131
132     public void setPrefs(Object prefs) {
133         this.prefs = prefs;
134     }
135
136     public void setWritableBy(List<String> writableBy) {
137         this.writableBy = writableBy;
138     }
139
140     public void setDefaultOwnerUuid(Boolean defaultOwnerUuid) {
141         this.defaultOwnerUuid = defaultOwnerUuid;
142     }
143
144     public String toString() {
145         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() + ", defaultOwnerUuid=" + this.getDefaultOwnerUuid() + ")";
146     }
147 }