class ArrivalVerificationTypeModel {
  List<Data>? data;
  String? message;
  String? title;
  String? innerMessage;
  int? responseCode;
  bool? isSuccess;

  ArrivalVerificationTypeModel(
      {this.data,
        this.message,
        this.title,
        this.innerMessage,
        this.responseCode,
        this.isSuccess});

  ArrivalVerificationTypeModel.fromJson(Map<String, dynamic> json) {
    if (json['data'] != null) {
      data = <Data>[];
      json['data'].forEach((v) {
        data!.add(Data.fromJson(v));
      });
    }
    message = json['message'];
    title = json['title'];
    innerMessage = json['innerMessage'];
    responseCode = json['responseCode'];
    isSuccess = json['isSuccess'];
  }

}

class Data {
  int? assetGroupId;
  int? verificationTypeId;
  VerificationTypes? verificationTypes;
  int? id;
  String? createdBy;
  String? createdDate;
  dynamic modifiedBy;
  dynamic modifiedDate;

  Data(
      {this.assetGroupId,
        this.verificationTypeId,
        this.verificationTypes,
        this.id,
        this.createdBy,
        this.createdDate,
        this.modifiedBy,
        this.modifiedDate});

  Data.fromJson(Map<String, dynamic> json) {
    assetGroupId = json['assetGroupId'];
    verificationTypeId = json['verificationTypeId'];
    verificationTypes = json['verificationTypes'] != null
        ?  VerificationTypes.fromJson(json['verificationTypes'])
        : null;
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    modifiedBy = json['modifiedBy'];
    modifiedDate = json['modifiedDate'];
  }

}

class VerificationTypes {
  int? id;
  String? name;
  int? value;

  VerificationTypes({this.id, this.name, this.value});

  VerificationTypes.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['name'];
    value = json['value'];
  }

}
