Class ConnectSessionCreate


  • public class ConnectSessionCreate
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectSessionCreate​(java.lang.String originOwnerId, java.lang.String originOwnerName)  
      ConnectSessionCreate​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Categories>> categories, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> providerVersion, 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.Double> expiresIn, org.openapitools.jackson.nullable.JsonNullable<? extends Metadata> metadata, org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> multiple, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label, org.openapitools.jackson.nullable.JsonNullable<? extends Type> type)  
    • Constructor Detail

      • ConnectSessionCreate

        public ConnectSessionCreate​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Categories>> categories,
                                    org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider,
                                    org.openapitools.jackson.nullable.JsonNullable<java.lang.String> providerVersion,
                                    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.Double> expiresIn,
                                    org.openapitools.jackson.nullable.JsonNullable<? extends Metadata> metadata,
                                    org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> multiple,
                                    org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label,
                                    org.openapitools.jackson.nullable.JsonNullable<? extends Type> type)
      • ConnectSessionCreate

        public ConnectSessionCreate​(java.lang.String originOwnerId,
                                    java.lang.String originOwnerName)
    • Method Detail

      • categories

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<Categories>> categories()
        The categories of the provider to connect to
      • provider

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider()
        The provider to connect to
      • providerVersion

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> providerVersion()
        The provider version to connect to
      • originOwnerId

        public java.lang.String originOwnerId()
        The origin owner identifier
      • originOwnerName

        public java.lang.String originOwnerName()
        The origin owner name
      • originUsername

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

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId()
        The unique identifier for the account associated with this connect session. When this field is present, the hub will launch in edit mode using the retrieved token.
      • expiresIn

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> expiresIn()
        How long the session should be valid for in seconds
      • metadata

        public org.openapitools.jackson.nullable.JsonNullable<Metadata> metadata()
        The metadata for the connection
      • multiple

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> multiple()
        If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider. Has no effect if account_id is set.
      • label

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label()
        The label to be applied to the account associated with this connect session.
      • type

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

        public ConnectSessionCreate withCategories​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Categories>> categories)
        The categories of the provider to connect to
      • withProvider

        public ConnectSessionCreate withProvider​(java.lang.String provider)
        The provider to connect to
      • withProvider

        public ConnectSessionCreate withProvider​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)
        The provider to connect to
      • withProviderVersion

        public ConnectSessionCreate withProviderVersion​(java.lang.String providerVersion)
        The provider version to connect to
      • withProviderVersion

        public ConnectSessionCreate withProviderVersion​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> providerVersion)
        The provider version to connect to
      • withOriginOwnerId

        public ConnectSessionCreate withOriginOwnerId​(java.lang.String originOwnerId)
        The origin owner identifier
      • withOriginOwnerName

        public ConnectSessionCreate withOriginOwnerName​(java.lang.String originOwnerName)
        The origin owner name
      • withOriginUsername

        public ConnectSessionCreate withOriginUsername​(java.lang.String originUsername)
        The origin username
      • withOriginUsername

        public ConnectSessionCreate withOriginUsername​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originUsername)
        The origin username
      • withAccountId

        public ConnectSessionCreate withAccountId​(java.lang.String accountId)
        The unique identifier for the account associated with this connect session. When this field is present, the hub will launch in edit mode using the retrieved token.
      • withAccountId

        public ConnectSessionCreate withAccountId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)
        The unique identifier for the account associated with this connect session. When this field is present, the hub will launch in edit mode using the retrieved token.
      • withExpiresIn

        public ConnectSessionCreate withExpiresIn​(double expiresIn)
        How long the session should be valid for in seconds
      • withExpiresIn

        public ConnectSessionCreate withExpiresIn​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> expiresIn)
        How long the session should be valid for in seconds
      • withMetadata

        public ConnectSessionCreate withMetadata​(org.openapitools.jackson.nullable.JsonNullable<? extends Metadata> metadata)
        The metadata for the connection
      • withMultiple

        public ConnectSessionCreate withMultiple​(boolean multiple)
        If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider. Has no effect if account_id is set.
      • withMultiple

        public ConnectSessionCreate withMultiple​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> multiple)
        If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider. Has no effect if account_id is set.
      • withLabel

        public ConnectSessionCreate withLabel​(java.lang.String label)
        The label to be applied to the account associated with this connect session.
      • withLabel

        public ConnectSessionCreate withLabel​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)
        The label to be applied to the account associated with this connect session.
      • withType

        public ConnectSessionCreate withType​(org.openapitools.jackson.nullable.JsonNullable<? extends Type> type)
        The connect session account type
      • 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