C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
LossSet_WithData.cs
Go to the documentation of this file.
1using System.Runtime.Serialization;
2
5
6namespace AnalyzeRe.LossSets
7{
10 {
11 #region IAPIResource_WithDataEndpoint Implementation
13 private LargeDataSubResource _dataEndpoint;
14
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
32 [DataMember(Order = 98)]
34 public TaskStatus status { get; set; }
35
37 [DataMember(Order = 99)]
39 public string status_message { get; set; }
40
42 protected override void AfterMembersCloned(APIType _)
43 {
44 base.AfterMembersCloned(_);
45 _dataEndpoint = null;
46 }
47 #endregion IAPIResource_WithDataEndpoint Implementation
48 }
49}
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...
Base for all conventional loss sets, which generate losses, have a server-generated loss profile,...
Base for all loss sets for which pre-generated loss data must be uploaded.
string status_message
Status message of the data file associated with this resource.
IReference< DataFile > data_file
A reference to the data attached to this resource. This field will automatically be created if you in...
LargeDataSubResource data
An endpoint for accessing or modifying the data file attached to this resource.
override void AfterMembersCloned(APIType _)
Invoked following construction if the current instance has been created using a member-wise clone of ...
TaskStatus status
Status of the data file associated with this resource.
Combines the interfaces for a loss set and a resource with a data endpoint.
TaskStatus
The status of a data upload which may be in progress.
Definition TaskStatus.cs:9