/*
 *
 * 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 com.github.kubernetes.java.client.model;

import javax.xml.bind.annotation.XmlRootElement;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * @author github
 *
 */
@XmlRootElement
@JsonIgnoreProperties(ignoreUnknown=true)
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;
	}
	
	@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;
	}
    public int getResourceVersion() {
        return resourceVersion;
    }
    public void setResourceVersion(int resourceVersion) {
        this.resourceVersion = resourceVersion;
    }
	
}

@@ -1329,16 +1329,48 @@
 dState;%0A
+    private State currentState;%0A
 %09%0A%09publi
@@ -2133,16 +2133,88 @@
 ate;%0A%09%7D%0A
+    public State getCurrentState() %7B%0A        return currentState;%0A    %7D%0A
 %09%0A%09@Over

Add getCurrentStatus to ReplicationController