DSGHappinessClient.Models 0.2.0

.NET Standard 2.0
NuGet\Install-Package DSGHappinessClient.Models -Version 0.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package DSGHappinessClient.Models --version 0.2.0
<PackageReference Include="DSGHappinessClient.Models" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DSGHappinessClient.Models --version 0.2.0
#r "nuget: DSGHappinessClient.Models, 0.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DSGHappinessClient.Models as a Cake Addin
#addin nuget:?package=DSGHappinessClient.Models&version=0.2.0

// Install DSGHappinessClient.Models as a Cake Tool
#tool nuget:?package=DSGHappinessClient.Models&version=0.2.0

DSGHappinessClient.Models

DSGHappinessClient.Models is a .Net Standard package which contains Model Classes for DSG Happiness Client

Supported Platforms

  • NET Standard 2.0

Setup

To use, simply install nuget DSGHappinessClient.Models nuget package into your project.

Models
  • Application

  • Header

  • Transaction

  • User

  • VotingRequest

Common Method

Dictionary(string,string) GetDictionary();

Usage

Initialize VotingRequest Class and pass all the paramters in it

var request = new VotingRequest( new User("", "", "", ""), new Header(Utils.GetCurrentTimeStamp(),"", "", "", "", RequestType.RequestTransactionWithoutMicroApp), new Application("", "", "", "", "", ""), new Transaction("", "", "", "", "") );

Exceptions

ArgumentException is implemented for all the required and conditional parameters for each class

Dependencies:

  • Newtonsoft.Json

License

MIT

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 149 12/5/2021
0.1.0 122 12/4/2021