Created
February 24, 2019 01:15
-
-
Save radu-matei/faf8901cd8848dc9c2a6c8af752ef816 to your computer and use it in GitHub Desktop.
WIP CNAB Operation in .NET - currently removing, but may need later.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.IO; | |
using Newtonsoft.Json; | |
namespace Cnab.Runtime | |
{ | |
public class Operation | |
{ | |
[JsonProperty("installation_name")] | |
public string Installation { get; set; } | |
[JsonProperty("revision")] | |
public string Revision { get; set; } | |
[JsonProperty("action")] | |
public string Action { get; set; } | |
[JsonProperty("parameters")] | |
public Dictionary<string, IParameterDefinition> Parameters { get; set; } | |
[JsonProperty("image")] | |
public string Image { get; set; } | |
[JsonProperty("image_type")] | |
public string ImageType { get; set; } | |
[JsonProperty("environment")] | |
public Dictionary<string, string> Environment { get; set; } | |
[JsonProperty("files")] | |
public Dictionary<string, string> Files { get; set; } | |
public StreamWriter Out { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment