com.cloudinary.metadata.MetadataRuleCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudinary-core Show documentation
Show all versions of cloudinary-core Show documentation
Cloudinary is a cloud service that offers a solution to a web application's entire image management pipeline. Upload images to the cloud. Automatically perform smart image resizing, cropping and conversion without installing any complex software. Integrate Facebook or Twitter profile image extraction in a snap, in any dimension and style to match your websiteâs graphics requirements. Images are seamlessly delivered through a fast CDN, and much much more. This Java library allows to easily integrate with Cloudinary in Java applications.
The newest version!
package com.cloudinary.metadata;
import java.util.HashMap;
import java.util.Map;
public class MetadataRuleCondition {
String metadata_field_id;
Boolean populated;
Map includes;
String equals;
public MetadataRuleCondition(String metadata_field_id, Boolean populated, Map includes, String equals) {
this.metadata_field_id = metadata_field_id;
this.populated = populated;
this.includes = includes;
this.equals = equals;
}
public String getMetadata_field_id() {
return metadata_field_id;
}
public void setMetadata_field_id(String metadata_field_id) {
this.metadata_field_id = metadata_field_id;
}
public Boolean getPopulated() {
return populated;
}
public void setPopulated(Boolean populated) {
this.populated = populated;
}
public Map getIncludes() {
return includes;
}
public void setIncludes(Map includes) {
this.includes = includes;
}
public String getEquals() {
return equals;
}
public void setEquals(String equals) {
this.equals = equals;
}
public Map asMap() {
Map result = new HashMap(4);
result.put("metadata_field_id", metadata_field_id);
result.put("populated", populated);
result.put("includes", includes);
result.put("equals", equals);
return result;
}
}