Package com.xero.models.identity
Class Connection
java.lang.Object
com.xero.models.identity.Connection
public class Connection extends Object
Connection
-
Constructor Summary
Constructors Constructor Description Connection() -
Method Summary
Modifier and Type Method Description ConnectionauthEventId(UUID authEventId)ConnectioncreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc)booleanequals(Object o)UUIDgetAuthEventId()Identifier shared across connections authorised at the same timeorg.threeten.bp.LocalDateTimegetCreatedDateUtc()The date when the user connected this tenant to your appUUIDgetId()Xero identifierUUIDgetTenantId()Xero identifier of organisationStringgetTenantName()Xero tenant nameStringgetTenantType()Xero tenant type (i.e.org.threeten.bp.LocalDateTimegetUpdatedDateUtc()The date when the user most recently connected this tenant to your app.inthashCode()Connectionid(UUID id)voidsetAuthEventId(UUID authEventId)voidsetCreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc)voidsetId(UUID id)voidsetTenantId(UUID tenantId)voidsetTenantName(String tenantName)voidsetTenantType(String tenantType)voidsetUpdatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc)ConnectiontenantId(UUID tenantId)ConnectiontenantName(String tenantName)ConnectiontenantType(String tenantType)StringtoString()ConnectionupdatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc)
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
id
-
getId
Xero identifier- Returns:
- id
-
setId
-
tenantId
-
getTenantId
Xero identifier of organisation- Returns:
- tenantId
-
setTenantId
-
authEventId
-
getAuthEventId
Identifier shared across connections authorised at the same time- Returns:
- authEventId
-
setAuthEventId
-
tenantType
-
getTenantType
Xero tenant type (i.e. ORGANISATION, PRACTICE)- Returns:
- tenantType
-
setTenantType
-
tenantName
-
getTenantName
Xero tenant name- Returns:
- tenantName
-
setTenantName
-
createdDateUtc
-
getCreatedDateUtc
public org.threeten.bp.LocalDateTime getCreatedDateUtc()The date when the user connected this tenant to your app- Returns:
- createdDateUtc
-
setCreatedDateUtc
public void setCreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc) -
updatedDateUtc
-
getUpdatedDateUtc
public org.threeten.bp.LocalDateTime getUpdatedDateUtc()The date when the user most recently connected this tenant to your app. May differ to the created date if the user has disconnected and subsequently reconnected this tenant to your app.- Returns:
- updatedDateUtc
-
setUpdatedDateUtc
public void setUpdatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc) -
equals
-
hashCode
public int hashCode() -
toString
-