package com.bocloud.cmp.model.horizon;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * VMware.Hv.UserAssignment
 * 
 * @author HP
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VmwareHorizonDesktopUserAssignment {

	/**
	 * User assignment scheme. This property cannot be updated. This property will
	 * be one of: "DEDICATED" With dedicated assignment, a user returns to the same
	 * machine at each session. "FLOATING" With floating assignment, a user may
	 * return to one of the available virtual machines for the next session.
	 */
	private String userAssignment;
	/**
	 * Automatic assignment of a user the first time they access the machine. This
	 * property has a default value of true. This property need not be set. This
	 * property is required if userAssignment is set to "DEDICATED".
	 */
	private Boolean automaticAssignment;
	/**
	 * Whether assignment of multiple users to a single machine is allowed. This is
	 * only applicable for dedicated pools (except Linked Clone pools) with manual
	 * user assignment. If this is true then automaticAssignment should be false.
	 * Since Horizon 7.12 This property has a default value of false. This property
	 * need not be set.
	 */
	private Boolean allowMultipleAssignments;
}
