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

com.microsoft.kiota.http.middleware.options.ParametersNameDecodingOption Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package com.microsoft.kiota.http.middleware.options;

import com.microsoft.kiota.RequestOption;

import jakarta.annotation.Nonnull;

/** The ParametersEncodingOption request class */
public class ParametersNameDecodingOption implements RequestOption {
    /** Creates a new instance of the ParametersEncodingOption request class */
    public ParametersNameDecodingOption() {}

    /** Whether to decode the specified characters in the request query parameters names */
    public boolean enable = true;

    /** The list of characters to decode in the request query parameters names before executing the request */
    @Nonnull public char[] parametersToDecode = {'-', '.', '~', '$'};

    /** {@inheritDoc} */
    @SuppressWarnings("unchecked")
    @Override
    @Nonnull public  Class getType() {
        return (Class) ParametersNameDecodingOption.class;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy