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

odata.msgraph.client.entity.request.Fido2AuthenticationMethodConfigurationRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package odata.msgraph.client.entity.request;

import com.fasterxml.jackson.annotation.JsonIgnoreType;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.EntityRequest;
import com.github.davidmoten.odata.client.NameValue;

import java.lang.Object;
import java.lang.String;
import java.util.Optional;

import odata.msgraph.client.entity.Fido2AuthenticationMethodConfiguration;
import odata.msgraph.client.entity.collection.request.AuthenticationMethodTargetCollectionRequest;

@JsonIgnoreType
public class Fido2AuthenticationMethodConfigurationRequest extends EntityRequest {

    public Fido2AuthenticationMethodConfigurationRequest(ContextPath contextPath, Optional value) {
        super(Fido2AuthenticationMethodConfiguration.class, contextPath, value, false);
    }

    public AuthenticationMethodTargetRequest includeTargets(String id) {
        return new AuthenticationMethodTargetRequest(contextPath.addSegment("includeTargets").addKeys(new NameValue(id, String.class)), Optional.empty());
    }

    public AuthenticationMethodTargetCollectionRequest includeTargets() {
        return new AuthenticationMethodTargetCollectionRequest(
                        contextPath.addSegment("includeTargets"), Optional.empty());
    }

}