Files
Disco/Disco.Models/Services/Interop/DiscoServices/UpdateRequestV2.cs
T
Gary Sharp 7cbed23a74 Feature: Disco ICT Online Services - Job Publishing
When warranty jobs are submitted (via plugins) users can choose to
include attachments. These attachments are submitted to Disco ICT Online
Services. A secure link is then provided to the plugin so the
attachments can be retrieved.
2014-07-24 20:58:48 +10:00

102 lines
3.0 KiB
C#

using System;
using System.Collections.Generic;
namespace Disco.Models.Services.Interop.DiscoServices
{
public class UpdateRequestV2
{
public Guid DeploymentId { get; set; }
public DateTime RequestDate { get; set; }
public string VersionCurrent { get; set; }
public bool IsBetaDeployment { get; set; }
public string OrganisationName { get; set; }
public string VicEduDeptWanId { get; set; }
public List<StatisticInt> Stat_JobCounts { get; set; }
public List<StatisticInt> Stat_OpenJobCounts { get; set; }
public List<StatisticInt> Stat_ActiveDeviceModelCounts { get; set; }
public List<StatisticInt> Stat_DeviceModelCounts { get; set; }
public List<StatisticInt> Stat_UserCounts { get; set; }
public List<StatisticString> InstalledPlugins { get; set; }
public List<StatisticJob> Stat_Jobs { get; set; }
public class StatisticInt
{
public string K;
public int V;
}
public class StatisticString
{
public string K;
public string V;
}
public class StatisticJob
{
/// <summary>
/// Job Identifier
/// </summary>
public int I { get; set; }
/// <summary>
/// Opened Date
/// </summary>
public DateTime OD { get; set; }
/// <summary>
/// Closed Date
/// </summary>
public DateTime? CD { get; set; }
/// <summary>
/// Job Type
/// </summary>
public string T { get; set; }
/// <summary>
/// Job Sub Types (Semicolon Separated)
/// </summary>
public string ST { get; set; }
/// <summary>
/// Deployment-Unique Device Serial Identifier (Device Serial Number anonymized via hashing salted with Deployment Secret)
/// </summary>
public string D { get; set; }
/// <summary>
/// Deployment-Unique Job User Identifier (Job User Id anonymized via hashing salted with Deployment Secret)
/// </summary>
public string U { get; set; }
/// <summary>
/// Deployment-Unique Job Technician Identifier (Job Technician Id anonymized via hashing salted with Deployment Secret)
/// </summary>
public string TI { get; set; }
/// <summary>
/// Device Model
/// </summary>
public string DM { get; set; }
/// <summary>
/// External Repairer
/// </summary>
public string R { get; set; }
/// <summary>
/// External Repairer Logged
/// </summary>
public DateTime? RL { get; set; }
/// <summary>
/// External Repairer Completed
/// </summary>
public DateTime? RC { get; set; }
}
}
}