forked from Azure-Samples/cognitive-services-speech-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
transcription.cs
56 lines (44 loc) · 1.64 KB
/
transcription.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
namespace BatchClient
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
public sealed class Transcription
{
[JsonConstructor]
private Transcription(Guid id, string name, string description, string locale, DateTime createdDateTime, DateTime lastActionDateTime, string status, Uri recordingsUrl, IReadOnlyDictionary<string, string> resultsUrls)
{
this.Id = id;
this.Name = name;
this.Description = description;
this.CreatedDateTime = createdDateTime;
this.LastActionDateTime = lastActionDateTime;
this.Status = status;
this.Locale = locale;
this.RecordingsUrl = recordingsUrl;
this.ResultsUrls = resultsUrls;
}
/// <inheritdoc />
public string Name { get; set; }
/// <inheritdoc />
public string Description { get; set; }
/// <inheritdoc />
public string Locale { get; set; }
/// <inheritdoc />
public Uri RecordingsUrl { get; set; }
/// <inheritdoc />
public IReadOnlyDictionary<string, string> ResultsUrls { get; set; }
public Guid Id { get; set; }
/// <inheritdoc />
public DateTime CreatedDateTime { get; set; }
/// <inheritdoc />
public DateTime LastActionDateTime { get; set; }
/// <inheritdoc />
public string Status { get; set; }
public string StatusMessage { get; set; }
}
}