-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
FirmwareSummary.cs
59 lines (53 loc) · 2.87 KB
/
FirmwareSummary.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
57
58
59
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.IotFirmwareDefense.Models
{
/// <summary> Properties for high level summary of firmware analysis results. </summary>
public partial class FirmwareSummary : FirmwareAnalysisSummaryProperties
{
/// <summary> Initializes a new instance of <see cref="FirmwareSummary"/>. </summary>
internal FirmwareSummary()
{
SummaryType = FirmwareAnalysisSummaryType.Firmware;
}
/// <summary> Initializes a new instance of <see cref="FirmwareSummary"/>. </summary>
/// <param name="summaryType"> Describes the type of summary. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="extractedSize"> Total extracted size of the firmware in bytes. </param>
/// <param name="fileSize"> Firmware file size in bytes. </param>
/// <param name="extractedFileCount"> Extracted file count. </param>
/// <param name="componentCount"> Components count. </param>
/// <param name="binaryCount"> Binary count. </param>
/// <param name="analysisTimeSeconds"> Time used for analysis. </param>
/// <param name="rootFileSystems"> The number of root file systems found. </param>
internal FirmwareSummary(FirmwareAnalysisSummaryType summaryType, IDictionary<string, BinaryData> serializedAdditionalRawData, long? extractedSize, long? fileSize, long? extractedFileCount, long? componentCount, long? binaryCount, long? analysisTimeSeconds, long? rootFileSystems) : base(summaryType, serializedAdditionalRawData)
{
ExtractedSize = extractedSize;
FileSize = fileSize;
ExtractedFileCount = extractedFileCount;
ComponentCount = componentCount;
BinaryCount = binaryCount;
AnalysisTimeSeconds = analysisTimeSeconds;
RootFileSystems = rootFileSystems;
SummaryType = summaryType;
}
/// <summary> Total extracted size of the firmware in bytes. </summary>
public long? ExtractedSize { get; }
/// <summary> Firmware file size in bytes. </summary>
public long? FileSize { get; }
/// <summary> Extracted file count. </summary>
public long? ExtractedFileCount { get; }
/// <summary> Components count. </summary>
public long? ComponentCount { get; }
/// <summary> Binary count. </summary>
public long? BinaryCount { get; }
/// <summary> Time used for analysis. </summary>
public long? AnalysisTimeSeconds { get; }
/// <summary> The number of root file systems found. </summary>
public long? RootFileSystems { get; }
}
}