C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
StaticSimulation.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Runtime.Serialization;
4
7
8// ReSharper disable once CheckNamespace (Type is common enough to be on root namespace)
9namespace AnalyzeRe
10{
13 {
14 #region Public Properties
16 [DataMember(Order = 21)]
17 public int trial_count { get; set; }
18
21 [Obsolete("This property has been replaced by meta_data.")]
23 {
24 get => meta_data;
25 set => meta_data = value;
26 }
27
28 #region IAPIResource_WithDataEndpoint Implementation
30 private LargeDataSubResource _dataEndpoint;
31
34 public LargeDataSubResource data => _dataEndpoint ??
35 (_dataEndpoint = new LargeDataSubResource(this));
36
41 [DataMember(Name = "data", Order = 97)]
43 public IReference<DataFile> data_file { get; set; }
44
46 [DataMember(Order = 98)]
48 public TaskStatus status { get; set; }
49
51 [DataMember(Order = 99)]
53 public string status_message { get; set; }
54
56 protected override void AfterMembersCloned(APIType _)
57 {
58 base.AfterMembersCloned(_);
59 _dataEndpoint = null;
60 }
61 #endregion IAPIResource_WithDataEndpoint Implementation
62 #endregion Public Properties
63 }
64}
Base class used by all types and resources.
Definition APIType.cs:8
Describes an endpoint off of some types of resources from which an associated "large data file" can b...
Describes a collection of resources which can be listed.
Specifies that a property is generated by the server and should not be specified on the client side d...
Indicates that the property, if left null, will have a default value generated and filled in by the s...
Representation of a simulation of a set of trials each representing an event occurrence sequence.
Definition Simulation.cs:14
A pre-simulated representation of a Simulation (SimGrid).
LargeDataSubResource data
An endpoint for accessing or modifying the data file attached to this resource.
TaskStatus status
Status of the data file associated with this resource.
string status_message
Status message of the data file associated with this resource.
override void AfterMembersCloned(APIType _)
Invoked following construction if the current instance has been created using a member-wise clone of ...
int trial_count
Number of trials in this simulation.
Dictionary< string, object > notes
Notes about the simulation.
IReference< DataFile > data_file
A reference to the data attached to this resource. This field will automatically be created if you in...
Describes an APIResource class that adds a "/data" sub-resource, since this functionality is common t...
Dictionary< string, object > meta_data
Any user-defined metadata for this layer.
TaskStatus
The status of a data upload which may be in progress.
Definition TaskStatus.cs:9