com.smartsheet.api.models.UserModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartsheet-sdk-java Show documentation
Show all versions of smartsheet-sdk-java Show documentation
Library for connecting to Smartsheet Services
package com.smartsheet.api.models;
/*
* #[license]
* Smartsheet SDK for Java
* %%
* Copyright (C) 2014 Smartsheet
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* %[license]
*/
public abstract class UserModel extends IdentifiableModel {
/**
* Represents the email address.
*/
private String email;
/**
* Represents the first name.
*/
private String firstName;
/**
* Represents the last name.
*/
private String lastName;
/**
* Gets the email address.
*
* @return the email address
*/
public String getEmail() {
return email;
}
/**
* Sets the email address.
*
* @param email the new email address
*/
public UserModel setEmail(String email) {
this.email = email;
return this;
}
/**
* Gets the first name.
*
* @return the first name
*/
public String getFirstName() {
return firstName;
}
/**
* Sets the first name.
*
* @param firstName the new first name
*/
public UserModel setFirstName(String firstName) {
this.firstName = firstName;
return this;
}
/**
* Gets the last name.
*
* @return the last name
*/
public String getLastName() {
return lastName;
}
/**
* Sets the last name.
*
* @param lastName the new last name
*/
public UserModel setLastName(String lastName) {
this.lastName = lastName;
return this;
}
}