using System;
using System.Collections.Generic;
using Unity.Cloud.Authorization;
namespace Unity.Cloud.UserReporting
{
///
/// Represents a user report preview or the fly weight version of a user report.
///
public class UserReportPreview
{
#region Constructors
///
/// Creates a new instance of the class.
///
public UserReportPreview()
{
this.Dimensions = new List();
}
#endregion
#region Properties
///
/// Gets or sets the aggregate metrics.
///
public List AggregateMetrics { get; set; }
///
/// Gets or sets the appearance hint.
///
public UserReportAppearanceHint AppearanceHint { get; set; }
///
/// Gets or sets the content length. This property will be overwritten by the server if provided.
///
public long ContentLength { get; set; }
///
/// Gets or sets the dimensions.
///
public List Dimensions { get; set; }
///
/// Gets or sets the time at which the user report expires. This property will be overwritten by the server if provided.
///
public DateTime ExpiresOn { get; set; }
///
/// Gets or sets the geo country.
///
public string GeoCountry { get; set; }
///
/// Gets or sets the identifier. This property will be overwritten by the server if provided.
///
public string Identifier { get; set; }
///
/// Gets or sets the IP address. This property will be overwritten by the server if provided.
///
public string IPAddress { get; set; }
///
/// Gets or sets a value indicating whether the user report is hidden in the UI if a dimension filter is not specified. This is recommended for automated or high volume reports.
///
public bool IsHiddenWithoutDimension { get; set; }
///
/// Gets or sets a value indicating whether the user report is silent. Silent user reports do not send events to integrations. This is recommended for automated or high volume reports.
///
public bool IsSilent { get; set; }
///
/// Gets or sets a value indicating whether the user report is temporary. Temporary user reports are short lived and not queryable.
///
public bool IsTemporary { get; set; }
///
/// Gets or sets the license level. This property will be overwritten by the server if provided.
///
public LicenseLevel LicenseLevel { get; set; }
///
/// Gets or sets the project identifier.
///
public string ProjectIdentifier { get; set; }
///
/// Gets or sets the time at which the user report was received. This property will be overwritten by the server if provided.
///
public DateTime ReceivedOn { get; set; }
///
/// Gets or sets the summary.
///
public string Summary { get; set; }
///
/// Gets or sets the thumbnail. This screenshot will be resized by the server if too large. Keep the last screenshot small in order to reduce report size and increase submission speed.
///
public UserReportScreenshot Thumbnail { get; set; }
#endregion
}
}