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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionauthEventId(UUID authEventId)Identifier shared across connections authorised at the same timeConnectioncreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc)The date when the user connected this tenant to your appbooleanequals(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)Xero identifiervoidsetAuthEventId(UUID authEventId)Identifier shared across connections authorised at the same timevoidsetCreatedDateUtc(org.threeten.bp.LocalDateTime createdDateUtc)The date when the user connected this tenant to your appvoidsetId(UUID id)Xero identifiervoidsetTenantId(UUID tenantId)Xero identifier of organisationvoidsetTenantName(String tenantName)Xero tenant namevoidsetTenantType(String tenantType)Xero tenant type (i.e.voidsetUpdatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc)The date when the user most recently connected this tenant to your app.ConnectiontenantId(UUID tenantId)Xero identifier of organisationConnectiontenantName(String tenantName)Xero tenant nameConnectiontenantType(String tenantType)Xero tenant type (i.e.StringtoString()ConnectionupdatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc)The date when the user most recently connected this tenant to your app.
-
-
-
Method Detail
-
id
public Connection id(UUID id)
Xero identifier- Parameters:
id- UUID- Returns:
- Connection
-
getId
public UUID getId()
Xero identifier- Returns:
- id
-
setId
public void setId(UUID id)
Xero identifier- Parameters:
id- UUID
-
tenantId
public Connection tenantId(UUID tenantId)
Xero identifier of organisation- Parameters:
tenantId- UUID- Returns:
- Connection
-
getTenantId
public UUID getTenantId()
Xero identifier of organisation- Returns:
- tenantId
-
setTenantId
public void setTenantId(UUID tenantId)
Xero identifier of organisation- Parameters:
tenantId- UUID
-
authEventId
public Connection authEventId(UUID authEventId)
Identifier shared across connections authorised at the same time- Parameters:
authEventId- UUID- Returns:
- Connection
-
getAuthEventId
public UUID getAuthEventId()
Identifier shared across connections authorised at the same time- Returns:
- authEventId
-
setAuthEventId
public void setAuthEventId(UUID authEventId)
Identifier shared across connections authorised at the same time- Parameters:
authEventId- UUID
-
tenantType
public Connection tenantType(String tenantType)
Xero tenant type (i.e. ORGANISATION, PRACTICE)- Parameters:
tenantType- String- Returns:
- Connection
-
getTenantType
public String getTenantType()
Xero tenant type (i.e. ORGANISATION, PRACTICE)- Returns:
- tenantType
-
setTenantType
public void setTenantType(String tenantType)
Xero tenant type (i.e. ORGANISATION, PRACTICE)- Parameters:
tenantType- String
-
tenantName
public Connection tenantName(String tenantName)
Xero tenant name- Parameters:
tenantName- String- Returns:
- Connection
-
getTenantName
public String getTenantName()
Xero tenant name- Returns:
- tenantName
-
setTenantName
public void setTenantName(String tenantName)
Xero tenant name- Parameters:
tenantName- String
-
createdDateUtc
public Connection createdDateUtc(org.threeten.bp.LocalDateTime createdDateUtc)
The date when the user connected this tenant to your app- Parameters:
createdDateUtc- LocalDateTime- Returns:
- Connection
-
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)
The date when the user connected this tenant to your app- Parameters:
createdDateUtc- LocalDateTime
-
updatedDateUtc
public Connection updatedDateUtc(org.threeten.bp.LocalDateTime updatedDateUtc)
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.- Parameters:
updatedDateUtc- LocalDateTime- Returns:
- Connection
-
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)
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.- Parameters:
updatedDateUtc- LocalDateTime
-
-