
import 'dart:convert';

PasswordOTPRequestRespModel otpRequestFromJson(String str) => PasswordOTPRequestRespModel.fromJson(json.decode(str));

String otpRequestToJson(PasswordOTPRequestRespModel data) => json.encode(data.toJson());

class PasswordOTPRequestRespModel {
  dynamic totalItemsCount;
  Data? data;
  int? messageStatus;
  String? message;

  PasswordOTPRequestRespModel(
      {this.totalItemsCount, this.data, this.messageStatus, this.message});

  PasswordOTPRequestRespModel.fromJson(Map<String, dynamic> json) {
    totalItemsCount = json['totalItemsCount'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
    messageStatus = json['messageStatus'];
    message = json['message'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['totalItemsCount'] = this.totalItemsCount;
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    data['messageStatus'] = this.messageStatus;
    data['message'] = this.message;
    return data;
  }
}

class Data {
  String? userToken;

  Data({this.userToken});

  Data.fromJson(Map<String, dynamic> json) {
    userToken = json['userToken'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userToken'] = this.userToken;
    return data;
  }
}