CLASS

# RoomleUser

Contents

  • Properties
    • email
    • firstname
    • lastname
    • wantsNewsletter
public class RoomleUser : NSObject

Representation of an user with all available data. This object is only data transfer object (DTO), therefore you can't execute any additional functions like login or something similar. It is only meant to provide information.

All informations are readonly.

# Properties

# email

public private(set) var email : String

Email of this user.

# firstname

public var firstname : String

First name of this user.

# lastname

public var lastname : String

Last name of this user.

# wantsNewsletter

public var wantsNewsletter : Bool

Indicates if user wants to receive newsletters'.