/*
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 */
package org.apache.stratos.kubernetes.client.model;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author nirmal
 *
 */
@XmlRootElement
public class ReplicationController {

	private String kind;
	private String id;
	private String creationTimestamp;
	private String selfLink;
	private String apiVersion;
	private Label labels;
	private State desiredState;
	
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCreationTimestamp() {
		return creationTimestamp;
	}
	public void setCreationTimestamp(String creationTimestamp) {
		this.creationTimestamp = creationTimestamp;
	}
	public String getSelfLink() {
		return selfLink;
	}
	public void setSelfLink(String selfLink) {
		this.selfLink = selfLink;
	}
	public Label getLabels() {
		return labels;
	}
	public void setLabels(Label labels) {
		this.labels = labels;
	}
	public State getDesiredState() {
		return desiredState;
	}
	public void setDesiredState(State desiredState) {
		this.desiredState = desiredState;
	}
	
	@Override
	public String toString() {
		return "ReplicationController [kind=" + kind + ", id=" + id
				+ ", creationTimestamp=" + creationTimestamp + ", selfLink="
				+ selfLink + ", labels=" + labels + ", desiredState="
				+ desiredState + "]";
	}
	public String getApiVersion() {
		return apiVersion;
	}
	public void setApiVersion(String apiVersion) {
		this.apiVersion = apiVersion;
	}
	
}

/*
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 */
package org.apache.stratos.kubernetes.client.model;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author nirmal
 *
 */
@XmlRootElement
public class ReplicationController {

	private String kind;
	private String id;
	private int resourceVersion;
	private String creationTimestamp;
	private String selfLink;
	private String apiVersion;
	private Label labels;
	private State desiredState;
	
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCreationTimestamp() {
		return creationTimestamp;
	}
	public void setCreationTimestamp(String creationTimestamp) {
		this.creationTimestamp = creationTimestamp;
	}
	public String getSelfLink() {
		return selfLink;
	}
	public void setSelfLink(String selfLink) {
		this.selfLink = selfLink;
	}
	public Label getLabels() {
		return labels;
	}
	public void setLabels(Label labels) {
		this.labels = labels;
	}
	public State getDesiredState() {
		return desiredState;
	}
	public void setDesiredState(State desiredState) {
		this.desiredState = desiredState;
	}
	
	public String getApiVersion() {
		return apiVersion;
	}
	public void setApiVersion(String apiVersion) {
		this.apiVersion = apiVersion;
	}
	public int getResourceVersion() {
		return resourceVersion;
	}
	public void setResourceVersion(int resourceVersion) {
		this.resourceVersion = resourceVersion;
	}
	@Override
	public String toString() {
		return "ReplicationController [kind=" + kind + ", id=" + id
				+ ", resourceVersion=" + resourceVersion
				+ ", creationTimestamp=" + creationTimestamp + ", selfLink="
				+ selfLink + ", apiVersion=" + apiVersion + ", labels="
				+ labels + ", desiredState=" + desiredState + "]";
	}
	
}

Add resource version to ReplicationController.