Package com.xero.models.finance
Class UserResponse
java.lang.Object
com.xero.models.finance.UserResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabsoluteValueDocumentsCreated(Double absoluteValueDocumentsCreated) Absolute value of documents created.addAttachedPracticesItem(PracticeResponse attachedPracticesItem) attachedPracticesaddHistoryRecordsItem(HistoryRecordResponse historyRecordsItem) historyRecordsattachedPractices(List<PracticeResponse> attachedPractices) attachedPracticesbooleanAbsolute value of documents created.Get attachedPracticesUser has Accountant role.Get historyRecordsUser is external partner.org.threeten.bp.OffsetDateTimeTimestamp of user last loginMonth period in format yyyy-MM.Net value of documents created.Number of documents created.Number of times the user has logged in.org.threeten.bp.OffsetDateTimeTimestamp of user creation.The Xero identifier for the userhasAccountantRole(Boolean hasAccountantRole) User has Accountant role.inthashCode()historyRecords(List<HistoryRecordResponse> historyRecords) historyRecordsisExternalPartner(Boolean isExternalPartner) User is external partner.lastLoginDateUtc(org.threeten.bp.OffsetDateTime lastLoginDateUtc) Timestamp of user last loginmonthPeriod(String monthPeriod) Month period in format yyyy-MM.netValueDocumentsCreated(Double netValueDocumentsCreated) Net value of documents created.numberOfDocumentsCreated(Integer numberOfDocumentsCreated) Number of documents created.numberOfLogins(Integer numberOfLogins) Number of times the user has logged in.voidsetAbsoluteValueDocumentsCreated(Double absoluteValueDocumentsCreated) Absolute value of documents created.voidsetAttachedPractices(List<PracticeResponse> attachedPractices) attachedPracticesvoidsetHasAccountantRole(Boolean hasAccountantRole) User has Accountant role.voidsetHistoryRecords(List<HistoryRecordResponse> historyRecords) historyRecordsvoidsetIsExternalPartner(Boolean isExternalPartner) User is external partner.voidsetLastLoginDateUtc(org.threeten.bp.OffsetDateTime lastLoginDateUtc) Timestamp of user last loginvoidsetMonthPeriod(String monthPeriod) Month period in format yyyy-MM.voidsetNetValueDocumentsCreated(Double netValueDocumentsCreated) Net value of documents created.voidsetNumberOfDocumentsCreated(Integer numberOfDocumentsCreated) Number of documents created.voidsetNumberOfLogins(Integer numberOfLogins) Number of times the user has logged in.voidsetUserCreatedDateUtc(org.threeten.bp.OffsetDateTime userCreatedDateUtc) Timestamp of user creation.voidThe Xero identifier for the usertoString()userCreatedDateUtc(org.threeten.bp.OffsetDateTime userCreatedDateUtc) Timestamp of user creation.The Xero identifier for the user
-
Constructor Details
-
UserResponse
public UserResponse()
-
-
Method Details
-
userId
The Xero identifier for the user- Parameters:
userId- UUID- Returns:
- UserResponse
-
getUserId
-
setUserId
-
userCreatedDateUtc
Timestamp of user creation.- Parameters:
userCreatedDateUtc- OffsetDateTime- Returns:
- UserResponse
-
getUserCreatedDateUtc
public org.threeten.bp.OffsetDateTime getUserCreatedDateUtc()Timestamp of user creation.- Returns:
- userCreatedDateUtc
-
setUserCreatedDateUtc
public void setUserCreatedDateUtc(org.threeten.bp.OffsetDateTime userCreatedDateUtc) Timestamp of user creation.- Parameters:
userCreatedDateUtc- OffsetDateTime
-
lastLoginDateUtc
Timestamp of user last login- Parameters:
lastLoginDateUtc- OffsetDateTime- Returns:
- UserResponse
-
getLastLoginDateUtc
public org.threeten.bp.OffsetDateTime getLastLoginDateUtc()Timestamp of user last login- Returns:
- lastLoginDateUtc
-
setLastLoginDateUtc
public void setLastLoginDateUtc(org.threeten.bp.OffsetDateTime lastLoginDateUtc) Timestamp of user last login- Parameters:
lastLoginDateUtc- OffsetDateTime
-
isExternalPartner
User is external partner.- Parameters:
isExternalPartner- Boolean- Returns:
- UserResponse
-
getIsExternalPartner
-
setIsExternalPartner
User is external partner.- Parameters:
isExternalPartner- Boolean
-
hasAccountantRole
User has Accountant role.- Parameters:
hasAccountantRole- Boolean- Returns:
- UserResponse
-
getHasAccountantRole
-
setHasAccountantRole
User has Accountant role.- Parameters:
hasAccountantRole- Boolean
-
monthPeriod
Month period in format yyyy-MM.- Parameters:
monthPeriod- String- Returns:
- UserResponse
-
getMonthPeriod
-
setMonthPeriod
Month period in format yyyy-MM.- Parameters:
monthPeriod- String
-
numberOfLogins
Number of times the user has logged in.- Parameters:
numberOfLogins- Integer- Returns:
- UserResponse
-
getNumberOfLogins
-
setNumberOfLogins
Number of times the user has logged in.- Parameters:
numberOfLogins- Integer
-
numberOfDocumentsCreated
Number of documents created.- Parameters:
numberOfDocumentsCreated- Integer- Returns:
- UserResponse
-
getNumberOfDocumentsCreated
Number of documents created.- Returns:
- numberOfDocumentsCreated
-
setNumberOfDocumentsCreated
Number of documents created.- Parameters:
numberOfDocumentsCreated- Integer
-
netValueDocumentsCreated
Net value of documents created.- Parameters:
netValueDocumentsCreated- Double- Returns:
- UserResponse
-
getNetValueDocumentsCreated
Net value of documents created.- Returns:
- netValueDocumentsCreated
-
setNetValueDocumentsCreated
Net value of documents created.- Parameters:
netValueDocumentsCreated- Double
-
absoluteValueDocumentsCreated
Absolute value of documents created.- Parameters:
absoluteValueDocumentsCreated- Double- Returns:
- UserResponse
-
getAbsoluteValueDocumentsCreated
Absolute value of documents created.- Returns:
- absoluteValueDocumentsCreated
-
setAbsoluteValueDocumentsCreated
Absolute value of documents created.- Parameters:
absoluteValueDocumentsCreated- Double
-
attachedPractices
attachedPractices- Parameters:
attachedPractices- List<PracticeResponse>- Returns:
- UserResponse
-
addAttachedPracticesItem
attachedPractices- Parameters:
attachedPracticesItem- PracticeResponse- Returns:
- UserResponse
-
getAttachedPractices
Get attachedPractices- Returns:
- attachedPractices
-
setAttachedPractices
attachedPractices- Parameters:
attachedPractices- List<PracticeResponse>
-
historyRecords
historyRecords- Parameters:
historyRecords- List<HistoryRecordResponse>- Returns:
- UserResponse
-
addHistoryRecordsItem
historyRecords- Parameters:
historyRecordsItem- HistoryRecordResponse- Returns:
- UserResponse
-
getHistoryRecords
-
setHistoryRecords
historyRecords- Parameters:
historyRecords- List<HistoryRecordResponse>
-
equals
-
hashCode
-
toString
-