Lib/Definitions.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Add-Type -TypeDefinition @"
public enum SumoSearchResultType
{
    Message,
    Record
}
"@


Add-Type -TypeDefinition @"
public class SumoAPISession
{
    public SumoAPISession(string Endpoint, object WebSession) {
        this.Endpoint = Endpoint;
        this.WebSession = WebSession;
    }
    public string Endpoint;
    public object WebSession;
}
"@