ImportJobResource.fromJson constructor

ImportJobResource.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ImportJobResource.fromJson(Map<String, dynamic> json) {
  return ImportJobResource(
    format: (json['Format'] as String).toFormat(),
    roleArn: json['RoleArn'] as String,
    s3Url: json['S3Url'] as String,
    defineSegment: json['DefineSegment'] as bool?,
    externalId: json['ExternalId'] as String?,
    registerEndpoints: json['RegisterEndpoints'] as bool?,
    segmentId: json['SegmentId'] as String?,
    segmentName: json['SegmentName'] as String?,
  );
}