com.microsoft.kiota.http.middleware.options.ParametersNameDecodingOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft-kiota-http-okHttp Show documentation
Show all versions of microsoft-kiota-http-okHttp Show documentation
Microsoft Kiota-Http with okHttp
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;
}
}