com.huawei.openstack4j.openstack.artifact.domain.TemplateImpl Maven / Gradle / Ivy
/*******************************************************************************
* Copyright 2016 ContainX and OpenStack4j
*
* Licensed 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.huawei.openstack4j.openstack.artifact.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.huawei.openstack4j.model.artifact.Template;
/**
* Template implementation model
*
* @author Pavan Vadavi
*/
public class TemplateImpl implements Template {
@JsonProperty("status")
private String status;
@JsonProperty("sha1")
private String sha1;
@JsonProperty("url")
private String url;
@JsonProperty("external")
private Boolean external;
@JsonProperty("content_type")
private String contentType;
@JsonProperty("sha256")
private String sha256;
@JsonProperty("md5")
private String md5;
public String getMd5() {
return md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public String getSha256() {
return sha256;
}
public void setSha256(String sha256) {
this.sha256 = sha256;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public Boolean getExternal() {
return external;
}
public void setExternal(Boolean external) {
this.external = external;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getSha1() {
return sha1;
}
public void setSha1(String sha1) {
this.sha1 = sha1;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}