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

com.citrix.sharefile.api.models.SFODataObject Maven / Gradle / Ivy


// ------------------------------------------------------------------------------
// 
//     This code was generated by a tool.
//  
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
//     
//	   Copyright (c) 2017 Citrix ShareFile. All rights reserved.
// 
// ------------------------------------------------------------------------------

package com.citrix.sharefile.api.models;

import java.io.InputStream;
import java.util.ArrayList;
import java.net.URI;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;

import com.google.gson.annotations.SerializedName;
import com.citrix.sharefile.api.*;
import com.citrix.sharefile.api.enumerations.*;
import com.citrix.sharefile.api.models.*;

public class SFODataObject extends Object {

	@SerializedName("odata.metadata")
	private String MetadataUrl;
	@SerializedName("odata.type")
	private String __type;
	@SerializedName("Id")
	private String Id;
	@SerializedName("url")
	private URI url;
	@SerializedName("Properties")
	private Map Properties;

		/**
		* ODATA Metadata information about the model instance
		*/
	public String getMetadataUrl() {
		return this.MetadataUrl;
	}

		/**
		* ODATA Metadata information about the model instance
		*/
	public void setMetadataUrl(String metadataurl) {
		this.MetadataUrl = metadataurl;
	}
	public String get__type() {
		return this.__type;
	}

	public void set__type(String __type) {
		this.__type = __type;
	}
		/**
		* Object Identifier
		*/
	public String getId() {
		return this.Id;
	}

		/**
		* Object Identifier
		*/
	public void setId(String id) {
		this.Id = id;
	}
	public URI geturl() {
		return this.url;
	}

	public void seturl(URI url) {
		this.url = url;
	}
	public Map getProperties() {
		return this.Properties;
	}

	public void setProperties(Map properties) {
		this.Properties = properties;
	}

		public void addProperty(String key, Object value) {
			if(value == null) return;
			
			if(Properties == null) {
				this.Properties = new HashMap();
			}

			this.Properties.put(key, value.toString());
		}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy