From bc9770a7e2ec732549b68d92396b9da03995f328 Mon Sep 17 00:00:00 2001
From: Laim <14845036+Laim@users.noreply.github.com>
Date: Sun, 15 May 2022 22:06:17 +0100
Subject: [PATCH] Version 1.0.0
Initial Commit
---
.gitignore | 351 +++++++++
Goosetuv.Snow.NET.sln | 25 +
.../Classes/Agreement/Agreement.cs | 111 +++
.../Classes/Agreement/AgreementComputers.cs | 126 ++++
.../Classes/Agreement/AgreementLicenses.cs | 54 ++
.../Agreement/AgreementMobileDevices.cs | 12 +
.../Classes/Agreement/AgreementObjects.cs | 44 ++
.../Agreement/AgreementSubAgreements.cs | 52 ++
.../Classes/Agreement/AgreementType.cs | 47 ++
.../Classes/Agreement/AgreementTypes.cs | 39 +
.../Classes/Agreement/Agreements.cs | 50 ++
.../Classes/Application/Application.cs | 124 ++++
.../Application/ApplicationCompliance.cs | 58 ++
.../Application/ApplicationComputers.cs | 50 ++
.../Classes/Application/ApplicationLicense.cs | 55 ++
.../Classes/Application/ApplicationUsers.cs | 47 ++
.../Classes/Application/Applications.cs | 59 ++
.../Application/ApplicationsAllowList.cs | 42 ++
.../Application/ApplicationsDenyList.cs | 42 ++
.../Application/ApplicationsOverlicensed.cs | 43 ++
.../Application/ApplicationsUnderlicensed.cs | 43 ++
.../Classes/Computer/Computer.cs | 156 ++++
.../Classes/Computer/ComputerApplications.cs | 62 ++
.../Classes/Computer/ComputerObjects.cs | 44 ++
.../Classes/Computer/ComputerUsers.cs | 45 ++
.../Computer/ComputerVirtualMachines.cs | 41 ++
.../Classes/Computer/Computers.cs | 130 ++++
.../DataCenterCluster/DataCenterCluster.cs | 51 ++
.../DataCenterClusterHosts.cs | 45 ++
.../DataCenterClusterLicenses.cs | 55 ++
.../DataCenterCluster/DataCenterClusters.cs | 46 ++
Goosetuv.Snow.NET/Classes/License/License.cs | 87 +++
.../Classes/License/LicenseBaseLicenses.cs | 55 ++
.../License/LicenseUpgradingLicenses.cs | 55 ++
.../Classes/License/LicenseVirtualMachines.cs | 42 ++
Goosetuv.Snow.NET/Classes/License/Licenses.cs | 54 ++
.../Classes/MobileDevice/MobileDevices.cs | 12 +
Goosetuv.Snow.NET/Classes/Object/Object.cs | 49 ++
.../Classes/Object/ObjectType.cs | 43 ++
.../Classes/Object/ObjectTypeObjects.cs | 43 ++
.../Classes/Object/ObjectTypes.cs | 38 +
.../Classes/Platform/Customers.cs | 39 +
.../Classes/Platform/DataUpdateJob.cs | 50 ++
.../Classes/Platform/Platform.cs | 53 ++
.../Classes/Platform/SystemUser.cs | 70 ++
Goosetuv.Snow.NET/Classes/User/User.cs | 79 ++
.../Classes/User/UserApplications.cs | 49 ++
.../Classes/User/UserComputers.cs | 122 ++++
.../Classes/User/UserMobileDevices.cs | 12 +
Goosetuv.Snow.NET/Classes/User/UserObjects.cs | 47 ++
Goosetuv.Snow.NET/Classes/User/Users.cs | 47 ++
Goosetuv.Snow.NET/Enums/AssignmentType.cs | 10 +
Goosetuv.Snow.NET/Enums/ComputerStatus.cs | 9 +
.../Enums/CustomFieldDataType.cs | 12 +
Goosetuv.Snow.NET/Enums/DataUpdateJobState.cs | 10 +
Goosetuv.Snow.NET/Enums/MetricType.cs | 17 +
.../Enums/OperatingSystemType.cs | 23 +
Goosetuv.Snow.NET/Enums/UserStatus.cs | 8 +
Goosetuv.Snow.NET/Goosetuv.Snow.NET.csproj | 149 ++++
Goosetuv.Snow.NET/Methods/AgreementData.cs | 138 ++++
Goosetuv.Snow.NET/Methods/ApplicationData.cs | 164 +++++
Goosetuv.Snow.NET/Methods/Authenticate.cs | 44 ++
Goosetuv.Snow.NET/Methods/ComputerData.cs | 103 +++
.../Methods/DataCenterClusterData.cs | 77 ++
Goosetuv.Snow.NET/Methods/LicenseData.cs | 93 +++
Goosetuv.Snow.NET/Methods/ObjectData.cs | 76 ++
Goosetuv.Snow.NET/Methods/PlatformData.cs | 63 ++
Goosetuv.Snow.NET/Methods/UserData.cs | 92 +++
Goosetuv.Snow.NET/Properties/AssemblyInfo.cs | 36 +
Goosetuv.Snow.NET/app.config | 11 +
Goosetuv.Snow.NET/packages.config | 13 +
LICENSE | 674 ++++++++++++++++++
README.md | 108 +++
73 files changed, 5125 insertions(+)
create mode 100644 .gitignore
create mode 100644 Goosetuv.Snow.NET.sln
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/Agreement.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/AgreementComputers.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/AgreementLicenses.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/AgreementMobileDevices.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/AgreementObjects.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/AgreementSubAgreements.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/AgreementType.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/AgreementTypes.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Agreement/Agreements.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/Application.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationCompliance.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationComputers.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationLicense.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationUsers.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/Applications.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationsAllowList.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationsDenyList.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationsOverlicensed.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Application/ApplicationsUnderlicensed.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Computer/Computer.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Computer/ComputerApplications.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Computer/ComputerObjects.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Computer/ComputerUsers.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Computer/ComputerVirtualMachines.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Computer/Computers.cs
create mode 100644 Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterCluster.cs
create mode 100644 Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterHosts.cs
create mode 100644 Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterLicenses.cs
create mode 100644 Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusters.cs
create mode 100644 Goosetuv.Snow.NET/Classes/License/License.cs
create mode 100644 Goosetuv.Snow.NET/Classes/License/LicenseBaseLicenses.cs
create mode 100644 Goosetuv.Snow.NET/Classes/License/LicenseUpgradingLicenses.cs
create mode 100644 Goosetuv.Snow.NET/Classes/License/LicenseVirtualMachines.cs
create mode 100644 Goosetuv.Snow.NET/Classes/License/Licenses.cs
create mode 100644 Goosetuv.Snow.NET/Classes/MobileDevice/MobileDevices.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Object/Object.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Object/ObjectType.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Object/ObjectTypeObjects.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Object/ObjectTypes.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Platform/Customers.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Platform/DataUpdateJob.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Platform/Platform.cs
create mode 100644 Goosetuv.Snow.NET/Classes/Platform/SystemUser.cs
create mode 100644 Goosetuv.Snow.NET/Classes/User/User.cs
create mode 100644 Goosetuv.Snow.NET/Classes/User/UserApplications.cs
create mode 100644 Goosetuv.Snow.NET/Classes/User/UserComputers.cs
create mode 100644 Goosetuv.Snow.NET/Classes/User/UserMobileDevices.cs
create mode 100644 Goosetuv.Snow.NET/Classes/User/UserObjects.cs
create mode 100644 Goosetuv.Snow.NET/Classes/User/Users.cs
create mode 100644 Goosetuv.Snow.NET/Enums/AssignmentType.cs
create mode 100644 Goosetuv.Snow.NET/Enums/ComputerStatus.cs
create mode 100644 Goosetuv.Snow.NET/Enums/CustomFieldDataType.cs
create mode 100644 Goosetuv.Snow.NET/Enums/DataUpdateJobState.cs
create mode 100644 Goosetuv.Snow.NET/Enums/MetricType.cs
create mode 100644 Goosetuv.Snow.NET/Enums/OperatingSystemType.cs
create mode 100644 Goosetuv.Snow.NET/Enums/UserStatus.cs
create mode 100644 Goosetuv.Snow.NET/Goosetuv.Snow.NET.csproj
create mode 100644 Goosetuv.Snow.NET/Methods/AgreementData.cs
create mode 100644 Goosetuv.Snow.NET/Methods/ApplicationData.cs
create mode 100644 Goosetuv.Snow.NET/Methods/Authenticate.cs
create mode 100644 Goosetuv.Snow.NET/Methods/ComputerData.cs
create mode 100644 Goosetuv.Snow.NET/Methods/DataCenterClusterData.cs
create mode 100644 Goosetuv.Snow.NET/Methods/LicenseData.cs
create mode 100644 Goosetuv.Snow.NET/Methods/ObjectData.cs
create mode 100644 Goosetuv.Snow.NET/Methods/PlatformData.cs
create mode 100644 Goosetuv.Snow.NET/Methods/UserData.cs
create mode 100644 Goosetuv.Snow.NET/Properties/AssemblyInfo.cs
create mode 100644 Goosetuv.Snow.NET/app.config
create mode 100644 Goosetuv.Snow.NET/packages.config
create mode 100644 LICENSE
create mode 100644 README.md
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ac0f406
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,351 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+Goosetuv.Snow.NET/nuget.exe
diff --git a/Goosetuv.Snow.NET.sln b/Goosetuv.Snow.NET.sln
new file mode 100644
index 0000000..3636475
--- /dev/null
+++ b/Goosetuv.Snow.NET.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.1.32414.318
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Goosetuv.Snow.NET", "Goosetuv.Snow.NET\Goosetuv.Snow.NET.csproj", "{9CEBAF5D-E3B0-4317-B8D4-3B9C373B7A35}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {9CEBAF5D-E3B0-4317-B8D4-3B9C373B7A35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9CEBAF5D-E3B0-4317-B8D4-3B9C373B7A35}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9CEBAF5D-E3B0-4317-B8D4-3B9C373B7A35}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9CEBAF5D-E3B0-4317-B8D4-3B9C373B7A35}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {0EF5DEB2-20D9-43AD-A948-A6EB09B4151C}
+ EndGlobalSection
+EndGlobal
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/Agreement.cs b/Goosetuv.Snow.NET/Classes/Agreement/Agreement.cs
new file mode 100644
index 0000000..84d237d
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/Agreement.cs
@@ -0,0 +1,111 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ ///
+ /// Class for standalone Agreement, for example /api/customers/1/agreements/1/
+ ///
+ public class Agreement
+ {
+
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+
+ public class Context
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public List Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class AgreementPeriod
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public DateTime? ValidFrom { get; set; }
+ public DateTime? ValidTo { get; set; }
+ }
+
+ public class RestrictedToRoles
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ }
+
+ public class CustomFields
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+
+ [JsonPropertyName("DataType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public CustomFieldDataType DataType { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public int? MasterId { get; set; }
+ public string Name { get; set; }
+ public string Contractor { get; set; }
+ public string ContractorWebsite { get; set; }
+ public string ContractorPhone { get; set; }
+ public string AgreementType { get; set; }
+ public string AgreementNumber { get; set; }
+ public DateTime? ActivePeriodFrom { get; set; }
+ public DateTime? ActivePeriodTo { get; set; }
+ public string Organization { get; set; }
+ public bool IsSubscription { get; set; }
+ public bool AutomaticLicenseUpgrades { get; set; }
+ public int? RenewalDaysBeforeExpiration { get; set; }
+ public bool SelectableAfterExpiration { get; set; }
+ public bool RestrictedOrganizationAccess { get; set; }
+ public bool AlertOnExpiration { get; set; }
+ public int AlertWarningDaysBeforeExpiration { get; set; }
+ public int AlertCriticalDaysBeforeExpiration { get; set; }
+ public bool RestrictedRoleAccess { get; set; }
+ public bool AutoAttachComputers { get; set; }
+ public List AutoAttachComputersFromOrganizations { get; set; }
+ public string ContractorContact { get; set; }
+ public string ContractorContactPhone { get; set; }
+ public string ContractorContactEmail { get; set; }
+ public string LocalContact { get; set; }
+ public string LocalContactDepartment { get; set; }
+ public string LocalContactPhone { get; set; }
+ public string LocalContactEmail { get; set; }
+ public string CreatedBy { get; set; }
+ public DateTime? CreatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string Description { get; set; }
+ public List AgreementPeriods { get; set; }
+ public List CustomFields { get; set; }
+ public List RestrictedToRoles { get; set; }
+ }
+
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/AgreementComputers.cs b/Goosetuv.Snow.NET/Classes/Agreement/AgreementComputers.cs
new file mode 100644
index 0000000..d7aa9b8
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/AgreementComputers.cs
@@ -0,0 +1,126 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Text.Json.Serialization;
+using System.Threading.Tasks;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class AgreementComputers
+ {
+
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class LogicalDisk
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string VolumeName { get; set; }
+ public int SizeMb { get; set; }
+ }
+
+ public class NetworkAdapter
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string IpAddress { get; set; }
+ public string MacAddress { get; set; }
+ }
+
+ public class DisplayAdapter
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string CurrentResolution { get; set; }
+ public string MaxResolution { get; set; }
+ }
+
+ public class Monitor
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string MaxResolution { get; set; }
+ }
+
+ public class Hardware
+ {
+ public string Type { get; set; }
+ public string BiosSerialNumber { get; set; }
+ public string BiosVersion { get; set; }
+ public DateTime? BiosDate { get; set; }
+ public string ProcessorType { get; set; }
+ public int NumberOfProcessors { get; set; }
+ public int CoresPerProcessor { get; set; }
+ public int PhysicalMemoryMb { get; set; }
+ public int MemorySlots { get; set; }
+ public int MemorySlotsAvailable { get; set; }
+ public int SystemDiskSpaceMb { get; set; }
+ public int SystemDiskSpaceAvailableMb { get; set; }
+ public int TotalDiskSpaceMb { get; set; }
+ public int TotalDiskSpaceAvailableMb { get; set; }
+ public List LogicalDisks { get; set; }
+ public List NetworkAdapters { get; set; }
+ public object OpticalDrives { get; set; }
+ public List DisplayAdapters { get; set; }
+ public List Monitors { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Organization { get; set; }
+ public int OrgChecksum { get; set; }
+ public string Manufacturer { get; set; }
+ public string Model { get; set; }
+ public string OperatingSystem { get; set; }
+ public string OperatingSystemServicePack { get; set; }
+ public bool IsVirtual { get; set; }
+
+ [JsonPropertyName("Status")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public ComputerStatus Status { get; set; }
+ public string IpAddresses { get; set; }
+ public DateTime? LastScanDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string Domain { get; set; }
+ public int TotalDiskSpace { get; set; }
+ public int PhysicalMemory { get; set; }
+ public string ProcessorType { get; set; }
+ public int ProcessorCount { get; set; }
+ public int CoreCount { get; set; }
+ public string BiosSerialNumber { get; set; }
+ public Hardware Hardware { get; set; }
+ public string HypervisorName { get; set; }
+ public bool IsPortable { get; set; }
+ public bool IsServer { get; set; }
+ public int? MostFrequentUserId { get; set; }
+ public int? MostRecentUserId { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/AgreementLicenses.cs b/Goosetuv.Snow.NET/Classes/Agreement/AgreementLicenses.cs
new file mode 100644
index 0000000..31958b1
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/AgreementLicenses.cs
@@ -0,0 +1,54 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class AgreementLicenses
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string ApplicationName { get; set; }
+ public string ManufacturerName { get; set; }
+
+ [JsonPropertyName("Metric")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType? Metric { get; set; }
+
+ [JsonPropertyName("AssignmentType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public AssignmentType AssignmentType { get; set; }
+ public DateTime? PurchaseDate { get; set; }
+ public int Quantity { get; set; }
+ public bool IsIncomplete { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/AgreementMobileDevices.cs b/Goosetuv.Snow.NET/Classes/Agreement/AgreementMobileDevices.cs
new file mode 100644
index 0000000..e5e5438
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/AgreementMobileDevices.cs
@@ -0,0 +1,12 @@
+using System;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class AgreementMobileDevices
+ {
+ public AgreementMobileDevices()
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/AgreementObjects.cs b/Goosetuv.Snow.NET/Classes/Agreement/AgreementObjects.cs
new file mode 100644
index 0000000..27b857e
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/AgreementObjects.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class AgreementObjects
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string TypeName { get; set; }
+ public string Organization { get; set; }
+ public DateTime? CreatedDate { get; set; }
+ public string CreatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/AgreementSubAgreements.cs b/Goosetuv.Snow.NET/Classes/Agreement/AgreementSubAgreements.cs
new file mode 100644
index 0000000..846236a
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/AgreementSubAgreements.cs
@@ -0,0 +1,52 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class AgreementSubAgreements
+ {
+
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public int? MasterId { get; set; }
+ public string Name { get; set; }
+ public string AgreementType { get; set; }
+ public string AgreementNumber { get; set; }
+ public string Contractor { get; set; }
+ public DateTime? ActivePeriodFrom { get; set; }
+ public DateTime? ActivePeriodTo { get; set; }
+ public string Organization { get; set; }
+ public bool IsSubscription { get; set; }
+ public bool AutomaticLicenseUpgrades { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+
+
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/AgreementType.cs b/Goosetuv.Snow.NET/Classes/Agreement/AgreementType.cs
new file mode 100644
index 0000000..073798e
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/AgreementType.cs
@@ -0,0 +1,47 @@
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class AgreementType
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+
+ public class Context
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public List Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Description { get; set; }
+ public bool IsBuiltIn { get; set; }
+ public bool ComputersActive { get; set; }
+ public bool ObjectsActive { get; set; }
+ }
+
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/AgreementTypes.cs b/Goosetuv.Snow.NET/Classes/Agreement/AgreementTypes.cs
new file mode 100644
index 0000000..0cec733
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/AgreementTypes.cs
@@ -0,0 +1,39 @@
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class AgreementTypes
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Description { get; set; }
+ public bool IsBuiltIn { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Agreement/Agreements.cs b/Goosetuv.Snow.NET/Classes/Agreement/Agreements.cs
new file mode 100644
index 0000000..812d488
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Agreement/Agreements.cs
@@ -0,0 +1,50 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Agreement
+{
+ public class Agreements
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public int? MasterId { get; set; }
+ public string Name { get; set; }
+ public string AgreementType { get; set; }
+ public string AgreementNumber { get; set; }
+ public string Contractor { get; set; }
+ public DateTime? ActivePeriodFrom { get; set; }
+ public DateTime? ActivePeriodTo { get; set; }
+ public string Organization { get; set; }
+ public bool IsSubscription { get; set; }
+ public bool AutomaticLicenseUpgrades { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/Application.cs b/Goosetuv.Snow.NET/Classes/Application/Application.cs
new file mode 100644
index 0000000..b08e128
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/Application.cs
@@ -0,0 +1,124 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class Application
+ {
+
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+
+ public class Context
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public List Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Allocation
+ {
+ public string Type { get; set; }
+ public string Organization { get; set; }
+ public int OrgChecksum { get; set; }
+
+ [JsonPropertyName("Metric")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType? Metric { get; set; }
+ public int LicenseRequirement { get; set; }
+ public int Coverage { get; set; }
+ public int Compliance { get; set; }
+ }
+
+ public class CustomFields
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+
+ [JsonPropertyName("DataType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public CustomFieldDataType DataType { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public Guid? ManufacturerId { get; set; }
+ public string ManufacturerName { get; set; }
+ public string ManufacturerWebsite { get; set; }
+ public string LanguageName { get; set; }
+ public DateTime? ReleaseDate { get; set; }
+ public DateTime? CreatedDate { get; set; }
+ public string CreatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public object Description { get; set; }
+ public object SystemOwnerName { get; set; }
+ public object SystemOwnerPhone { get; set; }
+ public object SystemOwnerEmail { get; set; }
+ public object Media { get; set; }
+ public bool? IsOperatingSystem { get; set; }
+
+ [JsonPropertyName("OperatingSystemType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public OperatingSystemType OperatingSystemType { get; set; }
+ public List ApplicationTypes { get; set; }
+ public List UpgradeOptions { get; set; }
+ public List DowngradeOptions { get; set; }
+ public int TotalCoverage { get; set; }
+ public bool? LicenseRequired { get; set; }
+ public int LicenseRequirement { get; set; }
+ public int LicenseCount { get; set; }
+ public int InstallationCount { get; set; }
+ public int BundleInstallationCount { get; set; }
+ public int UnusedInstallationCount { get; set; }
+ public double UsageFactor { get; set; }
+ public int UserCount { get; set; }
+ public double Risk { get; set; }
+ public double? RiskUnused { get; set; }
+ public int Compliance { get; set; }
+ public List Allocation { get; set; }
+ public object LicenseKeys { get; set; }
+
+ [JsonPropertyName("Metric")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType? Metric { get; set; }
+ public double ApplicationCostTotal { get; set; }
+ public double ApplicationCostPerLicense { get; set; }
+ public double AverageCostPerLicense { get; set; }
+ public double LicenseCostTotal { get; set; }
+ public string LicenseCostCurrency { get; set; }
+ public double? UserLicenseCost { get; set; }
+ public bool? AlertOnOverlicensing { get; set; }
+ public bool? AlertOnUnderlicensing { get; set; }
+ public bool? AlertWhenNotUsed { get; set; }
+ public List CustomValues { get; set; }
+ public bool? SecondaryUseAllowed { get; set; }
+ public object MultipleVersionsAllowed { get; set; }
+ public object MultipleEditionsAllowed { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationCompliance.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationCompliance.cs
new file mode 100644
index 0000000..e4e0b52
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationCompliance.cs
@@ -0,0 +1,58 @@
+using Goosetuv.Snow.NET.Enums;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationCompliance
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class ComplianceDiscrepancy
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string Description { get; set; }
+ public int Value { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+
+ [JsonPropertyName("MetricName")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType MetricName { get; set; }
+ public int InitialRequirement { get; set; }
+ public int AvailableLicenses { get; set; }
+ public int? LicenseRequirement { get; set; }
+ public int TotalCoverage { get; set; }
+ public int? ComplianceCoverage { get; set; }
+ public int LicensesPurchased { get; set; }
+ public List LicenseDiscrepancies { get; set; }
+ public List LicenseRequirementDiscrepancies { get; set; }
+ public List LicenseUsedDiscrepancies { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationComputers.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationComputers.cs
new file mode 100644
index 0000000..c9de5e0
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationComputers.cs
@@ -0,0 +1,50 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationComputers
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Organization { get; set; }
+ public DateTime? InstallDate { get; set; }
+ public DateTime? FirstUsed { get; set; }
+ public DateTime? LastUsed { get; set; }
+ public int? Run { get; set; }
+ public int? AvgUsageTime { get; set; }
+ public int? UsedMinutes { get; set; }
+ public int? Users { get; set; }
+ public bool? IsBundle { get; set; }
+ public bool? IsVirtual { get; set; }
+ public bool? IsOEM { get; set; }
+ public bool? IsMSDN { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationLicense.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationLicense.cs
new file mode 100644
index 0000000..168ec6a
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationLicense.cs
@@ -0,0 +1,55 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationLicense
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public int Id { get; set; }
+ public string ApplicationName { get; set; }
+ public string ManufacturerName { get; set; }
+
+ [JsonPropertyName("Metric")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType? Metric { get; set; }
+
+ [JsonPropertyName("AssignmentType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public AssignmentType? AssignmentType { get; set; }
+ public DateTime? PurchaseDate { get; set; }
+ public int Quantity { get; set; }
+ public bool? IsIncomplete { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ }
+
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationUsers.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationUsers.cs
new file mode 100644
index 0000000..f3533a8
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationUsers.cs
@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationUsers
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public int Id { get; set; }
+ public int CustomerId { get; set; }
+ public string Username { get; set; }
+ public DateTime? LastLogon { get; set; }
+ public string FullName { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public string Email { get; set; }
+ public string PhoneNumber { get; set; }
+ public string Organization { get; set; }
+ public int OrgChecksum { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/Applications.cs b/Goosetuv.Snow.NET/Classes/Application/Applications.cs
new file mode 100644
index 0000000..aedf5df
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/Applications.cs
@@ -0,0 +1,59 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class Applications
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public Guid? ManufacturerId { get; set; }
+ public string ManufacturerName { get; set; }
+ public Guid? FamilyId { get; set; }
+ public string FamilyName { get; set; }
+
+ [JsonPropertyName("OperatingSystemType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public OperatingSystemType OperatingSystemType { get; set; }
+ public int Installations { get; set; }
+ public int Users { get; set; }
+ public bool LicenseRequired { get; set; }
+
+ [JsonPropertyName("Metric")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType? Metric { get; set; }
+ public bool IsBundle { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ }
+
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationsAllowList.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationsAllowList.cs
new file mode 100644
index 0000000..0a20c05
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationsAllowList.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationsAllowList
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public string ManufacturerName { get; set; }
+ public int? Installations { get; set; }
+ public int? Users { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationsDenyList.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationsDenyList.cs
new file mode 100644
index 0000000..9406ff3
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationsDenyList.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationsDenyList
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public string ManufacturerName { get; set; }
+ public int? Installations { get; set; }
+ public int? Users { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationsOverlicensed.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationsOverlicensed.cs
new file mode 100644
index 0000000..697ab29
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationsOverlicensed.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationsOverlicensed
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public string ManufacturerName { get; set; }
+ public int? LicenseRequirement { get; set; }
+ public int? LicenseCount { get; set; }
+ public int? TransferredLicenseCount { get; set; }
+ public int? Compliance { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Application/ApplicationsUnderlicensed.cs b/Goosetuv.Snow.NET/Classes/Application/ApplicationsUnderlicensed.cs
new file mode 100644
index 0000000..8a67154
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Application/ApplicationsUnderlicensed.cs
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Application
+{
+ public class ApplicationsUnderlicensed
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public string ManufacturerName { get; set; }
+ public int? LicenseRequirement { get; set; }
+ public int? LicenseCount { get; set; }
+ public int? TransferredLicenseCount { get; set; }
+ public int? Compliance { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Computer/Computer.cs b/Goosetuv.Snow.NET/Classes/Computer/Computer.cs
new file mode 100644
index 0000000..d5b63e7
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Computer/Computer.cs
@@ -0,0 +1,156 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Computer
+{
+ ///
+ /// Class for standalone computer, for example /api/customers/1/computers/4839/
+ ///
+ public class Computer
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+
+ public class Context
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public List Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class LogicalDisk
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string VolumeName { get; set; }
+ public int SizeMb { get; set; }
+ }
+
+ public class NetworkAdapter
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string IpAddress { get; set; }
+ public string MacAddress { get; set; }
+ }
+
+ public class OpticalDrive
+ {
+
+ public string Type { get; set; }
+ public string Name { get; set; }
+ }
+
+ public class DisplayAdapter
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string CurrentResolution { get; set; }
+ public string MaxResolution { get; set; }
+ }
+
+ public class Hardware
+ {
+ public string Type { get; set; }
+ public string BiosSerialNumber { get; set; }
+ public string BiosVersion { get; set; }
+ public DateTime? BiosDate { get; set; }
+ public string ProcessorType { get; set; }
+ public int? NumberOfProcessors { get; set; }
+ public int? CoresPerProcessor { get; set; }
+ public int? PhysicalMemoryMb { get; set; }
+ public int? MemorySlots { get; set; }
+ public int? MemorySlotsAvailable { get; set; }
+ public int? SystemDiskSpaceMb { get; set; }
+ public int? SystemDiskSpaceAvailableMb { get; set; }
+ public int? TotalDiskSpaceMb { get; set; }
+ public int? TotalDiskSpaceAvailableMb { get; set; }
+ public List LogicalDisks { get; set; }
+ public List NetworkAdapters { get; set; }
+ public List OpticalDrives { get; set; }
+ public List DisplayAdapters { get; set; }
+ public object Monitors { get; set; }
+ }
+
+ public class CustomFields
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+
+ [JsonPropertyName("DataType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public CustomFieldDataType DataType { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Manufacturer { get; set; }
+ public string ManufacturerWebsite { get; set; }
+ public string Model { get; set; }
+ public string OperatingSystem { get; set; }
+ public string OperatingSystemServicePack { get; set; }
+ public string Organization { get; set; }
+ public int? OrgChecksum { get; set; }
+ public List IpAddresses { get; set; }
+ public DateTime? LastScanDate { get; set; }
+ public bool? AutoEditing { get; set; }
+ public string DatacenterName { get; set; }
+ public bool? QuarantineManagement { get; set; }
+
+ [JsonPropertyName("Status")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public ComputerStatus Status { get; set; }
+ public DateTime? QuarantineDate { get; set; }
+ public DateTime? QuarantineDeleteDate { get; set; }
+ public bool? IsPortable { get; set; }
+ public bool? IsServer { get; set; }
+ public bool? IsVirtual { get; set; }
+ public bool? Is64Bit { get; set; }
+ public bool? IsPartOfVdi { get; set; }
+ public string ClientConfigurationName { get; set; }
+ public DateTime? ClientInstallDate { get; set; }
+ public string ClientSiteName { get; set; }
+ public string ClientVersion { get; set; }
+ public string ScannerVersion { get; set; }
+ public string Domain { get; set; }
+ public string HypervisorName { get; set; }
+ public string ScanIdentifier { get; set; }
+ public DateTime? TransferDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string Notes { get; set; }
+ public string SecurityCode { get; set; }
+ public DateTime? PurchaseDate { get; set; }
+ public string PurchaseVendor { get; set; }
+ public decimal? PurchasePrice { get; set; }
+ public string PurchaseCurrency { get; set; }
+ public string PurchaseInvoiceReference { get; set; }
+ public List CustomFields { get; set; }
+ public Hardware Hardware { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Computer/ComputerApplications.cs b/Goosetuv.Snow.NET/Classes/Computer/ComputerApplications.cs
new file mode 100644
index 0000000..8b69b4d
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Computer/ComputerApplications.cs
@@ -0,0 +1,62 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Computer
+{
+ public class ComputerApplications
+ {
+
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public Guid Id { get; set; }
+ public string Name { get; set; }
+ public Guid? ManufacturerId { get; set; }
+ public string ManufacturerName { get; set; }
+ public Guid? FamilyId { get; set; }
+ public string FamilyName { get; set; }
+ public Guid? BundleApplicationId { get; set; }
+ public string BundleApplicationName { get; set; }
+ public DateTime? LastUsed { get; set; }
+ public DateTime? FirstUsed { get; set; }
+ public DateTime? InstallDate { get; set; }
+ public DateTime? DiscoveredDate { get; set; }
+ public int Run { get; set; }
+ public int AvgUsageTime { get; set; }
+ public int Users { get; set; }
+ public bool LicenseRequired { get; set; }
+ public bool IsInstalled { get; set; }
+ public bool IsBlacklisted { get; set; }
+ public bool IsWhitelisted { get; set; }
+ public bool IsVirtual { get; set; }
+ public bool IsOEM { get; set; }
+ public bool IsMSDN { get; set; }
+ public bool IsWebApplication { get; set; }
+ public double ApplicationItemCost { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Computer/ComputerObjects.cs b/Goosetuv.Snow.NET/Classes/Computer/ComputerObjects.cs
new file mode 100644
index 0000000..e4f9b58
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Computer/ComputerObjects.cs
@@ -0,0 +1,44 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Computer
+{
+ public class ComputerObjects
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string TypeName { get; set; }
+ public string Organization { get; set; }
+ public DateTime? CreatedDate { get; set; } = null;
+ public string CreatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; } = null;
+ public string UpdatedBy { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Computer/ComputerUsers.cs b/Goosetuv.Snow.NET/Classes/Computer/ComputerUsers.cs
new file mode 100644
index 0000000..56776b6
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Computer/ComputerUsers.cs
@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Computer
+{
+ public class ComputerUsers
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public int CustomerId { get; set; }
+ public string Username { get; set; }
+ public DateTime? LastLogon { get; set; }
+ public string FullName { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public int LogonCount { get; set; }
+ public bool UserIsAccessible { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Computer/ComputerVirtualMachines.cs b/Goosetuv.Snow.NET/Classes/Computer/ComputerVirtualMachines.cs
new file mode 100644
index 0000000..77aa35e
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Computer/ComputerVirtualMachines.cs
@@ -0,0 +1,41 @@
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.Computer
+{
+ public class ComputerVirtualMachines
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int VirtualMachineId { get; set; }
+ public int? ComputerId { get; set; }
+ public string Name { get; set; }
+ public string OperatingSystem { get; set; }
+ public object PowerState { get; set; }
+ public string IpAddress { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/Computer/Computers.cs b/Goosetuv.Snow.NET/Classes/Computer/Computers.cs
new file mode 100644
index 0000000..045e61c
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/Computer/Computers.cs
@@ -0,0 +1,130 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.Computer
+{
+ public class Computers
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class LogicalDisk
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string VolumeName { get; set; }
+ public int SizeMb { get; set; }
+ }
+
+ public class NetworkAdapter
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string IpAddress { get; set; }
+ public string MacAddress { get; set; }
+ }
+
+ public class OpticalDrive
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ }
+
+ public class DisplayAdapter
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string CurrentResolution { get; set; }
+ public string MaxResolution { get; set; }
+ }
+
+ public class Monitor
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string MaxResolution { get; set; }
+ }
+
+ public class Hardware
+ {
+ public string Type { get; set; }
+ public string BiosSerialNumber { get; set; }
+ public string BiosVersion { get; set; }
+ public DateTime? BiosDate { get; set; }
+ public string ProcessorType { get; set; }
+ public int NumberOfProcessors { get; set; }
+ public int CoresPerProcessor { get; set; }
+ public int PhysicalMemoryMb { get; set; }
+ public int MemorySlots { get; set; }
+ public int MemorySlotsAvailable { get; set; }
+ public int SystemDiskSpaceMb { get; set; }
+ public int SystemDiskSpaceAvailableMb { get; set; }
+ public int TotalDiskSpaceMb { get; set; }
+ public int TotalDiskSpaceAvailableMb { get; set; }
+ public List LogicalDisks { get; set; }
+ public List NetworkAdapters { get; set; }
+ public List OpticalDrives { get; set; }
+ public List DisplayAdapters { get; set; }
+ public List Monitors { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Organization { get; set; }
+ public int OrgChecksum { get; set; }
+ public string Manufacturer { get; set; }
+ public string Model { get; set; }
+ public string OperatingSystem { get; set; }
+ public string OperatingSystemServicePack { get; set; }
+ public bool IsVirtual { get; set; }
+
+ [JsonPropertyName("Status")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public ComputerStatus Status { get; set; }
+ public string IpAddresses { get; set; }
+ public DateTime? LastScanDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string Domain { get; set; }
+ public int TotalDiskSpace { get; set; }
+ public int PhysicalMemory { get; set; }
+ public string ProcessorType { get; set; }
+ public int ProcessorCount { get; set; }
+ public int CoreCount { get; set; }
+ public string BiosSerialNumber { get; set; }
+ public Hardware Hardware { get; set; }
+ public string HypervisorName { get; set; }
+ public bool IsPortable { get; set; }
+ public bool IsServer { get; set; }
+ public int MostFrequentUserId { get; set; }
+ public int MostRecentUserId { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ }
+
+
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterCluster.cs b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterCluster.cs
new file mode 100644
index 0000000..c2f418a
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterCluster.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.DataCenterCluster
+{
+ public class DataCenterCluster
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public List Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Context
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string Value2 { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Description { get; set; }
+ public string Organization { get; set; }
+ public int? ServerCount { get; set; }
+ public int? LicensedApplicationCount { get; set; }
+ public int? VirtualMachineCount { get; set; }
+ public int? InventoriedVirtualMachineCount { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterHosts.cs b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterHosts.cs
new file mode 100644
index 0000000..a58e1fa
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterHosts.cs
@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.DataCenterCluster
+{
+ public class DataCenterClusterHosts
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public int ComputerId { get; set; }
+ public string ComputerName { get; set; }
+ public DateTime? LastScanDate { get; set; }
+ public int VirtualMachines { get; set; }
+ public string OperatingSystem { get; set; }
+ public string ProcessorType { get; set; }
+ public int ProcessorCount { get; set; }
+ public int CoresPerProcessor { get; set; }
+ public object HypervisorName { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterLicenses.cs b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterLicenses.cs
new file mode 100644
index 0000000..dc9364f
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusterLicenses.cs
@@ -0,0 +1,55 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.DataCenterCluster
+{
+ public class DataCenterClusterLicenses
+ {
+
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public int Id { get; set; }
+ public string ApplicationName { get; set; }
+ public string ManufacturerName { get; set; }
+
+ [JsonPropertyName("Metric")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType? Metric { get; set; }
+
+ [JsonPropertyName("AssignmentType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public AssignmentType? AssignmentType { get; set; }
+ public DateTime? PurchaseDate { get; set; }
+ public int? Quantity { get; set; }
+ public bool? IsIncomplete { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusters.cs b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusters.cs
new file mode 100644
index 0000000..f60f9eb
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/DataCenterCluster/DataCenterClusters.cs
@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+
+namespace Goosetuv.Snow.NET.Classes.DataCenterCluster
+{
+ public class DataCenterClusters
+ {
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public string Description { get; set; }
+ public string Organization { get; set; }
+ public int? ServerCount { get; set; }
+ public int? LicensedApplicationCount { get; set; }
+ public int? VirtualMachineCount { get; set; }
+ public int? InventoriedVirtualMachineCount { get; set; }
+ public string UpdatedBy { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/License/License.cs b/Goosetuv.Snow.NET/Classes/License/License.cs
new file mode 100644
index 0000000..3cb2891
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/License/License.cs
@@ -0,0 +1,87 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.License
+{
+ public class License
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public Data Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public List Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Context
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class CustomField
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public string DataType { get; set; }
+ public string Value { get; set; }
+ }
+
+ public class Allocation
+ {
+ public string Type { get; set; }
+ public string Organization { get; set; }
+ public int Quantity { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public int Id { get; set; }
+ public string ApplicationName { get; set; }
+ public string ManufacturerName { get; set; }
+
+ [JsonPropertyName("Metric")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public MetricType? Metric { get; set; }
+
+ [JsonPropertyName("AssignmentType")]
+ [JsonConverter(typeof(JsonStringEnumConverter))]
+ public AssignmentType? AssignmentType { get; set; }
+ public DateTime? UpdatedDate { get; set; }
+ public string UpdatedBy { get; set; }
+ public bool? AutomaticDowngrade { get; set; }
+ public bool? UpgradeRights { get; set; }
+ public string InvoiceReference { get; set; }
+ public DateTime? PurchaseDate { get; set; }
+ public decimal? PurchasePrice { get; set; }
+ public string PurchaseCurrency { get; set; }
+ public int? Quantity { get; set; }
+ public string Vendor { get; set; }
+ public string ExternalId { get; set; }
+ public string InstallationMedia { get; set; }
+ public string LicenseProofLocation { get; set; }
+ public string LicenseKeys { get; set; }
+ public string Notes { get; set; }
+ public bool? IsIncomplete { get; set; }
+ public List CustomFields { get; set; }
+ public List Allocations { get; set; }
+ }
+ }
+}
diff --git a/Goosetuv.Snow.NET/Classes/License/LicenseBaseLicenses.cs b/Goosetuv.Snow.NET/Classes/License/LicenseBaseLicenses.cs
new file mode 100644
index 0000000..be44c09
--- /dev/null
+++ b/Goosetuv.Snow.NET/Classes/License/LicenseBaseLicenses.cs
@@ -0,0 +1,55 @@
+using Goosetuv.Snow.NET.Enums;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Goosetuv.Snow.NET.Classes.License
+{
+ public class LicenseBaseLicenses
+ {
+ public string Type { get; set; }
+ public List Meta { get; set; }
+ public List Links { get; set; }
+ public List Body { get; set; }
+
+ public class Metum
+ {
+ public string Type { get; set; }
+ public string Name { get; set; }
+ public object Value { get; set; }
+ }
+
+ public class Link
+ {
+ public string Type { get; set; }
+ public string Href { get; set; }
+ public string Method { get; set; }
+ public string Rel { get; set; }
+ public string Title { get; set; }
+ }
+
+ public class Data
+ {
+ public string Type { get; set; }
+ public List