All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.box.boxjavalibv2.dao.BoxEmail Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.box.boxjavalibv2.dao;

import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Email.
 */
public class BoxEmail extends BoxObject {

    public static final String FIELD_ACCESS = "access";
    public static final String FIELD_EMAIL = "email";

    public BoxEmail() {
    }

    public BoxEmail(BoxEmail obj) {
        super(obj);
    }

    public BoxEmail(Map map) {
        super(map);
    }

    /**
     * @return the access
     */
    @JsonProperty(FIELD_ACCESS)
    public String getAccess() {
        return (String) getValue(FIELD_ACCESS);
    }

    /**
     * @param access
     *            the access to set
     */
    @JsonProperty(FIELD_ACCESS)
    private void setAccess(String access) {
        put(FIELD_ACCESS, access);
    }

    /**
     * @return the email
     */
    @JsonProperty(FIELD_EMAIL)
    public String getEmail() {
        return (String) getValue(FIELD_EMAIL);
    }

    /**
     * @param email
     *            the email to set
     */
    @JsonProperty(FIELD_EMAIL)
    private void setEmail(String email) {
        put(FIELD_EMAIL, email);
    }

    public BoxEmail(IBoxParcelWrapper in) {
        super(in);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy