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

com.microsoft.bingads.v13.bulk.entities.Status Maven / Gradle / Ivy

Go to download

The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.

There is a newer version: 13.0.22.1
Show newest version
package com.microsoft.bingads.v13.bulk.entities;

/**
 * Provides possible status values for bulk entities.
 */
public enum Status {

    /**
     * The bulk entity is associated with the entity identified by the bulk
     * record's 'Parent Id'.
     */
    ACTIVE("Active"),
    /**
     * The bulk entity is not associated with the entity identified by the bulk
     * record's 'Parent Id'. In a bulk upload file, you can use this value to
     * delete the association of an entity from the parent entity.
     */
    DELETED("Deleted");

    private final String value;

    Status(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static Status fromValue(String v) {
        for (Status c : Status.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy