// GENERATED SOURCE. DO NOT EDIT.
package com.google.collide.dto.client;



@SuppressWarnings({"cast"})
public class DtoClientImpls {

  private  DtoClientImpls() {}

  public static final String CLIENT_SERVER_PROTOCOL_HASH = "33a27a91649a05ca880aa1d86554d053a6752e9c";


  public static class AddMembersResponseImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.AddMembersResponse {
    protected AddMembersResponseImpl() {}

    @Override
    public final native com.google.collide.json.shared.JsonArray<java.lang.String> getInvalidEmails() /*-{
      return this["invalidEmails"];
    }-*/;

    public final native AddMembersResponseImpl setInvalidEmails(com.google.collide.json.client.JsoArray<java.lang.String> invalidEmails) /*-{
      this["invalidEmails"] = invalidEmails;
      return this;
    }-*/;

    public final native boolean hasInvalidEmails() /*-{
      return this.hasOwnProperty("invalidEmails");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<com.google.collide.dto.UserDetailsWithRole> getNewMembers() /*-{
      return this["newMembers"];
    }-*/;

    public final native AddMembersResponseImpl setNewMembers(com.google.collide.json.client.JsoArray<com.google.collide.dto.UserDetailsWithRole> newMembers) /*-{
      this["newMembers"] = newMembers;
      return this;
    }-*/;

    public final native boolean hasNewMembers() /*-{
      return this.hasOwnProperty("newMembers");
    }-*/;

  }


  public static class MockAddMembersResponseImpl extends AddMembersResponseImpl {
    protected MockAddMembersResponseImpl() {}

    public static native AddMembersResponseImpl make() /*-{
      return {
        _type: 1
      };
    }-*/;  }


  public static class AddProjectMembersImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.AddProjectMembers {
    protected AddProjectMembersImpl() {}

    @Override
    public final native com.google.collide.dto.ChangeRoleInfo getChangeRoleInfo() /*-{
      return this["changeRoleInfo"];
    }-*/;

    public final native AddProjectMembersImpl setChangeRoleInfo(com.google.collide.dto.ChangeRoleInfo changeRoleInfo) /*-{
      this["changeRoleInfo"] = changeRoleInfo;
      return this;
    }-*/;

    public final native boolean hasChangeRoleInfo() /*-{
      return this.hasOwnProperty("changeRoleInfo");
    }-*/;

    @Override
    public final native java.lang.String getUserEmails() /*-{
      return this["userEmails"];
    }-*/;

    public final native AddProjectMembersImpl setUserEmails(java.lang.String userEmails) /*-{
      this["userEmails"] = userEmails;
      return this;
    }-*/;

    public final native boolean hasUserEmails() /*-{
      return this.hasOwnProperty("userEmails");
    }-*/;

    @Override
    public final native java.lang.String getProjectId() /*-{
      return this["projectId"];
    }-*/;

    public final native AddProjectMembersImpl setProjectId(java.lang.String projectId) /*-{
      this["projectId"] = projectId;
      return this;
    }-*/;

    public final native boolean hasProjectId() /*-{
      return this.hasOwnProperty("projectId");
    }-*/;

    public static native AddProjectMembersImpl make() /*-{
      return {
        _type: 2
      };
    }-*/;  }


  public static class AddWorkspaceMembersImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.AddWorkspaceMembers {
    protected AddWorkspaceMembersImpl() {}

    @Override
    public final native java.lang.String getWorkspaceId() /*-{
      return this["workspaceId"];
    }-*/;

    public final native AddWorkspaceMembersImpl setWorkspaceId(java.lang.String workspaceId) /*-{
      this["workspaceId"] = workspaceId;
      return this;
    }-*/;

    public final native boolean hasWorkspaceId() /*-{
      return this.hasOwnProperty("workspaceId");
    }-*/;

    @Override
    public final native com.google.collide.dto.ChangeRoleInfo getChangeRoleInfo() /*-{
      return this["changeRoleInfo"];
    }-*/;

    public final native AddWorkspaceMembersImpl setChangeRoleInfo(com.google.collide.dto.ChangeRoleInfo changeRoleInfo) /*-{
      this["changeRoleInfo"] = changeRoleInfo;
      return this;
    }-*/;

    public final native boolean hasChangeRoleInfo() /*-{
      return this.hasOwnProperty("changeRoleInfo");
    }-*/;

    @Override
    public final native java.lang.String getUserEmails() /*-{
      return this["userEmails"];
    }-*/;

    public final native AddWorkspaceMembersImpl setUserEmails(java.lang.String userEmails) /*-{
      this["userEmails"] = userEmails;
      return this;
    }-*/;

    public final native boolean hasUserEmails() /*-{
      return this.hasOwnProperty("userEmails");
    }-*/;

    @Override
    public final native java.lang.String getProjectId() /*-{
      return this["projectId"];
    }-*/;

    public final native AddWorkspaceMembersImpl setProjectId(java.lang.String projectId) /*-{
      this["projectId"] = projectId;
      return this;
    }-*/;

    public final native boolean hasProjectId() /*-{
      return this.hasOwnProperty("projectId");
    }-*/;

    public static native AddWorkspaceMembersImpl make() /*-{
      return {
        _type: 3
      };
    }-*/;  }


  public static class BeginUploadSessionImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.BeginUploadSession {
    protected BeginUploadSessionImpl() {}

    @Override
    public final native java.lang.String getWorkspaceId() /*-{
      return this["workspaceId"];
    }-*/;

    public final native BeginUploadSessionImpl setWorkspaceId(java.lang.String workspaceId) /*-{
      this["workspaceId"] = workspaceId;
      return this;
    }-*/;

    public final native boolean hasWorkspaceId() /*-{
      return this.hasOwnProperty("workspaceId");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<java.lang.String> getWorkspacePathsToReplace() /*-{
      return this["workspacePathsToReplace"];
    }-*/;

    public final native BeginUploadSessionImpl setWorkspacePathsToReplace(com.google.collide.json.client.JsoArray<java.lang.String> workspacePathsToReplace) /*-{
      this["workspacePathsToReplace"] = workspacePathsToReplace;
      return this;
    }-*/;

    public final native boolean hasWorkspacePathsToReplace() /*-{
      return this.hasOwnProperty("workspacePathsToReplace");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<java.lang.String> getWorkspacePathsToUnzip() /*-{
      return this["workspacePathsToUnzip"];
    }-*/;

    public final native BeginUploadSessionImpl setWorkspacePathsToUnzip(com.google.collide.json.client.JsoArray<java.lang.String> workspacePathsToUnzip) /*-{
      this["workspacePathsToUnzip"] = workspacePathsToUnzip;
      return this;
    }-*/;

    public final native boolean hasWorkspacePathsToUnzip() /*-{
      return this.hasOwnProperty("workspacePathsToUnzip");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<java.lang.String> getWorkspaceDirsToCreate() /*-{
      return this["workspaceDirsToCreate"];
    }-*/;

    public final native BeginUploadSessionImpl setWorkspaceDirsToCreate(com.google.collide.json.client.JsoArray<java.lang.String> workspaceDirsToCreate) /*-{
      this["workspaceDirsToCreate"] = workspaceDirsToCreate;
      return this;
    }-*/;

    public final native boolean hasWorkspaceDirsToCreate() /*-{
      return this.hasOwnProperty("workspaceDirsToCreate");
    }-*/;

    @Override
    public final native java.lang.String getClientId() /*-{
      return this["clientId"];
    }-*/;

    public final native BeginUploadSessionImpl setClientId(java.lang.String clientId) /*-{
      this["clientId"] = clientId;
      return this;
    }-*/;

    public final native boolean hasClientId() /*-{
      return this.hasOwnProperty("clientId");
    }-*/;

    @Override
    public final native java.lang.String getSessionId() /*-{
      return this["sessionId"];
    }-*/;

    public final native BeginUploadSessionImpl setSessionId(java.lang.String sessionId) /*-{
      this["sessionId"] = sessionId;
      return this;
    }-*/;

    public final native boolean hasSessionId() /*-{
      return this.hasOwnProperty("sessionId");
    }-*/;

    public static native BeginUploadSessionImpl make() /*-{
      return {
        _type: 4
      };
    }-*/;  }


  public static class ChangeRoleInfoImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.ChangeRoleInfo {
    protected ChangeRoleInfoImpl() {}

    @Override
    public final native com.google.collide.dto.Role getRole() /*-{
      return this["role"]? @com.google.collide.dto.Role::valueOf(Ljava/lang/String;)(this["role"]): null;
    }-*/;

    public final native ChangeRoleInfoImpl setRole(com.google.collide.dto.Role role) /*-{
      role = role.@com.google.collide.dto.Role::toString()();
      this["role"] = role;
      return this;
    }-*/;

    public final native boolean hasRole() /*-{
      return this.hasOwnProperty("role");
    }-*/;

    @Override
    public final native boolean emailSelf() /*-{
      return this["emailSelf"];
    }-*/;

    public final native ChangeRoleInfoImpl setEmailSelf(boolean emailSelf) /*-{
      this["emailSelf"] = emailSelf;
      return this;
    }-*/;

    public final native boolean hasEmailSelf() /*-{
      return this.hasOwnProperty("emailSelf");
    }-*/;

    @Override
    public final native boolean emailUsers() /*-{
      return this["emailUsers"];
    }-*/;

    public final native ChangeRoleInfoImpl setEmailUsers(boolean emailUsers) /*-{
      this["emailUsers"] = emailUsers;
      return this;
    }-*/;

    public final native boolean hasEmailUsers() /*-{
      return this.hasOwnProperty("emailUsers");
    }-*/;

    @Override
    public final native java.lang.String getEmailMessage() /*-{
      return this["emailMessage"];
    }-*/;

    public final native ChangeRoleInfoImpl setEmailMessage(java.lang.String emailMessage) /*-{
      this["emailMessage"] = emailMessage;
      return this;
    }-*/;

    public final native boolean hasEmailMessage() /*-{
      return this.hasOwnProperty("emailMessage");
    }-*/;

    public static native ChangeRoleInfoImpl make() /*-{
      return {
        _type: 5
      };
    }-*/;  }


  public static class ClientToServerDocOpImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.ClientToServerDocOp {
    protected ClientToServerDocOpImpl() {}

    @Override
    public final native java.lang.String getWorkspaceId() /*-{
      return this["workspaceId"];
    }-*/;

    public final native ClientToServerDocOpImpl setWorkspaceId(java.lang.String workspaceId) /*-{
      this["workspaceId"] = workspaceId;
      return this;
    }-*/;

    public final native boolean hasWorkspaceId() /*-{
      return this.hasOwnProperty("workspaceId");
    }-*/;

    @Override
    public final native java.lang.String getFileEditSessionKey() /*-{
      return this["fileEditSessionKey"];
    }-*/;

    public final native ClientToServerDocOpImpl setFileEditSessionKey(java.lang.String fileEditSessionKey) /*-{
      this["fileEditSessionKey"] = fileEditSessionKey;
      return this;
    }-*/;

    public final native boolean hasFileEditSessionKey() /*-{
      return this.hasOwnProperty("fileEditSessionKey");
    }-*/;

    @Override
    public final native com.google.collide.dto.DocumentSelection getSelection() /*-{
      return this["selection"];
    }-*/;

    public final native ClientToServerDocOpImpl setSelection(com.google.collide.dto.DocumentSelection selection) /*-{
      this["selection"] = selection;
      return this;
    }-*/;

    public final native boolean hasSelection() /*-{
      return this.hasOwnProperty("selection");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<java.lang.String> getDocOps2() /*-{
      return this["docOps2"];
    }-*/;

    public final native ClientToServerDocOpImpl setDocOps2(com.google.collide.json.client.JsoArray<java.lang.String> docOps2) /*-{
      this["docOps2"] = docOps2;
      return this;
    }-*/;

    public final native boolean hasDocOps2() /*-{
      return this.hasOwnProperty("docOps2");
    }-*/;

    @Override
    public final native int getCcRevision() /*-{
      return this["ccRevision"];
    }-*/;

    public final native ClientToServerDocOpImpl setCcRevision(int ccRevision) /*-{
      this["ccRevision"] = ccRevision;
      return this;
    }-*/;

    public final native boolean hasCcRevision() /*-{
      return this.hasOwnProperty("ccRevision");
    }-*/;

    @Override
    public final native java.lang.String getClientId() /*-{
      return this["clientId"];
    }-*/;

    public final native ClientToServerDocOpImpl setClientId(java.lang.String clientId) /*-{
      this["clientId"] = clientId;
      return this;
    }-*/;

    public final native boolean hasClientId() /*-{
      return this.hasOwnProperty("clientId");
    }-*/;

    public static native ClientToServerDocOpImpl make() /*-{
      return {
        _type: 6
      };
    }-*/;  }


  public static class CodeBlockImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.CodeBlock {
    protected CodeBlockImpl() {}

    @Override
    public final native java.lang.String getId() /*-{
      return this[0];
    }-*/;

    public final native CodeBlockImpl setId(java.lang.String id) /*-{
      this[0] = id;
      return this;
    }-*/;

    public final native boolean hasId() /*-{
      return this.hasOwnProperty(0);
    }-*/;

    @Override
    public final native int getBlockType() /*-{
      return this[1];
    }-*/;

    public final native CodeBlockImpl setBlockType(int blockType) /*-{
      this[1] = blockType;
      return this;
    }-*/;

    public final native boolean hasBlockType() /*-{
      return this.hasOwnProperty(1);
    }-*/;

    @Override
    public final native int getEndColumn() /*-{
      return this[2];
    }-*/;

    public final native CodeBlockImpl setEndColumn(int endColumn) /*-{
      this[2] = endColumn;
      return this;
    }-*/;

    public final native boolean hasEndColumn() /*-{
      return this.hasOwnProperty(2);
    }-*/;

    @Override
    public final native int getEndLineNumber() /*-{
      return this[3];
    }-*/;

    public final native CodeBlockImpl setEndLineNumber(int endLineNumber) /*-{
      this[3] = endLineNumber;
      return this;
    }-*/;

    public final native boolean hasEndLineNumber() /*-{
      return this.hasOwnProperty(3);
    }-*/;

    @Override
    public final native java.lang.String getName() /*-{
      return this[4];
    }-*/;

    public final native CodeBlockImpl setName(java.lang.String name) /*-{
      this[4] = name;
      return this;
    }-*/;

    public final native boolean hasName() /*-{
      return this.hasOwnProperty(4);
    }-*/;

    @Override
    public final native int getStartColumn() /*-{
      return this[5];
    }-*/;

    public final native CodeBlockImpl setStartColumn(int startColumn) /*-{
      this[5] = startColumn;
      return this;
    }-*/;

    public final native boolean hasStartColumn() /*-{
      return this.hasOwnProperty(5);
    }-*/;

    @Override
    public final native int getStartLineNumber() /*-{
      return this[6];
    }-*/;

    public final native CodeBlockImpl setStartLineNumber(int startLineNumber) /*-{
      this[6] = startLineNumber;
      return this;
    }-*/;

    public final native boolean hasStartLineNumber() /*-{
      return this.hasOwnProperty(6);
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<com.google.collide.dto.CodeBlock> getChildren() /*-{
      if (!this.hasOwnProperty(7)) {
        this[7] = [];
      }
      return this[7];
    }-*/;

    public final native CodeBlockImpl setChildren(com.google.collide.json.client.JsoArray<com.google.collide.dto.CodeBlock> children) /*-{
      this[7] = children;
      return this;
    }-*/;

    public final native boolean hasChildren() /*-{
      return this.hasOwnProperty(7);
    }-*/;

  }


  public static class MockCodeBlockImpl extends CodeBlockImpl {
    protected MockCodeBlockImpl() {}

    public static native CodeBlockImpl make() /*-{
      return [];
    }-*/;  }


  public static class CodeBlockAssociationImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.CodeBlockAssociation {
    protected CodeBlockAssociationImpl() {}

    @Override
    public final native java.lang.String getSourceFileId() /*-{
      return this[0];
    }-*/;

    public final native CodeBlockAssociationImpl setSourceFileId(java.lang.String sourceFileId) /*-{
      this[0] = sourceFileId;
      return this;
    }-*/;

    public final native boolean hasSourceFileId() /*-{
      return this.hasOwnProperty(0);
    }-*/;

    @Override
    public final native java.lang.String getSourceLocalId() /*-{
      return this[1];
    }-*/;

    public final native CodeBlockAssociationImpl setSourceLocalId(java.lang.String sourceLocalId) /*-{
      this[1] = sourceLocalId;
      return this;
    }-*/;

    public final native boolean hasSourceLocalId() /*-{
      return this.hasOwnProperty(1);
    }-*/;

    @Override
    public final native java.lang.String getTargetFileId() /*-{
      return this[2];
    }-*/;

    public final native CodeBlockAssociationImpl setTargetFileId(java.lang.String targetFileId) /*-{
      this[2] = targetFileId;
      return this;
    }-*/;

    public final native boolean hasTargetFileId() /*-{
      return this.hasOwnProperty(2);
    }-*/;

    @Override
    public final native java.lang.String getTargetLocalId() /*-{
      return this[3];
    }-*/;

    public final native CodeBlockAssociationImpl setTargetLocalId(java.lang.String targetLocalId) /*-{
      this[3] = targetLocalId;
      return this;
    }-*/;

    public final native boolean hasTargetLocalId() /*-{
      return this.hasOwnProperty(3);
    }-*/;

    @Override
    public final native boolean getIsRootAssociation() /*-{
      return this[4];
    }-*/;

    public final native CodeBlockAssociationImpl setIsRootAssociation(boolean isRootAssociation) /*-{
      this[4] = isRootAssociation;
      return this;
    }-*/;

    public final native boolean hasIsRootAssociation() /*-{
      return this.hasOwnProperty(4);
    }-*/;

  }


  public static class MockCodeBlockAssociationImpl extends CodeBlockAssociationImpl {
    protected MockCodeBlockAssociationImpl() {}

    public static native CodeBlockAssociationImpl make() /*-{
      return [];
    }-*/;  }


  public static class CodeErrorImpl extends com.google.collide.json.client.Jso implements com.google.collide.dto.CodeError {
    protected CodeErrorImpl() {}

    @Override
    public final native com.google.collide.dto.FilePosition getErrorEnd() /*-{
      return this["errorEnd"];
    }-*/;

    public final native CodeErrorImpl setErrorEnd(com.google.collide.dto.FilePosition errorEnd) /*-{
      this["errorEnd"] = errorEnd;
      return this;
    }-*/;

    public final native boolean hasErrorEnd() /*-{
      return this.hasOwnProperty("errorEnd");
    }-*/;

    @Override
    public final native com.google.collide.dto.FilePosition getErrorStart() /*-{
      return this["errorStart"];
    }-*/;

    public final native CodeErrorImpl setErrorStart(com.google.collide.dto.FilePosition errorStart) /*-{
      this["errorStart"] = errorStart;
      return this;
    }-*/;

    public final native boolean hasErrorStart() /*-{
      return this.hasOwnProperty("errorStart");
    }-*/;

    @Override
    public final native java.lang.String getMessage() /*-{
      return this["message"];
    }-*/;

    public final native CodeErrorImpl setMessage(java.lang.String message) /*-{
      this["message"] = message;
      return this;
    }-*/;

    public final native boolean hasMessage() /*-{
      return this.hasOwnProperty("message");
    }-*/;

    public static native CodeErrorImpl make() /*-{
      return {

      };
    }-*/;  }


  public static class CodeErrorsImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.CodeErrors {
    protected CodeErrorsImpl() {}

    @Override
    public final native java.lang.String getFileEditSessionKey() /*-{
      return this["fileEditSessionKey"];
    }-*/;

    public final native CodeErrorsImpl setFileEditSessionKey(java.lang.String fileEditSessionKey) /*-{
      this["fileEditSessionKey"] = fileEditSessionKey;
      return this;
    }-*/;

    public final native boolean hasFileEditSessionKey() /*-{
      return this.hasOwnProperty("fileEditSessionKey");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<com.google.collide.dto.CodeError> getCodeErrors() /*-{
      return this["codeErrors"];
    }-*/;

    public final native CodeErrorsImpl setCodeErrors(com.google.collide.json.client.JsoArray<com.google.collide.dto.CodeError> codeErrors) /*-{
      this["codeErrors"] = codeErrors;
      return this;
    }-*/;

    public final native boolean hasCodeErrors() /*-{
      return this.hasOwnProperty("codeErrors");
    }-*/;

  }


  public static class MockCodeErrorsImpl extends CodeErrorsImpl {
    protected MockCodeErrorsImpl() {}

    public static native CodeErrorsImpl make() /*-{
      return {
        _type: 9
      };
    }-*/;  }


  public static class CodeErrorsRequestImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.CodeErrorsRequest {
    protected CodeErrorsRequestImpl() {}

    @Override
    public final native java.lang.String getWorkspaceId() /*-{
      return this["workspaceId"];
    }-*/;

    public final native CodeErrorsRequestImpl setWorkspaceId(java.lang.String workspaceId) /*-{
      this["workspaceId"] = workspaceId;
      return this;
    }-*/;

    public final native boolean hasWorkspaceId() /*-{
      return this.hasOwnProperty("workspaceId");
    }-*/;

    @Override
    public final native java.lang.String getFileEditSessionKey() /*-{
      return this["fileEditSessionKey"];
    }-*/;

    public final native CodeErrorsRequestImpl setFileEditSessionKey(java.lang.String fileEditSessionKey) /*-{
      this["fileEditSessionKey"] = fileEditSessionKey;
      return this;
    }-*/;

    public final native boolean hasFileEditSessionKey() /*-{
      return this.hasOwnProperty("fileEditSessionKey");
    }-*/;

    public static native CodeErrorsRequestImpl make() /*-{
      return {
        _type: 10
      };
    }-*/;  }


  public static class CodeGraphImpl extends com.google.collide.json.client.Jso implements com.google.collide.dto.CodeGraph {
    protected CodeGraphImpl() {}

    @Override
    public final native com.google.collide.json.shared.JsonArray<com.google.collide.dto.TypeAssociation> getTypeAssociations() /*-{
      return this["typeAssociations"];
    }-*/;

    public final native CodeGraphImpl setTypeAssociations(com.google.collide.json.client.JsoArray<com.google.collide.dto.TypeAssociation> typeAssociations) /*-{
      this["typeAssociations"] = typeAssociations;
      return this;
    }-*/;

    public final native boolean hasTypeAssociations() /*-{
      return this.hasOwnProperty("typeAssociations");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<com.google.collide.dto.ImportAssociation> getImportAssociations() /*-{
      return this["importAssociations"];
    }-*/;

    public final native CodeGraphImpl setImportAssociations(com.google.collide.json.client.JsoArray<com.google.collide.dto.ImportAssociation> importAssociations) /*-{
      this["importAssociations"] = importAssociations;
      return this;
    }-*/;

    public final native boolean hasImportAssociations() /*-{
      return this.hasOwnProperty("importAssociations");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonStringMap<com.google.collide.dto.CodeBlock> getCodeBlockMap() /*-{
      return this["codeBlockMap"];
    }-*/;

    public final native CodeGraphImpl setCodeBlockMap(com.google.collide.json.client.JsoStringMap<com.google.collide.dto.CodeBlock> codeBlockMap) /*-{
      this["codeBlockMap"] = codeBlockMap;
      return this;
    }-*/;

    public final native boolean hasCodeBlockMap() /*-{
      return this.hasOwnProperty("codeBlockMap");
    }-*/;

    @Override
    public final native com.google.collide.dto.CodeBlock getDefaultPackage() /*-{
      return this["defaultPackage"];
    }-*/;

    public final native CodeGraphImpl setDefaultPackage(com.google.collide.dto.CodeBlock defaultPackage) /*-{
      this["defaultPackage"] = defaultPackage;
      return this;
    }-*/;

    public final native boolean hasDefaultPackage() /*-{
      return this.hasOwnProperty("defaultPackage");
    }-*/;

    @Override
    public final native com.google.collide.json.shared.JsonArray<com.google.collide.dto.InheritanceAssociation> getInheritanceAssociations() /*-{
      return this["inheritanceAssociations"];
    }-*/;

    public final native CodeGraphImpl setInheritanceAssociations(com.google.collide.json.client.JsoArray<com.google.collide.dto.InheritanceAssociation> inheritanceAssociations) /*-{
      this["inheritanceAssociations"] = inheritanceAssociations;
      return this;
    }-*/;

    public final native boolean hasInheritanceAssociations() /*-{
      return this.hasOwnProperty("inheritanceAssociations");
    }-*/;

    public static native CodeGraphImpl make() /*-{
      return {

      };
    }-*/;  }


  public static class CodeGraphFreshnessImpl extends com.google.collide.json.client.Jso implements com.google.collide.dto.CodeGraphFreshness {
    protected CodeGraphFreshnessImpl() {}

    @Override
    public final native java.lang.String getWorkspaceLinks() /*-{
      return this["workspaceLinks"];
    }-*/;

    public final native CodeGraphFreshnessImpl setWorkspaceLinks(java.lang.String workspaceLinks) /*-{
      this["workspaceLinks"] = workspaceLinks;
      return this;
    }-*/;

    public final native boolean hasWorkspaceLinks() /*-{
      return this.hasOwnProperty("workspaceLinks");
    }-*/;

    @Override
    public final native java.lang.String getWorkspaceTree() /*-{
      return this["workspaceTree"];
    }-*/;

    public final native CodeGraphFreshnessImpl setWorkspaceTree(java.lang.String workspaceTree) /*-{
      this["workspaceTree"] = workspaceTree;
      return this;
    }-*/;

    public final native boolean hasWorkspaceTree() /*-{
      return this.hasOwnProperty("workspaceTree");
    }-*/;

    @Override
    public final native java.lang.String getFileTree() /*-{
      return this["fileTree"];
    }-*/;

    public final native CodeGraphFreshnessImpl setFileTree(java.lang.String fileTree) /*-{
      this["fileTree"] = fileTree;
      return this;
    }-*/;

    public final native boolean hasFileTree() /*-{
      return this.hasOwnProperty("fileTree");
    }-*/;

    @Override
    public final native java.lang.String getLibsSubgraph() /*-{
      return this["libsSubgraph"];
    }-*/;

    public final native CodeGraphFreshnessImpl setLibsSubgraph(java.lang.String libsSubgraph) /*-{
      this["libsSubgraph"] = libsSubgraph;
      return this;
    }-*/;

    public final native boolean hasLibsSubgraph() /*-{
      return this.hasOwnProperty("libsSubgraph");
    }-*/;

    @Override
    public final native java.lang.String getFileReferences() /*-{
      return this["fileReferences"];
    }-*/;

    public final native CodeGraphFreshnessImpl setFileReferences(java.lang.String fileReferences) /*-{
      this["fileReferences"] = fileReferences;
      return this;
    }-*/;

    public final native boolean hasFileReferences() /*-{
      return this.hasOwnProperty("fileReferences");
    }-*/;

    @Override
    public final native java.lang.String getFullGraph() /*-{
      return this["fullGraph"];
    }-*/;

    public final native CodeGraphFreshnessImpl setFullGraph(java.lang.String fullGraph) /*-{
      this["fullGraph"] = fullGraph;
      return this;
    }-*/;

    public final native boolean hasFullGraph() /*-{
      return this.hasOwnProperty("fullGraph");
    }-*/;

    @Override
    public final native java.lang.String getFileTreeHash() /*-{
      return this["fileTreeHash"];
    }-*/;

    public final native CodeGraphFreshnessImpl setFileTreeHash(java.lang.String fileTreeHash) /*-{
      this["fileTreeHash"] = fileTreeHash;
      return this;
    }-*/;

    public final native boolean hasFileTreeHash() /*-{
      return this.hasOwnProperty("fileTreeHash");
    }-*/;

    public static native CodeGraphFreshnessImpl make() /*-{
      return {

      };
    }-*/;  }


  public static class CodeGraphRequestImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.CodeGraphRequest {
    protected CodeGraphRequestImpl() {}

    @Override
    public final native java.lang.String getWorkspaceId() /*-{
      return this["workspaceId"];
    }-*/;

    public final native CodeGraphRequestImpl setWorkspaceId(java.lang.String workspaceId) /*-{
      this["workspaceId"] = workspaceId;
      return this;
    }-*/;

    public final native boolean hasWorkspaceId() /*-{
      return this.hasOwnProperty("workspaceId");
    }-*/;

    @Override
    public final native com.google.collide.dto.CodeGraphFreshness getFreshness() /*-{
      return this["freshness"];
    }-*/;

    public final native CodeGraphRequestImpl setFreshness(com.google.collide.dto.CodeGraphFreshness freshness) /*-{
      this["freshness"] = freshness;
      return this;
    }-*/;

    public final native boolean hasFreshness() /*-{
      return this.hasOwnProperty("freshness");
    }-*/;

    @Override
    public final native java.lang.String getFilePath() /*-{
      return this["filePath"];
    }-*/;

    public final native CodeGraphRequestImpl setFilePath(java.lang.String filePath) /*-{
      this["filePath"] = filePath;
      return this;
    }-*/;

    public final native boolean hasFilePath() /*-{
      return this.hasOwnProperty("filePath");
    }-*/;

    public static native CodeGraphRequestImpl make() /*-{
      return {
        _type: 11
      };
    }-*/;  }


  public static class CodeGraphResponseImpl extends com.google.collide.dtogen.client.RoutableDtoClientImpl implements com.google.collide.dto.CodeGraphResponse {
    protected CodeGraphResponseImpl() {}

    @Override
    public final native com.google.collide.dto.CodeGraphFreshness getFreshness() /*-{
      return this["freshness"];
    }-*/;

    public final native CodeGraphResponseImpl setFreshness(com.google.collide.dto.CodeGraphFreshness freshness) /*-{
      this["freshness"] = freshness;
      return this;
    }-*/;

    public final native boolean hasFreshness() /*-{
      return this.hasOwnProperty("freshness");
    }-*/;

    @Override
    public final native java.lang.String getWorkspaceTreeJson() /*-{
      return this["workspaceTreeJson"];
    }-*/;

    public final native CodeGraphResponseImpl setWorkspaceTreeJson(java.lang.String workspaceTreeJson) /*-{
      this["workspaceTreeJson"] = workspaceTreeJson;
      return this;
    }-*/;

    public final native boolean hasWorkspaceTreeJson() /*-{
      return this.hasOwnProperty("workspaceTreeJson");
    }-*/;

    @Override
    public final native java.lang.String getLibsSubgraphJson() /*-{
      return this["libsSubgraphJson"];
    }-*/;

    public final native CodeGraphResponseImpl setLibsSubgraphJson(java.lang.String libsSubgraphJson) /*-{
      this["libsSubgraphJson"] = libsSubgraphJson;
      return this;
    }-*/;

    public final native boolean hasLibsSubgraphJson() /*-{
      return this.hasOwnProperty("libsSubgraphJson");
    }-*/;

    @Override
    public final native java.lang.String getFullGraphJson() /*-{
      return this["fullGraphJson"];
    }-*/;

    public final native CodeGraphResponseImpl setFullGraphJson(java.lang.String fullGraphJson) /*-{
      this["fullGraphJson"] = fullGraphJson;
      return this;
    }-*/;

    public final native boolean hasFullGraphJson() /*-{
      return this.hasOwnProperty("fullGraphJson");
    }-*/;

    @Override
    public final native java.lang.String getFileTreeJson() /*-{
      return this["fileTreeJson"];
    }-*/;

    public final native CodeGraphResponseImpl setFileTreeJson(java.lang.String fileTreeJson) /*-{
      this["fileTreeJson"] = fileTreeJson;
