/// FullName : "string"
/// Email : "string"
/// PhoneNumber : "string"
/// ShippingName : "string"
/// ShippingPhone : "string"
/// ShippingAddress : "string"
/// ShippingAddress2 : "string"
/// ShippingWardId : 0
/// ShippingCityId : 0
/// ShippingDistrictId : 0
/// RefrencesCode : "string"
/// DeviceToken : "string"
/// UserToken : "string"

class UpdateUserRequest {
  String? _fullName;
  String? _email;
  String? _phoneNumber;
  String? _shippingName;
  String? _shippingPhone;
  String? _shippingAddress;
  String? _shippingAddress2;
  int? _shippingWardId;
  int? _shippingCityId;
  int? _shippingDistrictId;
  String? _refrencesCode;
  String? _deviceToken;
  String? _userToken;

  String? get fullName => _fullName;
  String? get email => _email;
  String? get phoneNumber => _phoneNumber;
  String? get shippingName => _shippingName;
  String? get shippingPhone => _shippingPhone;
  String? get shippingAddress => _shippingAddress;
  String? get shippingAddress2 => _shippingAddress2;
  int? get shippingWardId => _shippingWardId;
  int? get shippingCityId => _shippingCityId;
  int? get shippingDistrictId => _shippingDistrictId;
  String? get refrencesCode => _refrencesCode;
  String? get deviceToken => _deviceToken;
  String? get userToken => _userToken;

  UpdateUserRequest({
      String? fullName, 
      String? email, 
      String? phoneNumber, 
      String? shippingName, 
      String? shippingPhone, 
      String? shippingAddress, 
      String? shippingAddress2, 
      int? shippingWardId, 
      int? shippingCityId, 
      int? shippingDistrictId, 
      String? refrencesCode, 
      String? deviceToken, 
      String? userToken}){
    _fullName = fullName;
    _email = email;
    _phoneNumber = phoneNumber;
    _shippingName = shippingName;
    _shippingPhone = shippingPhone;
    _shippingAddress = shippingAddress;
    _shippingAddress2 = shippingAddress2;
    _shippingWardId = shippingWardId;
    _shippingCityId = shippingCityId;
    _shippingDistrictId = shippingDistrictId;
    _refrencesCode = refrencesCode;
    _deviceToken = deviceToken;
    _userToken = userToken;
}

  UpdateUserRequest.fromJson(dynamic json) {
    _fullName = json['FullName'];
    _email = json['Email'];
    _phoneNumber = json['PhoneNumber'];
    _shippingName = json['ShippingName'];
    _shippingPhone = json['ShippingPhone'];
    _shippingAddress = json['ShippingAddress'];
    _shippingAddress2 = json['ShippingAddress2'];
    _shippingWardId = json['ShippingWardId'];
    _shippingCityId = json['ShippingCityId'];
    _shippingDistrictId = json['ShippingDistrictId'];
    _refrencesCode = json['RefrencesCode'];
    _deviceToken = json['DeviceToken'];
    _userToken = json['UserToken'];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['FullName'] = _fullName;
    map['Email'] = _email;
    map['PhoneNumber'] = _phoneNumber;
    map['ShippingName'] = _shippingName;
    map['ShippingPhone'] = _shippingPhone;
    map['ShippingAddress'] = _shippingAddress;
    map['ShippingAddress2'] = _shippingAddress2;
    map['ShippingWardId'] = _shippingWardId;
    map['ShippingCityId'] = _shippingCityId;
    map['ShippingDistrictId'] = _shippingDistrictId;
    map['RefrencesCode'] = _refrencesCode;
    map['DeviceToken'] = _deviceToken;
    map['UserToken'] = _userToken;
    return map;
  }

}