Example #1
0
 public static Company Company(string id, TelemetryDataSinkSettings telemetryDataSinkSettings)
 {
     return(new Company
     {
         Id = id,
         TelemetryDataSinkSettings = telemetryDataSinkSettings
     });
 }
Example #2
0
        public CompanyTableEntity(PartionKeyRowKeyPair partitionKeyRowKeyPair, string name, IList <SmallUser> users)
        {
            PartitionKey = partitionKeyRowKeyPair.PartitionKey;
            RowKey       = partitionKeyRowKeyPair.RowKey;

            Name  = name;
            Users = users;
            TelemetryDataSinkSettings = new TelemetryDataSinkSettings();
        }
Example #3
0
        public ServiceTableEntity(PartionKeyRowKeyPair partitionKeyRowKeyPair, string name, string companyId, string apiKey)
        {
            PartitionKey = partitionKeyRowKeyPair.PartitionKey;
            RowKey       = partitionKeyRowKeyPair.RowKey;

            Name      = name;
            CompanyId = companyId;
            ApiKey    = apiKey;
            TelemetryDataSinkSettings = new TelemetryDataSinkSettings();
        }
Example #4
0
 public static Service Service(string id, string apiKey, string companyId,
                               TelemetryDataSinkSettings telemetryDataSinkSettings)
 {
     return(new Service
     {
         Id = id,
         ApiKey = apiKey,
         CompanyId = companyId,
         TelemetryDataSinkSettings = telemetryDataSinkSettings
     });
 }
Example #5
0
        public NetworkTableEntity(PartionKeyRowKeyPair partitionKeyRowKeyPair, string name, string parentNetworkId, string serviceId, string companyId, string networkKey)
        {
            PartitionKey = partitionKeyRowKeyPair.PartitionKey;
            RowKey       = partitionKeyRowKeyPair.RowKey;

            Name                      = name;
            ParentNetworkId           = parentNetworkId;
            ServiceId                 = serviceId;
            CompanyId                 = companyId;
            NetworkKey                = networkKey;
            TelemetryDataSinkSettings = new TelemetryDataSinkSettings();
        }
Example #6
0
 public static Network Network(string id, string networkKey, string parentNetworkId, string serviceId, string companyId, TelemetryDataSinkSettings telemetryDataSinkSettings)
 {
     return(new Network
     {
         Id = id,
         NetworkKey = networkKey,
         ParentNetworkId = parentNetworkId,
         ServiceId = serviceId,
         CompanyId = companyId,
         TelemetryDataSinkSettings = telemetryDataSinkSettings
     });
 }