diff --git a/csharp/SmartThings/Program.cs b/csharp/SmartThings/Program.cs new file mode 100644 index 0000000..3a0081b --- /dev/null +++ b/csharp/SmartThings/Program.cs @@ -0,0 +1,24 @@ +using SmartThingsNet.Api; +using SmartThingsNet.Client; +using SmartThingsNet.Model; + +namespace SmartThings +{ + class SmartThings + { + static void Main() + { + string accesstoken = ""; + var configuration = new Configuration(); + configuration.AccessToken = accesstoken; + var devices = new DevicesApi(configuration); + var locations = new LocationsApi(configuration); + var rooms = new RoomsApi(configuration); + var devicelist = devices.GetDevices(accesstoken).Items; + + Console.WriteLine(String.Join(Environment.NewLine, locations.ListLocations(accesstoken).Items.Select(x => x.Name))); + Console.WriteLine(String.Join(Environment.NewLine, rooms.ListRooms(accesstoken, locations.ListLocations(accesstoken).Items.First().LocationId.ToString()).Items.Select(x => x.Name))); + Console.WriteLine(String.Join(Environment.NewLine, devicelist.Select(x => $"{x.Label} :: {x.DeviceId}").ToList())); + } + } +} \ No newline at end of file diff --git a/csharp/SmartThings/SmartThings.csproj b/csharp/SmartThings/SmartThings.csproj new file mode 100644 index 0000000..f45f9cc --- /dev/null +++ b/csharp/SmartThings/SmartThings.csproj @@ -0,0 +1,14 @@ + + + + Exe + net6.0 + enable + enable + + + + + + + diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.AssemblyInfo.cs b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.AssemblyInfo.cs new file mode 100644 index 0000000..e1055cc --- /dev/null +++ b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("SmartThings")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("SmartThings")] +[assembly: System.Reflection.AssemblyTitleAttribute("SmartThings")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.AssemblyInfoInputs.cache b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.AssemblyInfoInputs.cache new file mode 100644 index 0000000..e100281 --- /dev/null +++ b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +b68e8acde5b615b35a2a857fc2aa1d791aab4750 diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.GeneratedMSBuildEditorConfig.editorconfig b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..654bc79 --- /dev/null +++ b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = SmartThings +build_property.ProjectDir = C:\Users\Imi\Downloads\SmartThings\ diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.GlobalUsings.g.cs b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.assets.cache b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.assets.cache new file mode 100644 index 0000000..64dedfd Binary files /dev/null and b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.assets.cache differ diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.AssemblyReference.cache b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.AssemblyReference.cache new file mode 100644 index 0000000..c270b70 Binary files /dev/null and b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.AssemblyReference.cache differ diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.CopyComplete b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.CoreCompileInputs.cache b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..7d0b8a8 --- /dev/null +++ b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +292844816067845a7acc33dd8903d6d2acf092c0 diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.FileListAbsolute.txt b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..c3f60c2 --- /dev/null +++ b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.csproj.FileListAbsolute.txt @@ -0,0 +1,21 @@ +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.exe +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.deps.json +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.runtimeconfig.json +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.dll +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\ref\SmartThings.dll +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThings.pdb +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\JsonSubTypes.dll +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\Newtonsoft.Json.dll +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\Polly.dll +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\RestSharp.dll +C:\Users\Imi\Downloads\SmartThings\bin\Debug\net6.0\SmartThingsNet.dll +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.csproj.AssemblyReference.cache +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.AssemblyInfoInputs.cache +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.AssemblyInfo.cs +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.csproj.CoreCompileInputs.cache +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.csproj.CopyComplete +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.dll +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\ref\SmartThings.dll +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.pdb +C:\Users\Imi\Downloads\SmartThings\obj\Debug\net6.0\SmartThings.genruntimeconfig.cache diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.dll b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.dll new file mode 100644 index 0000000..8a16924 Binary files /dev/null and b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.dll differ diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.genruntimeconfig.cache b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.genruntimeconfig.cache new file mode 100644 index 0000000..25cb287 --- /dev/null +++ b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.genruntimeconfig.cache @@ -0,0 +1 @@ +85be4d135fa791874eda73c0a20cae485cb75e84 diff --git a/csharp/SmartThings/obj/Debug/net6.0/SmartThings.pdb b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.pdb new file mode 100644 index 0000000..46a7b96 Binary files /dev/null and b/csharp/SmartThings/obj/Debug/net6.0/SmartThings.pdb differ diff --git a/csharp/SmartThings/obj/Debug/net6.0/apphost.exe b/csharp/SmartThings/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..0140989 Binary files /dev/null and b/csharp/SmartThings/obj/Debug/net6.0/apphost.exe differ diff --git a/csharp/SmartThings/obj/Debug/net6.0/ref/SmartThings.dll b/csharp/SmartThings/obj/Debug/net6.0/ref/SmartThings.dll new file mode 100644 index 0000000..fa9ee8d Binary files /dev/null and b/csharp/SmartThings/obj/Debug/net6.0/ref/SmartThings.dll differ diff --git a/csharp/SmartThings/obj/SmartThings.csproj.nuget.dgspec.json b/csharp/SmartThings/obj/SmartThings.csproj.nuget.dgspec.json new file mode 100644 index 0000000..7f48f7a --- /dev/null +++ b/csharp/SmartThings/obj/SmartThings.csproj.nuget.dgspec.json @@ -0,0 +1,73 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj": {} + }, + "projects": { + "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj", + "projectName": "SmartThings", + "projectPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj", + "packagesPath": "C:\\Users\\Imi\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ], + "configFilePaths": [ + "C:\\Users\\Imi\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "SmartThingsNet": { + "target": "Package", + "version": "[0.7.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.108\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/csharp/SmartThings/obj/SmartThings.csproj.nuget.g.props b/csharp/SmartThings/obj/SmartThings.csproj.nuget.g.props new file mode 100644 index 0000000..b703a00 --- /dev/null +++ b/csharp/SmartThings/obj/SmartThings.csproj.nuget.g.props @@ -0,0 +1,17 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Imi\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\dotnet\sdk\NuGetFallbackFolder + PackageReference + 6.0.2 + + + + + + + \ No newline at end of file diff --git a/csharp/SmartThings/obj/SmartThings.csproj.nuget.g.targets b/csharp/SmartThings/obj/SmartThings.csproj.nuget.g.targets new file mode 100644 index 0000000..35a7576 --- /dev/null +++ b/csharp/SmartThings/obj/SmartThings.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/csharp/SmartThings/obj/project.assets.json b/csharp/SmartThings/obj/project.assets.json new file mode 100644 index 0000000..fb695bd --- /dev/null +++ b/csharp/SmartThings/obj/project.assets.json @@ -0,0 +1,339 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "JsonSubTypes/1.8.0": { + "type": "package", + "dependencies": { + "Newtonsoft.Json": "10.0.1" + }, + "compile": { + "lib/netstandard2.0/JsonSubTypes.dll": {} + }, + "runtime": { + "lib/netstandard2.0/JsonSubTypes.dll": {} + } + }, + "Newtonsoft.Json/13.0.1": { + "type": "package", + "compile": { + "lib/netstandard2.0/Newtonsoft.Json.dll": {} + }, + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": {} + } + }, + "Polly/7.2.2": { + "type": "package", + "compile": { + "lib/netstandard2.0/Polly.dll": {} + }, + "runtime": { + "lib/netstandard2.0/Polly.dll": {} + } + }, + "RestSharp/106.15.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/RestSharp.dll": {} + }, + "runtime": { + "lib/netstandard2.0/RestSharp.dll": {} + } + }, + "SmartThingsNet/0.7.0": { + "type": "package", + "dependencies": { + "JsonSubTypes": "1.8.0", + "Newtonsoft.Json": "13.0.1", + "Polly": "7.2.2", + "RestSharp": "106.15.0", + "System.ComponentModel.Annotations": "5.0.0" + }, + "compile": { + "lib/netstandard2.1/SmartThingsNet.dll": {} + }, + "runtime": { + "lib/netstandard2.1/SmartThingsNet.dll": {} + } + }, + "System.ComponentModel.Annotations/5.0.0": { + "type": "package", + "compile": { + "ref/netstandard2.1/System.ComponentModel.Annotations.dll": {} + }, + "runtime": { + "lib/netstandard2.1/System.ComponentModel.Annotations.dll": {} + } + } + } + }, + "libraries": { + "JsonSubTypes/1.8.0": { + "sha512": "pBChxyl9mt0F1s1giHlN6yQ9WWb5FljluCNhMnSb7sspPfPRPTrc0a0psdu2/FVb5nZu5bQN50OMMaSp8jm8xQ==", + "type": "package", + "path": "jsonsubtypes/1.8.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE", + "jsonsubtypes.1.8.0.nupkg.sha512", + "jsonsubtypes.nuspec", + "lib/net35/JsonSubTypes.dll", + "lib/net40/JsonSubTypes.dll", + "lib/net45/JsonSubTypes.dll", + "lib/net46/JsonSubTypes.dll", + "lib/net47/JsonSubTypes.dll", + "lib/netstandard1.3/JsonSubTypes.dll", + "lib/netstandard1.4/JsonSubTypes.dll", + "lib/netstandard1.5/JsonSubTypes.dll", + "lib/netstandard1.6/JsonSubTypes.dll", + "lib/netstandard2.0/JsonSubTypes.dll" + ] + }, + "Newtonsoft.Json/13.0.1": { + "sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", + "type": "package", + "path": "newtonsoft.json/13.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.1.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + }, + "Polly/7.2.2": { + "sha512": "E6CeKyS513j7taKAq4q2MESDBvzuzWnR1rQ2Y2zqJvpiVtKMm699Aubb20MUPBDmb0Ov8PmcLHTCVFdCjoy2kA==", + "type": "package", + "path": "polly/7.2.2", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net461/Polly.dll", + "lib/net461/Polly.pdb", + "lib/net461/Polly.xml", + "lib/net472/Polly.dll", + "lib/net472/Polly.pdb", + "lib/net472/Polly.xml", + "lib/netstandard1.1/Polly.dll", + "lib/netstandard1.1/Polly.pdb", + "lib/netstandard1.1/Polly.xml", + "lib/netstandard2.0/Polly.dll", + "lib/netstandard2.0/Polly.pdb", + "lib/netstandard2.0/Polly.xml", + "polly.7.2.2.nupkg.sha512", + "polly.nuspec" + ] + }, + "RestSharp/106.15.0": { + "sha512": "HM7ohR6AscxedNenrrl93DSZG6hvdnA7O+NHyCl/6ZKTfn8psQ9rRmUpcb9eWr+140vmfxoVemql0bUoeGEW3A==", + "type": "package", + "path": "restsharp/106.15.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net452/RestSharp.dll", + "lib/net452/RestSharp.xml", + "lib/netstandard2.0/RestSharp.dll", + "lib/netstandard2.0/RestSharp.xml", + "restsharp.106.15.0.nupkg.sha512", + "restsharp.nuspec", + "restsharp.png" + ] + }, + "SmartThingsNet/0.7.0": { + "sha512": "F99ZWavaXB7HFUdtahsViwqdrePII7hCNwgOtqM0FO66TmqON0mu/RHm0ztnC/VaUFWYzFXx3+HGhoTPXs6PGw==", + "type": "package", + "path": "smartthingsnet/0.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/netstandard2.1/SmartThingsNet.dll", + "lib/netstandard2.1/SmartThingsNet.xml", + "smartthingsnet.0.7.0.nupkg.sha512", + "smartthingsnet.nuspec" + ] + }, + "System.ComponentModel.Annotations/5.0.0": { + "sha512": "dMkqfy2el8A8/I76n2Hi1oBFEbG1SfxD2l5nhwXV3XjlnOmwxJlQbYpJH4W51odnU9sARCSAgv7S3CyAFMkpYg==", + "type": "package", + "path": "system.componentmodel.annotations/5.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/net461/System.ComponentModel.Annotations.dll", + "lib/netcore50/System.ComponentModel.Annotations.dll", + "lib/netstandard1.4/System.ComponentModel.Annotations.dll", + "lib/netstandard2.0/System.ComponentModel.Annotations.dll", + "lib/netstandard2.1/System.ComponentModel.Annotations.dll", + "lib/netstandard2.1/System.ComponentModel.Annotations.xml", + "lib/portable-net45+win8/_._", + "lib/win8/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/net461/System.ComponentModel.Annotations.dll", + "ref/net461/System.ComponentModel.Annotations.xml", + "ref/netcore50/System.ComponentModel.Annotations.dll", + "ref/netcore50/System.ComponentModel.Annotations.xml", + "ref/netcore50/de/System.ComponentModel.Annotations.xml", + "ref/netcore50/es/System.ComponentModel.Annotations.xml", + "ref/netcore50/fr/System.ComponentModel.Annotations.xml", + "ref/netcore50/it/System.ComponentModel.Annotations.xml", + "ref/netcore50/ja/System.ComponentModel.Annotations.xml", + "ref/netcore50/ko/System.ComponentModel.Annotations.xml", + "ref/netcore50/ru/System.ComponentModel.Annotations.xml", + "ref/netcore50/zh-hans/System.ComponentModel.Annotations.xml", + "ref/netcore50/zh-hant/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/System.ComponentModel.Annotations.dll", + "ref/netstandard1.1/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/de/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/es/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/fr/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/it/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/ja/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/ko/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/ru/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/zh-hans/System.ComponentModel.Annotations.xml", + "ref/netstandard1.1/zh-hant/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/System.ComponentModel.Annotations.dll", + "ref/netstandard1.3/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/de/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/es/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/fr/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/it/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/ja/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/ko/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/ru/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/zh-hans/System.ComponentModel.Annotations.xml", + "ref/netstandard1.3/zh-hant/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/System.ComponentModel.Annotations.dll", + "ref/netstandard1.4/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/de/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/es/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/fr/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/it/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/ja/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/ko/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/ru/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/zh-hans/System.ComponentModel.Annotations.xml", + "ref/netstandard1.4/zh-hant/System.ComponentModel.Annotations.xml", + "ref/netstandard2.0/System.ComponentModel.Annotations.dll", + "ref/netstandard2.0/System.ComponentModel.Annotations.xml", + "ref/netstandard2.1/System.ComponentModel.Annotations.dll", + "ref/netstandard2.1/System.ComponentModel.Annotations.xml", + "ref/portable-net45+win8/_._", + "ref/win8/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.componentmodel.annotations.5.0.0.nupkg.sha512", + "system.componentmodel.annotations.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "SmartThingsNet >= 0.7.0" + ] + }, + "packageFolders": { + "C:\\Users\\Imi\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj", + "projectName": "SmartThings", + "projectPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj", + "packagesPath": "C:\\Users\\Imi\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Imi\\Downloads\\SmartThings\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ], + "configFilePaths": [ + "C:\\Users\\Imi\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "SmartThingsNet": { + "target": "Package", + "version": "[0.7.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.108\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/csharp/SmartThings/obj/project.nuget.cache b/csharp/SmartThings/obj/project.nuget.cache new file mode 100644 index 0000000..468b1bd --- /dev/null +++ b/csharp/SmartThings/obj/project.nuget.cache @@ -0,0 +1,15 @@ +{ + "version": 2, + "dgSpecHash": "mm3aTaLH6QwmOWlsD+6Va0389ozpfkInfXmCk+ekCW/IYvLAjouCAvvwfO/cvBj7rBl0wHVIPP8wFmFefYQHkQ==", + "success": true, + "projectFilePath": "C:\\Users\\Imi\\Downloads\\SmartThings\\SmartThings.csproj", + "expectedPackageFiles": [ + "C:\\Users\\Imi\\.nuget\\packages\\jsonsubtypes\\1.8.0\\jsonsubtypes.1.8.0.nupkg.sha512", + "C:\\Users\\Imi\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512", + "C:\\Users\\Imi\\.nuget\\packages\\polly\\7.2.2\\polly.7.2.2.nupkg.sha512", + "C:\\Users\\Imi\\.nuget\\packages\\restsharp\\106.15.0\\restsharp.106.15.0.nupkg.sha512", + "C:\\Users\\Imi\\.nuget\\packages\\smartthingsnet\\0.7.0\\smartthingsnet.0.7.0.nupkg.sha512", + "C:\\Users\\Imi\\.nuget\\packages\\system.componentmodel.annotations\\5.0.0\\system.componentmodel.annotations.5.0.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file