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

com.ksyun.api.sdk.kec.model.ModifyImageAttributeRequest Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksyun.api.sdk.kec.model;

import java.io.Serializable;

import com.ksc.KscWebServiceRequest;
import com.ksc.Request;
import com.ksc.model.DryRunSupportedRequest;
import com.ksyun.api.sdk.kec.transform.ModifyImageAttributeRequestMarshaller;

import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString
@EqualsAndHashCode(callSuper = false)
public class ModifyImageAttributeRequest extends KscWebServiceRequest
             implements Serializable, Cloneable, DryRunSupportedRequest{
	
	private static final long serialVersionUID = 1L;
	private String ImageId;
	private String Name;
	
	public ModifyImageAttributeRequest() {
        initParam("com.ksyun.api.sdk.kec.KSC%sClient", "modifyImageAttribute", "kec", "2016-03-04",this.getClass());
    }
	
	 @Override
		public Request getDryRunRequest() {
	    	
	    	Request request = new ModifyImageAttributeRequestMarshaller().marshall(this);
	    	request.addParameter("DryRun", Boolean.toString(true));
			return request;
		}
	
	public String getImageId() {
		return ImageId;
	}
	public void setImageId(String imageId) {
		ImageId = imageId;
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy