/// totalRecord : 0
/// isSuccess : true
/// errorMesssage : "string"
/// Data : [{"VideoId":1,"VideoCatalogId":0,"YoutubeVideoId":"eVt98Zez1jI","VietnameseName":"Hí anh em","EnglishName":"Hí anh em","VietnameseSlug":"string","EnglishSlug":"string","VietnameseKeyword":"string","VietnameseDescription":"string","EnglishKeyword":"string","EnglishDescription":"string","VietnameseContent":"string","EnglishContent":"string","IsActive":true,"IsFeature":true,"CatalogName":"string","CreateBy":0,"CreateName":"string","CreateDate":"2021-09-06T14:28:52.500Z","LastUpdateDate":"2021-09-06T14:28:52.500Z","UpdateName":"string","LastUpdateBy":0,"RowNumber":0},{"VideoId":2,"VideoCatalogId":0,"YoutubeVideoId":"8JtUZavW2dk","VietnameseName":"Bản Hot Tik Tok Thailand 2021","EnglishName":"Bản Hot Tik Tok Thailand 2021","VietnameseSlug":"string","EnglishSlug":"string","VietnameseKeyword":"string","VietnameseDescription":"string","EnglishKeyword":"string","EnglishDescription":"string","VietnameseContent":"string","EnglishContent":"string","IsActive":true,"IsFeature":true,"CatalogName":"string","CreateBy":0,"CreateName":"string","CreateDate":"2021-09-06T14:28:52.500Z","LastUpdateDate":"2021-09-06T14:28:52.500Z","UpdateName":"string","LastUpdateBy":0,"RowNumber":0},{"VideoId":3,"VideoCatalogId":0,"YoutubeVideoId":"eVt98Zez1jI","VietnameseName":"Sao kê từ thiện","EnglishName":"Sao kê từ thiện","VietnameseSlug":"string","EnglishSlug":"string","VietnameseKeyword":"string","VietnameseDescription":"string","EnglishKeyword":"string","EnglishDescription":"string","VietnameseContent":"string","EnglishContent":"string","IsActive":true,"IsFeature":true,"CatalogName":"string","CreateBy":0,"CreateName":"string","CreateDate":"2021-09-06T14:28:52.500Z","LastUpdateDate":"2021-09-06T14:28:52.500Z","UpdateName":"string","LastUpdateBy":0,"RowNumber":0}]
/// message : "string"

class VideoResponse {
  int? _totalRecord;
  bool? _isSuccess;
  String? _errorMesssage;
  List<VideoData>? _data;
  String? _message;

  int? get totalRecord => _totalRecord;
  bool? get isSuccess => _isSuccess;
  String? get errorMesssage => _errorMesssage;
  List<VideoData>? get data => _data;
  String? get message => _message;

  VideoResponse({
      int? totalRecord, 
      bool? isSuccess, 
      String? errorMesssage, 
      List<VideoData>? data,
      String? message}){
    _totalRecord = totalRecord;
    _isSuccess = isSuccess;
    _errorMesssage = errorMesssage;
    _data = data;
    _message = message;
}

  VideoResponse.fromJson(dynamic json) {
    _totalRecord = json['totalRecord'];
    _isSuccess = json['isSuccess'];
    _errorMesssage = json['errorMesssage'];
    if (json['Data'] != null) {
      _data = [];
      json['Data'].forEach((v) {
        _data?.add(VideoData.fromJson(v));
      });
    }
    _message = json['message'];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['totalRecord'] = _totalRecord;
    map['isSuccess'] = _isSuccess;
    map['errorMesssage'] = _errorMesssage;
    if (_data != null) {
      map['Data'] = _data?.map((v) => v.toJson()).toList();
    }
    map['message'] = _message;
    return map;
  }

}

/// VideoId : 1
/// VideoCatalogId : 0
/// YoutubeVideoId : "eVt98Zez1jI"
/// VietnameseName : "Hí anh em"
/// EnglishName : "Hí anh em"
/// VietnameseSlug : "string"
/// EnglishSlug : "string"
/// VietnameseKeyword : "string"
/// VietnameseDescription : "string"
/// EnglishKeyword : "string"
/// EnglishDescription : "string"
/// VietnameseContent : "string"
/// EnglishContent : "string"
/// IsActive : true
/// IsFeature : true
/// CatalogName : "string"
/// CreateBy : 0
/// CreateName : "string"
/// CreateDate : "2021-09-06T14:28:52.500Z"
/// LastUpdateDate : "2021-09-06T14:28:52.500Z"
/// UpdateName : "string"
/// LastUpdateBy : 0
/// RowNumber : 0

class VideoData {
  int? _videoId;
  int? _videoCatalogId;
  String? _youtubeVideoId;
  String? _vietnameseName;
  String? _thumb;
  String? _englishName;
  String? _vietnameseSlug;
  String? _englishSlug;
  String? _vietnameseKeyword;
  String? _vietnameseDescription;
  String? _englishKeyword;
  String? _englishDescription;
  String? _vietnameseContent;
  String? _englishContent;
  bool? _isActive;
  bool? _isFeature;
  String? _catalogName;
  int? _createBy;
  String? _createName;
  String? _createDate;
  String? _lastUpdateDate;
  String? _updateName;
  int? _lastUpdateBy;
  int? _rowNumber;

  int? get videoId => _videoId;
  int? get videoCatalogId => _videoCatalogId;
  String? get youtubeVideoId => _youtubeVideoId;
  String? get vietnameseName => _vietnameseName;
  String? get thumb => _thumb;
  String? get englishName => _englishName;
  String? get vietnameseSlug => _vietnameseSlug;
  String? get englishSlug => _englishSlug;
  String? get vietnameseKeyword => _vietnameseKeyword;
  String? get vietnameseDescription => _vietnameseDescription;
  String? get englishKeyword => _englishKeyword;
  String? get englishDescription => _englishDescription;
  String? get vietnameseContent => _vietnameseContent;
  String? get englishContent => _englishContent;
  bool? get isActive => _isActive;
  bool? get isFeature => _isFeature;
  String? get catalogName => _catalogName;
  int? get createBy => _createBy;
  String? get createName => _createName;
  String? get createDate => _createDate;
  String? get lastUpdateDate => _lastUpdateDate;
  String? get updateName => _updateName;
  int? get lastUpdateBy => _lastUpdateBy;
  int? get rowNumber => _rowNumber;

  VideoData({
      int? videoId, 
      int? videoCatalogId, 
      String? youtubeVideoId, 
      String? vietnameseName, 
      String? thumb,
      String? englishName,
      String? vietnameseSlug, 
      String? englishSlug, 
      String? vietnameseKeyword, 
      String? vietnameseDescription, 
      String? englishKeyword, 
      String? englishDescription, 
      String? vietnameseContent, 
      String? englishContent, 
      bool? isActive, 
      bool? isFeature, 
      String? catalogName, 
      int? createBy, 
      String? createName, 
      String? createDate, 
      String? lastUpdateDate, 
      String? updateName, 
      int? lastUpdateBy, 
      int? rowNumber}){
    _videoId = videoId;
    _videoCatalogId = videoCatalogId;
    _youtubeVideoId = youtubeVideoId;
    _vietnameseName = vietnameseName;
    _thumb = thumb;
    _englishName = englishName;
    _vietnameseSlug = vietnameseSlug;
    _englishSlug = englishSlug;
    _vietnameseKeyword = vietnameseKeyword;
    _vietnameseDescription = vietnameseDescription;
    _englishKeyword = englishKeyword;
    _englishDescription = englishDescription;
    _vietnameseContent = vietnameseContent;
    _englishContent = englishContent;
    _isActive = isActive;
    _isFeature = isFeature;
    _catalogName = catalogName;
    _createBy = createBy;
    _createName = createName;
    _createDate = createDate;
    _lastUpdateDate = lastUpdateDate;
    _updateName = updateName;
    _lastUpdateBy = lastUpdateBy;
    _rowNumber = rowNumber;
}

  VideoData.fromJson(dynamic json) {
    _videoId = json['VideoId'];
    _videoCatalogId = json['VideoCatalogId'];
    _youtubeVideoId = json['YoutubeVideoId'];
    _vietnameseName = json['VietnameseName'];
    _thumb = json['Thumb'];
    _englishName = json['EnglishName'];
    _vietnameseSlug = json['VietnameseSlug'];
    _englishSlug = json['EnglishSlug'];
    _vietnameseKeyword = json['VietnameseKeyword'];
    _vietnameseDescription = json['VietnameseDescription'];
    _englishKeyword = json['EnglishKeyword'];
    _englishDescription = json['EnglishDescription'];
    _vietnameseContent = json['VietnameseContent'];
    _englishContent = json['EnglishContent'];
    _isActive = json['IsActive'];
    _isFeature = json['IsFeature'];
    _catalogName = json['CatalogName'];
    _createBy = json['CreateBy'];
    _createName = json['CreateName'];
    _createDate = json['CreateDate'];
    _lastUpdateDate = json['LastUpdateDate'];
    _updateName = json['UpdateName'];
    _lastUpdateBy = json['LastUpdateBy'];
    _rowNumber = json['RowNumber'];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['VideoId'] = _videoId;
    map['VideoCatalogId'] = _videoCatalogId;
    map['YoutubeVideoId'] = _youtubeVideoId;
    map['VietnameseName'] = _vietnameseName;
    map['Thumb'] = _thumb;
    map['EnglishName'] = _englishName;
    map['VietnameseSlug'] = _vietnameseSlug;
    map['EnglishSlug'] = _englishSlug;
    map['VietnameseKeyword'] = _vietnameseKeyword;
    map['VietnameseDescription'] = _vietnameseDescription;
    map['EnglishKeyword'] = _englishKeyword;
    map['EnglishDescription'] = _englishDescription;
    map['VietnameseContent'] = _vietnameseContent;
    map['EnglishContent'] = _englishContent;
    map['IsActive'] = _isActive;
    map['IsFeature'] = _isFeature;
    map['CatalogName'] = _catalogName;
    map['CreateBy'] = _createBy;
    map['CreateName'] = _createName;
    map['CreateDate'] = _createDate;
    map['LastUpdateDate'] = _lastUpdateDate;
    map['UpdateName'] = _updateName;
    map['LastUpdateBy'] = _lastUpdateBy;
    map['RowNumber'] = _rowNumber;
    return map;
  }

}