public class

User

extends Resource
java.lang.Object
   ↳ com.coupa.resources.Resource
     ↳ com.coupa.resources.User

Class Overview

Java class for user complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="user">
   <complexContent>
     <extension base="{}resource">
       <sequence>
         <element name="created-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="updated-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="login" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="purchasing-user" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="expense-user" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="employee-number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="phone-work" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="phone-mobile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="firstname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="lastname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="fullname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="api-user" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="active" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="salesforce-id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="account-security-type" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="authentication-method" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="sso-identifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="roles" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="role" type="{}role-summary" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="manager" type="{}user-summary" minOccurs="0"/>
         <element name="default-address" type="{}address-summary" minOccurs="0"/>
         <element name="default-account" type="{}account-summary" minOccurs="0"/>
         <element name="default-account-type" type="{}account-type-summary" minOccurs="0"/>
         <element name="default-currency" type="{}currency-summary" minOccurs="0"/>
         <element name="department" type="{}department-summary" minOccurs="0"/>
         <element name="approval-limit" type="{}approval-limit-summary" minOccurs="0"/>
         <element name="self-approval-limit" type="{}approval-limit-summary" minOccurs="0"/>
         <element name="created-by" type="{}user-summary" minOccurs="0"/>
         <element name="updated-by" type="{}user-summary" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

Summary

Nested Classes
class User.Roles

Java class for anonymous complex type. 

Fields
protected BigInteger accountSecurityType
protected String active
protected String apiUser
protected ApprovalLimitSummary approvalLimit
protected String authenticationMethod
protected XMLGregorianCalendar createdAt
protected UserSummary createdBy
protected AccountSummary defaultAccount
protected AccountTypeSummary defaultAccountType
protected AddressSummary defaultAddress
protected CurrencySummary defaultCurrency
protected DepartmentSummary department
protected String email
protected String employeeNumber
protected String expenseUser
protected String firstname
protected String fullname
protected String lastname
protected String login
protected UserSummary manager
protected String phoneMobile
protected String phoneWork
protected String purchasingUser
protected User.Roles roles
protected String salesforceId
protected ApprovalLimitSummary selfApprovalLimit
protected String ssoIdentifier
protected XMLGregorianCalendar updatedAt
protected UserSummary updatedBy
[Expand]
Inherited Fields
From class com.coupa.resources.Resource
Public Constructors
User()
Public Methods
BigInteger getAccountSecurityType()
Gets the value of the accountSecurityType property.
String getActive()
Gets the value of the active property.
String getApiUser()
Gets the value of the apiUser property.
ApprovalLimitSummary getApprovalLimit()
Gets the value of the approvalLimit property.
String getAuthenticationMethod()
Gets the value of the authenticationMethod property.
XMLGregorianCalendar getCreatedAt()
Gets the value of the createdAt property.
UserSummary getCreatedBy()
Gets the value of the createdBy property.
AccountSummary getDefaultAccount()
Gets the value of the defaultAccount property.
AccountTypeSummary getDefaultAccountType()
Gets the value of the defaultAccountType property.
AddressSummary getDefaultAddress()
Gets the value of the defaultAddress property.
CurrencySummary getDefaultCurrency()
Gets the value of the defaultCurrency property.
DepartmentSummary getDepartment()
Gets the value of the department property.
String getEmail()
Gets the value of the email property.
String getEmployeeNumber()
Gets the value of the employeeNumber property.
String getExpenseUser()
Gets the value of the expenseUser property.
String getFirstname()
Gets the value of the firstname property.
String getFullname()
Gets the value of the fullname property.
String getLastname()
Gets the value of the lastname property.
String getLogin()
Gets the value of the login property.
UserSummary getManager()
Gets the value of the manager property.
String getPhoneMobile()
Gets the value of the phoneMobile property.
String getPhoneWork()
Gets the value of the phoneWork property.
String getPurchasingUser()
Gets the value of the purchasingUser property.
User.Roles getRoles()
Gets the value of the roles property.
String getSalesforceId()
Gets the value of the salesforceId property.
ApprovalLimitSummary getSelfApprovalLimit()
Gets the value of the selfApprovalLimit property.
String getSsoIdentifier()
Gets the value of the ssoIdentifier property.
XMLGregorianCalendar getUpdatedAt()
Gets the value of the updatedAt property.
UserSummary getUpdatedBy()
Gets the value of the updatedBy property.
void setAccountSecurityType(BigInteger value)
Sets the value of the accountSecurityType property.
void setActive(String value)
Sets the value of the active property.
void setApiUser(String value)
Sets the value of the apiUser property.
void setApprovalLimit(ApprovalLimitSummary value)
Sets the value of the approvalLimit property.
void setAuthenticationMethod(String value)
Sets the value of the authenticationMethod property.
void setCreatedAt(XMLGregorianCalendar value)
Sets the value of the createdAt property.
void setCreatedBy(UserSummary value)
Sets the value of the createdBy property.
void setDefaultAccount(AccountSummary value)
Sets the value of the defaultAccount property.
void setDefaultAccountType(AccountTypeSummary value)
Sets the value of the defaultAccountType property.
void setDefaultAddress(AddressSummary value)
Sets the value of the defaultAddress property.
void setDefaultCurrency(CurrencySummary value)
Sets the value of the defaultCurrency property.
void setDepartment(DepartmentSummary value)
Sets the value of the department property.
void setEmail(String value)
Sets the value of the email property.
void setEmployeeNumber(String value)
Sets the value of the employeeNumber property.
void setExpenseUser(String value)
Sets the value of the expenseUser property.
void setFirstname(String value)
Sets the value of the firstname property.
void setFullname(String value)
Sets the value of the fullname property.
void setLastname(String value)
Sets the value of the lastname property.
void setLogin(String value)
Sets the value of the login property.
void setManager(UserSummary value)
Sets the value of the manager property.
void setPhoneMobile(String value)
Sets the value of the phoneMobile property.
void setPhoneWork(String value)
Sets the value of the phoneWork property.
void setPurchasingUser(String value)
Sets the value of the purchasingUser property.
void setRoles(User.Roles value)
Sets the value of the roles property.
void setSalesforceId(String value)
Sets the value of the salesforceId property.
void setSelfApprovalLimit(ApprovalLimitSummary value)
Sets the value of the selfApprovalLimit property.
void setSsoIdentifier(String value)
Sets the value of the ssoIdentifier property.
void setUpdatedAt(XMLGregorianCalendar value)
Sets the value of the updatedAt property.
void setUpdatedBy(UserSummary value)
Sets the value of the updatedBy property.
[Expand]
Inherited Methods
From class com.coupa.resources.Resource
From class java.lang.Object
From interface com.coupa.api.Identifiable

Fields

protected BigInteger accountSecurityType

protected String active

protected String apiUser

protected ApprovalLimitSummary approvalLimit

protected String authenticationMethod

protected XMLGregorianCalendar createdAt

protected UserSummary createdBy

protected AccountSummary defaultAccount

protected AccountTypeSummary defaultAccountType

protected AddressSummary defaultAddress

protected CurrencySummary defaultCurrency

protected DepartmentSummary department

protected String email

protected String employeeNumber

protected String expenseUser

protected String firstname

protected String fullname

protected String lastname

protected String login

protected UserSummary manager

protected String phoneMobile

protected String phoneWork

protected String purchasingUser

protected User.Roles roles

protected String salesforceId

protected ApprovalLimitSummary selfApprovalLimit

protected String ssoIdentifier

protected XMLGregorianCalendar updatedAt

protected UserSummary updatedBy

Public Constructors

public User ()

Public Methods

public BigInteger getAccountSecurityType ()

Gets the value of the accountSecurityType property.

Returns
  • possible object is BigInteger

public String getActive ()

Gets the value of the active property.

Returns
  • possible object is String

public String getApiUser ()

Gets the value of the apiUser property.

Returns
  • possible object is String

public ApprovalLimitSummary getApprovalLimit ()

Gets the value of the approvalLimit property.

Returns

public String getAuthenticationMethod ()

Gets the value of the authenticationMethod property.

Returns
  • possible object is String

public XMLGregorianCalendar getCreatedAt ()

Gets the value of the createdAt property.

Returns
  • possible object is XMLGregorianCalendar

public UserSummary getCreatedBy ()

Gets the value of the createdBy property.

Returns

public AccountSummary getDefaultAccount ()

Gets the value of the defaultAccount property.

Returns

public AccountTypeSummary getDefaultAccountType ()

Gets the value of the defaultAccountType property.

Returns

public AddressSummary getDefaultAddress ()

Gets the value of the defaultAddress property.

Returns

public CurrencySummary getDefaultCurrency ()

Gets the value of the defaultCurrency property.

Returns

public DepartmentSummary getDepartment ()

Gets the value of the department property.

Returns

public String getEmail ()

Gets the value of the email property.

Returns
  • possible object is String

public String getEmployeeNumber ()

Gets the value of the employeeNumber property.

Returns
  • possible object is String

public String getExpenseUser ()

Gets the value of the expenseUser property.

Returns
  • possible object is String

public String getFirstname ()

Gets the value of the firstname property.

Returns
  • possible object is String

public String getFullname ()

Gets the value of the fullname property.

Returns
  • possible object is String

public String getLastname ()

Gets the value of the lastname property.

Returns
  • possible object is String

public String getLogin ()

Gets the value of the login property.

Returns
  • possible object is String

public UserSummary getManager ()

Gets the value of the manager property.

Returns

public String getPhoneMobile ()

Gets the value of the phoneMobile property.

Returns
  • possible object is String

public String getPhoneWork ()

Gets the value of the phoneWork property.

Returns
  • possible object is String

public String getPurchasingUser ()

Gets the value of the purchasingUser property.

Returns
  • possible object is String

public User.Roles getRoles ()

Gets the value of the roles property.

Returns

public String getSalesforceId ()

Gets the value of the salesforceId property.

Returns
  • possible object is String

public ApprovalLimitSummary getSelfApprovalLimit ()

Gets the value of the selfApprovalLimit property.

Returns

public String getSsoIdentifier ()

Gets the value of the ssoIdentifier property.

Returns
  • possible object is String

public XMLGregorianCalendar getUpdatedAt ()

Gets the value of the updatedAt property.

Returns
  • possible object is XMLGregorianCalendar

public UserSummary getUpdatedBy ()

Gets the value of the updatedBy property.

Returns

public void setAccountSecurityType (BigInteger value)

Sets the value of the accountSecurityType property.

Parameters
value Allowed object is BigInteger

public void setActive (String value)

Sets the value of the active property.

Parameters
value Allowed object is String

public void setApiUser (String value)

Sets the value of the apiUser property.

Parameters
value Allowed object is String

public void setApprovalLimit (ApprovalLimitSummary value)

Sets the value of the approvalLimit property.

Parameters
value Allowed object is ApprovalLimitSummary

public void setAuthenticationMethod (String value)

Sets the value of the authenticationMethod property.

Parameters
value Allowed object is String

public void setCreatedAt (XMLGregorianCalendar value)

Sets the value of the createdAt property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setCreatedBy (UserSummary value)

Sets the value of the createdBy property.

Parameters
value Allowed object is UserSummary

public void setDefaultAccount (AccountSummary value)

Sets the value of the defaultAccount property.

Parameters
value Allowed object is AccountSummary

public void setDefaultAccountType (AccountTypeSummary value)

Sets the value of the defaultAccountType property.

Parameters
value Allowed object is AccountTypeSummary

public void setDefaultAddress (AddressSummary value)

Sets the value of the defaultAddress property.

Parameters
value Allowed object is AddressSummary

public void setDefaultCurrency (CurrencySummary value)

Sets the value of the defaultCurrency property.

Parameters
value Allowed object is CurrencySummary

public void setDepartment (DepartmentSummary value)

Sets the value of the department property.

Parameters
value Allowed object is DepartmentSummary

public void setEmail (String value)

Sets the value of the email property.

Parameters
value Allowed object is String

public void setEmployeeNumber (String value)

Sets the value of the employeeNumber property.

Parameters
value Allowed object is String

public void setExpenseUser (String value)

Sets the value of the expenseUser property.

Parameters
value Allowed object is String

public void setFirstname (String value)

Sets the value of the firstname property.

Parameters
value Allowed object is String

public void setFullname (String value)

Sets the value of the fullname property.

Parameters
value Allowed object is String

public void setLastname (String value)

Sets the value of the lastname property.

Parameters
value Allowed object is String

public void setLogin (String value)

Sets the value of the login property.

Parameters
value Allowed object is String

public void setManager (UserSummary value)

Sets the value of the manager property.

Parameters
value Allowed object is UserSummary

public void setPhoneMobile (String value)

Sets the value of the phoneMobile property.

Parameters
value Allowed object is String

public void setPhoneWork (String value)

Sets the value of the phoneWork property.

Parameters
value Allowed object is String

public void setPurchasingUser (String value)

Sets the value of the purchasingUser property.

Parameters
value Allowed object is String

public void setRoles (User.Roles value)

Sets the value of the roles property.

Parameters
value Allowed object is User.Roles

public void setSalesforceId (String value)

Sets the value of the salesforceId property.

Parameters
value Allowed object is String

public void setSelfApprovalLimit (ApprovalLimitSummary value)

Sets the value of the selfApprovalLimit property.

Parameters
value Allowed object is ApprovalLimitSummary

public void setSsoIdentifier (String value)

Sets the value of the ssoIdentifier property.

Parameters
value Allowed object is String

public void setUpdatedAt (XMLGregorianCalendar value)

Sets the value of the updatedAt property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setUpdatedBy (UserSummary value)

Sets the value of the updatedBy property.

Parameters
value Allowed object is UserSummary