RegistrationInput

open class RegistrationInput
    
    /*
     ["authToken": self.appd.authToken,"email":self.getEmail,"password":self.getPwd,"name":self.getName,"custom_country":self.getCountry,"custom_languages":self.getLang, "device_id":deviceID,"google_id":self.token,"device_type":"2"
     */

This Model Class Holds All The Input Attributes For RegistrationInputAsynTask

  • Indicates the unique identification to enter the muvi studio

    Declaration

    Swift

    open var authToken: String?
  • Indicates the email Id for register user

    Declaration

    Swift

    open var email: String?
  • Indicates the password for authenticate user

    Declaration

    Swift

    open var password: String?
  • Indicates the user name for register user

    Declaration

    Swift

    open var username:String?
  • Indicates the language code which is provided by web api

    Declaration

    Swift

    open var language:String?
  • Indicates the country code which is provided by web api

    Declaration

    Swift

    open var country: String?
  • Indicates the unique identification of the device

    Declaration

    Swift

    open var deviceId: String?
  • Indicates the FCM Id

    Declaration

    Swift

    open var googleId: String?
  • Indicates the deviceType for check the type of device (ex- Android,iOS)

    Declaration

    Swift

    open var deviceType: String?
  • Initializer method to create a new object for RegistrationInput class

    • authToken: The unque identification of the studio
    • email: Email id of the user
    • password: Set by the user
    • username: Name of the user
    • language: Set the laguage which is provied by web service (Ex - en, hi)
    • country: Ser the curernt country
    • deviceId: Unique identification of the device(UDID)
    • googleId: FCM Id used for push notification
    • deviceType: Identify the type of device(iOS, Android). Set 2 for the iOS and 1 for the Android.

    Declaration

    Swift

    public init(authToken:String,email:String, password:String,username:String,language:String, country:String, deviceId:String, googleId:String,deviceType:String)

    Parameters

    authToken

    The unque identification of the studio

    email

    Email id of the user

    password

    Set by the user

    username

    Name of the user

    language

    Set the laguage which is provied by web service (Ex - en, hi)

    country

    Ser the curernt country

    deviceId

    Unique identification of the device(UDID)

    googleId

    FCM Id used for push notification

    deviceType

    Identify the type of device(iOS, Android). Set 2 for the iOS and 1 for the Android.