-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathEnvironmentModel.cs
More file actions
28 lines (24 loc) · 893 Bytes
/
EnvironmentModel.cs
File metadata and controls
28 lines (24 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using FlagsmithEngine.Project.Models;
using FlagsmithEngine.Feature.Models;
using FlagsmithEngine.Identity.Models;
namespace FlagsmithEngine.Environment.Models
{
public class EnvironmentModel
{
[JsonProperty(PropertyName = "id")]
public int ID { get; set; }
[JsonProperty(PropertyName = "api_key")]
public string ApiKey { get; set; }
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
[JsonProperty(PropertyName = "project")]
public ProjectModel Project { get; set; }
[JsonProperty(PropertyName = "feature_states")]
public List<FeatureStateModel> FeatureStates { get; set; }
[JsonProperty(PropertyName = "identity_overrides")]
public List<IdentityModel> IdentityOverrides { get; set; }
}
}