class AutomationSecretResponse {

  public static AutomationSecretResponse create(long id, String name, String secret,
      ApiDate creationDate,
      ImmutableMap<String, String> metadata, ImmutableList<Group> groups, long expiry) {
    return new AutoValue_AutomationSecretResponse(id, name, secret, decodedLength(secret),
        creationDate, groups, metadata, expiry);
  }

}