app / com.ocean.ishareeconomy_android.models / LendingObject / <init>

<init>

LendingObject(id: String, name: String, description: String, type: String, owner: ObjectOwner, user: ObjectUser?, waitingList: List<ObjectUser> = emptyList())

creates a LendingObject that extend Serializable for onSafeInstance

Parameters

id - the LendingObject's id

name - the name of the LendingObject

description - a short description text

type - a representing String the LendObjectType

owner - refers to the User that is the LendingObject's owner

user - refers to User that is the LendingObject's current user

waitingList - a List<User> that is the LendingObject's future users

Constructor
creates a LendingObject that extend Serializable for onSafeInstance