Class PstnCallLogRow
java.lang.Object
com.microsoft.graph.models.callrecords.PstnCallLogRow
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class PstnCallLogRow
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PstnCallLogRowcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the callDurationSource property value.Gets the calleeNumber property value.Gets the callerNumber property value.Gets the callId property value.Gets the callType property value.Gets the charge property value.Gets the conferenceId property value.Gets the connectionCharge property value.Gets the currency property value.Gets the destinationContext property value.Gets the destinationName property value.Gets the duration property value.Gets the endDateTime property value.The deserialization information for the current modelgetId()Gets the id property value.Gets the inventoryType property value.Gets the licenseCapability property value.Gets the @odata.type property value.Gets the operator property value.Gets the startDateTime property value.Gets the tenantCountryCode property value.Gets the usageCountryCode property value.Gets the userDisplayName property value.Gets the userId property value.Gets the userPrincipalName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidSets the callDurationSource property value.voidsetCalleeNumber(String value) Sets the calleeNumber property value.voidsetCallerNumber(String value) Sets the callerNumber property value.voidSets the callId property value.voidsetCallType(String value) Sets the callType property value.voidsetCharge(BigDecimal value) Sets the charge property value.voidsetConferenceId(String value) Sets the conferenceId property value.voidsetConnectionCharge(BigDecimal value) Sets the connectionCharge property value.voidsetCurrency(String value) Sets the currency property value.voidsetDestinationContext(String value) Sets the destinationContext property value.voidsetDestinationName(String value) Sets the destinationName property value.voidsetDuration(Integer value) Sets the duration property value.voidsetEndDateTime(OffsetDateTime value) Sets the endDateTime property value.voidSets the id property value.voidsetInventoryType(String value) Sets the inventoryType property value.voidsetLicenseCapability(String value) Sets the licenseCapability property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetOperator(String value) Sets the operator property value.voidsetStartDateTime(OffsetDateTime value) Sets the startDateTime property value.voidsetTenantCountryCode(String value) Sets the tenantCountryCode property value.voidsetUsageCountryCode(String value) Sets the usageCountryCode property value.voidsetUserDisplayName(String value) Sets the userDisplayName property value.voidSets the userId property value.voidsetUserPrincipalName(String value) Sets the userPrincipalName property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
PstnCallLogRow
public PstnCallLogRow()Instantiates a newPstnCallLogRowand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static PstnCallLogRow createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
PstnCallLogRow
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCallDurationSource
Gets the callDurationSource property value. The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator can provide their own call duration data. In this case, the property value is operator. Otherwise, the value is microsoft.- Returns:
- a
PstnCallDurationSource
-
getCalleeNumber
Gets the calleeNumber property value. Number dialed in E.164 format.- Returns:
- a
String
-
getCallerNumber
Gets the callerNumber property value. Number that received the call for inbound calls or the number dialed for outbound calls. E.164 format.- Returns:
- a
String
-
getCallId
Gets the callId property value. Call identifier. Not guaranteed to be unique.- Returns:
- a
String
-
getCallType
Gets the callType property value. Indicates whether the call was a PSTN outbound or inbound call and the type of call, such as a call placed by a user or an audio conference.- Returns:
- a
String
-
getCharge
Gets the charge property value. Amount of money or cost of the call that is charged to your account.- Returns:
- a
BigDecimal
-
getConferenceId
Gets the conferenceId property value. ID of the audio conference.- Returns:
- a
String
-
getConnectionCharge
Gets the connectionCharge property value. Connection fee price.- Returns:
- a
BigDecimal
-
getCurrency
Gets the currency property value. Type of currency used to calculate the cost of the call. For details, see (ISO 4217.- Returns:
- a
String
-
getDestinationContext
Gets the destinationContext property value. Whether the call was domestic (within a country or region) or international (outside a country or region), based on the user's location.- Returns:
- a
String
-
getDestinationName
Gets the destinationName property value. Country or region dialed.- Returns:
- a
String
-
getDuration
Gets the duration property value. How long the call was connected, in seconds.- Returns:
- a
Integer
-
getEndDateTime
Gets the endDateTime property value. Call end time.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getId
Gets the id property value. Unique call identifier. GUID.- Returns:
- a
String
-
getInventoryType
Gets the inventoryType property value. User's phone number type, such as a service of toll-free number.- Returns:
- a
String
-
getLicenseCapability
Gets the licenseCapability property value. The license used for the call.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getOperator
Gets the operator property value. The telecommunications operator which provided PSTN services for this call. This might be Microsoft, or it might be a third-party operator via the Operator Connect Program.- Returns:
- a
String
-
getStartDateTime
Gets the startDateTime property value. Call start time.- Returns:
- a
OffsetDateTime
-
getTenantCountryCode
Gets the tenantCountryCode property value. Country code of the tenant. For details, see ISO 3166-1 alpha-2.- Returns:
- a
String
-
getUsageCountryCode
Gets the usageCountryCode property value. Country code of the user. For details, see ISO 3166-1 alpha-2.- Returns:
- a
String
-
getUserDisplayName
Gets the userDisplayName property value. Display name of the user.- Returns:
- a
String
-
getUserId
Gets the userId property value. Calling user's ID in Microsoft Graph. GUID. This and other user info will be null/empty for bot call types (ucapin, ucapout).- Returns:
- a
String
-
getUserPrincipalName
Gets the userPrincipalName property value. The user principal name (sign-in name) in Microsoft Entra ID. This is usually the same as the user's SIP address, and can be the same as the user's email address.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setCallDurationSource
Sets the callDurationSource property value. The source of the call duration data. If the call uses a third-party telecommunications operator via the Operator Connect Program, the operator can provide their own call duration data. In this case, the property value is operator. Otherwise, the value is microsoft.- Parameters:
value- Value to set for the callDurationSource property.
-
setCalleeNumber
Sets the calleeNumber property value. Number dialed in E.164 format.- Parameters:
value- Value to set for the calleeNumber property.
-
setCallerNumber
Sets the callerNumber property value. Number that received the call for inbound calls or the number dialed for outbound calls. E.164 format.- Parameters:
value- Value to set for the callerNumber property.
-
setCallId
Sets the callId property value. Call identifier. Not guaranteed to be unique.- Parameters:
value- Value to set for the callId property.
-
setCallType
Sets the callType property value. Indicates whether the call was a PSTN outbound or inbound call and the type of call, such as a call placed by a user or an audio conference.- Parameters:
value- Value to set for the callType property.
-
setCharge
Sets the charge property value. Amount of money or cost of the call that is charged to your account.- Parameters:
value- Value to set for the charge property.
-
setConferenceId
Sets the conferenceId property value. ID of the audio conference.- Parameters:
value- Value to set for the conferenceId property.
-
setConnectionCharge
Sets the connectionCharge property value. Connection fee price.- Parameters:
value- Value to set for the connectionCharge property.
-
setCurrency
Sets the currency property value. Type of currency used to calculate the cost of the call. For details, see (ISO 4217.- Parameters:
value- Value to set for the currency property.
-
setDestinationContext
Sets the destinationContext property value. Whether the call was domestic (within a country or region) or international (outside a country or region), based on the user's location.- Parameters:
value- Value to set for the destinationContext property.
-
setDestinationName
Sets the destinationName property value. Country or region dialed.- Parameters:
value- Value to set for the destinationName property.
-
setDuration
Sets the duration property value. How long the call was connected, in seconds.- Parameters:
value- Value to set for the duration property.
-
setEndDateTime
Sets the endDateTime property value. Call end time.- Parameters:
value- Value to set for the endDateTime property.
-
setId
Sets the id property value. Unique call identifier. GUID.- Parameters:
value- Value to set for the id property.
-
setInventoryType
Sets the inventoryType property value. User's phone number type, such as a service of toll-free number.- Parameters:
value- Value to set for the inventoryType property.
-
setLicenseCapability
Sets the licenseCapability property value. The license used for the call.- Parameters:
value- Value to set for the licenseCapability property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setOperator
Sets the operator property value. The telecommunications operator which provided PSTN services for this call. This might be Microsoft, or it might be a third-party operator via the Operator Connect Program.- Parameters:
value- Value to set for the operator property.
-
setStartDateTime
Sets the startDateTime property value. Call start time.- Parameters:
value- Value to set for the startDateTime property.
-
setTenantCountryCode
Sets the tenantCountryCode property value. Country code of the tenant. For details, see ISO 3166-1 alpha-2.- Parameters:
value- Value to set for the tenantCountryCode property.
-
setUsageCountryCode
Sets the usageCountryCode property value. Country code of the user. For details, see ISO 3166-1 alpha-2.- Parameters:
value- Value to set for the usageCountryCode property.
-
setUserDisplayName
Sets the userDisplayName property value. Display name of the user.- Parameters:
value- Value to set for the userDisplayName property.
-
setUserId
Sets the userId property value. Calling user's ID in Microsoft Graph. GUID. This and other user info will be null/empty for bot call types (ucapin, ucapout).- Parameters:
value- Value to set for the userId property.
-
setUserPrincipalName
Sets the userPrincipalName property value. The user principal name (sign-in name) in Microsoft Entra ID. This is usually the same as the user's SIP address, and can be the same as the user's email address.- Parameters:
value- Value to set for the userPrincipalName property.
-