/** * Copyright 2011 Intuit Inc. All Rights Reserved */ package com.intuit.tank.api.model.v1.user; /* * #%L * User Rest API * %% * Copyright (C) 2011 - 2015 Intuit Inc. * %% * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * #L% */ import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * ProjectTO * * @author dangleton * */ @XmlRootElement(name = "UserCredentials", namespace = Namespace.NAMESPACE_V1) @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "UserCredentials", namespace = Namespace.NAMESPACE_V1, propOrder = { "name", "pass" }) public class UserCredentials implements Serializable { private static final long serialVersionUID = 1L; @XmlElement(name = "name", namespace = Namespace.NAMESPACE_V1, required = true, nillable = false) private String name; @XmlElement(name = "pass", namespace = Namespace.NAMESPACE_V1, required = true, nillable = false) private String pass; /** * */ public UserCredentials() { super(); } /** * @param name * @param pass */ public UserCredentials(String name, String pass) { super(); this.name = name; this.pass = pass; } /** * @return the pass */ public String getPass() { return pass; } /** * @param pass * the pass to set */ public void setPass(String pass) { this.pass = pass; } /** * @return the name */ public String getName() { return name; } /** * @param name * the name to set */ public void setName(String name) { this.name = name; } }