package com.coinbase.api.entity;

import java.io.Serializable;

import org.joda.money.Money;
import org.joda.time.DateTime;

public class Account implements Serializable {
    
    /**
     * 
     */
    private static final long serialVersionUID = 8248810301818113960L;
    private String _id;
    private String _name;
    private Money _balance;
    private Money _nativeBalance;
    private DateTime _createdAt;
    private Boolean _primary;
    private Boolean _active;

    public String getId() {
        return _id;
    }

    public void setId(String id) {
        _id = id;
    }

    public String getName() {
        return _name;
    }

    public void setName(String name) {
        _name = name;
    }

    public Money getBalance() {
        return _balance;
    }

    public void setBalance(Money balance) {
        _balance = balance;
    }

    public Money getNativeBalance() {
        return _nativeBalance;
    }

    public void setNativeBalance(Money nativeBalance) {
        _nativeBalance = nativeBalance;
    }

    public DateTime getCreatedAt() {
        return _createdAt;
    }

    public void setCreatedAt(DateTime createdAt) {
        _createdAt = createdAt;
    }

    public Boolean isPrimary() {
        return _primary;
    }

    public void setPrimary(boolean primary) {
        _primary = primary;
    }

    public Boolean isActive() {
        return _active;
    }

    public void setActive(boolean active) {
        _active = active;
    }

}

@@ -118,16 +118,121 @@
 eTime;%0A%0A
+import com.fasterxml.jackson.annotation.JsonCreator;%0Aimport com.fasterxml.jackson.annotation.JsonValue;%0A%0A
 public c
@@ -274,36 +274,701 @@
 e %7B%0A
+%0A
     
-%0A    /**%0A     * %0A     */
+public enum Type %7B%0A        WALLET(%22wallet%22),%0A        VAULT(%22vault%22),%0A        MULTISIG_VAULT(%22multisig_vault%22),%0A        MULTISIG_WALLET(%22multisig_wallet%22),%0A        FIAT(%22fiat%22);%0A%0A        private String _value;%0A%0A        private Type(String value) %7B%0A            this._value = value;%0A        %7D%0A%0A        @Override%0A        @JsonValue%0A        public String toString() %7B%0A            return this._value;%0A        %7D%0A%0A        @JsonCreator%0A        public static Type create(String val) %7B%0A            for (Type type : Type.values()) %7B%0A                if (type.toString().equalsIgnoreCase(val)) %7B%0A                    return type;%0A                %7D%0A            %7D%0A            return null;%0A        %7D%0A    %7D%0A
 %0A   
@@ -1238,16 +1238,40 @@
 _active;
+%0A    private Type _type;
 %0A%0A    pu
@@ -2275,10 +2275,132 @@
 %0A    %7D%0A%0A
+    public Type getType() %7B%0A        return _type;%0A    %7D%0A%0A    public void setType(Type type) %7B%0A        _type = type;%0A    %7D%0A
 %7D%0A

Add type to Account