Class ConnectSessionCreate
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ConnectSessionCreate
-
public class ConnectSessionCreate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectSessionCreate.Builder
-
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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<java.lang.String>accountId()The unique identifier for the account associated with this connect session.static ConnectSessionCreate.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.util.List<Categories>>categories()The categories of the provider to connect tobooleanequals(java.lang.Object o)org.openapitools.jackson.nullable.JsonNullable<java.lang.Double>expiresIn()How long the session should be valid for in secondsinthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>label()The label to be applied to the account associated with this connect session.org.openapitools.jackson.nullable.JsonNullable<Metadata>metadata()The metadata for the connectionorg.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.java.lang.StringoriginOwnerId()The origin owner identifierjava.lang.StringoriginOwnerName()The origin owner nameorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>originUsername()The origin usernameorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>provider()The provider to connect toorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>providerVersion()The provider version to connect tojava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<Type>type()The connect session account typeConnectSessionCreatewithAccountId(java.lang.String accountId)The unique identifier for the account associated with this connect session.ConnectSessionCreatewithAccountId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> accountId)The unique identifier for the account associated with this connect session.ConnectSessionCreatewithCategories(java.util.List<Categories> categories)The categories of the provider to connect toConnectSessionCreatewithCategories(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Categories>> categories)The categories of the provider to connect toConnectSessionCreatewithExpiresIn(double expiresIn)How long the session should be valid for in secondsConnectSessionCreatewithExpiresIn(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> expiresIn)How long the session should be valid for in secondsConnectSessionCreatewithLabel(java.lang.String label)The label to be applied to the account associated with this connect session.ConnectSessionCreatewithLabel(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> label)The label to be applied to the account associated with this connect session.ConnectSessionCreatewithMetadata(Metadata metadata)The metadata for the connectionConnectSessionCreatewithMetadata(org.openapitools.jackson.nullable.JsonNullable<? extends Metadata> metadata)The metadata for the connectionConnectSessionCreatewithMultiple(boolean multiple)If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider.ConnectSessionCreatewithMultiple(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.ConnectSessionCreatewithOriginOwnerId(java.lang.String originOwnerId)The origin owner identifierConnectSessionCreatewithOriginOwnerName(java.lang.String originOwnerName)The origin owner nameConnectSessionCreatewithOriginUsername(java.lang.String originUsername)The origin usernameConnectSessionCreatewithOriginUsername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> originUsername)The origin usernameConnectSessionCreatewithProvider(java.lang.String provider)The provider to connect toConnectSessionCreatewithProvider(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> provider)The provider to connect toConnectSessionCreatewithProviderVersion(java.lang.String providerVersion)The provider version to connect toConnectSessionCreatewithProviderVersion(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> providerVersion)The provider version to connect toConnectSessionCreatewithType(Type type)The connect session account typeConnectSessionCreatewithType(org.openapitools.jackson.nullable.JsonNullable<? extends Type> type)The connect session account 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
-
builder
public static ConnectSessionCreate.Builder builder()
-
withCategories
public ConnectSessionCreate withCategories(java.util.List<Categories> categories)
The categories of the provider to connect to
-
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(Metadata metadata)
The metadata for the connection
-
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(Type type)
The connect session account type
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-