com.ning.api.client.item.NetworkField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ning-api-java Show documentation
Show all versions of ning-api-java Show documentation
Java client library for accessing Ning external API
package com.ning.api.client.item;
import java.net.URI;
import org.joda.time.ReadableDateTime;
public enum NetworkField implements Typed
{
// First id/automatically included standard fields:
id(Key.class),
author(String.class),
createdDate(ReadableDateTime.class),
subdomain(String.class),
name(XapiStatus.class),
xapiStatus(String.class), // enumerated, really
iconUrl(URI.class),
defaultUserIconUrl(URI.class),
blogPostModeration(Boolean.class),
eventModeration(Boolean.class),
groupModeration(Boolean.class),
photoModeration(Boolean.class),
userModeration(Boolean.class),
videoModeration(Boolean.class),
// sub-properties?
// author.xxx, image.xxx
;
private final Class> valueType;
private NetworkField(Class> valueType) {
this.valueType = valueType;
}
public Class> type() { return valueType; }
}