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

microsoft.dynamics.crm.entity.request.BooleanAttributeMetadataRequest Maven / Gradle / Ivy

The newest version!
package microsoft.dynamics.crm.entity.request;

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

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

import microsoft.dynamics.crm.entity.BooleanAttributeMetadata;

@JsonIgnoreType
public class BooleanAttributeMetadataRequest extends EntityRequest {

    public BooleanAttributeMetadataRequest(ContextPath contextPath, Optional value) {
        super(BooleanAttributeMetadata.class, contextPath, value, false);
    }

    public BooleanOptionSetMetadataRequest optionSet() {
        return new BooleanOptionSetMetadataRequest(contextPath.addSegment("OptionSet"), Optional.empty());
    }

    public BooleanOptionSetMetadataRequest globalOptionSet() {
        return new BooleanOptionSetMetadataRequest(contextPath.addSegment("GlobalOptionSet"), Optional.empty());
    }

}