C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
AnalyzeRe.LossSets.PortfolioLossSet Class Reference

Representation of a PortfolioLossSet. More...

Public Member Functions

virtual T ShallowCopy< T > ()
 Create a shallow copy of this object.

See also
ExtensionMethods.DeepCopy<T>

for a serializer-based copy method.

 

Static Public Attributes

static readonly string CLASS_COLLECTION_NAME = "loss_sets"
 The collection endpoint at which resources of this type reside on the server.
 

Protected Member Functions

override void AfterMembersCloned (APIType _)
 Invoked following construction if the current instance has been created using a member-wise clone of some other instance. Override if your derived APIType class contains some members that should not be cloned.Overriding implementations should be sure to invoke base.AfterMembersCloned().
 

Properties

IReference< VendorPortfolioAnalysisanalysis [get, set]
 A reference to the analysis that resulted in this loss set.
 
static string APITypeName [get]
 Can be used to get the API type name in a static context.
 
override string collection_name [get]
 The collection endpoint at which resources of this type reside on the server.
 
DateTime? created [get, set]
 The date and time when the resource was created on the system.
 
string currency [get, set]
 The currency of the losses in this loss set.
 
LargeDataSubResource data [get]
 An endpoint for accessing or modifying the data file attached to this resource.
 
IReference< DataFiledata_file [get, set]
 A reference to the data attached to this resource. This field will automatically be created if you initiate an upload using the data property, or this can be set to reference an existing file on the server to immediately initiate the commit phase of this resource.
 
string description [get, set]
 A user-friendly description of the resource.
 
List< IReference< EventCatalog > > event_catalogs [get, set]
 A list of event catalog for which the loss set contains event losses.
 
string id [get, set]
 The resource's unique identifier. It will be used in the request URL when requesting the resource from the server.
 
LossTypeloss_type [get, set]
 Indicates what types of losses are generated by this loss set. If not specified the server will default to LossGross, except for YLTLossSets, which are assumed to be LossNetOfAggregateTerms by default.
 
Dictionary< string, object > meta_data = new Dictionary<string, object>() [get, set]
 Any user-defined metadata for this layer.
 
DateTime? modified [get, set]
 The date and time when the resource was last modified on the system.
 
string Path [get]
 The relative path to this endpoint from the root URL.
 
string perspective [get, set]
 The perspective for this PortfolioLossSet.
 
LossSetProfile profile [get, set]
 A profile of this loss set, generated by the server after post.
 
TaskStatus status [get, set]
 Status of the data file associated with this resource.
 
string status_message [get, set]
 Status message of the data file associated with this resource.
 
string type [get]
 The server name for this type of resource.
 

Detailed Description

Representation of a PortfolioLossSet.

Definition at line 10 of file PortfolioLossSet.cs.

Inheritance diagram for AnalyzeRe.LossSets.PortfolioLossSet:
AnalyzeRe.LossSets.ELTLossSet AnalyzeRe.LossSets.LossSet_WithData AnalyzeRe.LossSets.ILossSet_WithEventCatalog AnalyzeRe.LossSets.LossSet_WithCurrency AnalyzeRe.LossSets.ILossSet_WithData AnalyzeRe.LossSets.ILossSet AnalyzeRe.LossSet AnalyzeRe.LossSets.ILossSet AnalyzeRe.APITypes.IAPIResource_WithDataEndpoint AnalyzeRe.APITypes.IStoredAPIResource AnalyzeRe.APITypes.IAPI_Polymorphic AnalyzeRe.APITypes.StoredAPIResource_Polymorphic AnalyzeRe.LossSets.ILossSet AnalyzeRe.APITypes.IStoredAPIResource AnalyzeRe.APITypes.IAPI_Polymorphic AnalyzeRe.APITypes.IStoredAPIResource_WithStatus AnalyzeRe.IAPIResource AnalyzeRe.APITypes.IEndpoint AnalyzeRe.IAPIType AnalyzeRe.APITypes.IStoredAPIResource AnalyzeRe.IAPIResource AnalyzeRe.APITypes.IAPI_Polymorphic AnalyzeRe.APITypes.IStoredAPIResource AnalyzeRe.APITypes.IAPI_Polymorphic AnalyzeRe.APITypes.StoredAPIResource

Member Function Documentation

◆ AfterMembersCloned()

override void AnalyzeRe.LossSets.LossSet_WithData.AfterMembersCloned ( APIType  _)
inlineprotectedvirtualinherited

Invoked following construction if the current instance has been created using a member-wise clone of some other instance. Override if your derived APIType class contains some members that should not be cloned.Overriding implementations should be sure to invoke base.AfterMembersCloned().

Reimplemented from AnalyzeRe.APIType.

Definition at line 42 of file LossSet_WithData.cs.

◆ ShallowCopy< T >()

virtual T AnalyzeRe.APIType.ShallowCopy< T > ( )
inlinevirtualinherited

Create a shallow copy of this object.

See also
ExtensionMethods.DeepCopy<T>

for a serializer-based copy method.

Returns
A shallow copy of this object.

If this object contains any members that reference the current object (this), the class should override this method to avoid cloning a reference to the old class.

Implements AnalyzeRe.IAPIType.

Type Constraints
T :IAPIType 

Definition at line 14 of file APIType.cs.

Member Data Documentation

◆ CLASS_COLLECTION_NAME

readonly string AnalyzeRe.LossSet.CLASS_COLLECTION_NAME = "loss_sets"
staticinherited

The collection endpoint at which resources of this type reside on the server.

Definition at line 41 of file LossSet.cs.

Property Documentation

◆ analysis

IReference<VendorPortfolioAnalysis> AnalyzeRe.LossSets.PortfolioLossSet.analysis
getset

A reference to the analysis that resulted in this loss set.

Definition at line 15 of file PortfolioLossSet.cs.

◆ APITypeName

string AnalyzeRe.APITypes.StoredAPIResource_Polymorphic.APITypeName
staticgetinherited

Can be used to get the API type name in a static context.

Definition at line 17 of file StoredAPIResource_Polymorphic.cs.

◆ collection_name

override string AnalyzeRe.LossSet.collection_name
getinherited

The collection endpoint at which resources of this type reside on the server.

Implements AnalyzeRe.IAPIResource.

Definition at line 44 of file LossSet.cs.

◆ created

DateTime? AnalyzeRe.APITypes.StoredAPIResource.created
getsetinherited

The date and time when the resource was created on the system.

Implements AnalyzeRe.APITypes.IStoredAPIResource.

Definition at line 19 of file StoredAPIResource.cs.

◆ currency

string AnalyzeRe.LossSets.LossSet_WithCurrency.currency
getsetinherited

The currency of the losses in this loss set.

Definition at line 14 of file LossSet_WithCurrency.cs.

◆ data

LargeDataSubResource AnalyzeRe.LossSets.LossSet_WithData.data
getinherited

An endpoint for accessing or modifying the data file attached to this resource.

Implements AnalyzeRe.APITypes.IAPIResource_WithDataEndpoint.

Definition at line 17 of file LossSet_WithData.cs.

◆ data_file

IReference<DataFile> AnalyzeRe.LossSets.LossSet_WithData.data_file
getsetinherited

A reference to the data attached to this resource. This field will automatically be created if you initiate an upload using the data property, or this can be set to reference an existing file on the server to immediately initiate the commit phase of this resource.

Implements AnalyzeRe.APITypes.IAPIResource_WithDataEndpoint.

Definition at line 26 of file LossSet_WithData.cs.

◆ description

string AnalyzeRe.APITypes.StoredAPIResource.description
getsetinherited

A user-friendly description of the resource.

Implements AnalyzeRe.APITypes.IStoredAPIResource.

Definition at line 14 of file StoredAPIResource.cs.

◆ event_catalogs

List<IReference<EventCatalog> > AnalyzeRe.LossSets.ELTLossSet.event_catalogs
getsetinherited

A list of event catalog for which the loss set contains event losses.

Implements AnalyzeRe.LossSets.ILossSet_WithEventCatalog.

Definition at line 16 of file ELTLossSet.cs.

◆ id

string AnalyzeRe.APIResource.id
getsetinherited

The resource's unique identifier. It will be used in the request URL when requesting the resource from the server.

Implements AnalyzeRe.IAPIResource.

Definition at line 16 of file APIResource.cs.

◆ loss_type

LossType? AnalyzeRe.LossSet.loss_type
getsetinherited

Indicates what types of losses are generated by this loss set. If not specified the server will default to LossGross, except for YLTLossSets, which are assumed to be LossNetOfAggregateTerms by default.

Implements AnalyzeRe.LossSets.ILossSet.

Definition at line 53 of file LossSet.cs.

◆ meta_data

Dictionary<string, object> AnalyzeRe.APITypes.StoredAPIResource.meta_data = new Dictionary<string, object>()
getsetinherited

Any user-defined metadata for this layer.

Implements AnalyzeRe.APITypes.IStoredAPIResource.

Definition at line 30 of file StoredAPIResource.cs.

◆ modified

DateTime? AnalyzeRe.APITypes.StoredAPIResource.modified
getsetinherited

The date and time when the resource was last modified on the system.

Implements AnalyzeRe.APITypes.IStoredAPIResource.

Definition at line 24 of file StoredAPIResource.cs.

◆ Path

string AnalyzeRe.APIResource.Path
getinherited

The relative path to this endpoint from the root URL.

The relative path to this endpoint from the root URL.

Exceptions
System.ArgumentExceptionIf this resource does not have an id.

Implements AnalyzeRe.APITypes.IEndpoint.

Definition at line 27 of file APIResource.cs.

◆ perspective

string AnalyzeRe.LossSets.PortfolioLossSet.perspective
getset

The perspective for this PortfolioLossSet.

Definition at line 21 of file PortfolioLossSet.cs.

◆ profile

LossSetProfile AnalyzeRe.LossSet.profile
getsetinherited

A profile of this loss set, generated by the server after post.

Implements AnalyzeRe.LossSets.ILossSet.

Definition at line 58 of file LossSet.cs.

◆ status

TaskStatus AnalyzeRe.LossSets.LossSet_WithData.status
getsetinherited

Status of the data file associated with this resource.

For details about an upload in progress, you may retrieve the APIResource_WithDataEndpoint.data endpoint's LargeDataSubResource.status response.

Implements AnalyzeRe.APITypes.IStoredAPIResource_WithStatus.

Definition at line 34 of file LossSet_WithData.cs.

◆ status_message

string AnalyzeRe.LossSets.LossSet_WithData.status_message
getsetinherited

Status message of the data file associated with this resource.

Implements AnalyzeRe.APITypes.IStoredAPIResource_WithStatus.

Definition at line 39 of file LossSet_WithData.cs.

◆ type

string AnalyzeRe.APITypes.StoredAPIResource_Polymorphic.type
getinherited

The server name for this type of resource.

Implements AnalyzeRe.APITypes.IAPI_Polymorphic.

Definition at line 13 of file StoredAPIResource_Polymorphic.cs.


The documentation for this class was generated from the following file: