package com.contentful.java.lib;

/**
 * Library constants.
 */
public class Constants {
    public enum CDAResourceType {
        Asset,
        ContentType,
        DeletedAsset,
        DeletedEntry,
        Entry,
        Link,
        Space
    }

    // HTTP constants
    public static final String SCHEME_HTTP = "http";
    public static final String SCHEME_HTTPS = "https";
    public static final String HTTP_HEADER_USER_AGENT = "User-Agent";
    public static final String HTTP_HEADER_AUTH = "Authorization";
    public static final String HTTP_OAUTH_PATTERN = "Bearer %s";

    // Configuration
    public static final String VERSION_NAME = "1.0";
    public static final String CDA_SERVER_HOSTNAME = "cdn.contentful.com";
    public static final String CDA_SERVER_URI = String.format("%s://%s", SCHEME_HTTPS, CDA_SERVER_HOSTNAME);
    public static final String CDA_SERVER_URI_NOSSL = String.format("%s://%s", SCHEME_HTTP, CDA_SERVER_HOSTNAME);
    public static final String DEFAULT_LOCALE = "en-US";

    // Idle thread name
    public static final String IDLE_THREAD_NAME = "Contentful-Idle";

    // Resource types
    public static final String PATH_ASSETS = "assets";
    public static final String PATH_ENTRIES = "entries";
}

@@ -93,16 +93,23 @@
  public 
+static 
 enum CDA
@@ -253,16 +253,217 @@
 %0A    %7D%0A%0A
+    public static enum CDAFieldType %7B%0A        Array,%0A        Boolean,%0A        Date,%0A        Integer,%0A        Link,%0A        Location,%0A        Number,%0A        Object,%0A        Symbol,%0A        Text%0A    %7D%0A%0A
     // H

Add `CDAFieldType` enum to `Constants` class. Resolves #16