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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • PstnCallLogRow

      public PstnCallLogRow()
      Instantiates a new PstnCallLogRow and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCallDurationSource

      @Nullable public PstnCallDurationSource 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

      @Nullable public String getCalleeNumber()
      Gets the calleeNumber property value. Number dialed in E.164 format.
      Returns:
      a String
    • getCallerNumber

      @Nullable public 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

      @Nullable public String getCallId()
      Gets the callId property value. Call identifier. Not guaranteed to be unique.
      Returns:
      a String
    • getCallType

      @Nullable public 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

      @Nullable public BigDecimal getCharge()
      Gets the charge property value. Amount of money or cost of the call that is charged to your account.
      Returns:
      a BigDecimal
    • getConferenceId

      @Nullable public String getConferenceId()
      Gets the conferenceId property value. ID of the audio conference.
      Returns:
      a String
    • getConnectionCharge

      @Nullable public BigDecimal getConnectionCharge()
      Gets the connectionCharge property value. Connection fee price.
      Returns:
      a BigDecimal
    • getCurrency

      @Nullable public String 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

      @Nullable public 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

      @Nullable public String getDestinationName()
      Gets the destinationName property value. Country or region dialed.
      Returns:
      a String
    • getDuration

      @Nullable public Integer getDuration()
      Gets the duration property value. How long the call was connected, in seconds.
      Returns:
      a Integer
    • getEndDateTime

      @Nullable public OffsetDateTime 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getId

      @Nullable public String getId()
      Gets the id property value. Unique call identifier. GUID.
      Returns:
      a String
    • getInventoryType

      @Nullable public String getInventoryType()
      Gets the inventoryType property value. User's phone number type, such as a service of toll-free number.
      Returns:
      a String
    • getLicenseCapability

      @Nullable public String getLicenseCapability()
      Gets the licenseCapability property value. The license used for the call.
      Returns:
      a String
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getOperator

      @Nullable public 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

      @Nullable public OffsetDateTime getStartDateTime()
      Gets the startDateTime property value. Call start time.
      Returns:
      a OffsetDateTime
    • getTenantCountryCode

      @Nullable public String getTenantCountryCode()
      Gets the tenantCountryCode property value. Country code of the tenant. For details, see ISO 3166-1 alpha-2.
      Returns:
      a String
    • getUsageCountryCode

      @Nullable public String getUsageCountryCode()
      Gets the usageCountryCode property value. Country code of the user. For details, see ISO 3166-1 alpha-2.
      Returns:
      a String
    • getUserDisplayName

      @Nullable public String getUserDisplayName()
      Gets the userDisplayName property value. Display name of the user.
      Returns:
      a String
    • getUserId

      @Nullable public 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

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setCallDurationSource(@Nullable PstnCallDurationSource value)
      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

      public void setCalleeNumber(@Nullable String value)
      Sets the calleeNumber property value. Number dialed in E.164 format.
      Parameters:
      value - Value to set for the calleeNumber property.
    • setCallerNumber

      public void setCallerNumber(@Nullable String value)
      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

      public void setCallId(@Nullable String value)
      Sets the callId property value. Call identifier. Not guaranteed to be unique.
      Parameters:
      value - Value to set for the callId property.
    • setCallType

      public void setCallType(@Nullable String value)
      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

      public void setCharge(@Nullable BigDecimal value)
      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

      public void setConferenceId(@Nullable String value)
      Sets the conferenceId property value. ID of the audio conference.
      Parameters:
      value - Value to set for the conferenceId property.
    • setConnectionCharge

      public void setConnectionCharge(@Nullable BigDecimal value)
      Sets the connectionCharge property value. Connection fee price.
      Parameters:
      value - Value to set for the connectionCharge property.
    • setCurrency

      public void setCurrency(@Nullable String value)
      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

      public void setDestinationContext(@Nullable String value)
      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

      public void setDestinationName(@Nullable String value)
      Sets the destinationName property value. Country or region dialed.
      Parameters:
      value - Value to set for the destinationName property.
    • setDuration

      public void setDuration(@Nullable Integer value)
      Sets the duration property value. How long the call was connected, in seconds.
      Parameters:
      value - Value to set for the duration property.
    • setEndDateTime

      public void setEndDateTime(@Nullable OffsetDateTime value)
      Sets the endDateTime property value. Call end time.
      Parameters:
      value - Value to set for the endDateTime property.
    • setId

      public void setId(@Nullable String value)
      Sets the id property value. Unique call identifier. GUID.
      Parameters:
      value - Value to set for the id property.
    • setInventoryType

      public void setInventoryType(@Nullable String value)
      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

      public void setLicenseCapability(@Nullable String value)
      Sets the licenseCapability property value. The license used for the call.
      Parameters:
      value - Value to set for the licenseCapability property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setOperator

      public void setOperator(@Nullable String value)
      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

      public void setStartDateTime(@Nullable OffsetDateTime value)
      Sets the startDateTime property value. Call start time.
      Parameters:
      value - Value to set for the startDateTime property.
    • setTenantCountryCode

      public void setTenantCountryCode(@Nullable String value)
      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

      public void setUsageCountryCode(@Nullable String value)
      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

      public void setUserDisplayName(@Nullable String value)
      Sets the userDisplayName property value. Display name of the user.
      Parameters:
      value - Value to set for the userDisplayName property.
    • setUserId

      public void setUserId(@Nullable String value)
      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

      public void setUserPrincipalName(@Nullable String value)
      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.