package com.messagebird.objects;

import com.messagebird.objects.PhoneNumberFeature;

import java.util.EnumSet;

public class PhoneNumber {
    private String number;
    private String country;
    private String region;
    private String locality;
    private EnumSet<PhoneNumberFeature> features;
    private String type;

    public String getNumber() {
        return this.number;
    }

    public String getCountry() {
        return this.country;
    }

    public String getRegion() {
        return this.region;
    }

    public String getLocality() {
        return this.locality;
    }

    public EnumSet<PhoneNumberFeature> getFeatures() {
        return this.features;
    }

    public String getType() {
        return this.type;
    }

    @Override
    public String toString() {
        return "PhoneNumber{" +
            "number='" + number + "\'" +
            ", country='" + country + "\'" +
            ", region='" + region + "\'" +
            ", locality='" + locality + "\'" +
            ", features=" + features +
            ", type='" + type + "\'" +
            "}";
    }
}

@@ -104,16 +104,39 @@
 EnumSet;
+%0Aimport java.util.List;
 %0A%0Apublic
@@ -341,16 +341,47 @@
 ng type;
+%0A    private List%3CString%3E tags;
 %0A%0A    pu
@@ -799,24 +799,93 @@
 ype;%0A    %7D%0A%0A
+    public List%3CString%3E getTags() %7B%0A        return this.tags;%0A    %7D%0A%0A
     @Overrid
@@ -1117,32 +1117,32 @@
 cality + %22%5C'%22 +%0A
-
             %22, f
@@ -1164,16 +1164,47 @@
 tures +%0A
+            %22, tags=%22 + tags +%0A
         

add tags to phone number