CoreConfiguration

@JsonClass(generateAdapter = true)
data class CoreConfiguration(@Json(name = "Url") val serviceAPI: URL, @Json(name = "OrganizationId") val organizationId: String, @Json(name = "DeveloperName") val developerName: String, val isUserVerificationRequired: Boolean = false) : Configuration

Configuration used to create a CoreClient instance.

Parameters

serviceAPI

The service API endpoint URL.

organizationId

Your Salesforce org ID.

developerName

The API Name for the embedded service deployment associated with this configuration.

isUserVerificationRequired

Denotes the deployment as being configured for verified users.

Constructors

Link copied to clipboard
constructor(serviceAPI: String, organizationId: String, developerName: String, isUserVerificationRequired: Boolean = false)

Creates a configuration object that is used to create a CoreClient instance.

constructor(@Json(name = "Url") serviceAPI: URL, @Json(name = "OrganizationId") organizationId: String, @Json(name = "DeveloperName") developerName: String, isUserVerificationRequired: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val developerName: String
Link copied to clipboard
@Transient
open override val isUserVerificationRequired: Boolean = false
Link copied to clipboard
open override val organizationId: String
Link copied to clipboard
open override val serviceAPI: URL

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)