C# Client Library
A C# Client Library for the AnalyzeRe REST API
LossSet_WithData.cs
Go to the documentation of this file.
1 using System.Runtime.Serialization;
2 
3 using AnalyzeRe.APITypes;
5 
6 namespace AnalyzeRe.LossSets
7 {
10  {
11  #region IAPIResource_WithDataEndpoint Implementation
12  private LargeDataSubResource _dataEndpoint;
14 
16  [IgnoreDataMember]
17  public LargeDataSubResource data => _dataEndpoint ??
18  (_dataEndpoint = new LargeDataSubResource(this));
19 
24  [DataMember(Name = "data", Order = 97)]
26  public IReference<DataFile> data_file { get; set; }
27 
29  [DataMember(Order = 98)]
31  public TaskStatus status { get; set; }
32 
34  [DataMember(Order = 99)]
36  public string status_message { get; set; }
37 
39  protected override void AfterMembersCloned(APIType _)
40  {
41  base.AfterMembersCloned(_);
42  _dataEndpoint = null;
43  }
44  #endregion IAPIResource_WithDataEndpoint Implementation
45  }
46 }
Describes an endpoint off of some types of resources from which an associated "large data file" can b...
Specifies that a property is generated by the server and should not be specified on the client side d...
Base for all loss sets for which pre-generated loss data must be uploaded.
override void AfterMembersCloned(APIType _)
Invoked following construction if the current instance has been created using a member-wise clone of ...
Indicates that the property, if left null, will have a default value generated and filled in by the s...
Base interface for all reference entities.
Definition: IReference.cs:7
Describes an APIResource class that adds a "/data" sub-resource, since this functionality is common t...
Base class used by all types and resources.
Definition: APIType.cs:7
Base for all conventional loss sets, which generate losses, have a server-generated loss profile...
TaskStatus
The status of a data upload which may be in progress.
Definition: TaskStatus.cs:8