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

com.azure.maps.traffic.implementation.models.ResponseFormat Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.maps.traffic.implementation.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for ResponseFormat. */
public final class ResponseFormat extends ExpandableStringEnum {
    /** Static value json for ResponseFormat. */
    public static final ResponseFormat JSON = fromString("json");

    /** Static value xml for ResponseFormat. */
    public static final ResponseFormat XML = fromString("xml");

    /**
     * Creates or finds a ResponseFormat from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ResponseFormat.
     */
    @JsonCreator
    public static ResponseFormat fromString(String name) {
        return fromString(name, ResponseFormat.class);
    }

    /**
     * Gets known ResponseFormat values.
     *
     * @return known ResponseFormat values.
     */
    public static Collection values() {
        return values(ResponseFormat.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy