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

microsoft.vs.analytics.v4.model.entity.request.WorkItemBoardSnapshotRequest Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package microsoft.vs.analytics.v4.model.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.Integer;
import java.lang.Object;
import java.util.Optional;

import microsoft.vs.analytics.v4.model.entity.WorkItemBoardSnapshot;
import microsoft.vs.analytics.v4.model.entity.collection.request.TagCollectionRequest;

@JsonIgnoreType
public class WorkItemBoardSnapshotRequest extends EntityRequest {

    public WorkItemBoardSnapshotRequest(ContextPath contextPath, Optional value) {
        super(WorkItemBoardSnapshot.class, contextPath, value, false);
    }

    public CalendarDateRequest date() {
        return new CalendarDateRequest(contextPath.addSegment("Date"), Optional.empty());
    }

    public BoardLocationRequest boardLocation() {
        return new BoardLocationRequest(contextPath.addSegment("BoardLocation"), Optional.empty());
    }

    public TeamRequest team() {
        return new TeamRequest(contextPath.addSegment("Team"), Optional.empty());
    }

    public ProjectRequest project() {
        return new ProjectRequest(contextPath.addSegment("Project"), Optional.empty());
    }

    public AreaRequest area() {
        return new AreaRequest(contextPath.addSegment("Area"), Optional.empty());
    }

    public IterationRequest iteration() {
        return new IterationRequest(contextPath.addSegment("Iteration"), Optional.empty());
    }

    public UserRequest assignedTo() {
        return new UserRequest(contextPath.addSegment("AssignedTo"), Optional.empty());
    }

    public UserRequest changedBy() {
        return new UserRequest(contextPath.addSegment("ChangedBy"), Optional.empty());
    }

    public UserRequest createdBy() {
        return new UserRequest(contextPath.addSegment("CreatedBy"), Optional.empty());
    }

    public UserRequest activatedBy() {
        return new UserRequest(contextPath.addSegment("ActivatedBy"), Optional.empty());
    }

    public UserRequest closedBy() {
        return new UserRequest(contextPath.addSegment("ClosedBy"), Optional.empty());
    }

    public UserRequest resolvedBy() {
        return new UserRequest(contextPath.addSegment("ResolvedBy"), Optional.empty());
    }

    public TagCollectionRequest tags() {
        return new TagCollectionRequest(
                        contextPath.addSegment("Tags"), Optional.empty());
    }

    public TagRequest tags(Integer tagSK) {
        return new TagRequest(contextPath.addSegment("Tags").addKeys(new NameValue(tagSK.toString())), Optional.empty());
    }

    public CalendarDateRequest changedOn() {
        return new CalendarDateRequest(contextPath.addSegment("ChangedOn"), Optional.empty());
    }

    public CalendarDateRequest closedOn() {
        return new CalendarDateRequest(contextPath.addSegment("ClosedOn"), Optional.empty());
    }

    public CalendarDateRequest createdOn() {
        return new CalendarDateRequest(contextPath.addSegment("CreatedOn"), Optional.empty());
    }

    public CalendarDateRequest resolvedOn() {
        return new CalendarDateRequest(contextPath.addSegment("ResolvedOn"), Optional.empty());
    }

    public CalendarDateRequest stateChangeOn() {
        return new CalendarDateRequest(contextPath.addSegment("StateChangeOn"), Optional.empty());
    }

    public CalendarDateRequest inProgressOn() {
        return new CalendarDateRequest(contextPath.addSegment("InProgressOn"), Optional.empty());
    }

    public CalendarDateRequest completedOn() {
        return new CalendarDateRequest(contextPath.addSegment("CompletedOn"), Optional.empty());
    }

    public UserRequest microsoft_VSTS_CodeReview_AcceptedBy() {
        return new UserRequest(contextPath.addSegment("Microsoft_VSTS_CodeReview_AcceptedBy"), Optional.empty());
    }

    public UserRequest microsoft_VSTS_Common_ReviewedBy() {
        return new UserRequest(contextPath.addSegment("Microsoft_VSTS_Common_ReviewedBy"), Optional.empty());
    }

}