/*
* Copyright 2014 Sonoport (Asia) Pte Ltd
*
* 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.sonoport.freesound.response;
import java.util.Date;
/**
* Representation of a freesound.org sound pack.
*/
public class Pack {
/** The unique identifier of this pack. */
private int id;
/** The URI for this pack on the Freesound website. */
private String url;
/** The description the user gave to the pack (if any). */
private String description;
/** The date when the pack was created. */
private Date created;
/** The name user gave to the pack. */
private String name;
/** Username of the creator of the pack. */
private String username;
/** The number of sounds in the pack. */
private int numberOfSounds;
/** The URI for a list of sounds in the pack. */
private String soundsURI;
/** The number of times this pack has been downloaded. */
private int numberOfDownloads;
/**
* @return the id
*/
public int getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(final int id) {
this.id = id;
}
/**
* @return the url
*/
public String getUrl() {
return url;
}
/**
* @param url the url to set
*/
public void setUrl(final String url) {
this.url = url;
}
/**
* @return the description
*/
public String getDescription() {
return description;
}
/**
* @param description the description to set
*/
public void setDescription(final String description) {
this.description = description;
}
/**
* @return the created
*/
public Date getCreated() {
return created;
}
/**
* @param created the created to set
*/
public void setCreated(final Date created) {
this.created = created;
}
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name the name to set
*/
public void setName(final String name) {
this.name = name;
}
/**
* @return the username
*/
public String getUsername() {
return username;
}
/**
* @param username the username to set
*/
public void setUsername(final String username) {
this.username = username;
}
/**
* @return the numberOfSounds
*/
public int getNumberOfSounds() {
return numberOfSounds;
}
/**
* @param numberOfSounds the numberOfSounds to set
*/
public void setNumberOfSounds(final int numberOfSounds) {
this.numberOfSounds = numberOfSounds;
}
/**
* @return the numberOfDownloads
*/
public int getNumberOfDownloads() {
return numberOfDownloads;
}
/**
* @param numberOfDownloads the numberOfDownloads to set
*/
public void setNumberOfDownloads(final int numberOfDownloads) {
this.numberOfDownloads = numberOfDownloads;
}
/**
* @return the soundsURI
*/
public String getSoundsURI() {
return soundsURI;
}
/**
* @param soundsURI the soundsURI to set
*/
public void setSoundsURI(final String soundsURI) {
this.soundsURI = soundsURI;
}
}