package io.digdag.spi.ac;

import org.immutables.value.Value;

@Value.Immutable
public interface AttemptTarget
{
    int getSiteId();

    String getProjectName();

    String getWorkflowName();

    int getSessionId();

    int getId();

    static AttemptTarget of(int siteId, String projectName, String workflowName, int sessionId, int id)
    {
        return ImmutableAttemptTarget.builder()
                .siteId(siteId)
                .projectName(projectName)
                .workflowName(workflowName)
                .sessionId(sessionId)
                .id(id)
                .build();
    }
}

@@ -189,27 +189,28 @@
 ame();%0A%0A    
-int
+long
  getSessionI
@@ -215,27 +215,28 @@
 nId();%0A%0A    
-int
+long
  getId();%0A%0A 
@@ -315,19 +315,20 @@
 owName, 
-int
+long
  session
@@ -331,19 +331,20 @@
 sionId, 
-int
+long
  id)%0A   

Fix spi.ac.AttmeptTarget to change types of session_id and attempt_id