Class ConnectSession


  • public class ConnectSession
    extends java.lang.Object
    • Constructor Detail

      • ConnectSession

        public ConnectSession​(double id,
                              double organizationId,
                              java.lang.String projectId,
                              org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ConnectSessionCategories>> categories,
                              org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider,
                              java.lang.String originOwnerId,
                              java.lang.String originOwnerName,
                              org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originUsername,
                              org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId,
                              org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label,
                              java.time.OffsetDateTime createdAt,
                              org.openapitools.jackson.nullable.JsonNullable<? extends ConnectSessionMetadata> metadata,
                              org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalTriggerToken,
                              org.openapitools.jackson.nullable.JsonNullable<? extends ConnectSessionType> type,
                              org.openapitools.jackson.nullable.JsonNullable<java.lang.String> integrationId)
      • ConnectSession

        public ConnectSession​(double id,
                              double organizationId,
                              java.lang.String projectId,
                              java.lang.String originOwnerId,
                              java.lang.String originOwnerName,
                              java.time.OffsetDateTime createdAt)
    • Method Detail

      • id

        public double id()
      • organizationId

        public double organizationId()
      • projectId

        public java.lang.String projectId()
      • categories

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<ConnectSessionCategories>> categories()
      • provider

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider()
      • originOwnerId

        public java.lang.String originOwnerId()
      • originOwnerName

        public java.lang.String originOwnerName()
      • originUsername

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originUsername()
      • accountId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId()
      • label

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label()
      • createdAt

        public java.time.OffsetDateTime createdAt()
      • metadata

        public org.openapitools.jackson.nullable.JsonNullable<ConnectSessionMetadata> metadata()
        Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
      • externalTriggerToken

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalTriggerToken()
        External trigger token to be used to trigger actions on the account
      • type

        public org.openapitools.jackson.nullable.JsonNullable<ConnectSessionType> type()
        The connect session account type
      • integrationId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> integrationId()
        The integration ID (UUID) associated with this connect session
      • withOrganizationId

        public ConnectSession withOrganizationId​(double organizationId)
      • withProjectId

        public ConnectSession withProjectId​(java.lang.String projectId)
      • withProvider

        public ConnectSession withProvider​(java.lang.String provider)
      • withProvider

        public ConnectSession withProvider​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)
      • withOriginOwnerId

        public ConnectSession withOriginOwnerId​(java.lang.String originOwnerId)
      • withOriginOwnerName

        public ConnectSession withOriginOwnerName​(java.lang.String originOwnerName)
      • withOriginUsername

        public ConnectSession withOriginUsername​(java.lang.String originUsername)
      • withOriginUsername

        public ConnectSession withOriginUsername​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originUsername)
      • withAccountId

        public ConnectSession withAccountId​(java.lang.String accountId)
      • withAccountId

        public ConnectSession withAccountId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)
      • withLabel

        public ConnectSession withLabel​(java.lang.String label)
      • withLabel

        public ConnectSession withLabel​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
      • withCreatedAt

        public ConnectSession withCreatedAt​(java.time.OffsetDateTime createdAt)
      • withMetadata

        public ConnectSession withMetadata​(ConnectSessionMetadata metadata)
        Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
      • withMetadata

        public ConnectSession withMetadata​(org.openapitools.jackson.nullable.JsonNullable<? extends ConnectSessionMetadata> metadata)
        Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
      • withExternalTriggerToken

        public ConnectSession withExternalTriggerToken​(java.lang.String externalTriggerToken)
        External trigger token to be used to trigger actions on the account
      • withExternalTriggerToken

        public ConnectSession withExternalTriggerToken​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> externalTriggerToken)
        External trigger token to be used to trigger actions on the account
      • withType

        public ConnectSession withType​(org.openapitools.jackson.nullable.JsonNullable<? extends ConnectSessionType> type)
        The connect session account type
      • withIntegrationId

        public ConnectSession withIntegrationId​(java.lang.String integrationId)
        The integration ID (UUID) associated with this connect session
      • withIntegrationId

        public ConnectSession withIntegrationId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> integrationId)
        The integration ID (UUID) associated with this connect session
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object