@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public final class CreateServiceCloudChannelResult extends CreateChannelResult
The configuration for a Service Cloud agent channel.
Note: Objects should always be created or deserialized using the CreateServiceCloudChannelResult.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the CreateServiceCloudChannelResult.Builder
, which maintain a
set of all explicitly set fields called CreateServiceCloudChannelResult.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateServiceCloudChannelResult.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateServiceCloudChannelResult(String id,
String name,
String description,
ChannelCategory category,
Long sessionExpiryDurationInMilliseconds,
LifecycleState lifecycleState,
Date timeCreated,
Date timeUpdated,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String domainName,
String hostNamePrefix,
String userName,
ServiceCloudClientType clientType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateServiceCloudChannelResult.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ServiceCloudClientType |
getClientType()
The type of Service Cloud client.
|
String |
getDomainName()
The domain name.
|
String |
getHostNamePrefix()
The host prefix.
|
String |
getUserName()
The user name for an Oracle B2C Service staff member who has the necessary profile
permissions.
|
int |
hashCode() |
CreateServiceCloudChannelResult.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCategory, getDefinedTags, getDescription, getFreeformTags, getId, getLifecycleState, getName, getSessionExpiryDurationInMilliseconds, getTimeCreated, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateServiceCloudChannelResult(String id, String name, String description, ChannelCategory category, Long sessionExpiryDurationInMilliseconds, LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String domainName, String hostNamePrefix, String userName, ServiceCloudClientType clientType)
public static CreateServiceCloudChannelResult.Builder builder()
Create a new builder.
public CreateServiceCloudChannelResult.Builder toBuilder()
public String getDomainName()
The domain name.
If you have access to Oracle B2C Service, you can derive this value from the URL that you use to launch the Agent Browser User Interface. For example, if the URL is sitename.exampledomain.com, then the host name prefix is sitename and the domain name is exampledomain.com.
If the channel is connecting to Oracle B2C Service version 19A or later, and you have multiple interfaces, then you must include the interface ID in the host (site) name . For example, for the interface that has an ID of 2, you would use something like sitename-2.exampledomain.com.
public String getHostNamePrefix()
The host prefix.
If you have access to Oracle B2C Service, you can derive this value from the URL that you use to launch the Agent Browser User Interface. For example, if the URL is sitename.exampledomain.com, then the host name prefix is sitename and the domain name is exampledomain.com.
If the channel is connecting to Oracle B2C Service version 19A or later, and you have multiple interfaces, then you must include the interface ID in the host (site) name . For example, for the interface that has an ID of 2, you would use something like sitename-2.exampledomain.com.
public String getUserName()
The user name for an Oracle B2C Service staff member who has the necessary profile permissions.
public ServiceCloudClientType getClientType()
The type of Service Cloud client.
public String toString()
toString
in class CreateChannelResult
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateChannelResult
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateChannelResult
public int hashCode()
hashCode
in class CreateChannelResult
Copyright © 2016–2024. All rights reserved.