public class DaiAuthenticationKey extends Object implements Serializable
DaiAuthenticationKey is used to authenticate stream requests
to the IMA SDK API.| Constructor and Description |
|---|
DaiAuthenticationKey() |
DaiAuthenticationKey(Long id,
String key,
DateTime creationDateTime,
DaiAuthenticationKeyStatus status,
String name,
DaiAuthenticationKeyType keyType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DateTime |
getCreationDateTime()
Gets the creationDateTime value for this DaiAuthenticationKey.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getId()
Gets the id value for this DaiAuthenticationKey.
|
String |
getKey()
Gets the key value for this DaiAuthenticationKey.
|
DaiAuthenticationKeyType |
getKeyType()
Gets the keyType value for this DaiAuthenticationKey.
|
String |
getName()
Gets the name value for this DaiAuthenticationKey.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
DaiAuthenticationKeyStatus |
getStatus()
Gets the status value for this DaiAuthenticationKey.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCreationDateTime(DateTime creationDateTime)
Sets the creationDateTime value for this DaiAuthenticationKey.
|
void |
setId(Long id)
Sets the id value for this DaiAuthenticationKey.
|
void |
setKey(String key)
Sets the key value for this DaiAuthenticationKey.
|
void |
setKeyType(DaiAuthenticationKeyType keyType)
Sets the keyType value for this DaiAuthenticationKey.
|
void |
setName(String name)
Sets the name value for this DaiAuthenticationKey.
|
void |
setStatus(DaiAuthenticationKeyStatus status)
Sets the status value for this DaiAuthenticationKey.
|
String |
toString() |
public DaiAuthenticationKey()
public DaiAuthenticationKey(Long id, String key, DateTime creationDateTime, DaiAuthenticationKeyStatus status, String name, DaiAuthenticationKeyType keyType)
public Long getId()
DaiAuthenticationKey. This value
is read-only and is assigned by
Google.public void setId(Long id)
id - * The unique ID of the DaiAuthenticationKey. This value
is read-only and is assigned by
Google.public String getKey()
public void setKey(String key)
key - * The value of the secure key. This value is read-only and is
assigned by Google.public DateTime getCreationDateTime()
DaiAuthenticationKey was created.
This value is read-only and is
assigned by Google.public void setCreationDateTime(DateTime creationDateTime)
creationDateTime - * The date and time this DaiAuthenticationKey was created.
This value is read-only and is
assigned by Google.public DaiAuthenticationKeyStatus getStatus()
DaiAuthenticationKey. This value
is read-only and is assigned by
Google.
DAI authentication keys are created in the DaiAuthenticationKeyStatus.ACTIVE state.
The status can only be modified through the DaiAuthenticationKeyService#performDaiAuthenticationKeyAction method.
Only active keys will be accepted by the IMA SDK API as valid.
public void setStatus(DaiAuthenticationKeyStatus status)
status - * The status of this DaiAuthenticationKey. This value
is read-only and is assigned by
Google.
DAI authentication keys are created in the DaiAuthenticationKeyStatus.ACTIVE state.
The status can only be modified through the DaiAuthenticationKeyService#performDaiAuthenticationKeyAction method.
Only active keys will be accepted by the IMA SDK API as valid.
public String getName()
DaiAuthenticationKey.public void setName(String name)
name - * The name for this DaiAuthenticationKey.public DaiAuthenticationKeyType getKeyType()
public void setKeyType(DaiAuthenticationKeyType keyType)
keyType - * The type of this key, which determines how it should be used
on stream create requests.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2019. All rights reserved.