/*******************************************************************************
Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved.
Licensed under the MIT or Apache License; see LICENSE in the source repository
root for authoritative license information.
**NOTE** This code was generated by a tool and will occasionally be
overwritten. We welcome comments and issues regarding this code; they will be
addressed in the generation tool. If you wish to submit pull requests, please
do so for the templates in that tool.
This code was generated by Vipr (https://github.com/microsoft/vipr) using
the T4TemplateWriter (https://github.com/msopentech/vipr-t4templatewriter).
******************************************************************************/
package com.microsoft.services.onenote;
import com.microsoft.services.orc.core.ODataBaseEntity;
/**
* The type Resource.
*/
public class Resource extends ODataBaseEntity {
public Resource(){
setODataType("#Microsoft.OneNote.Api.Resource");
}
private String id;
/**
* Gets the id.
*
* @return the String
*/
public String getId() {
return this.id;
}
/**
* Sets the id.
*
* @param value the String
*/
public void setId(String value) {
this.id = value;
valueChanged("id", value);
}
private String self;
/**
* Gets the self.
*
* @return the String
*/
public String getSelf() {
return this.self;
}
/**
* Sets the self.
*
* @param value the String
*/
public void setSelf(String value) {
this.self = value;
valueChanged("self", value);
}
private byte[] content;
/**
* Gets the content.
*
* @return the byte[]
*/
public byte[] getContent() {
return this.content;
}
/**
* Sets the content.
*
* @param value the byte[]
*/
public void setContent(byte[] value) {
this.content = value;
valueChanged("content", value);
}
private String contentUrl;
/**
* Gets the content Url.
*
* @return the String
*/
public String getContentUrl() {
return this.contentUrl;
}
/**
* Sets the content Url.
*
* @param value the String
*/
public void setContentUrl(String value) {
this.contentUrl = value;
valueChanged("contentUrl", value);
}
}