1
//------------------------------------------------------------------------------
3
// This code was generated by a tool.
4
// Runtime Version: 2.0.50727.1433
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
//------------------------------------------------------------------------------
11
namespace LpNet.Launchpad.Core
13
using System.Collections.Generic;
14
using System.Reflection;
15
using System.ComponentModel;
20
/// An object that might be a project, a project group, or a distribution.
21
/// This is a polymorphic object served by the pillar set. Check theindividual object to see what type it is.
23
internal partial class Pillar
26
protected string _uri;
28
protected Dictionary<string,string> _httpHeaders;
30
protected ICustomize _customizeInterface;
32
public Pillar(string uri, Dictionary<string,string> httpHeaders, ICustomize customizeInterface)
35
this._httpHeaders = httpHeaders;
36
this._customizeInterface = customizeInterface;
41
Dictionary<string,string> keyValue = new Dictionary<string, string>();
42
string serializedData = _customizeInterface.Serialize(HttpMethodType.GET, keyValue);
43
string fetchedData = _customizeInterface.Fetch(HttpMethodType.GET, this._uri, this._httpHeaders, serializedData);
46
public void Put(PillarFull PillarFull_field)
48
Dictionary<string,string> keyValue = new Dictionary<string, string>();
49
string serializedData = _customizeInterface.Serialize(HttpMethodType.PUT, keyValue);
50
string fetchedData = _customizeInterface.Fetch(HttpMethodType.PUT, this._uri, this._httpHeaders, serializedData);
53
public void Patch(PillarDiff PillarDiff_field)
55
Dictionary<string,string> keyValue = new Dictionary<string, string>();
56
string serializedData = _customizeInterface.Serialize(HttpMethodType.PATCH, keyValue);
57
string fetchedData = _customizeInterface.Fetch(HttpMethodType.PATCH, this._uri, this._httpHeaders, serializedData);