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

odata.msgraph.client.beta.entity.collection.request.B2xIdentityUserFlowCollectionRequest Maven / Gradle / Ivy

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

import com.github.davidmoten.odata.client.CollectionPageEntityRequest;
import com.github.davidmoten.odata.client.ContextPath;
import com.github.davidmoten.odata.client.NameValue;

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

import odata.msgraph.client.beta.entity.B2xIdentityUserFlow;
import odata.msgraph.client.beta.entity.request.B2xIdentityUserFlowRequest;
import odata.msgraph.client.beta.entity.request.IdentityProviderBaseRequest;
import odata.msgraph.client.beta.entity.request.IdentityProviderRequest;
import odata.msgraph.client.beta.entity.request.IdentityUserFlowAttributeAssignmentRequest;
import odata.msgraph.client.beta.entity.request.UserFlowLanguageConfigurationRequest;

public class B2xIdentityUserFlowCollectionRequest extends CollectionPageEntityRequest{

    protected ContextPath contextPath;

    public B2xIdentityUserFlowCollectionRequest(ContextPath contextPath, Optional value) {
        super(contextPath, B2xIdentityUserFlow.class, cp -> new B2xIdentityUserFlowRequest(cp, Optional.empty()), value);
        this.contextPath = contextPath;
    }

    public IdentityProviderCollectionRequest identityProviders() {
        return new IdentityProviderCollectionRequest(contextPath.addSegment("identityProviders"), Optional.empty());
    }

    public IdentityProviderRequest identityProviders(String id) {
        return new IdentityProviderRequest(contextPath.addSegment("identityProviders").addKeys(new NameValue(id.toString())), Optional.empty());
    }

    public UserFlowLanguageConfigurationCollectionRequest languages() {
        return new UserFlowLanguageConfigurationCollectionRequest(contextPath.addSegment("languages"), Optional.empty());
    }

    public UserFlowLanguageConfigurationRequest languages(String id) {
        return new UserFlowLanguageConfigurationRequest(contextPath.addSegment("languages").addKeys(new NameValue(id.toString())), Optional.empty());
    }

    public IdentityUserFlowAttributeAssignmentCollectionRequest userAttributeAssignments() {
        return new IdentityUserFlowAttributeAssignmentCollectionRequest(contextPath.addSegment("userAttributeAssignments"), Optional.empty());
    }

    public IdentityUserFlowAttributeAssignmentRequest userAttributeAssignments(String id) {
        return new IdentityUserFlowAttributeAssignmentRequest(contextPath.addSegment("userAttributeAssignments").addKeys(new NameValue(id.toString())), Optional.empty());
    }

    public IdentityProviderBaseCollectionRequest userFlowIdentityProviders() {
        return new IdentityProviderBaseCollectionRequest(contextPath.addSegment("userFlowIdentityProviders"), Optional.empty());
    }

    public IdentityProviderBaseRequest userFlowIdentityProviders(String id) {
        return new IdentityProviderBaseRequest(contextPath.addSegment("userFlowIdentityProviders").addKeys(new NameValue(id.toString())), Optional.empty());
    }

}