![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.graph.generated.models.CallTranscript Maven / Gradle / Ivy
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.time.OffsetDateTime;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class CallTranscript extends Entity implements Parsable {
/**
* Instantiates a new {@link CallTranscript} and sets the default values.
*/
public CallTranscript() {
super();
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @return a {@link CallTranscript}
*/
@jakarta.annotation.Nonnull
public static CallTranscript createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new CallTranscript();
}
/**
* Gets the callId property value. The unique identifier for the call that is related to this transcript. Read-only.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getCallId() {
return this.backingStore.get("callId");
}
/**
* Gets the content property value. The content of the transcript. Read-only.
* @return a {@link byte[]}
*/
@jakarta.annotation.Nullable
public byte[] getContent() {
return this.backingStore.get("content");
}
/**
* Gets the contentCorrelationId property value. The unique identifier that links the transcript with its corresponding recording. Read-only.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getContentCorrelationId() {
return this.backingStore.get("contentCorrelationId");
}
/**
* Gets the createdDateTime property value. Date and time at which the transcript was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
* @return a {@link OffsetDateTime}
*/
@jakarta.annotation.Nullable
public OffsetDateTime getCreatedDateTime() {
return this.backingStore.get("createdDateTime");
}
/**
* Gets the endDateTime property value. Date and time at which the transcription ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
* @return a {@link OffsetDateTime}
*/
@jakarta.annotation.Nullable
public OffsetDateTime getEndDateTime() {
return this.backingStore.get("endDateTime");
}
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
deserializerMap.put("callId", (n) -> { this.setCallId(n.getStringValue()); });
deserializerMap.put("content", (n) -> { this.setContent(n.getByteArrayValue()); });
deserializerMap.put("contentCorrelationId", (n) -> { this.setContentCorrelationId(n.getStringValue()); });
deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); });
deserializerMap.put("endDateTime", (n) -> { this.setEndDateTime(n.getOffsetDateTimeValue()); });
deserializerMap.put("meetingId", (n) -> { this.setMeetingId(n.getStringValue()); });
deserializerMap.put("meetingOrganizer", (n) -> { this.setMeetingOrganizer(n.getObjectValue(IdentitySet::createFromDiscriminatorValue)); });
deserializerMap.put("metadataContent", (n) -> { this.setMetadataContent(n.getByteArrayValue()); });
deserializerMap.put("transcriptContentUrl", (n) -> { this.setTranscriptContentUrl(n.getStringValue()); });
return deserializerMap;
}
/**
* Gets the meetingId property value. The unique identifier of the online meeting related to this transcript. Read-only.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getMeetingId() {
return this.backingStore.get("meetingId");
}
/**
* Gets the meetingOrganizer property value. The identity information of the organizer of the onlineMeeting related to this transcript. Read-only.
* @return a {@link IdentitySet}
*/
@jakarta.annotation.Nullable
public IdentitySet getMeetingOrganizer() {
return this.backingStore.get("meetingOrganizer");
}
/**
* Gets the metadataContent property value. The time-aligned metadata of the utterances in the transcript. Read-only.
* @return a {@link byte[]}
*/
@jakarta.annotation.Nullable
public byte[] getMetadataContent() {
return this.backingStore.get("metadataContent");
}
/**
* Gets the transcriptContentUrl property value. The URL that can be used to access the content of the transcript. Read-only.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getTranscriptContentUrl() {
return this.backingStore.get("transcriptContentUrl");
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
super.serialize(writer);
writer.writeStringValue("callId", this.getCallId());
writer.writeByteArrayValue("content", this.getContent());
writer.writeStringValue("contentCorrelationId", this.getContentCorrelationId());
writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime());
writer.writeOffsetDateTimeValue("endDateTime", this.getEndDateTime());
writer.writeStringValue("meetingId", this.getMeetingId());
writer.writeObjectValue("meetingOrganizer", this.getMeetingOrganizer());
writer.writeByteArrayValue("metadataContent", this.getMetadataContent());
writer.writeStringValue("transcriptContentUrl", this.getTranscriptContentUrl());
}
/**
* Sets the callId property value. The unique identifier for the call that is related to this transcript. Read-only.
* @param value Value to set for the callId property.
*/
public void setCallId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("callId", value);
}
/**
* Sets the content property value. The content of the transcript. Read-only.
* @param value Value to set for the content property.
*/
public void setContent(@jakarta.annotation.Nullable final byte[] value) {
this.backingStore.set("content", value);
}
/**
* Sets the contentCorrelationId property value. The unique identifier that links the transcript with its corresponding recording. Read-only.
* @param value Value to set for the contentCorrelationId property.
*/
public void setContentCorrelationId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("contentCorrelationId", value);
}
/**
* Sets the createdDateTime property value. Date and time at which the transcript was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
* @param value Value to set for the createdDateTime property.
*/
public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) {
this.backingStore.set("createdDateTime", value);
}
/**
* Sets the endDateTime property value. Date and time at which the transcription ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
* @param value Value to set for the endDateTime property.
*/
public void setEndDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) {
this.backingStore.set("endDateTime", value);
}
/**
* Sets the meetingId property value. The unique identifier of the online meeting related to this transcript. Read-only.
* @param value Value to set for the meetingId property.
*/
public void setMeetingId(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("meetingId", value);
}
/**
* Sets the meetingOrganizer property value. The identity information of the organizer of the onlineMeeting related to this transcript. Read-only.
* @param value Value to set for the meetingOrganizer property.
*/
public void setMeetingOrganizer(@jakarta.annotation.Nullable final IdentitySet value) {
this.backingStore.set("meetingOrganizer", value);
}
/**
* Sets the metadataContent property value. The time-aligned metadata of the utterances in the transcript. Read-only.
* @param value Value to set for the metadataContent property.
*/
public void setMetadataContent(@jakarta.annotation.Nullable final byte[] value) {
this.backingStore.set("metadataContent", value);
}
/**
* Sets the transcriptContentUrl property value. The URL that can be used to access the content of the transcript. Read-only.
* @param value Value to set for the transcriptContentUrl property.
*/
public void setTranscriptContentUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("transcriptContentUrl", value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy