Nephila RiskStore

<back to all web services

ProcessIngestIndustryLossRequest

Requires Authentication
import 'package:servicestack/servicestack.dart';

class ProcessIngestIndustryLossRequest implements IConvertible
{
    // @ApiMember(IsRequired=true)
    String? name;

    // @ApiMember(IsRequired=true)
    List<int>? perspectiveIds = [];

    // @ApiMember(IsRequired=true)
    String? container;

    // @ApiMember(IsRequired=true)
    String? blobName;

    int? ilEventSetId;

    ProcessIngestIndustryLossRequest({this.name,this.perspectiveIds,this.container,this.blobName,this.ilEventSetId});
    ProcessIngestIndustryLossRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        name = json['name'];
        perspectiveIds = JsonConverters.fromJson(json['perspectiveIds'],'List<int>',context!);
        container = json['container'];
        blobName = json['blobName'];
        ilEventSetId = json['ilEventSetId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'name': name,
        'perspectiveIds': JsonConverters.toJson(perspectiveIds,'List<int>',context!),
        'container': container,
        'blobName': blobName,
        'ilEventSetId': ilEventSetId
    };

    getTypeName() => "ProcessIngestIndustryLossRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'riskstoreng_dev.nephila.com', types: <String, TypeInfo> {
    'ProcessIngestIndustryLossRequest': TypeInfo(TypeOf.Class, create:() => ProcessIngestIndustryLossRequest()),
});

Dart ProcessIngestIndustryLossRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/oneway/ProcessIngestIndustryLossRequest HTTP/1.1 
Host: riskstoreng-dev.nephila.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"name":"String","perspectiveIds":[0],"container":"String","blobName":"String","ilEventSetId":0}