All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.woorea.openstack.nova.model.Service Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (C) 2016 AT&T Intellectual Property. All rights reserved. This code is licensed under the Apache License, Version 2.0
 *******************************************************************************/

package com.woorea.openstack.nova.model;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

/**
 * Model for Service
 *
 */
@JsonRootName("service")
public class Service implements Serializable {

    private String status;
    private String binary;
    private String zone;
    private String state;
    private String host;
    
    @JsonProperty("updated_at")
    private String updatedAt;
    
    @JsonProperty("disabled_reason")
    private String disabledReason;
    
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBinary() {
        return binary;
    }

    public void setBinary(String binary) {
        this.binary = binary;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public String getState() {
    	return state;
    }
    
    public void setState(String state) {
        this.state = state;
    }

    public String getHost() {
    	return host;
    }
    
    public void setHost(String host) {
        this.host = host;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getDisabledReason() {
        return disabledReason;
    }

    public void setDisabledReason(String disabledReason) {
        this.disabledReason = disabledReason;
    }
    
    @Override
    public String toString() {
        return "Service {"
        + "host='" + host
        + ", state='" + state
        + ", status='" + status
        + ", zone='" + zone
        + ", binary='" + binary
        + ", updated_at='" + updatedAt
        + ", disabled_reason='" + disabledReason
        + '}';
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy