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

com.pulumi.azurenative.apimanagement.enums.ContentFormat Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.apimanagement.enums;

import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;

    /**
     * Format of the Content in which the API is getting imported.
     * 
     */
    @EnumType
    public enum ContentFormat {
        /**
         * The contents are inline and Content type is a WADL document.
         * 
         */
        Wadlxml("wadl-xml"),
        /**
         * The WADL document is hosted on a publicly accessible internet address.
         * 
         */
        Wadllinkjson("wadl-link-json"),
        /**
         * The contents are inline and Content Type is a OpenAPI 2.0 JSON Document.
         * 
         */
        Swaggerjson("swagger-json"),
        /**
         * The OpenAPI 2.0 JSON document is hosted on a publicly accessible internet address.
         * 
         */
        Swaggerlinkjson("swagger-link-json"),
        /**
         * The contents are inline and the document is a WSDL/Soap document.
         * 
         */
        Wsdl("wsdl"),
        /**
         * The WSDL document is hosted on a publicly accessible internet address.
         * 
         */
        Wsdllink("wsdl-link"),
        /**
         * The contents are inline and Content Type is a OpenAPI 3.0 YAML Document.
         * 
         */
        Openapi("openapi"),
        /**
         * The contents are inline and Content Type is a OpenAPI 3.0 JSON Document.
         * 
         */
        Openapi_json("openapi+json"),
        /**
         * The OpenAPI 3.0 YAML document is hosted on a publicly accessible internet address.
         * 
         */
        Openapilink("openapi-link"),
        /**
         * The OpenAPI 3.0 JSON document is hosted on a publicly accessible internet address.
         * 
         */
        Openapi_jsonlink("openapi+json-link"),
        /**
         * The GraphQL API endpoint hosted on a publicly accessible internet address.
         * 
         */
        Graphqllink("graphql-link");

        private final String value;

        ContentFormat(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public java.lang.String toString() {
            return new StringJoiner(", ", "ContentFormat[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy