files_sdk

package module
v3.3.324 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 31 Imported by: 13 modules, 11 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README ¶

Files.com Go Client

The Files.com Go SDK lets Go applications manage files, folders, users, and other resources through the Files.com API.

Use the examples below to install the SDK, authenticate, and make API requests. The developer documentation covers the complete API.

Introduction

For integration choices and credential scope, start with SDKs & APIs. Scripts, APIs & Application Workflows explains how to coordinate Files.com operations with the work your application owns.

The Files.com Go SDK lets Go applications manage files, folders, users, automations, and other API resources. Resource clients accept configuration and request options and use standard Go error handling.

Installation

If your project does not already have a go.mod file, create a module. Replace example.com/myapp with your module path. Then add the SDK dependency:

go mod init example.com/myapp
go get github.com/Files-com/files-sdk-go/v3

Import the SDK models and the resource clients you need:

import (
    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

The examples show imports followed by code to place inside a function, such as main. Use go build to compile your application after adding the SDK dependency.

Files.com is Committed to Go

Files.com uses Go for internal development. The Go SDK also supports the Files.com CLI, desktop application, Terraform provider, and Rclone integration.

Explore the files-sdk-go code on GitHub.

Getting Support

The Files.com Support team provides official support for all of our official Files.com integration tools.

To initiate a support conversation, you can send an Authenticated Support Request or simply send an E-Mail to support@files.com.

Authentication

There are two ways to authenticate: API Key authentication and Session-based authentication.

Authenticate with an API Key

Authenticating with an API key is the recommended authentication method for most scenarios, and is the method used in the examples on this site.

To use an API Key, first generate an API key from the web interface or via the API or an SDK.

A user key follows its account's permissions, narrowed by the key's permission scope, Workspace, and any path restriction on file operations. It can perform administrative operations only when both the account and key permit them. API Keys explains credential scope and lifecycle; Workspaces explains request context and delegated administration.

Set Config.APIKey and initialize the configuration before passing it to a resource client. This configuration applies to that client.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

config := files_sdk.Config{APIKey: "YOUR_API_KEY"}.Init()
client := folder.Client{Config: config}
it, err := client.ListFor(files_sdk.FolderListForParams{})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for file, err := range it.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(file.Path)
}

You can reuse files_sdk.GlobalConfig by passing it to a client, for example folder.Client{Config: files_sdk.GlobalConfig}.

To use the FILES_API_KEY environment variable, leave Config.APIKey empty. Package-level resource functions also read this variable:

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

it, err := folder.ListFor(files_sdk.FolderListForParams{})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for file, err := range it.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(file.Path)
}

Don't forget to replace the placeholder, YOUR_API_KEY, with your actual API key.

Authenticate with a Session

Create a session with the username and password of an active user. The session uses that user's permissions, including any delegated administrative access. Workspaces describes account scope and administrative access.

Sessions follow the same timeout settings as web sessions. When a session expires, create a new session and update the clients that use it. The SDK does not renew sessions automatically.

Logging In

Create a session.Client with your Files.com subdomain, then call Create with your username and password. Use the returned session ID as Config.SessionId when creating resource clients.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
    "github.com/Files-com/files-sdk-go/v3/session"
)

sessionClient := session.Client{Config: files_sdk.Config{Subdomain: "MY-SUBDOMAIN"}.Init()}
thisSession, err := sessionClient.Create(files_sdk.SessionCreateParams{Username: "USERNAME", Password: "PASSWORD"})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

config := files_sdk.Config{Subdomain: "MY-SUBDOMAIN", SessionId: thisSession.Id}.Init()
folderClient := folder.Client{Config: config}

it, err := folderClient.ListFor(files_sdk.FolderListForParams{})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for file, err := range it.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(file.Path)
}
Using a Session

Set Config.SessionId to the session's Id and pass the configuration to each resource client that uses the session.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

config := files_sdk.Config{Subdomain: "MY-SUBDOMAIN", SessionId: thisSession.Id}.Init()
folderClient := folder.Client{Config: config}

it, err := folderClient.ListFor(files_sdk.FolderListForParams{})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for file, err := range it.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(file.Path)
}
Logging Out

User sessions can be ended by calling Delete() on the Session client.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/session"
)

sessionClient := session.Client{Config: files_sdk.Config{SessionId: thisSession.Id}.Init()}
err := sessionClient.Delete()
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

Configuration

Initialize a files_sdk.Config with Init() and pass it to each resource client. The configuration controls authentication, the API endpoint, workspace scoping, and HTTP behavior for that client.

Configuration Options
Base URL

Set this to the full https:// URL of your Files.com subdomain (e.g. https://MY-SUBDOMAIN.files.com). This is not required in most cases, but one benefit of setting it is that it ensures that authentication failures will be logged to your site's API logs. Without setting this, we won't know which site to associate the authentication failure with, and it won't be logged to your site's API logs. This is always required if your site is configured to disable global acceleration. This can also be set to use a mock server in development or CI.

import (
    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/file"
)

config := files_sdk.Config{
    EndpointOverride: "https://MY-SUBDOMAIN.files.com",
}.Init()
client := file.Client{Config: config}
Diagnostic Logging

Set Config.Debug to true, or set the FILES_SDK_DEBUG environment variable to a non-empty value, to enable detailed SDK request and response diagnostics. Provide Config.Logger to receive the output. The default logger discards it. These DEBUG diagnostics can include signed URLs, API keys, session IDs, headers, and payloads.

SDK retry entries at INFO, WARN, and ERROR redact request URLs and credentials, even when debug mode is enabled. A logger with levels controls which retry DEBUG entries it displays. For a logger that only implements Printf, debug mode controls whether retry DEBUG entries are emitted.

Sort and Filter

Several of the Files.com API resources have list operations that return multiple instances of the resource. The List operations can be sorted and filtered.

Sorting

To sort the returned data, pass in the SortBy method argument.

Each resource supports a unique set of valid sort fields and can only be sorted by one field at a time.

The argument value is a Go map[string]interface{} map that has a key of the resource field name to sort on and a value of either "asc" or "desc" to specify the sort order.

Special note about the List Folder Endpoint

For historical reasons, and to maintain compatibility with a variety of other cloud-based MFT and EFSS services, Folders will always be listed before Files when listing a Folder. This applies regardless of the sorting parameters you provide. These will be used, after the initial sort application of Folders before Files.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/user"
)

client := user.Client{Config: files_sdk.GlobalConfig}

// users sorted by username
parameters := files_sdk.UserListParams{SortBy: map[string]interface{}{"username":"asc"}}
userIterator, err := client.List(parameters)
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for user, err := range userIterator.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(user.Username)
}
Filtering

Filters apply selection criteria to the underlying query that returns the results. They can be applied individually or combined with other filters, and the resulting data can be sorted by a single field.

Each resource supports a unique set of valid filter fields, filter combinations, and combinations of filters and sort fields.

The passed in argument is a Go map[string]interface{} map that has a key of the resource field name to filter on and a passed in value to use in the filter comparison.

Filter Types
Filter Type Description
Filter Exact Find resources that have an exact field value match to a passed in value. (i.e., FIELD_VALUE = PASS_IN_VALUE).
FilterPrefix Pattern Find resources where the specified field is prefixed by the supplied value. This is applicable to values that are strings.
FilterGt Range Find resources that have a field value that is greater than the passed in value. (i.e., FIELD_VALUE > PASS_IN_VALUE).
FilterGteq Range Find resources that have a field value that is greater than or equal to the passed in value. (i.e., FIELD_VALUE >= PASS_IN_VALUE).
FilterLt Range Find resources that have a field value that is less than the passed in value. (i.e., FIELD_VALUE < PASS_IN_VALUE).
FilterLteq Range Find resources that have a field value that is less than or equal to the passed in value. (i.e., FIELD_VALUE <= PASS_IN_VALUE).
import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/user"
)

client := user.Client{Config: files_sdk.GlobalConfig}

// non admin users
parameters := files_sdk.UserListParams{
    Filter: map[string]interface{}{"not_site_admin": true},
}
userIterator, err := client.List(parameters)
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for user, err := range userIterator.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(user.Username)
}
import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/user"
)

client := user.Client{Config: files_sdk.GlobalConfig};

// users who haven't logged in since 2024-01-01
parameters := files_sdk.UserListParams{
    FilterLt: map[string]interface{}{"last_login_at": "2024-01-01"},
}
userIterator, err := client.List(parameters)
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for user, err := range userIterator.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(user.Username)
}
import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/user"
)

client := user.Client{Config: files_sdk.GlobalConfig};

// users whose usernames start with 'test'
parameters := files_sdk.UserListParams{
    FilterPrefix: map[string]interface{}{"username": "test"},
}
userIterator, err := client.List(parameters)
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for user, err := range userIterator.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(user.Username)
}
import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/user"
)

client := user.Client{Config: files_sdk.GlobalConfig};

// users whose usernames start with 'test' and are not admins
parameters := files_sdk.UserListParams{
    FilterPrefix: map[string]interface{}{"username": "test"},
    Filter:       map[string]interface{}{"not_site_admin": true},
    SortBy:       map[string]interface{}{"username": "asc"},
}
userIterator, err := client.List(parameters)
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for user, err := range userIterator.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(user.Username)
}

Paths

Files.com preserves the spelling of file and folder paths while comparing them using shared case and Unicode rules. Use the SDK comparison helpers when matching paths locally.

Capitalization

Files.com uses case-insensitive path matching based on its fixed Unicode comparison map.

For example, the following paths have the same comparison key:

Path Variant Comparison Key
Documents/Reports/Q1.pdf documents/reports/q1.pdf
documents/reports/q1.PDF documents/reports/q1.pdf
DOCUMENTS/REPORTS/Q1.PDF documents/reports/q1.pdf

This behavior applies across:

  • API requests
  • Folder and file lookup operations
  • Automations and workflows

See also: Case Sensitivity Documentation

Slashes

Use / between folder and file names, without leading or trailing slashes. SDK normalization helpers convert backslashes to /, remove duplicate separators, and discard exact . and .. components. Discarding .. leaves the preceding folder name intact.

Input Normalized path
folder/subfolder/file.txt folder/subfolder/file.txt
/folder/subfolder/file.txt folder/subfolder/file.txt
folder/subfolder/file.txt/ folder/subfolder/file.txt
//folder//file.txt folder/file.txt
folder/../file.txt folder/file.txt
Unicode and Path Comparison

Files.com compares paths using a fixed mapping shared by the server and SDKs. It treats case and many accent differences as equivalent: Résumé.txt and resume.txt identify the same file, as do q followed by a combining acute accent and q. The mapping also handles other equivalences, such as Hiragana and Katakana. Lowercasing or applying a standard Unicode normalization form alone does not reproduce these rules.

SDK comparison helpers normalize path separators and dot segments, then apply the bundled versioned comparison map. The shared examples give exact comparison results for integrations that implement their own matching. The map uses hexadecimal Unicode scalar values as keys: a missing entry preserves the character, an empty replacement removes it, and other replacements may contain several characters. Apply each replacement once without normalizing or lowercasing the result again.

Use comparison results only for matching. Send the original path spelling in API requests and preserve it for display and local filenames; comparison results can have a different spelling or length.

Trailing whitespace is significant for comparison. report.txt and report.txt are different file paths, and SDK helpers preserve spaces, tabs, and newlines. Folder names cannot end in whitespace. See Unicode Normalization for the complete path rules.

Workspaces

A Workspace groups files, users, groups, Partners, integrations, and workflows within a Files.com Site. An integration can provision a Workspace for a department or project and delegate its operation to a team without making that team Site Administrators. Every Site has a Default Workspace, with ID 0; additional Workspaces have their own IDs and root folders.

Account membership, request context, and permission grants serve different purposes. Creating an account in a Workspace determines where it belongs. Selecting a Workspace determines which resources a request operates on. A permission grant determines what the caller can do there. Selecting a Workspace never grants access to it.

Accounts and Administrative Access

A user's or group's workspace_id identifies the Workspace the account belongs to. Accounts belonging to a Custom Workspace stay within it. Default Workspace users and groups can receive permissions in one or more Custom Workspaces while keeping their existing accounts in Workspace 0.

Account Workspace Administrator assignment Scope
User belonging to a Custom Workspace Set the user's workspace_admin to true. That user's own Custom Workspace.
Default Workspace user Create an admin Permission for the user on a Custom Workspace's root folder. Each Custom Workspace with a root grant.
Default Workspace group Create an admin Permission for the group on a Custom Workspace's root folder. Every member inherits administration of each Workspace with a root grant.

workspace_admin is not a summary of a user's effective administrative access. A Default Workspace user can administer a Custom Workspace through a direct or group root grant while their workspace_admin remains false. Groups have no workspace_admin field. See Users and Groups for account fields.

An admin grant on the Custom Workspace root provides full Workspace Administrator authority over its files, users, groups, Partners, workflows, and integrations. An admin grant on a subfolder provides Folder Admin authority over that folder and its descendants; it does not provide Workspace administration. Other permission levels provide their corresponding folder access without Workspace administration. Permissions defines the levels.

Site Administrators manage cross-Workspace assignments to Default Workspace accounts. Workspace Administrators manage accounts and permissions within their own scope. Site Administrators retain access to every Workspace; adding a Workspace grant does not narrow Site Administrator authority. The product documentation explains the administrator's operational scope and site-wide controls.

Request Context and API Keys

You can include the X-Files-Workspace-Id REST header to select a Workspace for a request. SDK request options and CLI configuration send that same selection. When a Workspace is selected, Workspace-scoped resources are listed, created, and changed within that context, and ordinary paths are relative to its root.

A resource's workspace_id request field describes the resource's Workspace membership. It is separate from the SDK's Workspace request option or REST header. Creating a Workspace-scoped resource in a Custom Workspace defaults its workspace_id to the selected Workspace; a mismatching membership value is rejected with not-authorized/insufficient-permission-for-params.

Selecting another Workspace with an API key requires a Full Access key created in the Default Workspace. A user key follows that user's current access, including group permissions. A site-wide Full Access key created in the Default Workspace has Site Administrator authority in every Workspace. A Files Only key stays in its creation Workspace, even if its user has cross-Workspace access. Any key created in a Custom Workspace stays within that Workspace. Selecting another context with these confined keys is rejected with bad-request/invalid-workspace-id-header.

An account belonging to a Custom Workspace is scoped there when it authenticates normally. For a Default Workspace user, explicitly select the intended Workspace for an integration rather than relying on an interactive login preference. API Keys and Authentication cover credentials.

The Files.com Go SDK supports workspace scoping by using the WorkspaceId attribute on the Config object.

The adjacent scoping example uses a credential authorized for the selected Workspace. A group member uses their own Full Access user key from the Default Workspace; the Site Administrator credential used to assign the grant is not needed for their day-to-day work.

import (
    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

config := files_sdk.Config{WorkspaceId: 123}.Init()
client := folder.Client{Config: config}

client.ListFor(files_sdk.FolderListForParams{})
Delegating a Workspace to an Existing Group

An operations team already represented by a Default Workspace group can administer a Custom Workspace through one root Permission. The group and its members stay in the Default Workspace, so the same team can receive different access in other Workspaces.

First retrieve the target Workspace and Group IDs as a Site Administrator in Workspace 0. The examples use Workspace 123, group 456, and member user 789; replace them with your own IDs. Confirm that the group belongs to Workspace 0 and that the intended user is a member.

Create the Permission using a Default Workspace Full Access site-wide key or a Full Access user key belonging to a Site Administrator. Keep the request context at 0 and use the qualified root path _/Workspaces/123. Set group_id to the group's ID, permission to admin, and recursive to true. Save the returned Permission id for later removal. For an individual Default Workspace user, use user_id instead of group_id.

For a Default Workspace group, a Site Administrator can also select Workspace 123 and use an empty path to grant access to its root. The qualified path in Workspace 0 works for both Default Workspace users and groups and keeps the account scope and target Workspace explicit. Appending a subfolder to the path would grant Folder Admin access instead of Workspace Administrator authority.

After the grant, make a request as the member, using their own credential with Workspace 123 selected, such as listing that Workspace's root folder. That member can work with the Workspace's files and perform Workspace Administrator operations, such as managing its users, Partners, and integrations. A Site Administrator's successful request does not establish that the member has the intended access.

import (
    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/lib"
    "github.com/Files-com/files-sdk-go/v3/permission"
)

config := files_sdk.Config{ApiKey: "YOUR_SITE_ADMIN_API_KEY", WorkspaceId: 0}.Init()
permissions := permission.Client{Config: config}
grant, err := permissions.Create(files_sdk.PermissionCreateParams{
    Path: "_/Workspaces/123", GroupId: 456,
    Permission: "admin", Recursive: lib.Bool(true),
})
if err != nil { panic(err) }
println(grant.Id) // Save this Permission ID for removal.
Permission Inspection and Removal

List the member's Permissions with user_id and include_groups=true to include grants inherited through group membership. Listing only direct user grants can miss the Permission that provides Workspace administration. In Workspace 0, the Custom Workspace root appears as _/Workspaces/123; in Workspace 123, paths are relative to that root. Inspect the root path and permission=admin, rather than treating the user's workspace_admin field as their effective administrative access.

Permission lists show individual grants, rather than a single flag for effective administrative access. Membership in several groups combines their access. A Permission using group_ids instead of group_id requires membership in all the specified groups; it is not a shorthand for assigning the same grant to several independent groups.

Removing a member ends access received through that group. Deleting the root Permission ends the group's Workspace Administrator grant for every member. These changes leave independent direct and other group grants in place, so review all applicable grants when withdrawing access. Default Workspace user API keys follow those permission changes without being recreated.

Group membership maintained through SCIM follows the same rule. A Group Admin allowed to add members can give those users the group's existing Workspace Administrator access. Choose who manages the group with that authority in mind.

Delete the Permission by its returned id as the Site Administrator in Workspace 0. The removal examples use Permission ID 9001; replace it with the ID returned by your create request. Permissions are created and deleted, rather than updated in place. If narrower folder access is still needed, assign it explicitly; deleting a broad grant does not restore narrower grants it previously replaced.

grants, err := permissions.List(files_sdk.PermissionListParams{
    UserId: "789", IncludeGroups: lib.Bool(true),
})
if err != nil { panic(err) }
for grants.Next() {
    item := grants.Permission()
    println(item.Path, item.Permission)
}
if err := grants.Err(); err != nil { panic(err) }
if err := permissions.Delete(files_sdk.PermissionDeleteParams{Id: 9001}); err != nil {
    panic(err)
}

Foreign Language Support

The Files.com Go SDK supports localized responses by using the Language attribute on the Config struct. When configured, this guides the API in selecting a preferred language for applicable response content.

Language support currently applies to select human-facing fields only, such as notification messages and error descriptions.

If the specified language is not supported or the value is omitted, the API defaults to English.

import (
	files_sdk "github.com/Files-com/files-sdk-go/v3"
)

files_sdk.GlobalConfig.Language = "es";

Errors

SDK methods return an error using the standard Go pattern. Check it before using a returned resource. Listing methods fetch pages during iteration. When ranging over All(), check the loop's error before using the resource. If you use Next(), check the iterator's Err() after the loop.

Errors can come from request preparation, HTTP transport, response decoding, or the Files.com API. A structured API error is a files_sdk.ResponseError, which implements the error interface and includes these fields:

  • Type: the API error identifier.
  • Title: a short description of the error.
  • ErrorMessage: additional error details.

Use errors.As to inspect a ResponseError, including one wrapped by another error. Use errors.Is with the SDK's error constants to match a type or group.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/session"
)

_, err := session.Create(files_sdk.SessionCreateParams{Username: "USERNAME", Password: "BADPASSWORD"})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}
ResponseError Types

Match an exact error type with a ResponseErrorType constant, or use a group helper such as IsNotFound. The table below lists API types and their constants.

if err != nil {
    if errors.Is(err, files_sdk.ErrInvalidUsernameOrPassword) {
        fmt.Println("Bad username/password")
    } else if files_sdk.IsNotFound(err) {
        fmt.Println("Resource not found")
    }

    var responseErr files_sdk.ResponseError
    if errors.As(err, &responseErr) {
        fmt.Println(responseErr.Title)
    }
}
Type Go Error Title
bad-request ErrBadRequest Bad Request
bad-request/agent-upgrade-required ErrAgentUpgradeRequired Agent Upgrade Required
bad-request/attachment-too-large ErrAttachmentTooLarge Attachment Too Large
bad-request/cannot-download-directory ErrCannotDownloadDirectory Cannot Download Directory
bad-request/cant-move-with-multiple-locations ErrCantMoveWithMultipleLocations Cant Move With Multiple Locations
bad-request/datetime-parse ErrDatetimeParse Datetime Parse
bad-request/destination-same ErrDestinationSame Destination Same
bad-request/destination-site-mismatch ErrDestinationSiteMismatch Destination Site Mismatch
bad-request/does-not-support-sorting ErrDoesNotSupportSorting Does Not Support Sorting
bad-request/folder-must-not-be-a-file ErrFolderMustNotBeAFile Folder Must Not Be A File
bad-request/folders-not-allowed ErrFoldersNotAllowed Folders Not Allowed
bad-request/internal-general-error ErrInternalGeneralError Internal General Error
bad-request/invalid-body ErrInvalidBody Invalid Body
bad-request/invalid-cursor ErrInvalidCursor Invalid Cursor
bad-request/invalid-cursor-type-for-sort ErrInvalidCursorTypeForSort Invalid Cursor Type For Sort
bad-request/invalid-etags ErrInvalidEtags Invalid Etags
bad-request/invalid-filter-alias-combination ErrInvalidFilterAliasCombination Invalid Filter Alias Combination
bad-request/invalid-filter-field ErrInvalidFilterField Invalid Filter Field
bad-request/invalid-filter-param ErrInvalidFilterParam Invalid Filter Param
bad-request/invalid-filter-param-format ErrInvalidFilterParamFormat Invalid Filter Param Format
bad-request/invalid-filter-param-value ErrInvalidFilterParamValue Invalid Filter Param Value
bad-request/invalid-input-encoding ErrInvalidInputEncoding Invalid Input Encoding
bad-request/invalid-interface ErrInvalidInterface Invalid Interface
bad-request/invalid-oauth-provider ErrInvalidOauthProvider Invalid Oauth Provider
bad-request/invalid-path ErrInvalidPath Invalid Path
bad-request/invalid-return-to-url ErrInvalidReturnToUrl Invalid Return To Url
bad-request/invalid-search-query ErrInvalidSearchQuery Invalid Search Query
bad-request/invalid-sort-field ErrInvalidSortField Invalid Sort Field
bad-request/invalid-sort-filter-combination ErrInvalidSortFilterCombination Invalid Sort Filter Combination
bad-request/invalid-upload-offset ErrInvalidUploadOffset Invalid Upload Offset
bad-request/invalid-upload-part-gap ErrInvalidUploadPartGap Invalid Upload Part Gap
bad-request/invalid-upload-part-size ErrInvalidUploadPartSize Invalid Upload Part Size
bad-request/invalid-workspace-id-header ErrInvalidWorkspaceIdHeader Invalid Workspace Id Header
bad-request/method-not-allowed ErrMethodNotAllowed Method Not Allowed
bad-request/multiple-sort-params-not-allowed ErrMultipleSortParamsNotAllowed Multiple Sort Params Not Allowed
bad-request/no-valid-input-params ErrNoValidInputParams No Valid Input Params
bad-request/offset-upload-not-allowed-with-malware-scanning ErrOffsetUploadNotAllowedWithMalwareScanning Offset Upload Not Allowed With Malware Scanning
bad-request/part-number-too-large ErrPartNumberTooLarge Part Number Too Large
bad-request/path-cannot-have-trailing-whitespace ErrPathCannotHaveTrailingWhitespace Path Cannot Have Trailing Whitespace
bad-request/reauthentication-needed-fields ErrReauthenticationNeededFields Reauthentication Needed Fields
bad-request/request-body-too-large ErrRequestBodyTooLarge Request Body Too Large
bad-request/request-params-contain-invalid-character ErrRequestParamsContainInvalidCharacter Request Params Contain Invalid Character
bad-request/request-params-invalid ErrRequestParamsInvalid Request Params Invalid
bad-request/request-params-required ErrRequestParamsRequired Request Params Required
bad-request/search-all-on-child-path ErrSearchAllOnChildPath Search All On Child Path
bad-request/unrecognized-sort-index ErrUnrecognizedSortIndex Unrecognized Sort Index
bad-request/unsupported-currency ErrUnsupportedCurrency Unsupported Currency
bad-request/unsupported-http-response-format ErrUnsupportedHttpResponseFormat Unsupported Http Response Format
bad-request/unsupported-media-type ErrUnsupportedMediaType Unsupported Media Type
bad-request/user-id-invalid ErrUserIdInvalid User Id Invalid
bad-request/user-id-on-user-endpoint ErrUserIdOnUserEndpoint User Id On User Endpoint
bad-request/user-required ErrUserRequired User Required
not-authenticated/additional-authentication-required ErrAdditionalAuthenticationRequired Additional Authentication Required
not-authenticated/api-key-sessions-not-supported ErrApiKeySessionsNotSupported Api Key Sessions Not Supported
not-authenticated/authentication-required ErrAuthenticationRequired Authentication Required
not-authenticated/bundle-registration-code-failed ErrBundleRegistrationCodeFailed Bundle Registration Code Failed
not-authenticated/inbox-registration-code-failed ErrInboxRegistrationCodeFailed Inbox Registration Code Failed
not-authenticated/invalid-credentials ErrInvalidCredentials Invalid Credentials
not-authenticated/invalid-oauth ErrInvalidOauth Invalid Oauth
not-authenticated/invalid-or-expired-code ErrInvalidOrExpiredCode Invalid Or Expired Code
not-authenticated/invalid-session ErrInvalidSession Invalid Session
not-authenticated/invalid-username-or-password ErrInvalidUsernameOrPassword Invalid Username Or Password
not-authenticated/locked-out ErrLockedOut Locked Out
not-authenticated/lockout-region-mismatch ErrLockoutRegionMismatch Lockout Region Mismatch
not-authenticated/one-time-password-incorrect ErrOneTimePasswordIncorrect One Time Password Incorrect
not-authenticated/two-factor-authentication-error ErrTwoFactorAuthenticationError Two Factor Authentication Error
not-authenticated/two-factor-authentication-setup-expired ErrTwoFactorAuthenticationSetupExpired Two Factor Authentication Setup Expired
not-authorized/api-key-is-disabled ErrApiKeyIsDisabled Api Key Is Disabled
not-authorized/api-key-is-path-restricted ErrApiKeyIsPathRestricted Api Key Is Path Restricted
not-authorized/api-key-only-for-desktop-app ErrApiKeyOnlyForDesktopApp Api Key Only For Desktop App
not-authorized/api-key-only-for-file-operations ErrApiKeyOnlyForFileOperations Api Key Only For File Operations
not-authorized/api-key-only-for-mobile-app ErrApiKeyOnlyForMobileApp Api Key Only For Mobile App
not-authorized/api-key-only-for-office-integration ErrApiKeyOnlyForOfficeIntegration Api Key Only For Office Integration
not-authorized/billing-information-hidden ErrBillingInformationHidden Billing Information Hidden
not-authorized/billing-permission-required ErrBillingPermissionRequired Billing Permission Required
not-authorized/bundle-maximum-uses-reached ErrBundleMaximumUsesReached Bundle Maximum Uses Reached
not-authorized/bundle-permission-required ErrBundlePermissionRequired Bundle Permission Required
not-authorized/cannot-administer-higher-level-user ErrCannotAdministerHigherLevelUser Cannot Administer Higher Level User
not-authorized/cannot-login-while-using-key ErrCannotLoginWhileUsingKey Cannot Login While Using Key
not-authorized/cant-act-for-other-user ErrCantActForOtherUser Cant Act For Other User
not-authorized/contact-admin-for-password-change-help ErrContactAdminForPasswordChangeHelp Contact Admin For Password Change Help
not-authorized/files-agent-failed-authorization ErrFilesAgentFailedAuthorization Files Agent Failed Authorization
not-authorized/folder-admin-or-billing-permission-required ErrFolderAdminOrBillingPermissionRequired Folder Admin Or Billing Permission Required
not-authorized/folder-admin-permission-required ErrFolderAdminPermissionRequired Folder Admin Permission Required
not-authorized/full-permission-required ErrFullPermissionRequired Full Permission Required
not-authorized/history-permission-required ErrHistoryPermissionRequired History Permission Required
not-authorized/in-app-ai-assistant-unavailable ErrInAppAiAssistantUnavailable In App Ai Assistant Unavailable
not-authorized/insufficient-permission-for-params ErrInsufficientPermissionForParams Insufficient Permission For Params
not-authorized/insufficient-permission-for-site ErrInsufficientPermissionForSite Insufficient Permission For Site
not-authorized/mover-access-denied ErrMoverAccessDenied Mover Access Denied
not-authorized/mover-package-required ErrMoverPackageRequired Mover Package Required
not-authorized/must-authenticate-with-api-key ErrMustAuthenticateWithApiKey Must Authenticate With Api Key
not-authorized/need-admin-permission-for-inbox ErrNeedAdminPermissionForInbox Need Admin Permission For Inbox
not-authorized/non-admins-must-query-by-folder-or-path ErrNonAdminsMustQueryByFolderOrPath Non Admins Must Query By Folder Or Path
not-authorized/not-allowed-to-create-bundle ErrNotAllowedToCreateBundle Not Allowed To Create Bundle
not-authorized/not-enqueuable-sync ErrNotEnqueuableSync Not Enqueuable Sync
not-authorized/password-change-not-required ErrPasswordChangeNotRequired Password Change Not Required
not-authorized/password-change-required ErrPasswordChangeRequired Password Change Required
not-authorized/payment-method-error ErrPaymentMethodError Payment Method Error
not-authorized/preview-only-permission-cannot-download ErrPreviewOnlyPermissionCannotDownload Preview Only Permission Cannot Download
not-authorized/read-only-session ErrReadOnlySession Read Only Session
not-authorized/read-permission-required ErrReadPermissionRequired Read Permission Required
not-authorized/reauthentication-failed ErrReauthenticationFailed Reauthentication Failed
not-authorized/reauthentication-failed-final ErrReauthenticationFailedFinal Reauthentication Failed Final
not-authorized/reauthentication-needed-action ErrReauthenticationNeededAction Reauthentication Needed Action
not-authorized/recaptcha-failed ErrRecaptchaFailed Recaptcha Failed
not-authorized/remote-desktop-debug-logging-disabled ErrRemoteDesktopDebugLoggingDisabled Remote Desktop Debug Logging Disabled
not-authorized/root-folder-behavior-site-admin-required ErrRootFolderBehaviorSiteAdminRequired Root Folder Behavior Site Admin Required
not-authorized/root-folder-behavior-skip-site-admin-required ErrRootFolderBehaviorSkipSiteAdminRequired Root Folder Behavior Skip Site Admin Required
not-authorized/self-managed-required ErrSelfManagedRequired Self Managed Required
not-authorized/site-admin-or-partner-admin-permission-required ErrSiteAdminOrPartnerAdminPermissionRequired Site Admin Or Partner Admin Permission Required
not-authorized/site-admin-or-workspace-admin-or-folder-admin-permission-required ErrSiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequired Site Admin Or Workspace Admin Or Folder Admin Permission Required
not-authorized/site-admin-or-workspace-admin-or-partner-admin-or-folder-admin-permission-required ErrSiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequired Site Admin Or Workspace Admin Or Partner Admin Or Folder Admin Permission Required
not-authorized/site-admin-or-workspace-admin-or-partner-admin-permission-required ErrSiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequired Site Admin Or Workspace Admin Or Partner Admin Permission Required
not-authorized/site-admin-or-workspace-admin-permission-required ErrSiteAdminOrWorkspaceAdminPermissionRequired Site Admin Or Workspace Admin Permission Required
not-authorized/site-admin-required ErrSiteAdminRequired Site Admin Required
not-authorized/site-files-are-immutable ErrSiteFilesAreImmutable Site Files Are Immutable
not-authorized/two-factor-authentication-required ErrTwoFactorAuthenticationRequired Two Factor Authentication Required
not-authorized/user-id-without-site-admin ErrUserIdWithoutSiteAdmin User Id Without Site Admin
not-authorized/write-and-bundle-permission-required ErrWriteAndBundlePermissionRequired Write And Bundle Permission Required
not-authorized/write-permission-required ErrWritePermissionRequired Write Permission Required
not-found ErrNotFound Not Found
not-found/api-key-not-found ErrApiKeyNotFound Api Key Not Found
not-found/bundle-path-not-found ErrBundlePathNotFound Bundle Path Not Found
not-found/bundle-registration-not-found ErrBundleRegistrationNotFound Bundle Registration Not Found
not-found/code-not-found ErrCodeNotFound Code Not Found
not-found/file-not-found ErrFileNotFound File Not Found
not-found/file-upload-not-found ErrFileUploadNotFound File Upload Not Found
not-found/group-not-found ErrGroupNotFound Group Not Found
not-found/inbox-not-found ErrInboxNotFound Inbox Not Found
not-found/nested-not-found ErrNestedNotFound Nested Not Found
not-found/plan-not-found ErrPlanNotFound Plan Not Found
not-found/site-not-found ErrSiteNotFound Site Not Found
not-found/user-not-found ErrUserNotFound User Not Found
processing-failure ErrProcessingFailure Processing Failure
processing-failure/agent-push-update-blocked ErrAgentPushUpdateBlocked Agent Push Update Blocked
processing-failure/agent-unavailable ErrAgentUnavailable Agent Unavailable
processing-failure/ai-task-cannot-be-run-manually ErrAiTaskCannotBeRunManually Ai Task Cannot Be Run Manually
processing-failure/already-completed ErrAlreadyCompleted Already Completed
processing-failure/automation-cannot-be-run-manually ErrAutomationCannotBeRunManually Automation Cannot Be Run Manually
processing-failure/behavior-not-allowed-on-remote-server ErrBehaviorNotAllowedOnRemoteServer Behavior Not Allowed On Remote Server
processing-failure/buffered-upload-disabled-for-this-destination ErrBufferedUploadDisabledForThisDestination Buffered Upload Disabled For This Destination
processing-failure/bundle-only-allows-previews ErrBundleOnlyAllowsPreviews Bundle Only Allows Previews
processing-failure/bundle-operation-requires-subfolder ErrBundleOperationRequiresSubfolder Bundle Operation Requires Subfolder
processing-failure/configuration-locked-path ErrConfigurationLockedPath Configuration Locked Path
processing-failure/could-not-create-parent ErrCouldNotCreateParent Could Not Create Parent
processing-failure/destination-exists ErrDestinationExists Destination Exists
processing-failure/destination-folder-limited ErrDestinationFolderLimited Destination Folder Limited
processing-failure/destination-parent-conflict ErrDestinationParentConflict Destination Parent Conflict
processing-failure/destination-parent-does-not-exist ErrDestinationParentDoesNotExist Destination Parent Does Not Exist
processing-failure/exceeded-runtime-limit ErrExceededRuntimeLimit Exceeded Runtime Limit
processing-failure/expectation-already-has-open-window ErrExpectationAlreadyHasOpenWindow Expectation Already Has Open Window
processing-failure/expectation-not-manual-trigger ErrExpectationNotManualTrigger Expectation Not Manual Trigger
processing-failure/expired-private-key ErrExpiredPrivateKey Expired Private Key
processing-failure/expired-public-key ErrExpiredPublicKey Expired Public Key
processing-failure/export-failure ErrExportFailure Export Failure
processing-failure/export-not-ready ErrExportNotReady Export Not Ready
processing-failure/failed-to-change-password ErrFailedToChangePassword Failed To Change Password
processing-failure/file-locked ErrFileLocked File Locked
processing-failure/file-not-uploaded ErrFileNotUploaded File Not Uploaded
processing-failure/file-pending-processing ErrFilePendingProcessing File Pending Processing
processing-failure/file-processing-error ErrFileProcessingError File Processing Error
processing-failure/file-too-big-to-decrypt ErrFileTooBigToDecrypt File Too Big To Decrypt
processing-failure/file-too-big-to-encrypt ErrFileTooBigToEncrypt File Too Big To Encrypt
processing-failure/file-uploaded-to-wrong-region ErrFileUploadedToWrongRegion File Uploaded To Wrong Region
processing-failure/filename-too-long ErrFilenameTooLong Filename Too Long
processing-failure/folder-locked ErrFolderLocked Folder Locked
processing-failure/folder-not-empty ErrFolderNotEmpty Folder Not Empty
processing-failure/history-unavailable ErrHistoryUnavailable History Unavailable
processing-failure/invalid-bundle-code ErrInvalidBundleCode Invalid Bundle Code
processing-failure/invalid-file-type ErrInvalidFileType Invalid File Type
processing-failure/invalid-filename ErrInvalidFilename Invalid Filename
processing-failure/invalid-priority-color ErrInvalidPriorityColor Invalid Priority Color
processing-failure/invalid-range ErrInvalidRange Invalid Range
processing-failure/invalid-site ErrInvalidSite Invalid Site
processing-failure/invalid-zip-file ErrInvalidZipFile Invalid Zip File
processing-failure/metadata-not-supported-on-remotes ErrMetadataNotSupportedOnRemotes Metadata Not Supported On Remotes
processing-failure/model-save-error ErrModelSaveError Model Save Error
processing-failure/multiple-processing-errors ErrMultipleProcessingErrors Multiple Processing Errors
processing-failure/path-too-long ErrPathTooLong Path Too Long
processing-failure/recipient-already-shared ErrRecipientAlreadyShared Recipient Already Shared
processing-failure/remote-entry-read-only ErrRemoteEntryReadOnly Remote Entry Read Only
processing-failure/remote-server-error ErrRemoteServerError Remote Server Error
processing-failure/resource-belongs-to-parent-site ErrResourceBelongsToParentSite Resource Belongs To Parent Site
processing-failure/resource-locked ErrResourceLocked Resource Locked
processing-failure/subfolder-locked ErrSubfolderLocked Subfolder Locked
processing-failure/sync-in-progress ErrSyncInProgress Sync In Progress
processing-failure/two-factor-authentication-code-already-sent ErrTwoFactorAuthenticationCodeAlreadySent Two Factor Authentication Code Already Sent
processing-failure/two-factor-authentication-country-blacklisted ErrTwoFactorAuthenticationCountryBlacklisted Two Factor Authentication Country Blacklisted
processing-failure/two-factor-authentication-general-error ErrTwoFactorAuthenticationGeneralError Two Factor Authentication General Error
processing-failure/two-factor-authentication-method-unsupported-error ErrTwoFactorAuthenticationMethodUnsupportedError Two Factor Authentication Method Unsupported Error
processing-failure/two-factor-authentication-unsubscribed-recipient ErrTwoFactorAuthenticationUnsubscribedRecipient Two Factor Authentication Unsubscribed Recipient
processing-failure/updates-not-allowed-for-remotes ErrUpdatesNotAllowedForRemotes Updates Not Allowed For Remotes
rate-limited/duplicate-share-recipient ErrDuplicateShareRecipient Duplicate Share Recipient
rate-limited/reauthentication-rate-limited ErrReauthenticationRateLimited Reauthentication Rate Limited
rate-limited/too-many-concurrent-logins ErrTooManyConcurrentLogins Too Many Concurrent Logins
rate-limited/too-many-concurrent-requests ErrTooManyConcurrentRequests Too Many Concurrent Requests
rate-limited/too-many-login-attempts ErrTooManyLoginAttempts Too Many Login Attempts
rate-limited/too-many-requests ErrTooManyRequests Too Many Requests
rate-limited/too-many-shares ErrTooManyShares Too Many Shares
service-unavailable/automations-unavailable ErrAutomationsUnavailable Automations Unavailable
service-unavailable/lock-operation-busy ErrLockOperationBusy Lock Operation Busy
service-unavailable/migration-in-progress ErrMigrationInProgress Migration In Progress
service-unavailable/search-unavailable ErrSearchUnavailable Search Unavailable
service-unavailable/site-disabled ErrSiteDisabled Site Disabled
service-unavailable/uploads-unavailable ErrUploadsUnavailable Uploads Unavailable
site-configuration/account-already-exists ErrAccountAlreadyExists Account Already Exists
site-configuration/account-overdue ErrAccountOverdue Account Overdue
site-configuration/no-account-for-site ErrNoAccountForSite No Account For Site
site-configuration/site-was-removed ErrSiteWasRemoved Site Was Removed
site-configuration/trial-expired ErrTrialExpired Trial Expired
site-configuration/trial-locked ErrTrialLocked Trial Locked
site-configuration/user-requests-enabled-required ErrUserRequestsEnabledRequired User Requests Enabled Required
ResponseError Helpers

Helpers are provided for matching error families.

Error Type Prefix Go Error Helper
bad-request ErrBadRequest IsBadRequest
not-authenticated ErrNotAuthenticated IsAuthenticationError
not-authorized ErrNotAuthorized IsAuthorizationError
not-found ErrNotFound IsNotFound
processing-failure ErrProcessingFailure IsProcessingFailure
rate-limited ErrRateLimited IsRateLimited
service-unavailable ErrServiceUnavailable IsServiceUnavailable
site-configuration ErrSiteConfiguration IsSiteConfiguration

Pagination

Listing methods return lazy iterators. Use for resource, err := range listing.All() to read the results. Calling the listing method or All() makes no API request. The iterator fetches pages during iteration. All() does not collect all pages first.

Each resource has a nil error. Check the error before using the resource. An unhandled request, decoding, or cancellation error is yielded once and ends that traversal. An empty listing, normal completion, or a page limit ends the loop without an extra resource or error.

Set ListParams.PerPage to request a page size. Set ListParams.MaxPages to limit the number of pages requested. Its default value, 0, allows all pages.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

listing, err := folder.ListFor(files_sdk.FolderListForParams{Path: "path"})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for file, err := range listing.All() {
    if err != nil {
        var respErr files_sdk.ResponseError
        if errors.As(err, &respErr) {
            fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
        } else {
            fmt.Printf("Request failed: %v\n", err)
        }
        return
    }
    fmt.Println(file.Path)
}
Stop or Resume Iteration

Use break or return to stop the loop. No further results are yielded or pages requested by that traversal.

The listing is single-use. All() continues from its current position instead of restarting it. After earlier Next() calls or an early break, another All() loop or Next() call resumes at the next resource. After completion, reaching MaxPages, or a failure, later All() calls yield nothing and make no requests. Err() retains a failure, including one encountered through Next().

Call the listing method again to restart. Reload() also creates a fresh iterator, returned as files_sdk.IterI. Use a type assertion to the generated iterator type if you want to call All() on that result.

Both All() and Next() advance the same iterator. Use one traversal at a time. Do not call Next() inside an All() loop or use one iterator from several goroutines.

Use Next and Err

Existing Next() and Err() code remains supported. Read the typed resource, such as File(), only after Next() returns true. Check Err() after the loop.

import (
    "fmt"
    "errors"

    files_sdk "github.com/Files-com/files-sdk-go/v3"
    "github.com/Files-com/files-sdk-go/v3/folder"
)

listing, err := folder.ListFor(files_sdk.FolderListForParams{Path: "path"})
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

for listing.Next() {
    fmt.Println(listing.File().Path)
}
err = listing.Err()
if err != nil {
    var respErr files_sdk.ResponseError
    if errors.As(err, &respErr) {
        fmt.Printf("API error (%s): %s\n", respErr.Type, respErr.ErrorMessage)
    } else {
        fmt.Printf("Request failed: %v\n", err)
    }
    return
}

Mock Server

Files.com publishes a mock Files.com API server, which is useful for testing your use of the Files.com SDKs and other direct integrations against the Files.com API in an integration test environment. It never checks credentials: send any placeholder API key, such as YOUR_API_KEY, and never use real Files.com credentials with it.

The server has two modes, chosen when it starts:

  • Legacy mode (the default) checks required parameters and parameter types, then returns a fixed example response for each API endpoint. It does not maintain state and it does not deeply inspect your submissions for correctness, which makes it useful for testing basic network operations and JSON encoding for your SDK or API client.
  • Simulation mode keeps records, files and folders in memory, so a test can create, list, update and delete resources, upload a file and download the same bytes, and make chosen requests fail, stall or lose their connection on purpose. Requests it does not simulate fail with a clear error instead of returning an example response.
Quick Start with Docker

With Docker installed, start the published image from Docker Hub with the command shown. It runs legacy mode at http://127.0.0.1:4041, reachable from your machine only: point your integration's Files.com API base URL there and use a placeholder API key. Stop it with Ctrl+C; --rm removes its container.

The published image is built for linux/amd64 only, so the command asks for that platform; without it, Docker on a machine of another architecture, such as an Apple silicon Mac, looks for an image the tag does not have. The latest tag moves to whichever server was published last, and --pull=always fetches it again each time, so it need not include simulation mode. To run simulation mode, build the image from the source as below.

docker run --platform linux/amd64 --rm --pull=always -p 127.0.0.1:4041:4041 filescom/files-mock-server:latest

## In another terminal, with a placeholder API key:
curl -H "X-FilesAPI-Key: YOUR_API_KEY" http://127.0.0.1:4041/api/rest/v1/users
Simulation Mode in Docker

To run exactly the server the source's README describes, simulation mode included, build the image from a checkout of the source on GitHub and run it by the image ID you record with your test results. Only linux/amd64 builds of the source have been checked, so both commands ask for that platform.

Simulation mode listens only on loopback unless told otherwise, so the command binds it to the container's interfaces with -b tcp://0.0.0.0:4041 and publishes the port on your machine's loopback address only. FILES_MOCK_TRANSFER_ORIGIN tells it the address your tests use, so the upload and download URLs it returns point at the published port.

Simulation mode keeps its state only in the server process. Its control endpoints under /__files_mock/v1 report when the server is ready, reset it with your fixtures, add fault rules and return the journal of the requests it received. It refuses work over its limits instead of truncating it. The README in the source describes all of these, the operations it simulates and how to configure its limits.

## In a checkout of the source:
docker build --platform linux/amd64 -t files-mock-server:local .
image=$(docker image inspect --format '{{.Id}}' files-mock-server:local)
echo "$image"   # record this ID with your test results
docker run --platform linux/amd64 --rm -e FILES_MOCK_MODE=simulation \
  -e FILES_MOCK_TRANSFER_ORIGIN=http://127.0.0.1:40410 \
  -p 127.0.0.1:40410:4041 "$image" -b tcp://0.0.0.0:4041

## In another terminal:
curl http://127.0.0.1:40410/__files_mock/v1/ready
From the Source with Ruby

Start the server from its source with Ruby and Bundler. FILES_MOCK_MODE is read once at startup: leaving it unset or setting it to legacy starts legacy mode, simulation starts simulation mode, and any other value stops startup with an error. Legacy mode listens on port 4041 on all IPv4 interfaces, and simulation mode on 127.0.0.1:4041.

bundle install

## Legacy mode
bundle exec puma

## Simulation mode
FILES_MOCK_MODE=simulation bundle exec puma

Sending File Content with a Request

A parameter that takes a file, such as avatar_file when you create or update a user, has an io.Writer field in the params struct, AvatarFile. Set it to lib.NewAttachment("avatar.png", "image/png", content), a *bytes.Buffer or an *os.File, and the SDK sends the request as multipart/form-data, with the file as one part.

To send the content inside the JSON request instead, use the field named after the parameter with Attachment at the end: AvatarFileAttachment. Set it with lib.NewJSONAttachment when you know the content's size, as you do for a file, or with lib.NewJSONAttachmentUpTo and the most bytes you accept when you don't, as for a response body:

avatar, err := os.Open("avatar.png")
if err != nil {
	return err
}
defer avatar.Close()
info, err := avatar.Stat()
if err != nil {
	return err
}

_, err = client.Update(files_sdk.UserUpdateParams{
	Id:                   123,
	AvatarFileAttachment: lib.NewJSONAttachment(avatar, info.Size(), "avatar.png", "image/png"),
}, files_sdk.WithContext(ctx))

The SDK sends the content and the other parameters in one JSON request, with the content as a file object: {"encoded_content": "<base64>", "filename": "avatar.png", "type": "image/png"}. It reads the content before sending anything, keeps it encoded in memory or, above 1 MiB, in a temporary file it removes when the call returns, and resends that copy if the request is retried. If the HTTP transport is still sending the request body when the call returns, the file stays open until the transport closes the body; on Windows, where an open file cannot be removed, it is removed only then. The request fails without sending anything if the content does not have the size you gave, has more than your limit, cannot be read, or the context ends while it is being read. The SDK does not close your reader, and each attachment can be sent once.

Documentation ¶

Overview ¶

Package files_sdk provides Files.com API models, request parameters, configuration, pagination, and error handling. Resource-specific clients are in subpackages such as folder and user.

Initialize a Config and embed it in a resource client to authenticate with an API key or session. Package-level resource functions use the default configuration, including the FILES_API_KEY environment variable.

Listing methods return lazy iterators. Range over listing.All(), checking each error before using its resource. All walks the remaining results without restarting the listing. Next and Err remain available for existing callers. WithContext supplies cancellation and deadlines for requests. ResponseError supports errors.As for details and errors.Is for API error types and groups.

Index ¶

Constants ¶

View Source
const (
	UserAgent   = "Files.com Go SDK"
	DefaultSite = "app"
	APIPath     = "/api/rest/v1"
)
View Source
const (
	FeatureFlagAdaptiveUploadV2        = "adaptive-upload-v2"
	FeatureFlagSparseRangeReads        = "sparse-range-reads"
	FeatureFlagUploadV2ChecksumTrailer = "upload-v2-checksum-trailer"
)
View Source
const DestinationExists = string(ErrDestinationExists)

DestinationExists is the legacy string form of ErrDestinationExists.

Deprecated: Use ErrDestinationExists with errors.Is.

View Source
const DownloadRequestExpired = string(ErrDownloadRequestExpired)

DownloadRequestExpired is the legacy string form of ErrDownloadRequestExpired.

Deprecated: Use ErrDownloadRequestExpired with errors.Is.

View Source
const (
	ProductionEndpoint = "https://{{SUBDOMAIN}}.files.com"
)
View Source
const UploadObjectExpires = time.Minute * (24 * 3)
View Source
const UploadPartExpires = time.Minute * 15
View Source
const UploadRequestExpired = string(ErrUploadRequestExpired)

UploadRequestExpired is the legacy string form of ErrUploadRequestExpired.

Deprecated: Use ErrUploadRequestExpired with errors.Is.

Variables ¶

View Source
var (
	ErrDirectTransferUnavailable     = errors.New("direct transfer unavailable")
	ErrDirectTransferResponseStarted = errors.New("direct transfer response processing started")
)
View Source
var VERSION = "3.3.324"

Functions ¶

func APIError ¶

func APIError(callbacks ...func(ResponseError) ResponseError) func(res *http.Response) error

APIError returns a response handler that recognizes structured API errors and Files.com server error pages. callbacks transform a decoded ResponseError before it is returned. Other response formats require separate status handling.

func BuildRequest ¶ added in v3.2.271

func BuildRequest(request *http.Request, opts ...RequestResponseOption) (*http.Request, error)

BuildRequest applies opts in order and returns the resulting request. It stops at the first option error and does not send the request.

func BuildResponse ¶ added in v3.2.271

func BuildResponse(response *http.Response, opts ...RequestResponseOption) (*http.Response, error)

BuildResponse applies opts in order and returns the resulting response. It stops at the first option error, closes the discarded body, and returns nil.

func Call ¶

func Call(method string, config Config, resource string, params lib.Values, opts ...RequestResponseOption) (*[]byte, *http.Response, error)

Call sends an API request and returns its response bytes, HTTP response, and any transport, response-reading, or API error. The caller must close the response body.

func CallRaw ¶

func CallRaw(params *CallParams) (response *http.Response, err error)

CallRaw sends a request without decoding the response. Client, when provided, overrides the configured retry client. The caller must close the response body. Returned URL errors redact the request URL in either debug mode; DEBUG diagnostics may contain the full URL. Retry entries above DEBUG redact URLs and credentials.

func ContextOption ¶

func ContextOption(opts []RequestResponseOption) context.Context

ContextOption extracts the context from opts, or returns context.Background when no context is set. Errors from options are ignored.

func DirectConnectionInfoPresent ¶ added in v3.3.194

func DirectConnectionInfoPresent(info DirectConnectionInfo) bool

DirectConnectionInfoPresent reports whether info has the supported version and the fields required for a direct connection. It does not validate the addresses, certificate, or reachability of the Agent.

func DirectTransferRequestHeaders ¶ added in v3.3.194

func DirectTransferRequestHeaders(headers *http.Header) *http.Header

DirectTransferRequestHeaders copies headers and removes Files.com credential and workspace headers, Authorization, Proxy-Authorization, and Cookie. A nil input returns an empty header map.

func DirectTransferRetryableClient ¶ added in v3.3.194

func DirectTransferRetryableClient(ctx context.Context, config Config, info DirectConnectionInfo) (string, *retryablehttp.Client, error)

DirectTransferRetryableClient returns the direct URL and a retryable HTTP client for info. It returns an error when direct transfers are disabled or info cannot be used to configure a direct connection.

func FeatureFlags ¶

func FeatureFlags() map[string]bool

func IsAnyErrorType ¶ added in v3.3.54

func IsAnyErrorType(err error, responseTypes ...ResponseErrorType) bool

IsAnyErrorType reports whether err contains any of the supplied API error types.

func IsAuthenticationError ¶ added in v3.3.54

func IsAuthenticationError(err error) bool

IsAuthenticationError reports whether err belongs to the not-authenticated API error group.

func IsAuthorizationError ¶ added in v3.3.54

func IsAuthorizationError(err error) bool

IsAuthorizationError reports whether err belongs to the not-authorized API error group.

func IsBadRequest ¶ added in v3.3.54

func IsBadRequest(err error) bool

IsBadRequest reports whether err belongs to the bad-request API error group.

func IsErrorGroup ¶ added in v3.3.54

func IsErrorGroup(err error, responseGroup ResponseErrorGroup) bool

IsErrorGroup reports whether err contains a ResponseError in responseGroup.

func IsErrorType ¶ added in v3.3.54

func IsErrorType(err error, responseType ResponseErrorType) bool

IsErrorType reports whether err contains a ResponseError with the exact responseType.

func IsExist ¶ added in v3.1.0

func IsExist(err error) bool

IsExist reports whether err matches ErrDestinationExists through errors.Is.

func IsExpired ¶ added in v3.2.236

func IsExpired(err error) bool

IsExpired reports whether an upload or download request has expired.

func IsNotAuthenticated ¶ added in v3.2.244

func IsNotAuthenticated(err error) bool

IsNotAuthenticated reports whether err belongs to the API not-authenticated error group.

func IsNotExist ¶ added in v3.1.0

func IsNotExist(err error) bool

IsNotExist reports whether err belongs to the API not-found error group.

func IsNotFound ¶ added in v3.3.54

func IsNotFound(err error) bool

IsNotFound reports whether err belongs to the not-found API error group.

func IsProcessingFailure ¶ added in v3.3.54

func IsProcessingFailure(err error) bool

IsProcessingFailure reports whether err belongs to the processing-failure API error group.

func IsRateLimited ¶ added in v3.3.54

func IsRateLimited(err error) bool

IsRateLimited reports whether err belongs to the rate-limited API error group.

func IsServiceUnavailable ¶ added in v3.3.54

func IsServiceUnavailable(err error) bool

IsServiceUnavailable reports whether err belongs to the service-unavailable API error group.

func IsSiteConfiguration ¶ added in v3.3.54

func IsSiteConfiguration(err error) bool

IsSiteConfiguration reports whether err belongs to the site-configuration API error group.

func IterAll ¶ added in v3.3.301

func IterAll[T any](i *Iter) iter.Seq2[T, error]

IterAll returns an iterator over the resources that later calls to i.Next would return, as values of type T. Generated listing iterators provide it as their All method:

for file, err := range it.All() {
	if err != nil {
		// Handle the listing error.
		return err
	}
	// Process file.
}

Creating the iterator requests nothing. Each page is requested when the loop reaches it, and breaking out of the loop requests nothing more. Each resource is yielded with a nil error. If a page request fails, the loop ends with one final yield of the zero value and the error, which Err also returns. The end of the listing, MaxPages, or an empty listing ends the loop without an extra yield. A resource that is not a T ends the loop the same way, with an error that Err also returns.

The iterator shares i's position: after a break or calls to Next, a new loop continues with the next resource. Once the listing has ended or failed, it yields nothing; call the listing method again, or Reload, to start over. Do not call i.Next during the loop.

func ParseResponse ¶

func ParseResponse(res *http.Response, resource string) (*[]byte, *http.Response, error)

ParseResponse checks res for API errors and reads its body. It does not close the body; the caller must close it, including when this function returns an error.

func Resource ¶

func Resource(config Config, resource lib.Resource, opt ...RequestResponseOption) error

Resource sends an API resource request, decodes its response into the resource entity, and closes the response body.

func WithDirectTransferClientCache ¶ added in v3.3.194

func WithDirectTransferClientCache(ctx context.Context) (context.Context, func())

WithDirectTransferClientCache returns a context that reuses a direct HTTP client within one transfer, and a cleanup function that closes idle connections. Call the cleanup function when the transfer finishes. If ctx already contains a cache, the returned cleanup function does nothing.

func WrapDirectTransferOptions ¶ added in v3.3.194

func WrapDirectTransferOptions(config Config, info DirectConnectionInfo, request *http.Request, opts ...RequestResponseOption) (*http.Response, error)

WrapDirectTransferOptions sends a copy of request to the Agent's direct endpoint and applies the supplied request and response options. The caller must close the body of a successful response. An unsuccessful HTTP response is closed here and returned with a DirectTransferResponseError.

func WrapRequestOptions ¶

func WrapRequestOptions(config Config, request *http.Request, opts ...RequestResponseOption) (*http.Response, error)

WrapRequestOptions applies request options, sends the request with config, and applies response options. The caller must close a returned response body.

Types ¶

type AccountLineItem ¶

type AccountLineItem struct {
	// Line item Id.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Line item amount.
	Amount string `json:"amount,omitempty" path:"amount,omitempty" url:"amount,omitempty"`
	// Line item balance.
	Balance string `json:"balance,omitempty" path:"balance,omitempty" url:"balance,omitempty"`
	// Line item created at.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Line item currency.
	Currency string `json:"currency,omitempty" path:"currency,omitempty" url:"currency,omitempty"`
	// Line item download uri.
	DownloadUri string `json:"download_uri,omitempty" path:"download_uri,omitempty" url:"download_uri,omitempty"`
	// Associated invoice line items.
	InvoiceLineItems []InvoiceLineItem `json:"invoice_line_items,omitempty" path:"invoice_line_items,omitempty" url:"invoice_line_items,omitempty"`
	// Line item payment method.
	Method string `json:"method,omitempty" path:"method,omitempty" url:"method,omitempty"`
	// Associated payment line items.
	PaymentLineItems []PaymentLineItem `json:"payment_line_items,omitempty" path:"payment_line_items,omitempty" url:"payment_line_items,omitempty"`
	// Date/time payment was reversed if applicable.
	PaymentReversedAt *time.Time `json:"payment_reversed_at,omitempty" path:"payment_reversed_at,omitempty" url:"payment_reversed_at,omitempty"`
	// Type of payment if applicable.
	PaymentType string `json:"payment_type,omitempty" path:"payment_type,omitempty" url:"payment_type,omitempty"`
	// Site name this line item is for.
	SiteName string `json:"site_name,omitempty" path:"site_name,omitempty" url:"site_name,omitempty"`
	// Type of line item, either payment or invoice.
	Type string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
}

AccountLineItem is a Files.com API resource.

func (AccountLineItem) Identifier ¶

func (a AccountLineItem) Identifier() interface{}

Identifier returns the resource ID.

func (*AccountLineItem) UnmarshalJSON ¶

func (a *AccountLineItem) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AccountLineItemCollection ¶

type AccountLineItemCollection []AccountLineItem

AccountLineItemCollection is a list of AccountLineItem resources.

func (*AccountLineItemCollection) ToSlice ¶

func (a *AccountLineItemCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AccountLineItemCollection) UnmarshalJSON ¶

func (a *AccountLineItemCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type Action ¶

type Action struct {
	// Action ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Action occurrence date/time.
	When *time.Time `json:"when,omitempty" path:"when,omitempty" url:"when,omitempty"`
	// The destination path for this action, if applicable.
	Destination string `json:"destination,omitempty" path:"destination,omitempty" url:"destination,omitempty"`
	// Friendly displayed output.
	Display string `json:"display,omitempty" path:"display,omitempty" url:"display,omitempty"`
	// IP Address that performed this action.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// The source path for this action, if applicable.
	Source string `json:"source,omitempty" path:"source,omitempty" url:"source,omitempty"`
	// Targets.
	Targets interface{} `json:"targets,omitempty" path:"targets,omitempty" url:"targets,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// true if this change was performed by a user on a parent site.
	UserIsFromParentSite *bool `json:"user_is_from_parent_site,omitempty" path:"user_is_from_parent_site,omitempty" url:"user_is_from_parent_site,omitempty"`
	// Type of action.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// Failure type. If action was a user login or session failure, why did it fail?
	FailureType string `json:"failure_type,omitempty" path:"failure_type,omitempty" url:"failure_type,omitempty"`
	// Interface on which this action occurred.
	Interface string `json:"interface,omitempty" path:"interface,omitempty" url:"interface,omitempty"`
}

Action is a Files.com API resource.

func (Action) Identifier ¶

func (a Action) Identifier() interface{}

Identifier returns the resource ID.

func (*Action) UnmarshalJSON ¶

func (a *Action) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ActionCollection ¶

type ActionCollection []Action

ActionCollection is a list of Action resources.

func (*ActionCollection) ToSlice ¶

func (a *ActionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ActionCollection) UnmarshalJSON ¶

func (a *ActionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ActionLog ¶ added in v3.3.37

type ActionLog struct {
	// The type of action performed.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// Time the action was performed.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Destination path, for moves and copies.
	Destination string `json:"destination,omitempty" path:"destination,omitempty" url:"destination,omitempty"`
	// Failure type, if applicable.
	FailureType string `json:"failure_type,omitempty" path:"failure_type,omitempty" url:"failure_type,omitempty"`
	// Folder involved in the action.
	Folder string `json:"folder,omitempty" path:"folder,omitempty" url:"folder,omitempty"`
	// Interface used to perform the action.
	Interface string `json:"interface,omitempty" path:"interface,omitempty" url:"interface,omitempty"`
	// IP address from which the action was performed.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// File or Folder ID associated with the action.
	MetadataDmId int64 `json:"metadata_dm_id,omitempty" path:"metadata_dm_id,omitempty" url:"metadata_dm_id,omitempty"`
	// Parent File or Folder ID associated with the action.
	ParentMetadataDmId int64 `json:"parent_metadata_dm_id,omitempty" path:"parent_metadata_dm_id,omitempty" url:"parent_metadata_dm_id,omitempty"`
	// File path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Site ID where the action took place.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// Source path, for moves and copies.
	Src string `json:"src,omitempty" path:"src,omitempty" url:"src,omitempty"`
	// User ID who performed the action.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Username who performed the action.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
}

ActionLog is a Files.com API resource.

func (ActionLog) Identifier ¶ added in v3.3.37

func (a ActionLog) Identifier() interface{}

Identifier returns the resource path.

func (*ActionLog) UnmarshalJSON ¶ added in v3.3.37

func (a *ActionLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ActionLogCollection ¶ added in v3.3.37

type ActionLogCollection []ActionLog

ActionLogCollection is a list of ActionLog resources.

func (*ActionLogCollection) ToSlice ¶ added in v3.3.37

func (a *ActionLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ActionLogCollection) UnmarshalJSON ¶ added in v3.3.37

func (a *ActionLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ActionLogListParams ¶ added in v3.3.37

type ActionLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `folder`, `path`, `src`, `destination`, `created_at`, `user_id` or `username`. Valid field combinations are `[ folder ]`, `[ path ]`, `[ src ]`, `[ destination ]`, `[ created_at ]`, `[ user_id ]`, `[ username ]`, `[ folder, path ]`, `[ folder, src ]`, `[ folder, destination ]`, `[ folder, created_at ]`, `[ folder, user_id ]`, `[ folder, username ]`, `[ path, src ]`, `[ path, destination ]`, `[ path, created_at ]`, `[ path, user_id ]`, `[ path, username ]`, `[ src, destination ]`, `[ src, created_at ]`, `[ src, user_id ]`, `[ src, username ]`, `[ destination, created_at ]`, `[ destination, user_id ]`, `[ destination, username ]`, `[ created_at, user_id ]`, `[ created_at, username ]`, `[ user_id, username ]`, `[ folder, path, src ]`, `[ folder, path, destination ]`, `[ folder, path, created_at ]`, `[ folder, path, user_id ]`, `[ folder, path, username ]`, `[ folder, src, destination ]`, `[ folder, src, created_at ]`, `[ folder, src, user_id ]`, `[ folder, src, username ]`, `[ folder, destination, created_at ]`, `[ folder, destination, user_id ]`, `[ folder, destination, username ]`, `[ folder, created_at, user_id ]`, `[ folder, created_at, username ]`, `[ folder, user_id, username ]`, `[ path, src, destination ]`, `[ path, src, created_at ]`, `[ path, src, user_id ]`, `[ path, src, username ]`, `[ path, destination, created_at ]`, `[ path, destination, user_id ]`, `[ path, destination, username ]`, `[ path, created_at, user_id ]`, `[ path, created_at, username ]`, `[ path, user_id, username ]`, `[ src, destination, created_at ]`, `[ src, destination, user_id ]`, `[ src, destination, username ]`, `[ src, created_at, user_id ]`, `[ src, created_at, username ]`, `[ src, user_id, username ]`, `[ destination, created_at, user_id ]`, `[ destination, created_at, username ]`, `[ destination, user_id, username ]`, `[ created_at, user_id, username ]`, `[ folder, path, src, destination ]`, `[ folder, path, src, created_at ]`, `[ folder, path, src, user_id ]`, `[ folder, path, src, username ]`, `[ folder, path, destination, created_at ]`, `[ folder, path, destination, user_id ]`, `[ folder, path, destination, username ]`, `[ folder, path, created_at, user_id ]`, `[ folder, path, created_at, username ]`, `[ folder, path, user_id, username ]`, `[ folder, src, destination, created_at ]`, `[ folder, src, destination, user_id ]`, `[ folder, src, destination, username ]`, `[ folder, src, created_at, user_id ]`, `[ folder, src, created_at, username ]`, `[ folder, src, user_id, username ]`, `[ folder, destination, created_at, user_id ]`, `[ folder, destination, created_at, username ]`, `[ folder, destination, user_id, username ]`, `[ folder, created_at, user_id, username ]`, `[ path, src, destination, created_at ]`, `[ path, src, destination, user_id ]`, `[ path, src, destination, username ]`, `[ path, src, created_at, user_id ]`, `[ path, src, created_at, username ]`, `[ path, src, user_id, username ]`, `[ path, destination, created_at, user_id ]`, `[ path, destination, created_at, username ]`, `[ path, destination, user_id, username ]`, `[ path, created_at, user_id, username ]`, `[ src, destination, created_at, user_id ]`, `[ src, destination, created_at, username ]`, `[ src, destination, user_id, username ]`, `[ src, created_at, user_id, username ]`, `[ destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at ]`, `[ folder, path, src, destination, user_id ]`, `[ folder, path, src, destination, username ]`, `[ folder, path, src, created_at, user_id ]`, `[ folder, path, src, created_at, username ]`, `[ folder, path, src, user_id, username ]`, `[ folder, path, destination, created_at, user_id ]`, `[ folder, path, destination, created_at, username ]`, `[ folder, path, destination, user_id, username ]`, `[ folder, path, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id ]`, `[ folder, src, destination, created_at, username ]`, `[ folder, src, destination, user_id, username ]`, `[ folder, src, created_at, user_id, username ]`, `[ folder, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id ]`, `[ path, src, destination, created_at, username ]`, `[ path, src, destination, user_id, username ]`, `[ path, src, created_at, user_id, username ]`, `[ path, destination, created_at, user_id, username ]`, `[ src, destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at, user_id ]`, `[ folder, path, src, destination, created_at, username ]`, `[ folder, path, src, destination, user_id, username ]`, `[ folder, path, src, created_at, user_id, username ]`, `[ folder, path, destination, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id, username ]` or `[ folder, path, src, destination, created_at, user_id, username ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ folder ]`, `[ path ]`, `[ src ]`, `[ destination ]`, `[ created_at ]`, `[ user_id ]`, `[ username ]`, `[ folder, path ]`, `[ folder, src ]`, `[ folder, destination ]`, `[ folder, created_at ]`, `[ folder, user_id ]`, `[ folder, username ]`, `[ path, src ]`, `[ path, destination ]`, `[ path, created_at ]`, `[ path, user_id ]`, `[ path, username ]`, `[ src, destination ]`, `[ src, created_at ]`, `[ src, user_id ]`, `[ src, username ]`, `[ destination, created_at ]`, `[ destination, user_id ]`, `[ destination, username ]`, `[ created_at, user_id ]`, `[ created_at, username ]`, `[ user_id, username ]`, `[ folder, path, src ]`, `[ folder, path, destination ]`, `[ folder, path, created_at ]`, `[ folder, path, user_id ]`, `[ folder, path, username ]`, `[ folder, src, destination ]`, `[ folder, src, created_at ]`, `[ folder, src, user_id ]`, `[ folder, src, username ]`, `[ folder, destination, created_at ]`, `[ folder, destination, user_id ]`, `[ folder, destination, username ]`, `[ folder, created_at, user_id ]`, `[ folder, created_at, username ]`, `[ folder, user_id, username ]`, `[ path, src, destination ]`, `[ path, src, created_at ]`, `[ path, src, user_id ]`, `[ path, src, username ]`, `[ path, destination, created_at ]`, `[ path, destination, user_id ]`, `[ path, destination, username ]`, `[ path, created_at, user_id ]`, `[ path, created_at, username ]`, `[ path, user_id, username ]`, `[ src, destination, created_at ]`, `[ src, destination, user_id ]`, `[ src, destination, username ]`, `[ src, created_at, user_id ]`, `[ src, created_at, username ]`, `[ src, user_id, username ]`, `[ destination, created_at, user_id ]`, `[ destination, created_at, username ]`, `[ destination, user_id, username ]`, `[ created_at, user_id, username ]`, `[ folder, path, src, destination ]`, `[ folder, path, src, created_at ]`, `[ folder, path, src, user_id ]`, `[ folder, path, src, username ]`, `[ folder, path, destination, created_at ]`, `[ folder, path, destination, user_id ]`, `[ folder, path, destination, username ]`, `[ folder, path, created_at, user_id ]`, `[ folder, path, created_at, username ]`, `[ folder, path, user_id, username ]`, `[ folder, src, destination, created_at ]`, `[ folder, src, destination, user_id ]`, `[ folder, src, destination, username ]`, `[ folder, src, created_at, user_id ]`, `[ folder, src, created_at, username ]`, `[ folder, src, user_id, username ]`, `[ folder, destination, created_at, user_id ]`, `[ folder, destination, created_at, username ]`, `[ folder, destination, user_id, username ]`, `[ folder, created_at, user_id, username ]`, `[ path, src, destination, created_at ]`, `[ path, src, destination, user_id ]`, `[ path, src, destination, username ]`, `[ path, src, created_at, user_id ]`, `[ path, src, created_at, username ]`, `[ path, src, user_id, username ]`, `[ path, destination, created_at, user_id ]`, `[ path, destination, created_at, username ]`, `[ path, destination, user_id, username ]`, `[ path, created_at, user_id, username ]`, `[ src, destination, created_at, user_id ]`, `[ src, destination, created_at, username ]`, `[ src, destination, user_id, username ]`, `[ src, created_at, user_id, username ]`, `[ destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at ]`, `[ folder, path, src, destination, user_id ]`, `[ folder, path, src, destination, username ]`, `[ folder, path, src, created_at, user_id ]`, `[ folder, path, src, created_at, username ]`, `[ folder, path, src, user_id, username ]`, `[ folder, path, destination, created_at, user_id ]`, `[ folder, path, destination, created_at, username ]`, `[ folder, path, destination, user_id, username ]`, `[ folder, path, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id ]`, `[ folder, src, destination, created_at, username ]`, `[ folder, src, destination, user_id, username ]`, `[ folder, src, created_at, user_id, username ]`, `[ folder, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id ]`, `[ path, src, destination, created_at, username ]`, `[ path, src, destination, user_id, username ]`, `[ path, src, created_at, user_id, username ]`, `[ path, destination, created_at, user_id, username ]`, `[ src, destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at, user_id ]`, `[ folder, path, src, destination, created_at, username ]`, `[ folder, path, src, destination, user_id, username ]`, `[ folder, path, src, created_at, user_id, username ]`, `[ folder, path, destination, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id, username ]` or `[ folder, path, src, destination, created_at, user_id, username ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ folder ]`, `[ path ]`, `[ src ]`, `[ destination ]`, `[ created_at ]`, `[ user_id ]`, `[ username ]`, `[ folder, path ]`, `[ folder, src ]`, `[ folder, destination ]`, `[ folder, created_at ]`, `[ folder, user_id ]`, `[ folder, username ]`, `[ path, src ]`, `[ path, destination ]`, `[ path, created_at ]`, `[ path, user_id ]`, `[ path, username ]`, `[ src, destination ]`, `[ src, created_at ]`, `[ src, user_id ]`, `[ src, username ]`, `[ destination, created_at ]`, `[ destination, user_id ]`, `[ destination, username ]`, `[ created_at, user_id ]`, `[ created_at, username ]`, `[ user_id, username ]`, `[ folder, path, src ]`, `[ folder, path, destination ]`, `[ folder, path, created_at ]`, `[ folder, path, user_id ]`, `[ folder, path, username ]`, `[ folder, src, destination ]`, `[ folder, src, created_at ]`, `[ folder, src, user_id ]`, `[ folder, src, username ]`, `[ folder, destination, created_at ]`, `[ folder, destination, user_id ]`, `[ folder, destination, username ]`, `[ folder, created_at, user_id ]`, `[ folder, created_at, username ]`, `[ folder, user_id, username ]`, `[ path, src, destination ]`, `[ path, src, created_at ]`, `[ path, src, user_id ]`, `[ path, src, username ]`, `[ path, destination, created_at ]`, `[ path, destination, user_id ]`, `[ path, destination, username ]`, `[ path, created_at, user_id ]`, `[ path, created_at, username ]`, `[ path, user_id, username ]`, `[ src, destination, created_at ]`, `[ src, destination, user_id ]`, `[ src, destination, username ]`, `[ src, created_at, user_id ]`, `[ src, created_at, username ]`, `[ src, user_id, username ]`, `[ destination, created_at, user_id ]`, `[ destination, created_at, username ]`, `[ destination, user_id, username ]`, `[ created_at, user_id, username ]`, `[ folder, path, src, destination ]`, `[ folder, path, src, created_at ]`, `[ folder, path, src, user_id ]`, `[ folder, path, src, username ]`, `[ folder, path, destination, created_at ]`, `[ folder, path, destination, user_id ]`, `[ folder, path, destination, username ]`, `[ folder, path, created_at, user_id ]`, `[ folder, path, created_at, username ]`, `[ folder, path, user_id, username ]`, `[ folder, src, destination, created_at ]`, `[ folder, src, destination, user_id ]`, `[ folder, src, destination, username ]`, `[ folder, src, created_at, user_id ]`, `[ folder, src, created_at, username ]`, `[ folder, src, user_id, username ]`, `[ folder, destination, created_at, user_id ]`, `[ folder, destination, created_at, username ]`, `[ folder, destination, user_id, username ]`, `[ folder, created_at, user_id, username ]`, `[ path, src, destination, created_at ]`, `[ path, src, destination, user_id ]`, `[ path, src, destination, username ]`, `[ path, src, created_at, user_id ]`, `[ path, src, created_at, username ]`, `[ path, src, user_id, username ]`, `[ path, destination, created_at, user_id ]`, `[ path, destination, created_at, username ]`, `[ path, destination, user_id, username ]`, `[ path, created_at, user_id, username ]`, `[ src, destination, created_at, user_id ]`, `[ src, destination, created_at, username ]`, `[ src, destination, user_id, username ]`, `[ src, created_at, user_id, username ]`, `[ destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at ]`, `[ folder, path, src, destination, user_id ]`, `[ folder, path, src, destination, username ]`, `[ folder, path, src, created_at, user_id ]`, `[ folder, path, src, created_at, username ]`, `[ folder, path, src, user_id, username ]`, `[ folder, path, destination, created_at, user_id ]`, `[ folder, path, destination, created_at, username ]`, `[ folder, path, destination, user_id, username ]`, `[ folder, path, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id ]`, `[ folder, src, destination, created_at, username ]`, `[ folder, src, destination, user_id, username ]`, `[ folder, src, created_at, user_id, username ]`, `[ folder, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id ]`, `[ path, src, destination, created_at, username ]`, `[ path, src, destination, user_id, username ]`, `[ path, src, created_at, user_id, username ]`, `[ path, destination, created_at, user_id, username ]`, `[ src, destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at, user_id ]`, `[ folder, path, src, destination, created_at, username ]`, `[ folder, path, src, destination, user_id, username ]`, `[ folder, path, src, created_at, user_id, username ]`, `[ folder, path, destination, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id, username ]` or `[ folder, path, src, destination, created_at, user_id, username ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `folder`, `path`, `src`, `destination` or `username`. Valid field combinations are `[ folder ]`, `[ path ]`, `[ src ]`, `[ destination ]`, `[ created_at ]`, `[ user_id ]`, `[ username ]`, `[ folder, path ]`, `[ folder, src ]`, `[ folder, destination ]`, `[ folder, created_at ]`, `[ folder, user_id ]`, `[ folder, username ]`, `[ path, src ]`, `[ path, destination ]`, `[ path, created_at ]`, `[ path, user_id ]`, `[ path, username ]`, `[ src, destination ]`, `[ src, created_at ]`, `[ src, user_id ]`, `[ src, username ]`, `[ destination, created_at ]`, `[ destination, user_id ]`, `[ destination, username ]`, `[ created_at, user_id ]`, `[ created_at, username ]`, `[ user_id, username ]`, `[ folder, path, src ]`, `[ folder, path, destination ]`, `[ folder, path, created_at ]`, `[ folder, path, user_id ]`, `[ folder, path, username ]`, `[ folder, src, destination ]`, `[ folder, src, created_at ]`, `[ folder, src, user_id ]`, `[ folder, src, username ]`, `[ folder, destination, created_at ]`, `[ folder, destination, user_id ]`, `[ folder, destination, username ]`, `[ folder, created_at, user_id ]`, `[ folder, created_at, username ]`, `[ folder, user_id, username ]`, `[ path, src, destination ]`, `[ path, src, created_at ]`, `[ path, src, user_id ]`, `[ path, src, username ]`, `[ path, destination, created_at ]`, `[ path, destination, user_id ]`, `[ path, destination, username ]`, `[ path, created_at, user_id ]`, `[ path, created_at, username ]`, `[ path, user_id, username ]`, `[ src, destination, created_at ]`, `[ src, destination, user_id ]`, `[ src, destination, username ]`, `[ src, created_at, user_id ]`, `[ src, created_at, username ]`, `[ src, user_id, username ]`, `[ destination, created_at, user_id ]`, `[ destination, created_at, username ]`, `[ destination, user_id, username ]`, `[ created_at, user_id, username ]`, `[ folder, path, src, destination ]`, `[ folder, path, src, created_at ]`, `[ folder, path, src, user_id ]`, `[ folder, path, src, username ]`, `[ folder, path, destination, created_at ]`, `[ folder, path, destination, user_id ]`, `[ folder, path, destination, username ]`, `[ folder, path, created_at, user_id ]`, `[ folder, path, created_at, username ]`, `[ folder, path, user_id, username ]`, `[ folder, src, destination, created_at ]`, `[ folder, src, destination, user_id ]`, `[ folder, src, destination, username ]`, `[ folder, src, created_at, user_id ]`, `[ folder, src, created_at, username ]`, `[ folder, src, user_id, username ]`, `[ folder, destination, created_at, user_id ]`, `[ folder, destination, created_at, username ]`, `[ folder, destination, user_id, username ]`, `[ folder, created_at, user_id, username ]`, `[ path, src, destination, created_at ]`, `[ path, src, destination, user_id ]`, `[ path, src, destination, username ]`, `[ path, src, created_at, user_id ]`, `[ path, src, created_at, username ]`, `[ path, src, user_id, username ]`, `[ path, destination, created_at, user_id ]`, `[ path, destination, created_at, username ]`, `[ path, destination, user_id, username ]`, `[ path, created_at, user_id, username ]`, `[ src, destination, created_at, user_id ]`, `[ src, destination, created_at, username ]`, `[ src, destination, user_id, username ]`, `[ src, created_at, user_id, username ]`, `[ destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at ]`, `[ folder, path, src, destination, user_id ]`, `[ folder, path, src, destination, username ]`, `[ folder, path, src, created_at, user_id ]`, `[ folder, path, src, created_at, username ]`, `[ folder, path, src, user_id, username ]`, `[ folder, path, destination, created_at, user_id ]`, `[ folder, path, destination, created_at, username ]`, `[ folder, path, destination, user_id, username ]`, `[ folder, path, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id ]`, `[ folder, src, destination, created_at, username ]`, `[ folder, src, destination, user_id, username ]`, `[ folder, src, created_at, user_id, username ]`, `[ folder, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id ]`, `[ path, src, destination, created_at, username ]`, `[ path, src, destination, user_id, username ]`, `[ path, src, created_at, user_id, username ]`, `[ path, destination, created_at, user_id, username ]`, `[ src, destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at, user_id ]`, `[ folder, path, src, destination, created_at, username ]`, `[ folder, path, src, destination, user_id, username ]`, `[ folder, path, src, created_at, user_id, username ]`, `[ folder, path, destination, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id, username ]` or `[ folder, path, src, destination, created_at, user_id, username ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ folder ]`, `[ path ]`, `[ src ]`, `[ destination ]`, `[ created_at ]`, `[ user_id ]`, `[ username ]`, `[ folder, path ]`, `[ folder, src ]`, `[ folder, destination ]`, `[ folder, created_at ]`, `[ folder, user_id ]`, `[ folder, username ]`, `[ path, src ]`, `[ path, destination ]`, `[ path, created_at ]`, `[ path, user_id ]`, `[ path, username ]`, `[ src, destination ]`, `[ src, created_at ]`, `[ src, user_id ]`, `[ src, username ]`, `[ destination, created_at ]`, `[ destination, user_id ]`, `[ destination, username ]`, `[ created_at, user_id ]`, `[ created_at, username ]`, `[ user_id, username ]`, `[ folder, path, src ]`, `[ folder, path, destination ]`, `[ folder, path, created_at ]`, `[ folder, path, user_id ]`, `[ folder, path, username ]`, `[ folder, src, destination ]`, `[ folder, src, created_at ]`, `[ folder, src, user_id ]`, `[ folder, src, username ]`, `[ folder, destination, created_at ]`, `[ folder, destination, user_id ]`, `[ folder, destination, username ]`, `[ folder, created_at, user_id ]`, `[ folder, created_at, username ]`, `[ folder, user_id, username ]`, `[ path, src, destination ]`, `[ path, src, created_at ]`, `[ path, src, user_id ]`, `[ path, src, username ]`, `[ path, destination, created_at ]`, `[ path, destination, user_id ]`, `[ path, destination, username ]`, `[ path, created_at, user_id ]`, `[ path, created_at, username ]`, `[ path, user_id, username ]`, `[ src, destination, created_at ]`, `[ src, destination, user_id ]`, `[ src, destination, username ]`, `[ src, created_at, user_id ]`, `[ src, created_at, username ]`, `[ src, user_id, username ]`, `[ destination, created_at, user_id ]`, `[ destination, created_at, username ]`, `[ destination, user_id, username ]`, `[ created_at, user_id, username ]`, `[ folder, path, src, destination ]`, `[ folder, path, src, created_at ]`, `[ folder, path, src, user_id ]`, `[ folder, path, src, username ]`, `[ folder, path, destination, created_at ]`, `[ folder, path, destination, user_id ]`, `[ folder, path, destination, username ]`, `[ folder, path, created_at, user_id ]`, `[ folder, path, created_at, username ]`, `[ folder, path, user_id, username ]`, `[ folder, src, destination, created_at ]`, `[ folder, src, destination, user_id ]`, `[ folder, src, destination, username ]`, `[ folder, src, created_at, user_id ]`, `[ folder, src, created_at, username ]`, `[ folder, src, user_id, username ]`, `[ folder, destination, created_at, user_id ]`, `[ folder, destination, created_at, username ]`, `[ folder, destination, user_id, username ]`, `[ folder, created_at, user_id, username ]`, `[ path, src, destination, created_at ]`, `[ path, src, destination, user_id ]`, `[ path, src, destination, username ]`, `[ path, src, created_at, user_id ]`, `[ path, src, created_at, username ]`, `[ path, src, user_id, username ]`, `[ path, destination, created_at, user_id ]`, `[ path, destination, created_at, username ]`, `[ path, destination, user_id, username ]`, `[ path, created_at, user_id, username ]`, `[ src, destination, created_at, user_id ]`, `[ src, destination, created_at, username ]`, `[ src, destination, user_id, username ]`, `[ src, created_at, user_id, username ]`, `[ destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at ]`, `[ folder, path, src, destination, user_id ]`, `[ folder, path, src, destination, username ]`, `[ folder, path, src, created_at, user_id ]`, `[ folder, path, src, created_at, username ]`, `[ folder, path, src, user_id, username ]`, `[ folder, path, destination, created_at, user_id ]`, `[ folder, path, destination, created_at, username ]`, `[ folder, path, destination, user_id, username ]`, `[ folder, path, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id ]`, `[ folder, src, destination, created_at, username ]`, `[ folder, src, destination, user_id, username ]`, `[ folder, src, created_at, user_id, username ]`, `[ folder, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id ]`, `[ path, src, destination, created_at, username ]`, `[ path, src, destination, user_id, username ]`, `[ path, src, created_at, user_id, username ]`, `[ path, destination, created_at, user_id, username ]`, `[ src, destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at, user_id ]`, `[ folder, path, src, destination, created_at, username ]`, `[ folder, path, src, destination, user_id, username ]`, `[ folder, path, src, created_at, user_id, username ]`, `[ folder, path, destination, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id, username ]` or `[ folder, path, src, destination, created_at, user_id, username ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ folder ]`, `[ path ]`, `[ src ]`, `[ destination ]`, `[ created_at ]`, `[ user_id ]`, `[ username ]`, `[ folder, path ]`, `[ folder, src ]`, `[ folder, destination ]`, `[ folder, created_at ]`, `[ folder, user_id ]`, `[ folder, username ]`, `[ path, src ]`, `[ path, destination ]`, `[ path, created_at ]`, `[ path, user_id ]`, `[ path, username ]`, `[ src, destination ]`, `[ src, created_at ]`, `[ src, user_id ]`, `[ src, username ]`, `[ destination, created_at ]`, `[ destination, user_id ]`, `[ destination, username ]`, `[ created_at, user_id ]`, `[ created_at, username ]`, `[ user_id, username ]`, `[ folder, path, src ]`, `[ folder, path, destination ]`, `[ folder, path, created_at ]`, `[ folder, path, user_id ]`, `[ folder, path, username ]`, `[ folder, src, destination ]`, `[ folder, src, created_at ]`, `[ folder, src, user_id ]`, `[ folder, src, username ]`, `[ folder, destination, created_at ]`, `[ folder, destination, user_id ]`, `[ folder, destination, username ]`, `[ folder, created_at, user_id ]`, `[ folder, created_at, username ]`, `[ folder, user_id, username ]`, `[ path, src, destination ]`, `[ path, src, created_at ]`, `[ path, src, user_id ]`, `[ path, src, username ]`, `[ path, destination, created_at ]`, `[ path, destination, user_id ]`, `[ path, destination, username ]`, `[ path, created_at, user_id ]`, `[ path, created_at, username ]`, `[ path, user_id, username ]`, `[ src, destination, created_at ]`, `[ src, destination, user_id ]`, `[ src, destination, username ]`, `[ src, created_at, user_id ]`, `[ src, created_at, username ]`, `[ src, user_id, username ]`, `[ destination, created_at, user_id ]`, `[ destination, created_at, username ]`, `[ destination, user_id, username ]`, `[ created_at, user_id, username ]`, `[ folder, path, src, destination ]`, `[ folder, path, src, created_at ]`, `[ folder, path, src, user_id ]`, `[ folder, path, src, username ]`, `[ folder, path, destination, created_at ]`, `[ folder, path, destination, user_id ]`, `[ folder, path, destination, username ]`, `[ folder, path, created_at, user_id ]`, `[ folder, path, created_at, username ]`, `[ folder, path, user_id, username ]`, `[ folder, src, destination, created_at ]`, `[ folder, src, destination, user_id ]`, `[ folder, src, destination, username ]`, `[ folder, src, created_at, user_id ]`, `[ folder, src, created_at, username ]`, `[ folder, src, user_id, username ]`, `[ folder, destination, created_at, user_id ]`, `[ folder, destination, created_at, username ]`, `[ folder, destination, user_id, username ]`, `[ folder, created_at, user_id, username ]`, `[ path, src, destination, created_at ]`, `[ path, src, destination, user_id ]`, `[ path, src, destination, username ]`, `[ path, src, created_at, user_id ]`, `[ path, src, created_at, username ]`, `[ path, src, user_id, username ]`, `[ path, destination, created_at, user_id ]`, `[ path, destination, created_at, username ]`, `[ path, destination, user_id, username ]`, `[ path, created_at, user_id, username ]`, `[ src, destination, created_at, user_id ]`, `[ src, destination, created_at, username ]`, `[ src, destination, user_id, username ]`, `[ src, created_at, user_id, username ]`, `[ destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at ]`, `[ folder, path, src, destination, user_id ]`, `[ folder, path, src, destination, username ]`, `[ folder, path, src, created_at, user_id ]`, `[ folder, path, src, created_at, username ]`, `[ folder, path, src, user_id, username ]`, `[ folder, path, destination, created_at, user_id ]`, `[ folder, path, destination, created_at, username ]`, `[ folder, path, destination, user_id, username ]`, `[ folder, path, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id ]`, `[ folder, src, destination, created_at, username ]`, `[ folder, src, destination, user_id, username ]`, `[ folder, src, created_at, user_id, username ]`, `[ folder, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id ]`, `[ path, src, destination, created_at, username ]`, `[ path, src, destination, user_id, username ]`, `[ path, src, created_at, user_id, username ]`, `[ path, destination, created_at, user_id, username ]`, `[ src, destination, created_at, user_id, username ]`, `[ folder, path, src, destination, created_at, user_id ]`, `[ folder, path, src, destination, created_at, username ]`, `[ folder, path, src, destination, user_id, username ]`, `[ folder, path, src, created_at, user_id, username ]`, `[ folder, path, destination, created_at, user_id, username ]`, `[ folder, src, destination, created_at, user_id, username ]`, `[ path, src, destination, created_at, user_id, username ]` or `[ folder, path, src, destination, created_at, user_id, username ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ActionLogListParams contains the request parameters for GET /action_logs.

type ActionNotificationExport ¶

type ActionNotificationExport struct {
	// History Export ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Version of the underlying records for the export.
	ExportVersion string `json:"export_version,omitempty" path:"export_version,omitempty" url:"export_version,omitempty"`
	// Start date/time of export range.
	StartAt *time.Time `json:"start_at,omitempty" path:"start_at,omitempty" url:"start_at,omitempty"`
	// End date/time of export range.
	EndAt *time.Time `json:"end_at,omitempty" path:"end_at,omitempty" url:"end_at,omitempty"`
	// Status of export. Valid values: `building`, `ready`, or `failed`.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Return notifications that were triggered by actions on this specific path.
	QueryPath string `json:"query_path,omitempty" path:"query_path,omitempty" url:"query_path,omitempty"`
	// Return notifications that were triggered by actions in this folder.
	QueryFolder string `json:"query_folder,omitempty" path:"query_folder,omitempty" url:"query_folder,omitempty"`
	// Error message associated with the request, if any.
	QueryMessage string `json:"query_message,omitempty" path:"query_message,omitempty" url:"query_message,omitempty"`
	// The HTTP request method used by the webhook.
	QueryRequestMethod string `json:"query_request_method,omitempty" path:"query_request_method,omitempty" url:"query_request_method,omitempty"`
	// The target webhook URL.
	QueryRequestUrl string `json:"query_request_url,omitempty" path:"query_request_url,omitempty" url:"query_request_url,omitempty"`
	// The HTTP status returned from the server in response to the webhook request.
	QueryStatus string `json:"query_status,omitempty" path:"query_status,omitempty" url:"query_status,omitempty"`
	// true if the webhook request succeeded (i.e. returned a 200 or 204 response status). false otherwise.
	QuerySuccess *bool `json:"query_success,omitempty" path:"query_success,omitempty" url:"query_success,omitempty"`
	// If `status` is `ready`, this will be a URL where all the results can be downloaded at once as a CSV.
	ResultsUrl string `json:"results_url,omitempty" path:"results_url,omitempty" url:"results_url,omitempty"`
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
}

ActionNotificationExport is a Files.com API resource.

func (ActionNotificationExport) Identifier ¶

func (a ActionNotificationExport) Identifier() interface{}

Identifier returns the resource ID.

func (*ActionNotificationExport) UnmarshalJSON ¶

func (a *ActionNotificationExport) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ActionNotificationExportCollection ¶

type ActionNotificationExportCollection []ActionNotificationExport

ActionNotificationExportCollection is a list of ActionNotificationExport resources.

func (*ActionNotificationExportCollection) ToSlice ¶

func (a *ActionNotificationExportCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ActionNotificationExportCollection) UnmarshalJSON ¶

func (a *ActionNotificationExportCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ActionNotificationExportCreateParams ¶

type ActionNotificationExportCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Workspace whose logs are exported. Set to `0` for the default workspace. A null value means a site-wide export.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Start date/time of export range.
	StartAt *time.Time `url:"start_at,omitempty" json:"start_at,omitempty" path:"start_at"`
	// End date/time of export range.
	EndAt *time.Time `url:"end_at,omitempty" json:"end_at,omitempty" path:"end_at"`
	// Error message associated with the request, if any.
	QueryMessage string `url:"query_message,omitempty" json:"query_message,omitempty" path:"query_message"`
	// The HTTP request method used by the webhook.
	QueryRequestMethod string `url:"query_request_method,omitempty" json:"query_request_method,omitempty" path:"query_request_method"`
	// The target webhook URL.
	QueryRequestUrl string `url:"query_request_url,omitempty" json:"query_request_url,omitempty" path:"query_request_url"`
	// The HTTP status returned from the server in response to the webhook request.
	QueryStatus string `url:"query_status,omitempty" json:"query_status,omitempty" path:"query_status"`
	// true if the webhook request succeeded (i.e. returned a 200 or 204 response status). false otherwise.
	QuerySuccess *bool `url:"query_success,omitempty" json:"query_success,omitempty" path:"query_success"`
	// Return notifications that were triggered by actions on this specific path.
	QueryPath string `url:"query_path,omitempty" json:"query_path,omitempty" path:"query_path"`
	// Return notifications that were triggered by actions in this folder.
	QueryFolder string `url:"query_folder,omitempty" json:"query_folder,omitempty" path:"query_folder"`
}

ActionNotificationExportCreateParams contains the request parameters for POST /action_notification_exports.

type ActionNotificationExportFindParams ¶

type ActionNotificationExportFindParams struct {
	// Action Notification Export ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ActionNotificationExportFindParams contains the request parameters for GET /action_notification_exports/{id}.

type ActionNotificationExportResult ¶

type ActionNotificationExportResult struct {
	// Notification ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// When the notification was sent.
	CreatedAt int64 `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// HTTP status code returned in the webhook response.
	Status int64 `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// A message indicating the overall status of the webhook notification.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// `true` if the webhook succeeded by receiving a 200 or 204 response.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// A JSON-encoded string with headers that were sent with the webhook.
	RequestHeaders string `json:"request_headers,omitempty" path:"request_headers,omitempty" url:"request_headers,omitempty"`
	// The HTTP verb used to perform the webhook.
	RequestMethod string `json:"request_method,omitempty" path:"request_method,omitempty" url:"request_method,omitempty"`
	// The webhook request URL.
	RequestUrl string `json:"request_url,omitempty" path:"request_url,omitempty" url:"request_url,omitempty"`
	// The path to the actual file that triggered this notification. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// The folder associated with the triggering action for this notification.
	Folder string `json:"folder,omitempty" path:"folder,omitempty" url:"folder,omitempty"`
}

ActionNotificationExportResult is a Files.com API resource.

func (ActionNotificationExportResult) Identifier ¶

func (a ActionNotificationExportResult) Identifier() interface{}

Identifier returns the resource ID.

func (*ActionNotificationExportResult) UnmarshalJSON ¶

func (a *ActionNotificationExportResult) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ActionNotificationExportResultCollection ¶

type ActionNotificationExportResultCollection []ActionNotificationExportResult

ActionNotificationExportResultCollection is a list of ActionNotificationExportResult resources.

func (*ActionNotificationExportResultCollection) ToSlice ¶

func (a *ActionNotificationExportResultCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ActionNotificationExportResultCollection) UnmarshalJSON ¶

func (a *ActionNotificationExportResultCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ActionNotificationExportResultListParams ¶

type ActionNotificationExportResultListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// ID of the associated action notification export. Required.
	ActionNotificationExportId int64 `url:"action_notification_export_id" json:"action_notification_export_id" path:"action_notification_export_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ActionNotificationExportResultListParams contains the request parameters for GET /action_notification_export_results.

type AgentNode ¶ added in v3.3.217

type AgentNode struct {
	// Stable Agent installation ID.
	NodeId string `json:"node_id,omitempty" path:"node_id,omitempty" url:"node_id,omitempty"`
	// Customer-configured Agent node name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Hostname reported by the Agent.
	Hostname string `json:"hostname,omitempty" path:"hostname,omitempty" url:"hostname,omitempty"`
	// Configured traffic preference.
	AvailabilityRole string `json:"availability_role,omitempty" path:"availability_role,omitempty" url:"availability_role,omitempty"`
	// Whether this node currently has an available Agent instance.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Whether this node is the current default route for new unscoped work.
	IsDefault *bool `json:"is_default,omitempty" path:"is_default,omitempty" url:"is_default,omitempty"`
	// Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
	DirectTransferAvailable *bool `` /* 127-byte string literal not displayed */
	// Most recent successful node observation.
	LastSeenAt *time.Time `json:"last_seen_at,omitempty" path:"last_seen_at,omitempty" url:"last_seen_at,omitempty"`
	// Current Agent processes for this node.
	Instances []AgentNodeInstance `json:"instances,omitempty" path:"instances,omitempty" url:"instances,omitempty"`
}

AgentNode is a Files.com API resource.

func (*AgentNode) UnmarshalJSON ¶ added in v3.3.217

func (a *AgentNode) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AgentNodeCollection ¶ added in v3.3.217

type AgentNodeCollection []AgentNode

AgentNodeCollection is a list of AgentNode resources.

func (*AgentNodeCollection) ToSlice ¶ added in v3.3.217

func (a *AgentNodeCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AgentNodeCollection) UnmarshalJSON ¶ added in v3.3.217

func (a *AgentNodeCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AgentNodeConnection ¶ added in v3.3.225

type AgentNodeConnection struct {
	// How the Agent process uses this proxy connection.
	Mode string `json:"mode,omitempty" path:"mode,omitempty" url:"mode,omitempty"`
	// Whether this connection was observed recently and has not disconnected.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Most recent successful observation for this connection.
	LastSeenAt *time.Time `json:"last_seen_at,omitempty" path:"last_seen_at,omitempty" url:"last_seen_at,omitempty"`
}

AgentNodeConnection is a Files.com API resource.

func (*AgentNodeConnection) UnmarshalJSON ¶ added in v3.3.225

func (a *AgentNodeConnection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AgentNodeConnectionCollection ¶ added in v3.3.225

type AgentNodeConnectionCollection []AgentNodeConnection

AgentNodeConnectionCollection is a list of AgentNodeConnection resources.

func (*AgentNodeConnectionCollection) ToSlice ¶ added in v3.3.225

func (a *AgentNodeConnectionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AgentNodeConnectionCollection) UnmarshalJSON ¶ added in v3.3.225

func (a *AgentNodeConnectionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AgentNodeInstance ¶ added in v3.3.225

type AgentNodeInstance struct {
	// Ephemeral ID for this running Agent process.
	InstanceId string `json:"instance_id,omitempty" path:"instance_id,omitempty" url:"instance_id,omitempty"`
	// Role of this process during an Agent update.
	ProcessState string `json:"process_state,omitempty" path:"process_state,omitempty" url:"process_state,omitempty"`
	// Whether this process has an available proxy connection.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Whether this process receives new unscoped work for its node.
	IsDefault *bool `json:"is_default,omitempty" path:"is_default,omitempty" url:"is_default,omitempty"`
	// Agent version reported by this process.
	AgentVersion string `json:"agent_version,omitempty" path:"agent_version,omitempty" url:"agent_version,omitempty"`
	// Most recent successful observation for this process.
	LastSeenAt *time.Time `json:"last_seen_at,omitempty" path:"last_seen_at,omitempty" url:"last_seen_at,omitempty"`
	// Proxy connections observed for this process.
	Connections []AgentNodeConnection `json:"connections,omitempty" path:"connections,omitempty" url:"connections,omitempty"`
}

AgentNodeInstance is a Files.com API resource.

func (*AgentNodeInstance) UnmarshalJSON ¶ added in v3.3.225

func (a *AgentNodeInstance) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AgentNodeInstanceCollection ¶ added in v3.3.225

type AgentNodeInstanceCollection []AgentNodeInstance

AgentNodeInstanceCollection is a list of AgentNodeInstance resources.

func (*AgentNodeInstanceCollection) ToSlice ¶ added in v3.3.225

func (a *AgentNodeInstanceCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AgentNodeInstanceCollection) UnmarshalJSON ¶ added in v3.3.225

func (a *AgentNodeInstanceCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AgentPushUpdate ¶ added in v3.3.19

type AgentPushUpdate struct {
	// Pushed agent version.
	Version string `json:"version,omitempty" path:"version,omitempty" url:"version,omitempty"`
	// Update accepted or reason.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Installed agent version.
	CurrentVersion string `json:"current_version,omitempty" path:"current_version,omitempty" url:"current_version,omitempty"`
	// Pending agent version or null.
	PendingVersion string `json:"pending_version,omitempty" path:"pending_version,omitempty" url:"pending_version,omitempty"`
	// Last error message or null.
	LastError string `json:"last_error,omitempty" path:"last_error,omitempty" url:"last_error,omitempty"`
	// Error code.
	Error string `json:"error,omitempty" path:"error,omitempty" url:"error,omitempty"`
}

AgentPushUpdate is a Files.com API resource.

func (*AgentPushUpdate) UnmarshalJSON ¶ added in v3.3.19

func (a *AgentPushUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AgentPushUpdateCollection ¶ added in v3.3.19

type AgentPushUpdateCollection []AgentPushUpdate

AgentPushUpdateCollection is a list of AgentPushUpdate resources.

func (*AgentPushUpdateCollection) ToSlice ¶ added in v3.3.19

func (a *AgentPushUpdateCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AgentPushUpdateCollection) UnmarshalJSON ¶ added in v3.3.19

func (a *AgentPushUpdateCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AiAssistantPersonality ¶ added in v3.3.168

type AiAssistantPersonality struct {
	// AI Assistant Personality ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// AI Assistant Personality name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// System prompt injected into the in-app AI Assistant.
	SystemPrompt string `json:"system_prompt,omitempty" path:"system_prompt,omitempty" url:"system_prompt,omitempty"`
	// Whether this personality is the default personality for the Workspace.
	UseByDefault *bool `json:"use_by_default,omitempty" path:"use_by_default,omitempty" url:"use_by_default,omitempty"`
	// If true, this default-workspace personality can apply to users in all workspaces.
	ApplyToAllWorkspaces *bool `json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces,omitempty" url:"apply_to_all_workspaces,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

AiAssistantPersonality is a Files.com API resource.

func (AiAssistantPersonality) Identifier ¶ added in v3.3.168

func (a AiAssistantPersonality) Identifier() interface{}

Identifier returns the resource ID.

func (*AiAssistantPersonality) UnmarshalJSON ¶ added in v3.3.168

func (a *AiAssistantPersonality) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AiAssistantPersonalityCollection ¶ added in v3.3.168

type AiAssistantPersonalityCollection []AiAssistantPersonality

AiAssistantPersonalityCollection is a list of AiAssistantPersonality resources.

func (*AiAssistantPersonalityCollection) ToSlice ¶ added in v3.3.168

func (a *AiAssistantPersonalityCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AiAssistantPersonalityCollection) UnmarshalJSON ¶ added in v3.3.168

func (a *AiAssistantPersonalityCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AiAssistantPersonalityCreateParams ¶ added in v3.3.168

type AiAssistantPersonalityCreateParams struct {
	// If true, this default-workspace personality can apply to users in all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// AI Assistant Personality name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// System prompt injected into the in-app AI Assistant. Required.
	SystemPrompt string `url:"system_prompt" json:"system_prompt" path:"system_prompt"`
	// Whether this personality is the default personality for the Workspace.
	UseByDefault *bool `url:"use_by_default,omitempty" json:"use_by_default,omitempty" path:"use_by_default"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

AiAssistantPersonalityCreateParams contains the request parameters for POST /ai_assistant_personalities.

type AiAssistantPersonalityDeleteParams ¶ added in v3.3.168

type AiAssistantPersonalityDeleteParams struct {
	// Ai Assistant Personality ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AiAssistantPersonalityDeleteParams contains the request parameters for DELETE /ai_assistant_personalities/{id}.

type AiAssistantPersonalityFindParams ¶ added in v3.3.168

type AiAssistantPersonalityFindParams struct {
	// Ai Assistant Personality ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AiAssistantPersonalityFindParams contains the request parameters for GET /ai_assistant_personalities/{id}.

type AiAssistantPersonalityListParams ¶ added in v3.3.168

type AiAssistantPersonalityListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

AiAssistantPersonalityListParams contains the request parameters for GET /ai_assistant_personalities.

type AiAssistantPersonalityUpdateParams ¶ added in v3.3.168

type AiAssistantPersonalityUpdateParams struct {
	// Ai Assistant Personality ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// If true, this default-workspace personality can apply to users in all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// AI Assistant Personality name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// System prompt injected into the in-app AI Assistant.
	SystemPrompt string `url:"system_prompt,omitempty" json:"system_prompt,omitempty" path:"system_prompt"`
	// Whether this personality is the default personality for the Workspace.
	UseByDefault *bool `url:"use_by_default,omitempty" json:"use_by_default,omitempty" path:"use_by_default"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

AiAssistantPersonalityUpdateParams contains the request parameters for PATCH /ai_assistant_personalities/{id}.

type AiTask ¶ added in v3.3.166

type AiTask struct {
	// AI Task ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// AI Task name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// AI Task description.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Prompt sent when this AI Task is invoked.
	Prompt string `json:"prompt,omitempty" path:"prompt,omitempty" url:"prompt,omitempty"`
	// Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`.
	PermissionSet string `json:"permission_set,omitempty" path:"permission_set,omitempty" url:"permission_set,omitempty"`
	// Path scope used for action-triggered AI Tasks. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Source glob used with `path` for action-triggered AI Tasks.
	Source string `json:"source,omitempty" path:"source,omitempty" url:"source,omitempty"`
	// If true, this AI Task will not run.
	Disabled *bool `json:"disabled,omitempty" path:"disabled,omitempty" url:"disabled,omitempty"`
	// How this AI Task is triggered.
	Trigger string `json:"trigger,omitempty" path:"trigger,omitempty" url:"trigger,omitempty"`
	// If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
	TriggerActions []string `json:"trigger_actions,omitempty" path:"trigger_actions,omitempty" url:"trigger_actions,omitempty"`
	// If trigger is `daily`, this specifies how often to run the AI Task.
	Interval string `json:"interval,omitempty" path:"interval,omitempty" url:"interval,omitempty"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `json:"recurring_day,omitempty" path:"recurring_day,omitempty" url:"recurring_day,omitempty"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `json:"recurring_days,omitempty" path:"recurring_days,omitempty" url:"recurring_days,omitempty"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
	ScheduleId int64 `json:"schedule_id,omitempty" path:"schedule_id,omitempty" url:"schedule_id,omitempty"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week,omitempty" url:"schedule_days_of_week,omitempty"`
	// Times of day in HH:MM format for the AI Task schedule.
	ScheduleTimesOfDay []string `json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day,omitempty" url:"schedule_times_of_day,omitempty"`
	// Time zone used by the AI Task schedule.
	ScheduleTimeZone string `json:"schedule_time_zone,omitempty" path:"schedule_time_zone,omitempty" url:"schedule_time_zone,omitempty"`
	// Optional holiday region used by the AI Task schedule.
	HolidayRegion string `json:"holiday_region,omitempty" path:"holiday_region,omitempty" url:"holiday_region,omitempty"`
	// Human-readable schedule description.
	HumanReadableSchedule string `json:"human_readable_schedule,omitempty" path:"human_readable_schedule,omitempty" url:"human_readable_schedule,omitempty"`
	// Most recent successful invocation time.
	LastRunAt *time.Time `json:"last_run_at,omitempty" path:"last_run_at,omitempty" url:"last_run_at,omitempty"`
	// Master User ID used for AI Task invocations.
	MasterAdminUserId int64 `json:"master_admin_user_id,omitempty" path:"master_admin_user_id,omitempty" url:"master_admin_user_id,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

AiTask is a Files.com API resource.

func (AiTask) Identifier ¶ added in v3.3.166

func (a AiTask) Identifier() interface{}

Identifier returns the resource ID.

func (*AiTask) UnmarshalJSON ¶ added in v3.3.166

func (a *AiTask) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AiTaskCollection ¶ added in v3.3.166

type AiTaskCollection []AiTask

AiTaskCollection is a list of AiTask resources.

func (*AiTaskCollection) ToSlice ¶ added in v3.3.166

func (a *AiTaskCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AiTaskCollection) UnmarshalJSON ¶ added in v3.3.166

func (a *AiTaskCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AiTaskCreateParams ¶ added in v3.3.166

type AiTaskCreateParams struct {
	// AI Task description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// If true, this AI Task will not run.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// Optional holiday region used by the AI Task schedule.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// If trigger is `daily`, this specifies how often to run the AI Task.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// AI Task name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Path scope used for action-triggered AI Tasks.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`. Values: full, files_only.
	PermissionSet AiTaskPermissionSetEnum `url:"permission_set,omitempty" json:"permission_set,omitempty" path:"permission_set"`
	// Prompt sent when this AI Task is invoked. Required.
	Prompt string `url:"prompt" json:"prompt" path:"prompt"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Time zone used by the AI Task schedule.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Times of day in HH:MM format for the AI Task schedule.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Source glob used with `path` for action-triggered AI Tasks.
	Source string `url:"source,omitempty" json:"source,omitempty" path:"source"`
	// How this AI Task is triggered. Values: manual, daily, custom_schedule, action.
	Trigger AiTaskTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
	TriggerActions []string `url:"trigger_actions,omitempty" json:"trigger_actions,omitempty" path:"trigger_actions"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

AiTaskCreateParams contains the request parameters for POST /ai_tasks.

type AiTaskDeleteParams ¶ added in v3.3.166

type AiTaskDeleteParams struct {
	// Ai Task ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AiTaskDeleteParams contains the request parameters for DELETE /ai_tasks/{id}.

type AiTaskFindParams ¶ added in v3.3.166

type AiTaskFindParams struct {
	// Ai Task ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AiTaskFindParams contains the request parameters for GET /ai_tasks/{id}.

type AiTaskListParams ¶ added in v3.3.166

type AiTaskListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `disabled` or `updated_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `trigger` or `workspace_id`. Valid field combinations are `[ workspace_id, disabled ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

AiTaskListParams contains the request parameters for GET /ai_tasks.

type AiTaskManualRunParams ¶ added in v3.3.166

type AiTaskManualRunParams struct {
	// Ai Task ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AiTaskManualRunParams contains the request parameters for POST /ai_tasks/{id}/manual_run.

Manually Run AI Task

type AiTaskPermissionSetEnum ¶ added in v3.3.167

type AiTaskPermissionSetEnum string

AiTaskPermissionSetEnum is a string value for permission_set. Enum lists the values documented by the API.

func (AiTaskPermissionSetEnum) Enum ¶ added in v3.3.167

Enum returns the documented values keyed by their API strings.

func (AiTaskPermissionSetEnum) String ¶ added in v3.3.167

func (u AiTaskPermissionSetEnum) String() string

String returns the API parameter value.

type AiTaskTriggerEnum ¶ added in v3.3.166

type AiTaskTriggerEnum string

AiTaskTriggerEnum is a string value for trigger. Enum lists the values documented by the API.

func (AiTaskTriggerEnum) Enum ¶ added in v3.3.166

Enum returns the documented values keyed by their API strings.

func (AiTaskTriggerEnum) String ¶ added in v3.3.166

func (u AiTaskTriggerEnum) String() string

String returns the API parameter value.

type AiTaskUpdateParams ¶ added in v3.3.166

type AiTaskUpdateParams struct {
	// Ai Task ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// AI Task description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// If true, this AI Task will not run.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// Optional holiday region used by the AI Task schedule.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// If trigger is `daily`, this specifies how often to run the AI Task.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// AI Task name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Path scope used for action-triggered AI Tasks.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// Permissions used by the internal API key for this AI Task. Valid values are `full` and `files_only`. Values: full, files_only.
	PermissionSet AiTaskPermissionSetEnum `url:"permission_set,omitempty" json:"permission_set,omitempty" path:"permission_set"`
	// Prompt sent when this AI Task is invoked.
	Prompt string `url:"prompt,omitempty" json:"prompt,omitempty" path:"prompt"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the AI Task's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Time zone used by the AI Task schedule.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Times of day in HH:MM format for the AI Task schedule.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Source glob used with `path` for action-triggered AI Tasks.
	Source string `url:"source,omitempty" json:"source,omitempty" path:"source"`
	// How this AI Task is triggered. Values: manual, daily, custom_schedule, action.
	Trigger AiTaskTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `action`, the file action types that invoke this AI Task. Valid actions are create, copy, move, archived_delete, update, read, destroy.
	TriggerActions []string `url:"trigger_actions,omitempty" json:"trigger_actions,omitempty" path:"trigger_actions"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

AiTaskUpdateParams contains the request parameters for PATCH /ai_tasks/{id}.

type ApiKey ¶

type ApiKey struct {
	// API Key ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Unique label that describes this API key. Useful for external systems where you may have API keys from multiple accounts and want a human-readable label for each key.
	DescriptiveLabel string `json:"descriptive_label,omitempty" path:"descriptive_label,omitempty" url:"descriptive_label,omitempty"`
	// User-supplied description of API key.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Time which API Key was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// API Key expiration date.
	ExpiresAt *time.Time `json:"expires_at,omitempty" path:"expires_at,omitempty" url:"expires_at,omitempty"`
	// API Key actual key string.
	Key string `json:"key,omitempty" path:"key,omitempty" url:"key,omitempty"`
	// If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
	AwsStyleCredentials *bool `json:"aws_style_credentials,omitempty" path:"aws_style_credentials,omitempty" url:"aws_style_credentials,omitempty"`
	// AWS Access Key ID to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
	AwsAccessKeyId string `json:"aws_access_key_id,omitempty" path:"aws_access_key_id,omitempty" url:"aws_access_key_id,omitempty"`
	// AWS Secret Key to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
	AwsSecretKey string `json:"aws_secret_key,omitempty" path:"aws_secret_key,omitempty" url:"aws_secret_key,omitempty"`
	// API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
	LastUseAt *time.Time `json:"last_use_at,omitempty" path:"last_use_at,omitempty" url:"last_use_at,omitempty"`
	// Internal name for the API Key. For your use.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `mobile_app` permission set can only perform the functions provided by our Mobile App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, excluding the GPG Encrypt and GPG Decrypt file actions, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. On the migration lookup, any key with a `path` can read only migrations it started. Without a `path`, user-owned keys retain user-scoped access; site-wide Workspace-bound keys can read only migrations whose source and destination are both in their Workspace. Every `files_only` key is Workspace-bound, including Workspace `0`, as is a full-access key in a named Workspace. A full-access site-wide key in the default Workspace retains Site-wide migration access. Migrations outside the caller's visibility return `not-found`. Keys with `files_only` cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user. Both GPG file actions and every other endpoint deny them with `not-authorized/api-key-only-for-file-operations`. Folder-configured GPG encryption and decryption still apply to files uploaded with a `files_only` key.
	PermissionSet string `json:"permission_set,omitempty" path:"permission_set,omitempty" url:"permission_set,omitempty"`
	// If this API key represents a Desktop app, what platform was it created on?
	Platform string `json:"platform,omitempty" path:"platform,omitempty" url:"platform,omitempty"`
	// Site ID.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// Site Name.
	SiteName string `json:"site_name,omitempty" path:"site_name,omitempty" url:"site_name,omitempty"`
	// URL for API host.
	Url string `json:"url,omitempty" path:"url,omitempty" url:"url,omitempty"`
	// User ID for the owner of this API Key. May be blank for Site-wide API Keys.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Workspace ID for this API Key. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started. Other endpoints do not apply the path restriction; use the `files_only` permission set to confine a key to file operations and their supporting lookups. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
}

ApiKey is a Files.com API resource.

func (ApiKey) Identifier ¶

func (a ApiKey) Identifier() interface{}

Identifier returns the resource ID.

func (*ApiKey) UnmarshalJSON ¶

func (a *ApiKey) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ApiKeyCollection ¶

type ApiKeyCollection []ApiKey

ApiKeyCollection is a list of ApiKey resources.

func (*ApiKeyCollection) ToSlice ¶

func (a *ApiKeyCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ApiKeyCollection) UnmarshalJSON ¶

func (a *ApiKeyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ApiKeyCreateParams ¶

type ApiKeyCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// User-supplied description of API key.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// API Key expiration date.
	ExpiresAt *time.Time `url:"expires_at,omitempty" json:"expires_at,omitempty" path:"expires_at"`
	// Internal name for the API Key. For your use. Required.
	Name string `url:"name" json:"name" path:"name"`
	// If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
	AwsStyleCredentials *bool `url:"aws_style_credentials,omitempty" json:"aws_style_credentials,omitempty" path:"aws_style_credentials"`
	// Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. For `GET /file_migrations/{id}`, a key with a path can read only migrations it started. Other endpoints do not apply the path restriction; use the `files_only` permission set to confine a key to file operations and their supporting lookups. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `mobile_app` permission set can only perform the functions provided by our Mobile App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, excluding the GPG Encrypt and GPG Decrypt file actions, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. On the migration lookup, any key with a `path` can read only migrations it started. Without a `path`, user-owned keys retain user-scoped access; site-wide Workspace-bound keys can read only migrations whose source and destination are both in their Workspace. Every `files_only` key is Workspace-bound, including Workspace `0`, as is a full-access key in a named Workspace. A full-access site-wide key in the default Workspace retains Site-wide migration access. Migrations outside the caller's visibility return `not-found`. Keys with `files_only` cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user. Both GPG file actions and every other endpoint deny them with `not-authorized/api-key-only-for-file-operations`. Folder-configured GPG encryption and decryption still apply to files uploaded with a `files_only` key. Values: none, full, desktop_app, sync_app, office_integration, mobile_app, files_only.
	PermissionSet ApiKeyPermissionSetEnum `url:"permission_set,omitempty" json:"permission_set,omitempty" path:"permission_set"`
	// Workspace ID for this API Key. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

ApiKeyCreateParams contains the request parameters for POST /api_keys.

type ApiKeyDeleteParams ¶

type ApiKeyDeleteParams struct {
	// Api Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ApiKeyDeleteParams contains the request parameters for DELETE /api_keys/{id}.

type ApiKeyFindParams ¶

type ApiKeyFindParams struct {
	// Api Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ApiKeyFindParams contains the request parameters for GET /api_keys/{id}.

type ApiKeyListParams ¶

type ApiKeyListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `aws_style_credentials` and `expires_at`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `expires_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ApiKeyListParams contains the request parameters for GET /api_keys.

type ApiKeyPermissionSetEnum ¶

type ApiKeyPermissionSetEnum string

ApiKeyPermissionSetEnum is a string value for permission_set. Enum lists the values documented by the API.

func (ApiKeyPermissionSetEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (ApiKeyPermissionSetEnum) String ¶

func (u ApiKeyPermissionSetEnum) String() string

String returns the API parameter value.

type ApiKeyUpdateCurrentParams ¶

type ApiKeyUpdateCurrentParams struct {
	// API Key expiration date.
	ExpiresAt *time.Time `url:"expires_at,omitempty" json:"expires_at,omitempty" path:"expires_at"`
	// Internal name for the API Key. For your use.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `mobile_app` permission set can only perform the functions provided by our Mobile App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, excluding the GPG Encrypt and GPG Decrypt file actions, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. On the migration lookup, any key with a `path` can read only migrations it started. Without a `path`, user-owned keys retain user-scoped access; site-wide Workspace-bound keys can read only migrations whose source and destination are both in their Workspace. Every `files_only` key is Workspace-bound, including Workspace `0`, as is a full-access key in a named Workspace. A full-access site-wide key in the default Workspace retains Site-wide migration access. Migrations outside the caller's visibility return `not-found`. Keys with `files_only` cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user. Both GPG file actions and every other endpoint deny them with `not-authorized/api-key-only-for-file-operations`. Folder-configured GPG encryption and decryption still apply to files uploaded with a `files_only` key. Values: none, full, desktop_app, sync_app, office_integration, mobile_app, files_only.
	PermissionSet ApiKeyPermissionSetEnum `url:"permission_set,omitempty" json:"permission_set,omitempty" path:"permission_set"`
}

ApiKeyUpdateCurrentParams contains the request parameters for PATCH /api_key.

type ApiKeyUpdateParams ¶

type ApiKeyUpdateParams struct {
	// Api Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// User-supplied description of API key.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// API Key expiration date.
	ExpiresAt *time.Time `url:"expires_at,omitempty" json:"expires_at,omitempty" path:"expires_at"`
	// Internal name for the API Key. For your use.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
}

ApiKeyUpdateParams contains the request parameters for PATCH /api_keys/{id}.

type ApiRequestLog ¶ added in v3.1.48

type ApiRequestLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// API Key ID, if applicable.
	ApiKeyId int64 `json:"api_key_id,omitempty" path:"api_key_id,omitempty" url:"api_key_id,omitempty"`
	// API Key Prefix, if applicable.
	ApiKeyPrefix string `json:"api_key_prefix,omitempty" path:"api_key_prefix,omitempty" url:"api_key_prefix,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// true if this change was performed by a user on a parent site.
	UserIsFromParentSite *bool `json:"user_is_from_parent_site,omitempty" path:"user_is_from_parent_site,omitempty" url:"user_is_from_parent_site,omitempty"`
	// API Interface.
	Interface string `json:"interface,omitempty" path:"interface,omitempty" url:"interface,omitempty"`
	// HTTP Method.
	RequestMethod string `json:"request_method,omitempty" path:"request_method,omitempty" url:"request_method,omitempty"`
	// Request path.
	RequestPath string `json:"request_path,omitempty" path:"request_path,omitempty" url:"request_path,omitempty"`
	// IP of requesting client.
	RequestIp string `json:"request_ip,omitempty" path:"request_ip,omitempty" url:"request_ip,omitempty"`
	// Hostname the request was sent to.
	RequestHost string `json:"request_host,omitempty" path:"request_host,omitempty" url:"request_host,omitempty"`
	// Unique Id of the Request.
	RequestId string `json:"request_id,omitempty" path:"request_id,omitempty" url:"request_id,omitempty"`
	// Name of API Endpoint.
	ApiName string `json:"api_name,omitempty" path:"api_name,omitempty" url:"api_name,omitempty"`
	// User-Agent.
	UserAgent string `json:"user_agent,omitempty" path:"user_agent,omitempty" url:"user_agent,omitempty"`
	// Error type, if applicable.
	ErrorType string `json:"error_type,omitempty" path:"error_type,omitempty" url:"error_type,omitempty"`
	// Error message, if applicable.
	ErrorMessage string `json:"error_message,omitempty" path:"error_message,omitempty" url:"error_message,omitempty"`
	// HTTP Response Code.
	ResponseCode int64 `json:"response_code,omitempty" path:"response_code,omitempty" url:"response_code,omitempty"`
	// `false` if HTTP Response Code is 4xx or 5xx.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// User ID of Site Admin user impersonating this user via a Read-Only session.
	ImpersonatorUserId int64 `json:"impersonator_user_id,omitempty" path:"impersonator_user_id,omitempty" url:"impersonator_user_id,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

ApiRequestLog is a Files.com API resource.

func (*ApiRequestLog) UnmarshalJSON ¶ added in v3.1.48

func (a *ApiRequestLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ApiRequestLogCollection ¶ added in v3.1.48

type ApiRequestLogCollection []ApiRequestLog

ApiRequestLogCollection is a list of ApiRequestLog resources.

func (*ApiRequestLogCollection) ToSlice ¶ added in v3.1.48

func (a *ApiRequestLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ApiRequestLogCollection) UnmarshalJSON ¶ added in v3.1.48

func (a *ApiRequestLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ApiRequestLogListParams ¶ added in v3.1.48

type ApiRequestLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id`, `interface`, `request_id`, `request_ip`, `request_method`, `success`, `user_id` or `created_at`. Valid field combinations are `[ api_key_id ]`, `[ interface ]`, `[ request_id ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ user_id ]`, `[ created_at ]`, `[ api_key_id, interface ]`, `[ api_key_id, request_id ]`, `[ api_key_id, request_ip ]`, `[ api_key_id, request_method ]`, `[ api_key_id, success ]`, `[ api_key_id, user_id ]`, `[ api_key_id, created_at ]`, `[ interface, request_id ]`, `[ interface, request_ip ]`, `[ interface, request_method ]`, `[ interface, success ]`, `[ interface, user_id ]`, `[ interface, created_at ]`, `[ request_id, request_ip ]`, `[ request_id, request_method ]`, `[ request_id, success ]`, `[ request_id, user_id ]`, `[ request_id, created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, user_id ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, user_id ]`, `[ request_method, created_at ]`, `[ success, user_id ]`, `[ success, created_at ]`, `[ user_id, created_at ]`, `[ api_key_id, interface, request_id ]`, `[ api_key_id, interface, request_ip ]`, `[ api_key_id, interface, request_method ]`, `[ api_key_id, interface, success ]`, `[ api_key_id, interface, user_id ]`, `[ api_key_id, interface, created_at ]`, `[ api_key_id, request_id, request_ip ]`, `[ api_key_id, request_id, request_method ]`, `[ api_key_id, request_id, success ]`, `[ api_key_id, request_id, user_id ]`, `[ api_key_id, request_id, created_at ]`, `[ api_key_id, request_ip, request_method ]`, `[ api_key_id, request_ip, success ]`, `[ api_key_id, request_ip, user_id ]`, `[ api_key_id, request_ip, created_at ]`, `[ api_key_id, request_method, success ]`, `[ api_key_id, request_method, user_id ]`, `[ api_key_id, request_method, created_at ]`, `[ api_key_id, success, user_id ]`, `[ api_key_id, success, created_at ]`, `[ api_key_id, user_id, created_at ]`, `[ interface, request_id, request_ip ]`, `[ interface, request_id, request_method ]`, `[ interface, request_id, success ]`, `[ interface, request_id, user_id ]`, `[ interface, request_id, created_at ]`, `[ interface, request_ip, request_method ]`, `[ interface, request_ip, success ]`, `[ interface, request_ip, user_id ]`, `[ interface, request_ip, created_at ]`, `[ interface, request_method, success ]`, `[ interface, request_method, user_id ]`, `[ interface, request_method, created_at ]`, `[ interface, success, user_id ]`, `[ interface, success, created_at ]`, `[ interface, user_id, created_at ]`, `[ request_id, request_ip, request_method ]`, `[ request_id, request_ip, success ]`, `[ request_id, request_ip, user_id ]`, `[ request_id, request_ip, created_at ]`, `[ request_id, request_method, success ]`, `[ request_id, request_method, user_id ]`, `[ request_id, request_method, created_at ]`, `[ request_id, success, user_id ]`, `[ request_id, success, created_at ]`, `[ request_id, user_id, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, user_id ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, user_id ]`, `[ request_ip, success, created_at ]`, `[ request_ip, user_id, created_at ]`, `[ request_method, success, user_id ]`, `[ request_method, success, created_at ]`, `[ request_method, user_id, created_at ]`, `[ success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip ]`, `[ api_key_id, interface, request_id, request_method ]`, `[ api_key_id, interface, request_id, success ]`, `[ api_key_id, interface, request_id, user_id ]`, `[ api_key_id, interface, request_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method ]`, `[ api_key_id, interface, request_ip, success ]`, `[ api_key_id, interface, request_ip, user_id ]`, `[ api_key_id, interface, request_ip, created_at ]`, `[ api_key_id, interface, request_method, success ]`, `[ api_key_id, interface, request_method, user_id ]`, `[ api_key_id, interface, request_method, created_at ]`, `[ api_key_id, interface, success, user_id ]`, `[ api_key_id, interface, success, created_at ]`, `[ api_key_id, interface, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method ]`, `[ api_key_id, request_id, request_ip, success ]`, `[ api_key_id, request_id, request_ip, user_id ]`, `[ api_key_id, request_id, request_ip, created_at ]`, `[ api_key_id, request_id, request_method, success ]`, `[ api_key_id, request_id, request_method, user_id ]`, `[ api_key_id, request_id, request_method, created_at ]`, `[ api_key_id, request_id, success, user_id ]`, `[ api_key_id, request_id, success, created_at ]`, `[ api_key_id, request_id, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success ]`, `[ api_key_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_ip, success, user_id ]`, `[ api_key_id, request_ip, success, created_at ]`, `[ api_key_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id ]`, `[ api_key_id, request_method, success, created_at ]`, `[ api_key_id, request_method, user_id, created_at ]`, `[ api_key_id, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method ]`, `[ interface, request_id, request_ip, success ]`, `[ interface, request_id, request_ip, user_id ]`, `[ interface, request_id, request_ip, created_at ]`, `[ interface, request_id, request_method, success ]`, `[ interface, request_id, request_method, user_id ]`, `[ interface, request_id, request_method, created_at ]`, `[ interface, request_id, success, user_id ]`, `[ interface, request_id, success, created_at ]`, `[ interface, request_id, user_id, created_at ]`, `[ interface, request_ip, request_method, success ]`, `[ interface, request_ip, request_method, user_id ]`, `[ interface, request_ip, request_method, created_at ]`, `[ interface, request_ip, success, user_id ]`, `[ interface, request_ip, success, created_at ]`, `[ interface, request_ip, user_id, created_at ]`, `[ interface, request_method, success, user_id ]`, `[ interface, request_method, success, created_at ]`, `[ interface, request_method, user_id, created_at ]`, `[ interface, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success ]`, `[ request_id, request_ip, request_method, user_id ]`, `[ request_id, request_ip, request_method, created_at ]`, `[ request_id, request_ip, success, user_id ]`, `[ request_id, request_ip, success, created_at ]`, `[ request_id, request_ip, user_id, created_at ]`, `[ request_id, request_method, success, user_id ]`, `[ request_id, request_method, success, created_at ]`, `[ request_id, request_method, user_id, created_at ]`, `[ request_id, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id ]`, `[ request_ip, request_method, success, created_at ]`, `[ request_ip, request_method, user_id, created_at ]`, `[ request_ip, success, user_id, created_at ]`, `[ request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method ]`, `[ api_key_id, interface, request_id, request_ip, success ]`, `[ api_key_id, interface, request_id, request_ip, user_id ]`, `[ api_key_id, interface, request_id, request_ip, created_at ]`, `[ api_key_id, interface, request_id, request_method, success ]`, `[ api_key_id, interface, request_id, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_method, created_at ]`, `[ api_key_id, interface, request_id, success, user_id ]`, `[ api_key_id, interface, request_id, success, created_at ]`, `[ api_key_id, interface, request_id, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success ]`, `[ api_key_id, interface, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id ]`, `[ api_key_id, interface, request_ip, success, created_at ]`, `[ api_key_id, interface, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id ]`, `[ api_key_id, interface, request_method, success, created_at ]`, `[ api_key_id, interface, request_method, user_id, created_at ]`, `[ api_key_id, interface, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success ]`, `[ api_key_id, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id ]`, `[ api_key_id, request_id, request_ip, success, created_at ]`, `[ api_key_id, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id ]`, `[ api_key_id, request_id, request_method, success, created_at ]`, `[ api_key_id, request_id, request_method, user_id, created_at ]`, `[ api_key_id, request_id, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success ]`, `[ interface, request_id, request_ip, request_method, user_id ]`, `[ interface, request_id, request_ip, request_method, created_at ]`, `[ interface, request_id, request_ip, success, user_id ]`, `[ interface, request_id, request_ip, success, created_at ]`, `[ interface, request_id, request_ip, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id ]`, `[ interface, request_id, request_method, success, created_at ]`, `[ interface, request_id, request_method, user_id, created_at ]`, `[ interface, request_id, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id ]`, `[ interface, request_ip, request_method, success, created_at ]`, `[ interface, request_ip, request_method, user_id, created_at ]`, `[ interface, request_ip, success, user_id, created_at ]`, `[ interface, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id ]`, `[ request_id, request_ip, request_method, success, created_at ]`, `[ request_id, request_ip, request_method, user_id, created_at ]`, `[ request_id, request_ip, success, user_id, created_at ]`, `[ request_id, request_method, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id ]`, `[ interface, request_id, request_ip, request_method, success, created_at ]`, `[ interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ interface, request_id, request_ip, success, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id, created_at ]` or `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ api_key_id ]`, `[ interface ]`, `[ request_id ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ user_id ]`, `[ created_at ]`, `[ api_key_id, interface ]`, `[ api_key_id, request_id ]`, `[ api_key_id, request_ip ]`, `[ api_key_id, request_method ]`, `[ api_key_id, success ]`, `[ api_key_id, user_id ]`, `[ api_key_id, created_at ]`, `[ interface, request_id ]`, `[ interface, request_ip ]`, `[ interface, request_method ]`, `[ interface, success ]`, `[ interface, user_id ]`, `[ interface, created_at ]`, `[ request_id, request_ip ]`, `[ request_id, request_method ]`, `[ request_id, success ]`, `[ request_id, user_id ]`, `[ request_id, created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, user_id ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, user_id ]`, `[ request_method, created_at ]`, `[ success, user_id ]`, `[ success, created_at ]`, `[ user_id, created_at ]`, `[ api_key_id, interface, request_id ]`, `[ api_key_id, interface, request_ip ]`, `[ api_key_id, interface, request_method ]`, `[ api_key_id, interface, success ]`, `[ api_key_id, interface, user_id ]`, `[ api_key_id, interface, created_at ]`, `[ api_key_id, request_id, request_ip ]`, `[ api_key_id, request_id, request_method ]`, `[ api_key_id, request_id, success ]`, `[ api_key_id, request_id, user_id ]`, `[ api_key_id, request_id, created_at ]`, `[ api_key_id, request_ip, request_method ]`, `[ api_key_id, request_ip, success ]`, `[ api_key_id, request_ip, user_id ]`, `[ api_key_id, request_ip, created_at ]`, `[ api_key_id, request_method, success ]`, `[ api_key_id, request_method, user_id ]`, `[ api_key_id, request_method, created_at ]`, `[ api_key_id, success, user_id ]`, `[ api_key_id, success, created_at ]`, `[ api_key_id, user_id, created_at ]`, `[ interface, request_id, request_ip ]`, `[ interface, request_id, request_method ]`, `[ interface, request_id, success ]`, `[ interface, request_id, user_id ]`, `[ interface, request_id, created_at ]`, `[ interface, request_ip, request_method ]`, `[ interface, request_ip, success ]`, `[ interface, request_ip, user_id ]`, `[ interface, request_ip, created_at ]`, `[ interface, request_method, success ]`, `[ interface, request_method, user_id ]`, `[ interface, request_method, created_at ]`, `[ interface, success, user_id ]`, `[ interface, success, created_at ]`, `[ interface, user_id, created_at ]`, `[ request_id, request_ip, request_method ]`, `[ request_id, request_ip, success ]`, `[ request_id, request_ip, user_id ]`, `[ request_id, request_ip, created_at ]`, `[ request_id, request_method, success ]`, `[ request_id, request_method, user_id ]`, `[ request_id, request_method, created_at ]`, `[ request_id, success, user_id ]`, `[ request_id, success, created_at ]`, `[ request_id, user_id, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, user_id ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, user_id ]`, `[ request_ip, success, created_at ]`, `[ request_ip, user_id, created_at ]`, `[ request_method, success, user_id ]`, `[ request_method, success, created_at ]`, `[ request_method, user_id, created_at ]`, `[ success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip ]`, `[ api_key_id, interface, request_id, request_method ]`, `[ api_key_id, interface, request_id, success ]`, `[ api_key_id, interface, request_id, user_id ]`, `[ api_key_id, interface, request_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method ]`, `[ api_key_id, interface, request_ip, success ]`, `[ api_key_id, interface, request_ip, user_id ]`, `[ api_key_id, interface, request_ip, created_at ]`, `[ api_key_id, interface, request_method, success ]`, `[ api_key_id, interface, request_method, user_id ]`, `[ api_key_id, interface, request_method, created_at ]`, `[ api_key_id, interface, success, user_id ]`, `[ api_key_id, interface, success, created_at ]`, `[ api_key_id, interface, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method ]`, `[ api_key_id, request_id, request_ip, success ]`, `[ api_key_id, request_id, request_ip, user_id ]`, `[ api_key_id, request_id, request_ip, created_at ]`, `[ api_key_id, request_id, request_method, success ]`, `[ api_key_id, request_id, request_method, user_id ]`, `[ api_key_id, request_id, request_method, created_at ]`, `[ api_key_id, request_id, success, user_id ]`, `[ api_key_id, request_id, success, created_at ]`, `[ api_key_id, request_id, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success ]`, `[ api_key_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_ip, success, user_id ]`, `[ api_key_id, request_ip, success, created_at ]`, `[ api_key_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id ]`, `[ api_key_id, request_method, success, created_at ]`, `[ api_key_id, request_method, user_id, created_at ]`, `[ api_key_id, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method ]`, `[ interface, request_id, request_ip, success ]`, `[ interface, request_id, request_ip, user_id ]`, `[ interface, request_id, request_ip, created_at ]`, `[ interface, request_id, request_method, success ]`, `[ interface, request_id, request_method, user_id ]`, `[ interface, request_id, request_method, created_at ]`, `[ interface, request_id, success, user_id ]`, `[ interface, request_id, success, created_at ]`, `[ interface, request_id, user_id, created_at ]`, `[ interface, request_ip, request_method, success ]`, `[ interface, request_ip, request_method, user_id ]`, `[ interface, request_ip, request_method, created_at ]`, `[ interface, request_ip, success, user_id ]`, `[ interface, request_ip, success, created_at ]`, `[ interface, request_ip, user_id, created_at ]`, `[ interface, request_method, success, user_id ]`, `[ interface, request_method, success, created_at ]`, `[ interface, request_method, user_id, created_at ]`, `[ interface, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success ]`, `[ request_id, request_ip, request_method, user_id ]`, `[ request_id, request_ip, request_method, created_at ]`, `[ request_id, request_ip, success, user_id ]`, `[ request_id, request_ip, success, created_at ]`, `[ request_id, request_ip, user_id, created_at ]`, `[ request_id, request_method, success, user_id ]`, `[ request_id, request_method, success, created_at ]`, `[ request_id, request_method, user_id, created_at ]`, `[ request_id, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id ]`, `[ request_ip, request_method, success, created_at ]`, `[ request_ip, request_method, user_id, created_at ]`, `[ request_ip, success, user_id, created_at ]`, `[ request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method ]`, `[ api_key_id, interface, request_id, request_ip, success ]`, `[ api_key_id, interface, request_id, request_ip, user_id ]`, `[ api_key_id, interface, request_id, request_ip, created_at ]`, `[ api_key_id, interface, request_id, request_method, success ]`, `[ api_key_id, interface, request_id, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_method, created_at ]`, `[ api_key_id, interface, request_id, success, user_id ]`, `[ api_key_id, interface, request_id, success, created_at ]`, `[ api_key_id, interface, request_id, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success ]`, `[ api_key_id, interface, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id ]`, `[ api_key_id, interface, request_ip, success, created_at ]`, `[ api_key_id, interface, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id ]`, `[ api_key_id, interface, request_method, success, created_at ]`, `[ api_key_id, interface, request_method, user_id, created_at ]`, `[ api_key_id, interface, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success ]`, `[ api_key_id, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id ]`, `[ api_key_id, request_id, request_ip, success, created_at ]`, `[ api_key_id, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id ]`, `[ api_key_id, request_id, request_method, success, created_at ]`, `[ api_key_id, request_id, request_method, user_id, created_at ]`, `[ api_key_id, request_id, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success ]`, `[ interface, request_id, request_ip, request_method, user_id ]`, `[ interface, request_id, request_ip, request_method, created_at ]`, `[ interface, request_id, request_ip, success, user_id ]`, `[ interface, request_id, request_ip, success, created_at ]`, `[ interface, request_id, request_ip, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id ]`, `[ interface, request_id, request_method, success, created_at ]`, `[ interface, request_id, request_method, user_id, created_at ]`, `[ interface, request_id, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id ]`, `[ interface, request_ip, request_method, success, created_at ]`, `[ interface, request_ip, request_method, user_id, created_at ]`, `[ interface, request_ip, success, user_id, created_at ]`, `[ interface, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id ]`, `[ request_id, request_ip, request_method, success, created_at ]`, `[ request_id, request_ip, request_method, user_id, created_at ]`, `[ request_id, request_ip, success, user_id, created_at ]`, `[ request_id, request_method, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id ]`, `[ interface, request_id, request_ip, request_method, success, created_at ]`, `[ interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ interface, request_id, request_ip, success, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id, created_at ]` or `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ api_key_id ]`, `[ interface ]`, `[ request_id ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ user_id ]`, `[ created_at ]`, `[ api_key_id, interface ]`, `[ api_key_id, request_id ]`, `[ api_key_id, request_ip ]`, `[ api_key_id, request_method ]`, `[ api_key_id, success ]`, `[ api_key_id, user_id ]`, `[ api_key_id, created_at ]`, `[ interface, request_id ]`, `[ interface, request_ip ]`, `[ interface, request_method ]`, `[ interface, success ]`, `[ interface, user_id ]`, `[ interface, created_at ]`, `[ request_id, request_ip ]`, `[ request_id, request_method ]`, `[ request_id, success ]`, `[ request_id, user_id ]`, `[ request_id, created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, user_id ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, user_id ]`, `[ request_method, created_at ]`, `[ success, user_id ]`, `[ success, created_at ]`, `[ user_id, created_at ]`, `[ api_key_id, interface, request_id ]`, `[ api_key_id, interface, request_ip ]`, `[ api_key_id, interface, request_method ]`, `[ api_key_id, interface, success ]`, `[ api_key_id, interface, user_id ]`, `[ api_key_id, interface, created_at ]`, `[ api_key_id, request_id, request_ip ]`, `[ api_key_id, request_id, request_method ]`, `[ api_key_id, request_id, success ]`, `[ api_key_id, request_id, user_id ]`, `[ api_key_id, request_id, created_at ]`, `[ api_key_id, request_ip, request_method ]`, `[ api_key_id, request_ip, success ]`, `[ api_key_id, request_ip, user_id ]`, `[ api_key_id, request_ip, created_at ]`, `[ api_key_id, request_method, success ]`, `[ api_key_id, request_method, user_id ]`, `[ api_key_id, request_method, created_at ]`, `[ api_key_id, success, user_id ]`, `[ api_key_id, success, created_at ]`, `[ api_key_id, user_id, created_at ]`, `[ interface, request_id, request_ip ]`, `[ interface, request_id, request_method ]`, `[ interface, request_id, success ]`, `[ interface, request_id, user_id ]`, `[ interface, request_id, created_at ]`, `[ interface, request_ip, request_method ]`, `[ interface, request_ip, success ]`, `[ interface, request_ip, user_id ]`, `[ interface, request_ip, created_at ]`, `[ interface, request_method, success ]`, `[ interface, request_method, user_id ]`, `[ interface, request_method, created_at ]`, `[ interface, success, user_id ]`, `[ interface, success, created_at ]`, `[ interface, user_id, created_at ]`, `[ request_id, request_ip, request_method ]`, `[ request_id, request_ip, success ]`, `[ request_id, request_ip, user_id ]`, `[ request_id, request_ip, created_at ]`, `[ request_id, request_method, success ]`, `[ request_id, request_method, user_id ]`, `[ request_id, request_method, created_at ]`, `[ request_id, success, user_id ]`, `[ request_id, success, created_at ]`, `[ request_id, user_id, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, user_id ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, user_id ]`, `[ request_ip, success, created_at ]`, `[ request_ip, user_id, created_at ]`, `[ request_method, success, user_id ]`, `[ request_method, success, created_at ]`, `[ request_method, user_id, created_at ]`, `[ success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip ]`, `[ api_key_id, interface, request_id, request_method ]`, `[ api_key_id, interface, request_id, success ]`, `[ api_key_id, interface, request_id, user_id ]`, `[ api_key_id, interface, request_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method ]`, `[ api_key_id, interface, request_ip, success ]`, `[ api_key_id, interface, request_ip, user_id ]`, `[ api_key_id, interface, request_ip, created_at ]`, `[ api_key_id, interface, request_method, success ]`, `[ api_key_id, interface, request_method, user_id ]`, `[ api_key_id, interface, request_method, created_at ]`, `[ api_key_id, interface, success, user_id ]`, `[ api_key_id, interface, success, created_at ]`, `[ api_key_id, interface, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method ]`, `[ api_key_id, request_id, request_ip, success ]`, `[ api_key_id, request_id, request_ip, user_id ]`, `[ api_key_id, request_id, request_ip, created_at ]`, `[ api_key_id, request_id, request_method, success ]`, `[ api_key_id, request_id, request_method, user_id ]`, `[ api_key_id, request_id, request_method, created_at ]`, `[ api_key_id, request_id, success, user_id ]`, `[ api_key_id, request_id, success, created_at ]`, `[ api_key_id, request_id, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success ]`, `[ api_key_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_ip, success, user_id ]`, `[ api_key_id, request_ip, success, created_at ]`, `[ api_key_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id ]`, `[ api_key_id, request_method, success, created_at ]`, `[ api_key_id, request_method, user_id, created_at ]`, `[ api_key_id, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method ]`, `[ interface, request_id, request_ip, success ]`, `[ interface, request_id, request_ip, user_id ]`, `[ interface, request_id, request_ip, created_at ]`, `[ interface, request_id, request_method, success ]`, `[ interface, request_id, request_method, user_id ]`, `[ interface, request_id, request_method, created_at ]`, `[ interface, request_id, success, user_id ]`, `[ interface, request_id, success, created_at ]`, `[ interface, request_id, user_id, created_at ]`, `[ interface, request_ip, request_method, success ]`, `[ interface, request_ip, request_method, user_id ]`, `[ interface, request_ip, request_method, created_at ]`, `[ interface, request_ip, success, user_id ]`, `[ interface, request_ip, success, created_at ]`, `[ interface, request_ip, user_id, created_at ]`, `[ interface, request_method, success, user_id ]`, `[ interface, request_method, success, created_at ]`, `[ interface, request_method, user_id, created_at ]`, `[ interface, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success ]`, `[ request_id, request_ip, request_method, user_id ]`, `[ request_id, request_ip, request_method, created_at ]`, `[ request_id, request_ip, success, user_id ]`, `[ request_id, request_ip, success, created_at ]`, `[ request_id, request_ip, user_id, created_at ]`, `[ request_id, request_method, success, user_id ]`, `[ request_id, request_method, success, created_at ]`, `[ request_id, request_method, user_id, created_at ]`, `[ request_id, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id ]`, `[ request_ip, request_method, success, created_at ]`, `[ request_ip, request_method, user_id, created_at ]`, `[ request_ip, success, user_id, created_at ]`, `[ request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method ]`, `[ api_key_id, interface, request_id, request_ip, success ]`, `[ api_key_id, interface, request_id, request_ip, user_id ]`, `[ api_key_id, interface, request_id, request_ip, created_at ]`, `[ api_key_id, interface, request_id, request_method, success ]`, `[ api_key_id, interface, request_id, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_method, created_at ]`, `[ api_key_id, interface, request_id, success, user_id ]`, `[ api_key_id, interface, request_id, success, created_at ]`, `[ api_key_id, interface, request_id, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success ]`, `[ api_key_id, interface, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id ]`, `[ api_key_id, interface, request_ip, success, created_at ]`, `[ api_key_id, interface, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id ]`, `[ api_key_id, interface, request_method, success, created_at ]`, `[ api_key_id, interface, request_method, user_id, created_at ]`, `[ api_key_id, interface, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success ]`, `[ api_key_id, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id ]`, `[ api_key_id, request_id, request_ip, success, created_at ]`, `[ api_key_id, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id ]`, `[ api_key_id, request_id, request_method, success, created_at ]`, `[ api_key_id, request_id, request_method, user_id, created_at ]`, `[ api_key_id, request_id, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success ]`, `[ interface, request_id, request_ip, request_method, user_id ]`, `[ interface, request_id, request_ip, request_method, created_at ]`, `[ interface, request_id, request_ip, success, user_id ]`, `[ interface, request_id, request_ip, success, created_at ]`, `[ interface, request_id, request_ip, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id ]`, `[ interface, request_id, request_method, success, created_at ]`, `[ interface, request_id, request_method, user_id, created_at ]`, `[ interface, request_id, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id ]`, `[ interface, request_ip, request_method, success, created_at ]`, `[ interface, request_ip, request_method, user_id, created_at ]`, `[ interface, request_ip, success, user_id, created_at ]`, `[ interface, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id ]`, `[ request_id, request_ip, request_method, success, created_at ]`, `[ request_id, request_ip, request_method, user_id, created_at ]`, `[ request_id, request_ip, success, user_id, created_at ]`, `[ request_id, request_method, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id ]`, `[ interface, request_id, request_ip, request_method, success, created_at ]`, `[ interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ interface, request_id, request_ip, success, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id, created_at ]` or `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `interface`, `request_id`, `request_ip` or `request_method`. Valid field combinations are `[ api_key_id ]`, `[ interface ]`, `[ request_id ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ user_id ]`, `[ created_at ]`, `[ api_key_id, interface ]`, `[ api_key_id, request_id ]`, `[ api_key_id, request_ip ]`, `[ api_key_id, request_method ]`, `[ api_key_id, success ]`, `[ api_key_id, user_id ]`, `[ api_key_id, created_at ]`, `[ interface, request_id ]`, `[ interface, request_ip ]`, `[ interface, request_method ]`, `[ interface, success ]`, `[ interface, user_id ]`, `[ interface, created_at ]`, `[ request_id, request_ip ]`, `[ request_id, request_method ]`, `[ request_id, success ]`, `[ request_id, user_id ]`, `[ request_id, created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, user_id ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, user_id ]`, `[ request_method, created_at ]`, `[ success, user_id ]`, `[ success, created_at ]`, `[ user_id, created_at ]`, `[ api_key_id, interface, request_id ]`, `[ api_key_id, interface, request_ip ]`, `[ api_key_id, interface, request_method ]`, `[ api_key_id, interface, success ]`, `[ api_key_id, interface, user_id ]`, `[ api_key_id, interface, created_at ]`, `[ api_key_id, request_id, request_ip ]`, `[ api_key_id, request_id, request_method ]`, `[ api_key_id, request_id, success ]`, `[ api_key_id, request_id, user_id ]`, `[ api_key_id, request_id, created_at ]`, `[ api_key_id, request_ip, request_method ]`, `[ api_key_id, request_ip, success ]`, `[ api_key_id, request_ip, user_id ]`, `[ api_key_id, request_ip, created_at ]`, `[ api_key_id, request_method, success ]`, `[ api_key_id, request_method, user_id ]`, `[ api_key_id, request_method, created_at ]`, `[ api_key_id, success, user_id ]`, `[ api_key_id, success, created_at ]`, `[ api_key_id, user_id, created_at ]`, `[ interface, request_id, request_ip ]`, `[ interface, request_id, request_method ]`, `[ interface, request_id, success ]`, `[ interface, request_id, user_id ]`, `[ interface, request_id, created_at ]`, `[ interface, request_ip, request_method ]`, `[ interface, request_ip, success ]`, `[ interface, request_ip, user_id ]`, `[ interface, request_ip, created_at ]`, `[ interface, request_method, success ]`, `[ interface, request_method, user_id ]`, `[ interface, request_method, created_at ]`, `[ interface, success, user_id ]`, `[ interface, success, created_at ]`, `[ interface, user_id, created_at ]`, `[ request_id, request_ip, request_method ]`, `[ request_id, request_ip, success ]`, `[ request_id, request_ip, user_id ]`, `[ request_id, request_ip, created_at ]`, `[ request_id, request_method, success ]`, `[ request_id, request_method, user_id ]`, `[ request_id, request_method, created_at ]`, `[ request_id, success, user_id ]`, `[ request_id, success, created_at ]`, `[ request_id, user_id, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, user_id ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, user_id ]`, `[ request_ip, success, created_at ]`, `[ request_ip, user_id, created_at ]`, `[ request_method, success, user_id ]`, `[ request_method, success, created_at ]`, `[ request_method, user_id, created_at ]`, `[ success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip ]`, `[ api_key_id, interface, request_id, request_method ]`, `[ api_key_id, interface, request_id, success ]`, `[ api_key_id, interface, request_id, user_id ]`, `[ api_key_id, interface, request_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method ]`, `[ api_key_id, interface, request_ip, success ]`, `[ api_key_id, interface, request_ip, user_id ]`, `[ api_key_id, interface, request_ip, created_at ]`, `[ api_key_id, interface, request_method, success ]`, `[ api_key_id, interface, request_method, user_id ]`, `[ api_key_id, interface, request_method, created_at ]`, `[ api_key_id, interface, success, user_id ]`, `[ api_key_id, interface, success, created_at ]`, `[ api_key_id, interface, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method ]`, `[ api_key_id, request_id, request_ip, success ]`, `[ api_key_id, request_id, request_ip, user_id ]`, `[ api_key_id, request_id, request_ip, created_at ]`, `[ api_key_id, request_id, request_method, success ]`, `[ api_key_id, request_id, request_method, user_id ]`, `[ api_key_id, request_id, request_method, created_at ]`, `[ api_key_id, request_id, success, user_id ]`, `[ api_key_id, request_id, success, created_at ]`, `[ api_key_id, request_id, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success ]`, `[ api_key_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_ip, success, user_id ]`, `[ api_key_id, request_ip, success, created_at ]`, `[ api_key_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id ]`, `[ api_key_id, request_method, success, created_at ]`, `[ api_key_id, request_method, user_id, created_at ]`, `[ api_key_id, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method ]`, `[ interface, request_id, request_ip, success ]`, `[ interface, request_id, request_ip, user_id ]`, `[ interface, request_id, request_ip, created_at ]`, `[ interface, request_id, request_method, success ]`, `[ interface, request_id, request_method, user_id ]`, `[ interface, request_id, request_method, created_at ]`, `[ interface, request_id, success, user_id ]`, `[ interface, request_id, success, created_at ]`, `[ interface, request_id, user_id, created_at ]`, `[ interface, request_ip, request_method, success ]`, `[ interface, request_ip, request_method, user_id ]`, `[ interface, request_ip, request_method, created_at ]`, `[ interface, request_ip, success, user_id ]`, `[ interface, request_ip, success, created_at ]`, `[ interface, request_ip, user_id, created_at ]`, `[ interface, request_method, success, user_id ]`, `[ interface, request_method, success, created_at ]`, `[ interface, request_method, user_id, created_at ]`, `[ interface, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success ]`, `[ request_id, request_ip, request_method, user_id ]`, `[ request_id, request_ip, request_method, created_at ]`, `[ request_id, request_ip, success, user_id ]`, `[ request_id, request_ip, success, created_at ]`, `[ request_id, request_ip, user_id, created_at ]`, `[ request_id, request_method, success, user_id ]`, `[ request_id, request_method, success, created_at ]`, `[ request_id, request_method, user_id, created_at ]`, `[ request_id, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id ]`, `[ request_ip, request_method, success, created_at ]`, `[ request_ip, request_method, user_id, created_at ]`, `[ request_ip, success, user_id, created_at ]`, `[ request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method ]`, `[ api_key_id, interface, request_id, request_ip, success ]`, `[ api_key_id, interface, request_id, request_ip, user_id ]`, `[ api_key_id, interface, request_id, request_ip, created_at ]`, `[ api_key_id, interface, request_id, request_method, success ]`, `[ api_key_id, interface, request_id, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_method, created_at ]`, `[ api_key_id, interface, request_id, success, user_id ]`, `[ api_key_id, interface, request_id, success, created_at ]`, `[ api_key_id, interface, request_id, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success ]`, `[ api_key_id, interface, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id ]`, `[ api_key_id, interface, request_ip, success, created_at ]`, `[ api_key_id, interface, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id ]`, `[ api_key_id, interface, request_method, success, created_at ]`, `[ api_key_id, interface, request_method, user_id, created_at ]`, `[ api_key_id, interface, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success ]`, `[ api_key_id, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id ]`, `[ api_key_id, request_id, request_ip, success, created_at ]`, `[ api_key_id, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id ]`, `[ api_key_id, request_id, request_method, success, created_at ]`, `[ api_key_id, request_id, request_method, user_id, created_at ]`, `[ api_key_id, request_id, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success ]`, `[ interface, request_id, request_ip, request_method, user_id ]`, `[ interface, request_id, request_ip, request_method, created_at ]`, `[ interface, request_id, request_ip, success, user_id ]`, `[ interface, request_id, request_ip, success, created_at ]`, `[ interface, request_id, request_ip, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id ]`, `[ interface, request_id, request_method, success, created_at ]`, `[ interface, request_id, request_method, user_id, created_at ]`, `[ interface, request_id, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id ]`, `[ interface, request_ip, request_method, success, created_at ]`, `[ interface, request_ip, request_method, user_id, created_at ]`, `[ interface, request_ip, success, user_id, created_at ]`, `[ interface, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id ]`, `[ request_id, request_ip, request_method, success, created_at ]`, `[ request_id, request_ip, request_method, user_id, created_at ]`, `[ request_id, request_ip, success, user_id, created_at ]`, `[ request_id, request_method, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id ]`, `[ interface, request_id, request_ip, request_method, success, created_at ]`, `[ interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ interface, request_id, request_ip, success, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id, created_at ]` or `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ api_key_id ]`, `[ interface ]`, `[ request_id ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ user_id ]`, `[ created_at ]`, `[ api_key_id, interface ]`, `[ api_key_id, request_id ]`, `[ api_key_id, request_ip ]`, `[ api_key_id, request_method ]`, `[ api_key_id, success ]`, `[ api_key_id, user_id ]`, `[ api_key_id, created_at ]`, `[ interface, request_id ]`, `[ interface, request_ip ]`, `[ interface, request_method ]`, `[ interface, success ]`, `[ interface, user_id ]`, `[ interface, created_at ]`, `[ request_id, request_ip ]`, `[ request_id, request_method ]`, `[ request_id, success ]`, `[ request_id, user_id ]`, `[ request_id, created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, user_id ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, user_id ]`, `[ request_method, created_at ]`, `[ success, user_id ]`, `[ success, created_at ]`, `[ user_id, created_at ]`, `[ api_key_id, interface, request_id ]`, `[ api_key_id, interface, request_ip ]`, `[ api_key_id, interface, request_method ]`, `[ api_key_id, interface, success ]`, `[ api_key_id, interface, user_id ]`, `[ api_key_id, interface, created_at ]`, `[ api_key_id, request_id, request_ip ]`, `[ api_key_id, request_id, request_method ]`, `[ api_key_id, request_id, success ]`, `[ api_key_id, request_id, user_id ]`, `[ api_key_id, request_id, created_at ]`, `[ api_key_id, request_ip, request_method ]`, `[ api_key_id, request_ip, success ]`, `[ api_key_id, request_ip, user_id ]`, `[ api_key_id, request_ip, created_at ]`, `[ api_key_id, request_method, success ]`, `[ api_key_id, request_method, user_id ]`, `[ api_key_id, request_method, created_at ]`, `[ api_key_id, success, user_id ]`, `[ api_key_id, success, created_at ]`, `[ api_key_id, user_id, created_at ]`, `[ interface, request_id, request_ip ]`, `[ interface, request_id, request_method ]`, `[ interface, request_id, success ]`, `[ interface, request_id, user_id ]`, `[ interface, request_id, created_at ]`, `[ interface, request_ip, request_method ]`, `[ interface, request_ip, success ]`, `[ interface, request_ip, user_id ]`, `[ interface, request_ip, created_at ]`, `[ interface, request_method, success ]`, `[ interface, request_method, user_id ]`, `[ interface, request_method, created_at ]`, `[ interface, success, user_id ]`, `[ interface, success, created_at ]`, `[ interface, user_id, created_at ]`, `[ request_id, request_ip, request_method ]`, `[ request_id, request_ip, success ]`, `[ request_id, request_ip, user_id ]`, `[ request_id, request_ip, created_at ]`, `[ request_id, request_method, success ]`, `[ request_id, request_method, user_id ]`, `[ request_id, request_method, created_at ]`, `[ request_id, success, user_id ]`, `[ request_id, success, created_at ]`, `[ request_id, user_id, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, user_id ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, user_id ]`, `[ request_ip, success, created_at ]`, `[ request_ip, user_id, created_at ]`, `[ request_method, success, user_id ]`, `[ request_method, success, created_at ]`, `[ request_method, user_id, created_at ]`, `[ success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip ]`, `[ api_key_id, interface, request_id, request_method ]`, `[ api_key_id, interface, request_id, success ]`, `[ api_key_id, interface, request_id, user_id ]`, `[ api_key_id, interface, request_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method ]`, `[ api_key_id, interface, request_ip, success ]`, `[ api_key_id, interface, request_ip, user_id ]`, `[ api_key_id, interface, request_ip, created_at ]`, `[ api_key_id, interface, request_method, success ]`, `[ api_key_id, interface, request_method, user_id ]`, `[ api_key_id, interface, request_method, created_at ]`, `[ api_key_id, interface, success, user_id ]`, `[ api_key_id, interface, success, created_at ]`, `[ api_key_id, interface, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method ]`, `[ api_key_id, request_id, request_ip, success ]`, `[ api_key_id, request_id, request_ip, user_id ]`, `[ api_key_id, request_id, request_ip, created_at ]`, `[ api_key_id, request_id, request_method, success ]`, `[ api_key_id, request_id, request_method, user_id ]`, `[ api_key_id, request_id, request_method, created_at ]`, `[ api_key_id, request_id, success, user_id ]`, `[ api_key_id, request_id, success, created_at ]`, `[ api_key_id, request_id, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success ]`, `[ api_key_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_ip, success, user_id ]`, `[ api_key_id, request_ip, success, created_at ]`, `[ api_key_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id ]`, `[ api_key_id, request_method, success, created_at ]`, `[ api_key_id, request_method, user_id, created_at ]`, `[ api_key_id, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method ]`, `[ interface, request_id, request_ip, success ]`, `[ interface, request_id, request_ip, user_id ]`, `[ interface, request_id, request_ip, created_at ]`, `[ interface, request_id, request_method, success ]`, `[ interface, request_id, request_method, user_id ]`, `[ interface, request_id, request_method, created_at ]`, `[ interface, request_id, success, user_id ]`, `[ interface, request_id, success, created_at ]`, `[ interface, request_id, user_id, created_at ]`, `[ interface, request_ip, request_method, success ]`, `[ interface, request_ip, request_method, user_id ]`, `[ interface, request_ip, request_method, created_at ]`, `[ interface, request_ip, success, user_id ]`, `[ interface, request_ip, success, created_at ]`, `[ interface, request_ip, user_id, created_at ]`, `[ interface, request_method, success, user_id ]`, `[ interface, request_method, success, created_at ]`, `[ interface, request_method, user_id, created_at ]`, `[ interface, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success ]`, `[ request_id, request_ip, request_method, user_id ]`, `[ request_id, request_ip, request_method, created_at ]`, `[ request_id, request_ip, success, user_id ]`, `[ request_id, request_ip, success, created_at ]`, `[ request_id, request_ip, user_id, created_at ]`, `[ request_id, request_method, success, user_id ]`, `[ request_id, request_method, success, created_at ]`, `[ request_id, request_method, user_id, created_at ]`, `[ request_id, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id ]`, `[ request_ip, request_method, success, created_at ]`, `[ request_ip, request_method, user_id, created_at ]`, `[ request_ip, success, user_id, created_at ]`, `[ request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method ]`, `[ api_key_id, interface, request_id, request_ip, success ]`, `[ api_key_id, interface, request_id, request_ip, user_id ]`, `[ api_key_id, interface, request_id, request_ip, created_at ]`, `[ api_key_id, interface, request_id, request_method, success ]`, `[ api_key_id, interface, request_id, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_method, created_at ]`, `[ api_key_id, interface, request_id, success, user_id ]`, `[ api_key_id, interface, request_id, success, created_at ]`, `[ api_key_id, interface, request_id, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success ]`, `[ api_key_id, interface, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id ]`, `[ api_key_id, interface, request_ip, success, created_at ]`, `[ api_key_id, interface, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id ]`, `[ api_key_id, interface, request_method, success, created_at ]`, `[ api_key_id, interface, request_method, user_id, created_at ]`, `[ api_key_id, interface, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success ]`, `[ api_key_id, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id ]`, `[ api_key_id, request_id, request_ip, success, created_at ]`, `[ api_key_id, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id ]`, `[ api_key_id, request_id, request_method, success, created_at ]`, `[ api_key_id, request_id, request_method, user_id, created_at ]`, `[ api_key_id, request_id, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success ]`, `[ interface, request_id, request_ip, request_method, user_id ]`, `[ interface, request_id, request_ip, request_method, created_at ]`, `[ interface, request_id, request_ip, success, user_id ]`, `[ interface, request_id, request_ip, success, created_at ]`, `[ interface, request_id, request_ip, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id ]`, `[ interface, request_id, request_method, success, created_at ]`, `[ interface, request_id, request_method, user_id, created_at ]`, `[ interface, request_id, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id ]`, `[ interface, request_ip, request_method, success, created_at ]`, `[ interface, request_ip, request_method, user_id, created_at ]`, `[ interface, request_ip, success, user_id, created_at ]`, `[ interface, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id ]`, `[ request_id, request_ip, request_method, success, created_at ]`, `[ request_id, request_ip, request_method, user_id, created_at ]`, `[ request_id, request_ip, success, user_id, created_at ]`, `[ request_id, request_method, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id ]`, `[ interface, request_id, request_ip, request_method, success, created_at ]`, `[ interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ interface, request_id, request_ip, success, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id, created_at ]` or `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ api_key_id ]`, `[ interface ]`, `[ request_id ]`, `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ user_id ]`, `[ created_at ]`, `[ api_key_id, interface ]`, `[ api_key_id, request_id ]`, `[ api_key_id, request_ip ]`, `[ api_key_id, request_method ]`, `[ api_key_id, success ]`, `[ api_key_id, user_id ]`, `[ api_key_id, created_at ]`, `[ interface, request_id ]`, `[ interface, request_ip ]`, `[ interface, request_method ]`, `[ interface, success ]`, `[ interface, user_id ]`, `[ interface, created_at ]`, `[ request_id, request_ip ]`, `[ request_id, request_method ]`, `[ request_id, success ]`, `[ request_id, user_id ]`, `[ request_id, created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, user_id ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, user_id ]`, `[ request_method, created_at ]`, `[ success, user_id ]`, `[ success, created_at ]`, `[ user_id, created_at ]`, `[ api_key_id, interface, request_id ]`, `[ api_key_id, interface, request_ip ]`, `[ api_key_id, interface, request_method ]`, `[ api_key_id, interface, success ]`, `[ api_key_id, interface, user_id ]`, `[ api_key_id, interface, created_at ]`, `[ api_key_id, request_id, request_ip ]`, `[ api_key_id, request_id, request_method ]`, `[ api_key_id, request_id, success ]`, `[ api_key_id, request_id, user_id ]`, `[ api_key_id, request_id, created_at ]`, `[ api_key_id, request_ip, request_method ]`, `[ api_key_id, request_ip, success ]`, `[ api_key_id, request_ip, user_id ]`, `[ api_key_id, request_ip, created_at ]`, `[ api_key_id, request_method, success ]`, `[ api_key_id, request_method, user_id ]`, `[ api_key_id, request_method, created_at ]`, `[ api_key_id, success, user_id ]`, `[ api_key_id, success, created_at ]`, `[ api_key_id, user_id, created_at ]`, `[ interface, request_id, request_ip ]`, `[ interface, request_id, request_method ]`, `[ interface, request_id, success ]`, `[ interface, request_id, user_id ]`, `[ interface, request_id, created_at ]`, `[ interface, request_ip, request_method ]`, `[ interface, request_ip, success ]`, `[ interface, request_ip, user_id ]`, `[ interface, request_ip, created_at ]`, `[ interface, request_method, success ]`, `[ interface, request_method, user_id ]`, `[ interface, request_method, created_at ]`, `[ interface, success, user_id ]`, `[ interface, success, created_at ]`, `[ interface, user_id, created_at ]`, `[ request_id, request_ip, request_method ]`, `[ request_id, request_ip, success ]`, `[ request_id, request_ip, user_id ]`, `[ request_id, request_ip, created_at ]`, `[ request_id, request_method, success ]`, `[ request_id, request_method, user_id ]`, `[ request_id, request_method, created_at ]`, `[ request_id, success, user_id ]`, `[ request_id, success, created_at ]`, `[ request_id, user_id, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, user_id ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, user_id ]`, `[ request_ip, success, created_at ]`, `[ request_ip, user_id, created_at ]`, `[ request_method, success, user_id ]`, `[ request_method, success, created_at ]`, `[ request_method, user_id, created_at ]`, `[ success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip ]`, `[ api_key_id, interface, request_id, request_method ]`, `[ api_key_id, interface, request_id, success ]`, `[ api_key_id, interface, request_id, user_id ]`, `[ api_key_id, interface, request_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method ]`, `[ api_key_id, interface, request_ip, success ]`, `[ api_key_id, interface, request_ip, user_id ]`, `[ api_key_id, interface, request_ip, created_at ]`, `[ api_key_id, interface, request_method, success ]`, `[ api_key_id, interface, request_method, user_id ]`, `[ api_key_id, interface, request_method, created_at ]`, `[ api_key_id, interface, success, user_id ]`, `[ api_key_id, interface, success, created_at ]`, `[ api_key_id, interface, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method ]`, `[ api_key_id, request_id, request_ip, success ]`, `[ api_key_id, request_id, request_ip, user_id ]`, `[ api_key_id, request_id, request_ip, created_at ]`, `[ api_key_id, request_id, request_method, success ]`, `[ api_key_id, request_id, request_method, user_id ]`, `[ api_key_id, request_id, request_method, created_at ]`, `[ api_key_id, request_id, success, user_id ]`, `[ api_key_id, request_id, success, created_at ]`, `[ api_key_id, request_id, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success ]`, `[ api_key_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_ip, success, user_id ]`, `[ api_key_id, request_ip, success, created_at ]`, `[ api_key_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id ]`, `[ api_key_id, request_method, success, created_at ]`, `[ api_key_id, request_method, user_id, created_at ]`, `[ api_key_id, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method ]`, `[ interface, request_id, request_ip, success ]`, `[ interface, request_id, request_ip, user_id ]`, `[ interface, request_id, request_ip, created_at ]`, `[ interface, request_id, request_method, success ]`, `[ interface, request_id, request_method, user_id ]`, `[ interface, request_id, request_method, created_at ]`, `[ interface, request_id, success, user_id ]`, `[ interface, request_id, success, created_at ]`, `[ interface, request_id, user_id, created_at ]`, `[ interface, request_ip, request_method, success ]`, `[ interface, request_ip, request_method, user_id ]`, `[ interface, request_ip, request_method, created_at ]`, `[ interface, request_ip, success, user_id ]`, `[ interface, request_ip, success, created_at ]`, `[ interface, request_ip, user_id, created_at ]`, `[ interface, request_method, success, user_id ]`, `[ interface, request_method, success, created_at ]`, `[ interface, request_method, user_id, created_at ]`, `[ interface, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success ]`, `[ request_id, request_ip, request_method, user_id ]`, `[ request_id, request_ip, request_method, created_at ]`, `[ request_id, request_ip, success, user_id ]`, `[ request_id, request_ip, success, created_at ]`, `[ request_id, request_ip, user_id, created_at ]`, `[ request_id, request_method, success, user_id ]`, `[ request_id, request_method, success, created_at ]`, `[ request_id, request_method, user_id, created_at ]`, `[ request_id, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id ]`, `[ request_ip, request_method, success, created_at ]`, `[ request_ip, request_method, user_id, created_at ]`, `[ request_ip, success, user_id, created_at ]`, `[ request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method ]`, `[ api_key_id, interface, request_id, request_ip, success ]`, `[ api_key_id, interface, request_id, request_ip, user_id ]`, `[ api_key_id, interface, request_id, request_ip, created_at ]`, `[ api_key_id, interface, request_id, request_method, success ]`, `[ api_key_id, interface, request_id, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_method, created_at ]`, `[ api_key_id, interface, request_id, success, user_id ]`, `[ api_key_id, interface, request_id, success, created_at ]`, `[ api_key_id, interface, request_id, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success ]`, `[ api_key_id, interface, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id ]`, `[ api_key_id, interface, request_ip, success, created_at ]`, `[ api_key_id, interface, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id ]`, `[ api_key_id, interface, request_method, success, created_at ]`, `[ api_key_id, interface, request_method, user_id, created_at ]`, `[ api_key_id, interface, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success ]`, `[ api_key_id, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id ]`, `[ api_key_id, request_id, request_ip, success, created_at ]`, `[ api_key_id, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id ]`, `[ api_key_id, request_id, request_method, success, created_at ]`, `[ api_key_id, request_id, request_method, user_id, created_at ]`, `[ api_key_id, request_id, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success ]`, `[ interface, request_id, request_ip, request_method, user_id ]`, `[ interface, request_id, request_ip, request_method, created_at ]`, `[ interface, request_id, request_ip, success, user_id ]`, `[ interface, request_id, request_ip, success, created_at ]`, `[ interface, request_id, request_ip, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id ]`, `[ interface, request_id, request_method, success, created_at ]`, `[ interface, request_id, request_method, user_id, created_at ]`, `[ interface, request_id, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id ]`, `[ interface, request_ip, request_method, success, created_at ]`, `[ interface, request_ip, request_method, user_id, created_at ]`, `[ interface, request_ip, success, user_id, created_at ]`, `[ interface, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id ]`, `[ request_id, request_ip, request_method, success, created_at ]`, `[ request_id, request_ip, request_method, user_id, created_at ]`, `[ request_id, request_ip, success, user_id, created_at ]`, `[ request_id, request_method, success, user_id, created_at ]`, `[ request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id ]`, `[ interface, request_id, request_ip, request_method, success, created_at ]`, `[ interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ interface, request_id, request_ip, success, user_id, created_at ]`, `[ interface, request_id, request_method, success, user_id, created_at ]`, `[ interface, request_ip, request_method, success, user_id, created_at ]`, `[ request_id, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id ]`, `[ api_key_id, interface, request_id, request_ip, request_method, success, created_at ]`, `[ api_key_id, interface, request_id, request_ip, request_method, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_ip, success, user_id, created_at ]`, `[ api_key_id, interface, request_id, request_method, success, user_id, created_at ]`, `[ api_key_id, interface, request_ip, request_method, success, user_id, created_at ]`, `[ api_key_id, request_id, request_ip, request_method, success, user_id, created_at ]`, `[ interface, request_id, request_ip, request_method, success, user_id, created_at ]` or `[ api_key_id, interface, request_id, request_ip, request_method, success, user_id, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ApiRequestLogListParams contains the request parameters for GET /api_request_logs.

type App ¶

type App struct {
	// The type of the App.
	AppType string `json:"app_type,omitempty" path:"app_type,omitempty" url:"app_type,omitempty"`
	// Collection of named links to documentation.
	DocumentationLinks interface{} `json:"documentation_links,omitempty" path:"documentation_links,omitempty" url:"documentation_links,omitempty"`
	// Long description for the in-App landing page.
	ExtendedDescription string `json:"extended_description,omitempty" path:"extended_description,omitempty" url:"extended_description,omitempty"`
	// Long form description of the App.
	ExtendedDescriptionForMarketingSite string `` /* 169-byte string literal not displayed */
	// Link to external homepage.
	ExternalHomepageUrl string `json:"external_homepage_url,omitempty" path:"external_homepage_url,omitempty" url:"external_homepage_url,omitempty"`
	// Is featured on the App listing?
	Featured *bool `json:"featured,omitempty" path:"featured,omitempty" url:"featured,omitempty"`
	// Associated Folder Behavior type, if any.
	FolderBehaviorType string `json:"folder_behavior_type,omitempty" path:"folder_behavior_type,omitempty" url:"folder_behavior_type,omitempty"`
	// App icon.
	IconUrl string `json:"icon_url,omitempty" path:"icon_url,omitempty" url:"icon_url,omitempty"`
	// Logo thumbnail for the App.
	LogoThumbnailUrl string `json:"logo_thumbnail_url,omitempty" path:"logo_thumbnail_url,omitempty" url:"logo_thumbnail_url,omitempty"`
	// Full size logo for the App.
	LogoUrl string `json:"logo_url,omitempty" path:"logo_url,omitempty" url:"logo_url,omitempty"`
	// Marketing introdution of the App.
	MarketingIntro string `json:"marketing_intro,omitempty" path:"marketing_intro,omitempty" url:"marketing_intro,omitempty"`
	// Marketing video page.
	MarketingYoutubeUrl string `json:"marketing_youtube_url,omitempty" path:"marketing_youtube_url,omitempty" url:"marketing_youtube_url,omitempty"`
	// Name of the App.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Package manager install command.
	PackageManagerInstallCommand string `` /* 145-byte string literal not displayed */
	// Associated Remote Server type, if any.
	RemoteServerType string `json:"remote_server_type,omitempty" path:"remote_server_type,omitempty" url:"remote_server_type,omitempty"`
	// Screenshots of the App.
	ScreenshotListUrls []string `json:"screenshot_list_urls,omitempty" path:"screenshot_list_urls,omitempty" url:"screenshot_list_urls,omitempty"`
	// Link to SDK installation instructions.
	SdkInstallationInstructionsLink string `` /* 154-byte string literal not displayed */
	// Short description of the App.
	ShortDescription string `json:"short_description,omitempty" path:"short_description,omitempty" url:"short_description,omitempty"`
	// Associated SSO Strategy type, if any.
	SsoStrategyType string `json:"sso_strategy_type,omitempty" path:"sso_strategy_type,omitempty" url:"sso_strategy_type,omitempty"`
	// Associated SIEM type, if any.
	SiemType string `json:"siem_type,omitempty" path:"siem_type,omitempty" url:"siem_type,omitempty"`
	// Tutorial video page.
	TutorialYoutubeUrl string `json:"tutorial_youtube_url,omitempty" path:"tutorial_youtube_url,omitempty" url:"tutorial_youtube_url,omitempty"`
}

App is a Files.com API resource.

func (*App) UnmarshalJSON ¶

func (a *App) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AppCollection ¶

type AppCollection []App

AppCollection is a list of App resources.

func (*AppCollection) ToSlice ¶

func (a *AppCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AppCollection) UnmarshalJSON ¶

func (a *AppCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AppListParams ¶

type AppListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name` and `app_type`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `app_type`. Valid field combinations are `[ name, app_type ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

AppListParams contains the request parameters for GET /apps.

type As2IncomingMessage ¶

type As2IncomingMessage struct {
	// Id of the AS2 Partner.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the Workspace associated with this AS2 Incoming Message.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Id of the AS2 Partner associated with this message.
	As2PartnerId int64 `json:"as2_partner_id,omitempty" path:"as2_partner_id,omitempty" url:"as2_partner_id,omitempty"`
	// Id of the AS2 Station associated with this message.
	As2StationId int64 `json:"as2_station_id,omitempty" path:"as2_station_id,omitempty" url:"as2_station_id,omitempty"`
	// UUID assigned to this message.
	Uuid string `json:"uuid,omitempty" path:"uuid,omitempty" url:"uuid,omitempty"`
	// Content Type header of the incoming message.
	ContentType string `json:"content_type,omitempty" path:"content_type,omitempty" url:"content_type,omitempty"`
	// HTTP Headers sent with this message.
	HttpHeaders interface{} `json:"http_headers,omitempty" path:"http_headers,omitempty" url:"http_headers,omitempty"`
	// Result of processing.
	ProcessingResult string `json:"processing_result,omitempty" path:"processing_result,omitempty" url:"processing_result,omitempty"`
	// Result of processing description.
	ProcessingResultDescription string `` /* 139-byte string literal not displayed */
	// AS2 Message Integrity Check.
	Mic string `json:"mic,omitempty" path:"mic,omitempty" url:"mic,omitempty"`
	// AS2 Message Integrity Check Algorithm Used.
	MicAlgo string `json:"mic_algo,omitempty" path:"mic_algo,omitempty" url:"mic_algo,omitempty"`
	// AS2 TO header of message.
	As2To string `json:"as2_to,omitempty" path:"as2_to,omitempty" url:"as2_to,omitempty"`
	// AS2 FROM header of message.
	As2From string `json:"as2_from,omitempty" path:"as2_from,omitempty" url:"as2_from,omitempty"`
	// AS2 Message Id.
	MessageId string `json:"message_id,omitempty" path:"message_id,omitempty" url:"message_id,omitempty"`
	// AS2 Subject Header.
	Subject string `json:"subject,omitempty" path:"subject,omitempty" url:"subject,omitempty"`
	// Date Header.
	Date string `json:"date,omitempty" path:"date,omitempty" url:"date,omitempty"`
	// Encrypted Payload Body Size.
	BodySize string `json:"body_size,omitempty" path:"body_size,omitempty" url:"body_size,omitempty"`
	// Filename of the file being received.
	AttachmentFilename string `json:"attachment_filename,omitempty" path:"attachment_filename,omitempty" url:"attachment_filename,omitempty"`
	// IP Address of the Sender.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// Message creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// HTTP Response Code sent for this message.
	HttpResponseCode string `json:"http_response_code,omitempty" path:"http_response_code,omitempty" url:"http_response_code,omitempty"`
	// HTTP Headers sent for this message.
	HttpResponseHeaders interface{} `json:"http_response_headers,omitempty" path:"http_response_headers,omitempty" url:"http_response_headers,omitempty"`
	// Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial.
	RecipientSerial string `json:"recipient_serial,omitempty" path:"recipient_serial,omitempty" url:"recipient_serial,omitempty"`
	// Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
	HexRecipientSerial string `json:"hex_recipient_serial,omitempty" path:"hex_recipient_serial,omitempty" url:"hex_recipient_serial,omitempty"`
	// Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer.
	RecipientIssuer string `json:"recipient_issuer,omitempty" path:"recipient_issuer,omitempty" url:"recipient_issuer,omitempty"`
	// Message body received?
	MessageReceived *bool `json:"message_received,omitempty" path:"message_received,omitempty" url:"message_received,omitempty"`
	// Message decrypted successfully?
	MessageDecrypted *bool `json:"message_decrypted,omitempty" path:"message_decrypted,omitempty" url:"message_decrypted,omitempty"`
	// Message signature verified?
	MessageSignatureVerified *bool `` /* 130-byte string literal not displayed */
	// Message processed successfully?
	MessageProcessingSuccess *bool `` /* 130-byte string literal not displayed */
	// MDN returned?
	MessageMdnReturned *bool `json:"message_mdn_returned,omitempty" path:"message_mdn_returned,omitempty" url:"message_mdn_returned,omitempty"`
	// URL to download the encrypted signed smime that is to sent as AS2 body.
	EncryptedUri string `json:"encrypted_uri,omitempty" path:"encrypted_uri,omitempty" url:"encrypted_uri,omitempty"`
	// URL to download the file contents as smime with signature.
	SmimeSignedUri string `json:"smime_signed_uri,omitempty" path:"smime_signed_uri,omitempty" url:"smime_signed_uri,omitempty"`
	// URL to download the file contents encoded as smime.
	SmimeUri string `json:"smime_uri,omitempty" path:"smime_uri,omitempty" url:"smime_uri,omitempty"`
	// URL to download the original file contents.
	RawUri string `json:"raw_uri,omitempty" path:"raw_uri,omitempty" url:"raw_uri,omitempty"`
	// URL to download the http response body.
	MdnResponseUri string `json:"mdn_response_uri,omitempty" path:"mdn_response_uri,omitempty" url:"mdn_response_uri,omitempty"`
}

As2IncomingMessage is a Files.com API resource.

func (As2IncomingMessage) Identifier ¶

func (a As2IncomingMessage) Identifier() interface{}

Identifier returns the resource ID.

func (*As2IncomingMessage) UnmarshalJSON ¶

func (a *As2IncomingMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type As2IncomingMessageCollection ¶

type As2IncomingMessageCollection []As2IncomingMessage

As2IncomingMessageCollection is a list of As2IncomingMessage resources.

func (*As2IncomingMessageCollection) ToSlice ¶

func (a *As2IncomingMessageCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*As2IncomingMessageCollection) UnmarshalJSON ¶

func (a *As2IncomingMessageCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type As2IncomingMessageListParams ¶

type As2IncomingMessageListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

As2IncomingMessageListParams contains the request parameters for GET /as2_incoming_messages.

type As2OutgoingMessage ¶

type As2OutgoingMessage struct {
	// Id of the AS2 Partner.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the Workspace associated with this AS2 Outgoing Message.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Id of the AS2 Partner associated with this message.
	As2PartnerId int64 `json:"as2_partner_id,omitempty" path:"as2_partner_id,omitempty" url:"as2_partner_id,omitempty"`
	// Id of the AS2 Station associated with this message.
	As2StationId int64 `json:"as2_station_id,omitempty" path:"as2_station_id,omitempty" url:"as2_station_id,omitempty"`
	// UUID assigned to this message.
	Uuid string `json:"uuid,omitempty" path:"uuid,omitempty" url:"uuid,omitempty"`
	// HTTP Headers sent with this message.
	HttpHeaders interface{} `json:"http_headers,omitempty" path:"http_headers,omitempty" url:"http_headers,omitempty"`
	// Result of processing.
	ProcessingResult string `json:"processing_result,omitempty" path:"processing_result,omitempty" url:"processing_result,omitempty"`
	// Result of processing description.
	ProcessingResultDescription string `` /* 139-byte string literal not displayed */
	// AS2 Message Integrity Check SHA1.
	Mic string `json:"mic,omitempty" path:"mic,omitempty" url:"mic,omitempty"`
	// AS2 Message Integrity Check SHA256.
	MicSha256 string `json:"mic_sha_256,omitempty" path:"mic_sha_256,omitempty" url:"mic_sha_256,omitempty"`
	// AS2 TO.
	As2To string `json:"as2_to,omitempty" path:"as2_to,omitempty" url:"as2_to,omitempty"`
	// AS2 FROM.
	As2From string `json:"as2_from,omitempty" path:"as2_from,omitempty" url:"as2_from,omitempty"`
	// AS2 Subject.
	As2Subject string `json:"as2_subject,omitempty" path:"as2_subject,omitempty" url:"as2_subject,omitempty"`
	// Date Header.
	Date string `json:"date,omitempty" path:"date,omitempty" url:"date,omitempty"`
	// AS2 Message Id.
	MessageId string `json:"message_id,omitempty" path:"message_id,omitempty" url:"message_id,omitempty"`
	// Encrypted Payload Body Size.
	BodySize string `json:"body_size,omitempty" path:"body_size,omitempty" url:"body_size,omitempty"`
	// Filename of the file being sent.
	AttachmentFilename string `json:"attachment_filename,omitempty" path:"attachment_filename,omitempty" url:"attachment_filename,omitempty"`
	// Message creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// HTTP Response Code received for this message.
	HttpResponseCode string `json:"http_response_code,omitempty" path:"http_response_code,omitempty" url:"http_response_code,omitempty"`
	// HTTP Headers received for this message.
	HttpResponseHeaders interface{} `json:"http_response_headers,omitempty" path:"http_response_headers,omitempty" url:"http_response_headers,omitempty"`
	// HTTP transmission duration in seceonds.
	HttpTransmissionDuration float64 `` /* 130-byte string literal not displayed */
	// Did the partner give a response body?
	MdnReceived *bool `json:"mdn_received,omitempty" path:"mdn_received,omitempty" url:"mdn_received,omitempty"`
	// Is the response in MDN format?
	MdnValid *bool `json:"mdn_valid,omitempty" path:"mdn_valid,omitempty" url:"mdn_valid,omitempty"`
	// MDN signature verified?
	MdnSignatureVerified *bool `json:"mdn_signature_verified,omitempty" path:"mdn_signature_verified,omitempty" url:"mdn_signature_verified,omitempty"`
	// MDN message id matched?
	MdnMessageIdMatched *bool `json:"mdn_message_id_matched,omitempty" path:"mdn_message_id_matched,omitempty" url:"mdn_message_id_matched,omitempty"`
	// MDN MIC matched?
	MdnMicMatched *bool `json:"mdn_mic_matched,omitempty" path:"mdn_mic_matched,omitempty" url:"mdn_mic_matched,omitempty"`
	// MDN disposition indicate a successful processing?
	MdnProcessingSuccess *bool `json:"mdn_processing_success,omitempty" path:"mdn_processing_success,omitempty" url:"mdn_processing_success,omitempty"`
	// URL to download the original file contents.
	RawUri string `json:"raw_uri,omitempty" path:"raw_uri,omitempty" url:"raw_uri,omitempty"`
	// URL to download the file contents encoded as smime.
	SmimeUri string `json:"smime_uri,omitempty" path:"smime_uri,omitempty" url:"smime_uri,omitempty"`
	// URL to download the file contents as smime with signature.
	SmimeSignedUri string `json:"smime_signed_uri,omitempty" path:"smime_signed_uri,omitempty" url:"smime_signed_uri,omitempty"`
	// URL to download the encrypted signed smime that is to sent as AS2 body.
	EncryptedUri string `json:"encrypted_uri,omitempty" path:"encrypted_uri,omitempty" url:"encrypted_uri,omitempty"`
	// URL to download the http response body.
	MdnResponseUri string `json:"mdn_response_uri,omitempty" path:"mdn_response_uri,omitempty" url:"mdn_response_uri,omitempty"`
}

As2OutgoingMessage is a Files.com API resource.

func (As2OutgoingMessage) Identifier ¶

func (a As2OutgoingMessage) Identifier() interface{}

Identifier returns the resource ID.

func (*As2OutgoingMessage) UnmarshalJSON ¶

func (a *As2OutgoingMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type As2OutgoingMessageCollection ¶

type As2OutgoingMessageCollection []As2OutgoingMessage

As2OutgoingMessageCollection is a list of As2OutgoingMessage resources.

func (*As2OutgoingMessageCollection) ToSlice ¶

func (a *As2OutgoingMessageCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*As2OutgoingMessageCollection) UnmarshalJSON ¶

func (a *As2OutgoingMessageCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type As2OutgoingMessageListParams ¶

type As2OutgoingMessageListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

As2OutgoingMessageListParams contains the request parameters for GET /as2_outgoing_messages.

type As2Partner ¶

type As2Partner struct {
	// ID of the AS2 Partner.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the Workspace associated with this AS2 Partner.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// ID of the AS2 Station associated with this partner.
	As2StationId int64 `json:"as2_station_id,omitempty" path:"as2_station_id,omitempty" url:"as2_station_id,omitempty"`
	// The partner's formal AS2 name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Public URI where we will send the AS2 messages (via HTTP/HTTPS).
	Uri string `json:"uri,omitempty" path:"uri,omitempty" url:"uri,omitempty"`
	// Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.).
	ServerCertificate string `json:"server_certificate,omitempty" path:"server_certificate,omitempty" url:"server_certificate,omitempty"`
	// Username to send to server for HTTP Authentication.
	HttpAuthUsername string `json:"http_auth_username,omitempty" path:"http_auth_username,omitempty" url:"http_auth_username,omitempty"`
	// Additional HTTP Headers for outgoing message sent to this partner.
	AdditionalHttpHeaders interface{} `json:"additional_http_headers,omitempty" path:"additional_http_headers,omitempty" url:"additional_http_headers,omitempty"`
	// Default mime type of the file attached to the encrypted message.
	DefaultMimeType string `json:"default_mime_type,omitempty" path:"default_mime_type,omitempty" url:"default_mime_type,omitempty"`
	// How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received.
	MdnValidationLevel string `json:"mdn_validation_level,omitempty" path:"mdn_validation_level,omitempty" url:"mdn_validation_level,omitempty"`
	// Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not.
	SignatureValidationLevel string `` /* 130-byte string literal not displayed */
	// If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
	EnableDedicatedIps *bool `json:"enable_dedicated_ips,omitempty" path:"enable_dedicated_ips,omitempty" url:"enable_dedicated_ips,omitempty"`
	// Serial of public certificate used for message security in hex format.
	HexPublicCertificateSerial string `` /* 139-byte string literal not displayed */
	// Public certificate used for message security.
	PublicCertificate string `json:"public_certificate,omitempty" path:"public_certificate,omitempty" url:"public_certificate,omitempty"`
	// MD5 hash of public certificate used for message security.
	PublicCertificateMd5 string `json:"public_certificate_md5,omitempty" path:"public_certificate_md5,omitempty" url:"public_certificate_md5,omitempty"`
	// Subject of public certificate used for message security.
	PublicCertificateSubject string `` /* 130-byte string literal not displayed */
	// Issuer of public certificate used for message security.
	PublicCertificateIssuer string `` /* 127-byte string literal not displayed */
	// Serial of public certificate used for message security.
	PublicCertificateSerial string `` /* 127-byte string literal not displayed */
	// Not before value of public certificate used for message security.
	PublicCertificateNotBefore string `` /* 139-byte string literal not displayed */
	// Not after value of public certificate used for message security.
	PublicCertificateNotAfter string `` /* 136-byte string literal not displayed */
	// Password to send to server for HTTP Authentication.
	HttpAuthPassword string `json:"http_auth_password,omitempty" path:"http_auth_password,omitempty" url:"http_auth_password,omitempty"`
	// Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
	Pkcs12 string `json:"pkcs12,omitempty" path:"pkcs12,omitempty" url:"pkcs12,omitempty"`
	// Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
	Pkcs12Password string `json:"pkcs12_password,omitempty" path:"pkcs12_password,omitempty" url:"pkcs12_password,omitempty"`
}

As2Partner is a Files.com API resource.

func (As2Partner) Identifier ¶

func (a As2Partner) Identifier() interface{}

Identifier returns the resource ID.

func (*As2Partner) UnmarshalJSON ¶

func (a *As2Partner) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type As2PartnerCollection ¶

type As2PartnerCollection []As2Partner

As2PartnerCollection is a list of As2Partner resources.

func (*As2PartnerCollection) ToSlice ¶

func (a *As2PartnerCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*As2PartnerCollection) UnmarshalJSON ¶

func (a *As2PartnerCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type As2PartnerCreateParams ¶

type As2PartnerCreateParams struct {
	// If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
	EnableDedicatedIps *bool `url:"enable_dedicated_ips,omitempty" json:"enable_dedicated_ips,omitempty" path:"enable_dedicated_ips"`
	// Username to send to server for HTTP Authentication.
	HttpAuthUsername string `url:"http_auth_username,omitempty" json:"http_auth_username,omitempty" path:"http_auth_username"`
	// Password to send to server for HTTP Authentication.
	HttpAuthPassword string `url:"http_auth_password,omitempty" json:"http_auth_password,omitempty" path:"http_auth_password"`
	// How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received. Values: none, weak, normal, strict, auto.
	MdnValidationLevel As2PartnerMdnValidationLevelEnum `url:"mdn_validation_level,omitempty" json:"mdn_validation_level,omitempty" path:"mdn_validation_level"`
	// Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not. Values: normal, none, auto.
	SignatureValidationLevel As2PartnerSignatureValidationLevelEnum `url:"signature_validation_level,omitempty" json:"signature_validation_level,omitempty" path:"signature_validation_level"`
	// Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.). Values: require_match, allow_any.
	ServerCertificate As2PartnerServerCertificateEnum `url:"server_certificate,omitempty" json:"server_certificate,omitempty" path:"server_certificate"`
	// Default mime type of the file attached to the encrypted message.
	DefaultMimeType string `url:"default_mime_type,omitempty" json:"default_mime_type,omitempty" path:"default_mime_type"`
	// Additional HTTP Headers for outgoing message sent to this partner.
	AdditionalHttpHeaders interface{} `url:"additional_http_headers,omitempty" json:"additional_http_headers,omitempty" path:"additional_http_headers"`
	// ID of the AS2 Station associated with this partner. Required.
	As2StationId int64 `url:"as2_station_id" json:"as2_station_id" path:"as2_station_id"`
	// The partner's formal AS2 name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Public URI where we will send the AS2 messages (via HTTP/HTTPS). Required.
	Uri string `url:"uri" json:"uri" path:"uri"`
	// Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
	PublicCertificate string `url:"public_certificate,omitempty" json:"public_certificate,omitempty" path:"public_certificate"`
	// Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
	Pkcs12 string `url:"pkcs12,omitempty" json:"pkcs12,omitempty" path:"pkcs12"`
	// Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
	Pkcs12Password string `url:"pkcs12_password,omitempty" json:"pkcs12_password,omitempty" path:"pkcs12_password"`
}

As2PartnerCreateParams contains the request parameters for POST /as2_partners.

type As2PartnerDeleteParams ¶

type As2PartnerDeleteParams struct {
	// As2 Partner ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

As2PartnerDeleteParams contains the request parameters for DELETE /as2_partners/{id}.

type As2PartnerFindParams ¶

type As2PartnerFindParams struct {
	// As2 Partner ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

As2PartnerFindParams contains the request parameters for GET /as2_partners/{id}.

type As2PartnerListParams ¶

type As2PartnerListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `as2_station_id` or `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id` and `workspace_id`. Valid field combinations are `[ workspace_id, as2_station_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

As2PartnerListParams contains the request parameters for GET /as2_partners.

type As2PartnerMdnValidationLevelEnum ¶ added in v3.2.17

type As2PartnerMdnValidationLevelEnum string

As2PartnerMdnValidationLevelEnum is a string value for mdn_validation_level. Enum lists the values documented by the API.

func (As2PartnerMdnValidationLevelEnum) Enum ¶ added in v3.2.17

Enum returns the documented values keyed by their API strings.

func (As2PartnerMdnValidationLevelEnum) String ¶ added in v3.2.17

String returns the API parameter value.

type As2PartnerServerCertificateEnum ¶ added in v3.2.17

type As2PartnerServerCertificateEnum string

As2PartnerServerCertificateEnum is a string value for server_certificate. Enum lists the values documented by the API.

func (As2PartnerServerCertificateEnum) Enum ¶ added in v3.2.17

Enum returns the documented values keyed by their API strings.

func (As2PartnerServerCertificateEnum) String ¶ added in v3.2.17

String returns the API parameter value.

type As2PartnerSignatureValidationLevelEnum ¶ added in v3.2.177

type As2PartnerSignatureValidationLevelEnum string

As2PartnerSignatureValidationLevelEnum is a string value for signature_validation_level. Enum lists the values documented by the API.

func (As2PartnerSignatureValidationLevelEnum) Enum ¶ added in v3.2.177

Enum returns the documented values keyed by their API strings.

func (As2PartnerSignatureValidationLevelEnum) String ¶ added in v3.2.177

String returns the API parameter value.

type As2PartnerUpdateParams ¶

type As2PartnerUpdateParams struct {
	// As2 Partner ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// If `true`, we will use your site's dedicated IPs for all outbound connections to this AS2 Partner.
	EnableDedicatedIps *bool `url:"enable_dedicated_ips,omitempty" json:"enable_dedicated_ips,omitempty" path:"enable_dedicated_ips"`
	// Username to send to server for HTTP Authentication.
	HttpAuthUsername string `url:"http_auth_username,omitempty" json:"http_auth_username,omitempty" path:"http_auth_username"`
	// Password to send to server for HTTP Authentication.
	HttpAuthPassword string `url:"http_auth_password,omitempty" json:"http_auth_password,omitempty" path:"http_auth_password"`
	// How should Files.com evaluate message transfer success based on a partner's MDN response? This setting does not affect MDN storage; all MDNs received from a partner are always stored. `none`: MDN is stored for informational purposes only, a successful HTTPS transfer is a successful AS2 transfer. `weak`: Inspect the MDN for MIC and Disposition only. `normal`: `weak` plus validate MDN signature matches body, `strict`: `normal` but do not allow signatures from self-signed or incorrectly purposed certificates. `auto`: Automatically set the correct value for this setting based on next mdn received. Values: none, weak, normal, strict, auto.
	MdnValidationLevel As2PartnerMdnValidationLevelEnum `url:"mdn_validation_level,omitempty" json:"mdn_validation_level,omitempty" path:"mdn_validation_level"`
	// Should Files.com require signatures on incoming AS2 messages? `normal`: require that incoming messages are signed with a valid matching signature. `none`: Unsigned incoming messages are allowed. `auto`: A one-time starting state. The next message received is always accepted and switches this to `normal` if it carries a valid signature, or `none` if it does not. Values: normal, none, auto.
	SignatureValidationLevel As2PartnerSignatureValidationLevelEnum `url:"signature_validation_level,omitempty" json:"signature_validation_level,omitempty" path:"signature_validation_level"`
	// Should we require that the remote HTTP server have a valid SSL Certificate for HTTPS? (This only applies to Outgoing AS2 message from Files.com to a Partner.). Values: require_match, allow_any.
	ServerCertificate As2PartnerServerCertificateEnum `url:"server_certificate,omitempty" json:"server_certificate,omitempty" path:"server_certificate"`
	// Default mime type of the file attached to the encrypted message.
	DefaultMimeType string `url:"default_mime_type,omitempty" json:"default_mime_type,omitempty" path:"default_mime_type"`
	// Additional HTTP Headers for outgoing message sent to this partner.
	AdditionalHttpHeaders interface{} `url:"additional_http_headers,omitempty" json:"additional_http_headers,omitempty" path:"additional_http_headers"`
	// The partner's formal AS2 name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Public URI where we will send the AS2 messages (via HTTP/HTTPS).
	Uri string `url:"uri,omitempty" json:"uri,omitempty" path:"uri"`
	// Public certificate for AS2 Partner. Note: This is the certificate for AS2 message security, not a certificate used for HTTPS authentication.
	PublicCertificate string `url:"public_certificate,omitempty" json:"public_certificate,omitempty" path:"public_certificate"`
	// Base64-encoded PKCS#12 (.pfx or .p12) file containing the partner's public certificate. Provide this instead of public_certificate. Any private key in the file is discarded. A public-only file must contain exactly one certificate.
	Pkcs12 string `url:"pkcs12,omitempty" json:"pkcs12,omitempty" path:"pkcs12"`
	// Password for pkcs12. The file and password are used only for import; the extracted public certificate is stored as PEM.
	Pkcs12Password string `url:"pkcs12_password,omitempty" json:"pkcs12_password,omitempty" path:"pkcs12_password"`
}

As2PartnerUpdateParams contains the request parameters for PATCH /as2_partners/{id}.

type As2Station ¶

type As2Station struct {
	// Id of the AS2 Station.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the Workspace associated with this AS2 Station.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// The station's formal AS2 name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Public URI for sending AS2 message to.
	Uri string `json:"uri,omitempty" path:"uri,omitempty" url:"uri,omitempty"`
	// The station's AS2 domain name.
	Domain string `json:"domain,omitempty" path:"domain,omitempty" url:"domain,omitempty"`
	// Serial of public certificate used for message security in hex format.
	HexPublicCertificateSerial string `` /* 139-byte string literal not displayed */
	// MD5 hash of public certificate used for message security.
	PublicCertificateMd5 string `json:"public_certificate_md5,omitempty" path:"public_certificate_md5,omitempty" url:"public_certificate_md5,omitempty"`
	// Public certificate used for message security.
	PublicCertificate string `json:"public_certificate,omitempty" path:"public_certificate,omitempty" url:"public_certificate,omitempty"`
	// MD5 hash of private key used for message security.
	PrivateKeyMd5 string `json:"private_key_md5,omitempty" path:"private_key_md5,omitempty" url:"private_key_md5,omitempty"`
	// Subject of public certificate used for message security.
	PublicCertificateSubject string `` /* 130-byte string literal not displayed */
	// Issuer of public certificate used for message security.
	PublicCertificateIssuer string `` /* 127-byte string literal not displayed */
	// Serial of public certificate used for message security.
	PublicCertificateSerial string `` /* 127-byte string literal not displayed */
	// Not before value of public certificate used for message security.
	PublicCertificateNotBefore string `` /* 139-byte string literal not displayed */
	// Not after value of public certificate used for message security.
	PublicCertificateNotAfter string `` /* 136-byte string literal not displayed */
	// MD5 hash of private key password used for message security.
	PrivateKeyPasswordMd5 string `json:"private_key_password_md5,omitempty" path:"private_key_password_md5,omitempty" url:"private_key_password_md5,omitempty"`
	// PEM-encoded private key matching public_certificate.
	PrivateKey string `json:"private_key,omitempty" path:"private_key,omitempty" url:"private_key,omitempty"`
	// Password for the PEM-encoded private key.
	PrivateKeyPassword string `json:"private_key_password,omitempty" path:"private_key_password,omitempty" url:"private_key_password,omitempty"`
	// Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's certificate and private key. Provide this instead of public_certificate and private_key.
	Pkcs12 string `json:"pkcs12,omitempty" path:"pkcs12,omitempty" url:"pkcs12,omitempty"`
	// Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
	Pkcs12Password string `json:"pkcs12_password,omitempty" path:"pkcs12_password,omitempty" url:"pkcs12_password,omitempty"`
}

As2Station is a Files.com API resource.

func (As2Station) Identifier ¶

func (a As2Station) Identifier() interface{}

Identifier returns the resource ID.

func (*As2Station) UnmarshalJSON ¶

func (a *As2Station) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type As2StationCollection ¶

type As2StationCollection []As2Station

As2StationCollection is a list of As2Station resources.

func (*As2StationCollection) ToSlice ¶

func (a *As2StationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*As2StationCollection) UnmarshalJSON ¶

func (a *As2StationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type As2StationCreateParams ¶

type As2StationCreateParams struct {
	// The station's formal AS2 name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// ID of the Workspace associated with this AS2 Station.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Public certificate used for message security.
	PublicCertificate string `url:"public_certificate,omitempty" json:"public_certificate,omitempty" path:"public_certificate"`
	// PEM-encoded private key matching public_certificate.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// Password for the PEM-encoded private key.
	PrivateKeyPassword string `url:"private_key_password,omitempty" json:"private_key_password,omitempty" path:"private_key_password"`
	// Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's certificate and private key. Provide this instead of public_certificate and private_key.
	Pkcs12 string `url:"pkcs12,omitempty" json:"pkcs12,omitempty" path:"pkcs12"`
	// Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
	Pkcs12Password string `url:"pkcs12_password,omitempty" json:"pkcs12_password,omitempty" path:"pkcs12_password"`
}

As2StationCreateParams contains the request parameters for POST /as2_stations.

type As2StationDeleteParams ¶

type As2StationDeleteParams struct {
	// As2 Station ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

As2StationDeleteParams contains the request parameters for DELETE /as2_stations/{id}.

type As2StationFindParams ¶

type As2StationFindParams struct {
	// As2 Station ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

As2StationFindParams contains the request parameters for GET /as2_stations/{id}.

type As2StationListParams ¶

type As2StationListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

As2StationListParams contains the request parameters for GET /as2_stations.

type As2StationUpdateParams ¶

type As2StationUpdateParams struct {
	// As2 Station ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// The station's formal AS2 name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Public certificate used for message security.
	PublicCertificate string `url:"public_certificate,omitempty" json:"public_certificate,omitempty" path:"public_certificate"`
	// PEM-encoded private key matching public_certificate.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// Password for the PEM-encoded private key.
	PrivateKeyPassword string `url:"private_key_password,omitempty" json:"private_key_password,omitempty" path:"private_key_password"`
	// Base64-encoded PKCS#12 (.pfx or .p12) file containing the identity's replacement certificate and private key. Provide this instead of public_certificate and private_key.
	Pkcs12 string `url:"pkcs12,omitempty" json:"pkcs12,omitempty" path:"pkcs12"`
	// Password for pkcs12. The file and password are used only for import; the extracted certificate and private key are stored as PEM.
	Pkcs12Password string `url:"pkcs12_password,omitempty" json:"pkcs12_password,omitempty" path:"pkcs12_password"`
}

As2StationUpdateParams contains the request parameters for PATCH /as2_stations/{id}.

type Auto ¶

type Auto struct {
	Dynamic interface{} `json:"dynamic,omitempty" path:"dynamic,omitempty" url:"dynamic,omitempty"`
}

Auto is a Files.com API resource.

func (*Auto) UnmarshalJSON ¶

func (a *Auto) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AutoCollection ¶

type AutoCollection []Auto

AutoCollection is a list of Auto resources.

func (*AutoCollection) ToSlice ¶

func (a *AutoCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AutoCollection) UnmarshalJSON ¶

func (a *AutoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type Automation ¶

type Automation struct {
	// Automation ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
	AlwaysSerializeJobs *bool `json:"always_serialize_jobs,omitempty" path:"always_serialize_jobs,omitempty" url:"always_serialize_jobs,omitempty"`
	// Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
	AlwaysOverwriteSizeMatchingFiles *bool `` /* 160-byte string literal not displayed */
	// Automation type.
	Automation string `json:"automation,omitempty" path:"automation,omitempty" url:"automation,omitempty"`
	// Indicates if the automation has been deleted.
	Deleted *bool `json:"deleted,omitempty" path:"deleted,omitempty" url:"deleted,omitempty"`
	// Description for the this Automation.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Automation v2 graph definition.
	Definition interface{} `json:"definition,omitempty" path:"definition,omitempty" url:"definition,omitempty"`
	// If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
	DestinationReplaceFrom string `json:"destination_replace_from,omitempty" path:"destination_replace_from,omitempty" url:"destination_replace_from,omitempty"`
	// If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
	DestinationReplaceTo string `json:"destination_replace_to,omitempty" path:"destination_replace_to,omitempty" url:"destination_replace_to,omitempty"`
	// Destination Paths.
	Destinations []string `json:"destinations,omitempty" path:"destinations,omitempty" url:"destinations,omitempty"`
	// If true, this automation will not run.
	Disabled *bool `json:"disabled,omitempty" path:"disabled,omitempty" url:"disabled,omitempty"`
	// If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
	ExcludePattern string `json:"exclude_pattern,omitempty" path:"exclude_pattern,omitempty" url:"exclude_pattern,omitempty"`
	// List of URLs to be imported and names to be used.
	ImportUrls []map[string]interface{} `json:"import_urls,omitempty" path:"import_urls,omitempty" url:"import_urls,omitempty"`
	// If trigger is `email`, this is the address that triggers the Automation.
	InboundEmailAddress string `json:"inbound_email_address,omitempty" path:"inbound_email_address,omitempty" url:"inbound_email_address,omitempty"`
	// Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
	FlattenDestinationStructure *bool `` /* 139-byte string literal not displayed */
	// IDs of Groups for the Automation (i.e. who to Request File from).
	GroupIds []int64 `json:"group_ids,omitempty" path:"group_ids,omitempty" url:"group_ids,omitempty"`
	// If true, the Lock Folders behavior will be disregarded for automated actions.
	IgnoreLockedFolders *bool `json:"ignore_locked_folders,omitempty" path:"ignore_locked_folders,omitempty" url:"ignore_locked_folders,omitempty"`
	// If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`.
	Interval string `json:"interval,omitempty" path:"interval,omitempty" url:"interval,omitempty"`
	// Time when automation was last modified. Does not change for name or description updates.
	LastModifiedAt *time.Time `json:"last_modified_at,omitempty" path:"last_modified_at,omitempty" url:"last_modified_at,omitempty"`
	// If `true`, use the legacy behavior for this automation, where it can operate on folders in addition to just files. This behavior no longer works and should not be used.
	LegacyFolderMatching *bool `json:"legacy_folder_matching,omitempty" path:"legacy_folder_matching,omitempty" url:"legacy_folder_matching,omitempty"`
	// Name for this automation.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten on Copy automations if they appear to be the same file size as the newly incoming file. Use the `always_overwrite_size_matching_files` option in conjunction with `overwrite_files` to override this behavior and overwrite files no matter what.
	OverwriteFiles *bool `json:"overwrite_files,omitempty" path:"overwrite_files,omitempty" url:"overwrite_files,omitempty"`
	// Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Timezone to use when rendering timestamps in paths.
	PathTimeZone string `json:"path_time_zone,omitempty" path:"path_time_zone,omitempty" url:"path_time_zone,omitempty"`
	// Current Automation v2 definition version.
	Version int64 `json:"version,omitempty" path:"version,omitempty" url:"version,omitempty"`
	// If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDay int64 `json:"recurring_day,omitempty" path:"recurring_day,omitempty" url:"recurring_day,omitempty"`
	// If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDays []int64 `json:"recurring_days,omitempty" path:"recurring_days,omitempty" url:"recurring_days,omitempty"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
	ScheduleId int64 `json:"schedule_id,omitempty" path:"schedule_id,omitempty" url:"schedule_id,omitempty"`
	// If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
	RetryOnFailureIntervalInMinutes int64 `` /* 160-byte string literal not displayed */
	// If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
	RetryOnFailureNumberOfAttempts int64 `` /* 157-byte string literal not displayed */
	// If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
	Schedule interface{} `json:"schedule,omitempty" path:"schedule,omitempty" url:"schedule,omitempty"`
	// If trigger is `custom_schedule` or `daily` with times, Human readable schedule description for when the automation should be run.
	HumanReadableSchedule string `json:"human_readable_schedule,omitempty" path:"human_readable_schedule,omitempty" url:"human_readable_schedule,omitempty"`
	// If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0 is Sunday, 1 is Monday, etc.
	ScheduleDaysOfWeek []int64 `json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week,omitempty" url:"schedule_days_of_week,omitempty"`
	// Times of day to run in HH:MM format (24-hour). For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
	ScheduleTimesOfDay []string `json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day,omitempty" url:"schedule_times_of_day,omitempty"`
	// Time zone for the schedule. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `json:"schedule_time_zone,omitempty" path:"schedule_time_zone,omitempty" url:"schedule_time_zone,omitempty"`
	// Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
	Source string `json:"source,omitempty" path:"source,omitempty" url:"source,omitempty"`
	// IDs of Syncs to run by this Automation.
	SyncIds []int64 `json:"sync_ids,omitempty" path:"sync_ids,omitempty" url:"sync_ids,omitempty"`
	// If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy.
	TriggerActions []string `json:"trigger_actions,omitempty" path:"trigger_actions,omitempty" url:"trigger_actions,omitempty"`
	// How this automation is triggered to run.
	Trigger string `json:"trigger,omitempty" path:"trigger,omitempty" url:"trigger,omitempty"`
	// User ID of the Automation's creator.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// IDs of Users for the Automation (i.e. who to Request File from).
	UserIds []int64 `json:"user_ids,omitempty" path:"user_ids,omitempty" url:"user_ids,omitempty"`
	// A Hash of attributes specific to the automation type.
	Value interface{} `json:"value,omitempty" path:"value,omitempty" url:"value,omitempty"`
	// If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
	WebhookUrl string `json:"webhook_url,omitempty" path:"webhook_url,omitempty" url:"webhook_url,omitempty"`
	// Skip the automation if there is a formal, observed holiday for this region.
	HolidayRegion string `json:"holiday_region,omitempty" path:"holiday_region,omitempty" url:"holiday_region,omitempty"`
}

Automation is a Files.com API resource.

func (Automation) Identifier ¶

func (a Automation) Identifier() interface{}

Identifier returns the resource ID.

func (*Automation) UnmarshalJSON ¶

func (a *Automation) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AutomationAuthoringSchema ¶ added in v3.3.189

type AutomationAuthoringSchema struct {
	// JSON Schema for active Automation v2 graph definitions.
	DefinitionSchema interface{} `json:"definition_schema,omitempty" path:"definition_schema,omitempty" url:"definition_schema,omitempty"`
	// Typed error families accepted by Automation v2 on_error rules.
	ErrorFamilies []map[string]interface{} `json:"error_families,omitempty" path:"error_families,omitempty" url:"error_families,omitempty"`
	// Active Automation v2 node authoring metadata.
	Nodes []map[string]interface{} `json:"nodes,omitempty" path:"nodes,omitempty" url:"nodes,omitempty"`
	// Stable public URL for the Automation v2 graph definition JSON Schema.
	SchemaUrl string `json:"schema_url,omitempty" path:"schema_url,omitempty" url:"schema_url,omitempty"`
}

AutomationAuthoringSchema is a Files.com API resource.

func (*AutomationAuthoringSchema) UnmarshalJSON ¶ added in v3.3.189

func (a *AutomationAuthoringSchema) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AutomationAuthoringSchemaCollection ¶ added in v3.3.189

type AutomationAuthoringSchemaCollection []AutomationAuthoringSchema

AutomationAuthoringSchemaCollection is a list of AutomationAuthoringSchema resources.

func (*AutomationAuthoringSchemaCollection) ToSlice ¶ added in v3.3.189

func (a *AutomationAuthoringSchemaCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AutomationAuthoringSchemaCollection) UnmarshalJSON ¶ added in v3.3.189

func (a *AutomationAuthoringSchemaCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AutomationCollection ¶

type AutomationCollection []Automation

AutomationCollection is a list of Automation resources.

func (*AutomationCollection) ToSlice ¶

func (a *AutomationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AutomationCollection) UnmarshalJSON ¶

func (a *AutomationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AutomationCreateParams ¶

type AutomationCreateParams struct {
	// Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
	Source string `url:"source,omitempty" json:"source,omitempty" path:"source"`
	// A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
	Destinations []string `url:"destinations,omitempty" json:"destinations,omitempty" path:"destinations"`
	// If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
	DestinationReplaceFrom string `url:"destination_replace_from,omitempty" json:"destination_replace_from,omitempty" path:"destination_replace_from"`
	// If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
	DestinationReplaceTo string `url:"destination_replace_to,omitempty" json:"destination_replace_to,omitempty" path:"destination_replace_to"`
	// How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// Path on which this Automation runs. Supports globs, except on remote mounts.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
	SyncIds string `url:"sync_ids,omitempty" json:"sync_ids,omitempty" path:"sync_ids"`
	// A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
	UserIds string `url:"user_ids,omitempty" json:"user_ids,omitempty" path:"user_ids"`
	// A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
	GroupIds string `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id`. Optional for `daily` triggers; if not set, runs at midnight UTC.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
	AlwaysOverwriteSizeMatchingFiles *bool `` /* 150-byte string literal not displayed */
	// Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
	AlwaysSerializeJobs *bool `url:"always_serialize_jobs,omitempty" json:"always_serialize_jobs,omitempty" path:"always_serialize_jobs"`
	// Description for the this Automation.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Automation v2 graph definition.
	Definition interface{} `url:"definition,omitempty" json:"definition,omitempty" path:"definition"`
	// If true, this automation will not run.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
	ExcludePattern string `url:"exclude_pattern,omitempty" json:"exclude_pattern,omitempty" path:"exclude_pattern"`
	// List of URLs to be imported and names to be used.
	ImportUrls []map[string]interface{} `url:"import_urls,omitempty" json:"import_urls,omitempty" path:"import_urls"`
	// Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
	FlattenDestinationStructure *bool `` /* 129-byte string literal not displayed */
	// If true, the Lock Folders behavior will be disregarded for automated actions.
	IgnoreLockedFolders *bool `url:"ignore_locked_folders,omitempty" json:"ignore_locked_folders,omitempty" path:"ignore_locked_folders"`
	// DEPRECATED: If `true`, use the legacy behavior for this automation, where it can operate on folders in addition to just files. This behavior no longer works and should not be used.
	LegacyFolderMatching *bool `url:"legacy_folder_matching,omitempty" json:"legacy_folder_matching,omitempty" path:"legacy_folder_matching"`
	// Name for this automation.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten on Copy automations if they appear to be the same file size as the newly incoming file. Use the `always_overwrite_size_matching_files` option in conjunction with `overwrite_files` to override this behavior and overwrite files no matter what.
	OverwriteFiles *bool `url:"overwrite_files,omitempty" json:"overwrite_files,omitempty" path:"overwrite_files"`
	// Timezone to use when rendering timestamps in paths.
	PathTimeZone string `url:"path_time_zone,omitempty" json:"path_time_zone,omitempty" path:"path_time_zone"`
	// If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
	RetryOnFailureIntervalInMinutes int64 `` /* 150-byte string literal not displayed */
	// If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
	RetryOnFailureNumberOfAttempts int64 `` /* 147-byte string literal not displayed */
	// How this automation is triggered to run. Values: manual, daily, custom_schedule, webhook, email, action.
	Trigger AutomationTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy.
	TriggerActions []string `url:"trigger_actions,omitempty" json:"trigger_actions,omitempty" path:"trigger_actions"`
	// A Hash of attributes specific to the automation type.
	Value interface{} `url:"value,omitempty" json:"value,omitempty" path:"value"`
	// If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// Automation type. Values: create_folder, delete_file, copy_file, move_file, as2_send, run_sync, import_file, v2. Required.
	Automation AutomationEnum `url:"automation" json:"automation" path:"automation"`
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

AutomationCreateParams contains the request parameters for POST /automations.

type AutomationDeleteParams ¶

type AutomationDeleteParams struct {
	// Automation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AutomationDeleteParams contains the request parameters for DELETE /automations/{id}.

type AutomationEnum ¶

type AutomationEnum string

AutomationEnum is a string value for automation. Enum lists the values documented by the API.

func (AutomationEnum) Enum ¶

func (u AutomationEnum) Enum() map[string]AutomationEnum

Enum returns the documented values keyed by their API strings.

func (AutomationEnum) String ¶

func (u AutomationEnum) String() string

String returns the API parameter value.

type AutomationExecutionNode ¶ added in v3.3.191

type AutomationExecutionNode struct {
	// Node ID from the pinned Automation definition.
	NodeId string `json:"node_id,omitempty" path:"node_id,omitempty" url:"node_id,omitempty"`
	// Node type.
	NodeType string `json:"node_type,omitempty" path:"node_type,omitempty" url:"node_type,omitempty"`
	// Node status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Current node execution stage.
	RunStage string `json:"run_stage,omitempty" path:"run_stage,omitempty" url:"run_stage,omitempty"`
	// Whether this node reused persisted output from an earlier run.
	Reused *bool `json:"reused,omitempty" path:"reused,omitempty" url:"reused,omitempty"`
	// Count of successful operations in this node.
	SuccessfulOperations int64 `json:"successful_operations,omitempty" path:"successful_operations,omitempty" url:"successful_operations,omitempty"`
	// Count of failed operations in this node.
	FailedOperations int64 `json:"failed_operations,omitempty" path:"failed_operations,omitempty" url:"failed_operations,omitempty"`
	// When this node started.
	StartedAt *time.Time `json:"started_at,omitempty" path:"started_at,omitempty" url:"started_at,omitempty"`
	// When this node completed.
	CompletedAt *time.Time `json:"completed_at,omitempty" path:"completed_at,omitempty" url:"completed_at,omitempty"`
	// Node runtime in milliseconds.
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Ordered inbound edge references.
	Inputs []map[string]interface{} `json:"inputs,omitempty" path:"inputs,omitempty" url:"inputs,omitempty"`
	// Output counts, item kinds, and typed-error summaries by outlet.
	Outputs interface{} `json:"outputs,omitempty" path:"outputs,omitempty" url:"outputs,omitempty"`
	// Materialized input items currently available, grouped by inlet.
	InputItems interface{} `json:"input_items,omitempty" path:"input_items,omitempty" url:"input_items,omitempty"`
	// Materialized output items grouped by outlet.
	OutputItems interface{} `json:"output_items,omitempty" path:"output_items,omitempty" url:"output_items,omitempty"`
}

AutomationExecutionNode is a Files.com API resource.

func (*AutomationExecutionNode) UnmarshalJSON ¶ added in v3.3.191

func (a *AutomationExecutionNode) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AutomationExecutionNodeCollection ¶ added in v3.3.191

type AutomationExecutionNodeCollection []AutomationExecutionNode

AutomationExecutionNodeCollection is a list of AutomationExecutionNode resources.

func (*AutomationExecutionNodeCollection) ToSlice ¶ added in v3.3.191

func (a *AutomationExecutionNodeCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AutomationExecutionNodeCollection) UnmarshalJSON ¶ added in v3.3.191

func (a *AutomationExecutionNodeCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AutomationFindParams ¶

type AutomationFindParams struct {
	// Automation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AutomationFindParams contains the request parameters for GET /automations/{id}.

type AutomationListParams ¶

type AutomationListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `automation`, `last_modified_at` or `disabled`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at`, `workspace_id` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ workspace_id, disabled ]`, `[ disabled, automation ]`, `[ workspace_id, last_modified_at ]`, `[ automation, last_modified_at ]`, `[ workspace_id, automation ]`, `[ workspace_id, disabled, last_modified_at ]`, `[ disabled, automation, last_modified_at ]`, `[ workspace_id, disabled, automation ]`, `[ workspace_id, automation, last_modified_at ]` or `[ workspace_id, disabled, automation, last_modified_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `last_modified_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

AutomationListParams contains the request parameters for GET /automations.

type AutomationLog ¶ added in v3.1.48

type AutomationLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// Automation ID.
	AutomationId int64 `json:"automation_id,omitempty" path:"automation_id,omitempty" url:"automation_id,omitempty"`
	// Automation Run ID.
	AutomationRunId int64 `json:"automation_run_id,omitempty" path:"automation_run_id,omitempty" url:"automation_run_id,omitempty"`
	// Logical item correlation ID.
	CorrelationId string `json:"correlation_id,omitempty" path:"correlation_id,omitempty" url:"correlation_id,omitempty"`
	// Destination path, for moves and copies.
	DestPath string `json:"dest_path,omitempty" path:"dest_path,omitempty" url:"dest_path,omitempty"`
	// Typed error, if applicable.
	ErrorType string `json:"error_type,omitempty" path:"error_type,omitempty" url:"error_type,omitempty"`
	// ID of the Automation whose definition owns this node.
	SourceAutomationId int64 `json:"source_automation_id,omitempty" path:"source_automation_id,omitempty" url:"source_automation_id,omitempty"`
	// Pinned version of the Automation whose definition owns this node.
	SourceAutomationVersion int64 `` /* 127-byte string literal not displayed */
	// Message.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Node ID.
	NodeId string `json:"node_id,omitempty" path:"node_id,omitempty" url:"node_id,omitempty"`
	// Node type.
	NodeType string `json:"node_type,omitempty" path:"node_type,omitempty" url:"node_type,omitempty"`
	// Operation type.
	Operation string `json:"operation,omitempty" path:"operation,omitempty" url:"operation,omitempty"`
	// Node outlet used by the item.
	Output string `json:"output,omitempty" path:"output,omitempty" url:"output,omitempty"`
	// File path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

AutomationLog is a Files.com API resource.

func (AutomationLog) Identifier ¶ added in v3.1.48

func (a AutomationLog) Identifier() interface{}

Identifier returns the resource path.

func (*AutomationLog) UnmarshalJSON ¶ added in v3.1.48

func (a *AutomationLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AutomationLogCollection ¶ added in v3.1.48

type AutomationLogCollection []AutomationLog

AutomationLogCollection is a list of AutomationLog resources.

func (*AutomationLogCollection) ToSlice ¶ added in v3.1.48

func (a *AutomationLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AutomationLogCollection) UnmarshalJSON ¶ added in v3.1.48

func (a *AutomationLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AutomationLogListParams ¶ added in v3.1.48

type AutomationLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `automation_id`, `automation_run_id`, `correlation_id`, `error_type`, `node_id`, `node_type`, `operation`, `output`, `path`, `source_automation_id`, `source_automation_version`, `status` or `created_at`. Valid field combinations are every combination of one or more of the 13 fields `automation_id`, `automation_run_id`, `correlation_id`, `error_type`, `node_id`, `node_type`, `operation`, `output`, `path`, `source_automation_id`, `source_automation_version`, `status` and `created_at`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `source_automation_version` and `created_at`. Valid field combinations are every combination of one or more of the 13 fields `automation_id`, `automation_run_id`, `correlation_id`, `error_type`, `node_id`, `node_type`, `operation`, `output`, `path`, `source_automation_id`, `source_automation_version`, `status` and `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `source_automation_version` and `created_at`. Valid field combinations are every combination of one or more of the 13 fields `automation_id`, `automation_run_id`, `correlation_id`, `error_type`, `node_id`, `node_type`, `operation`, `output`, `path`, `source_automation_id`, `source_automation_version`, `status` and `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `correlation_id`, `error_type`, `node_id`, `node_type`, `output` or `path`. Valid field combinations are every combination of one or more of the 13 fields `automation_id`, `automation_run_id`, `correlation_id`, `error_type`, `node_id`, `node_type`, `operation`, `output`, `path`, `source_automation_id`, `source_automation_version`, `status` and `created_at`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `source_automation_version` and `created_at`. Valid field combinations are every combination of one or more of the 13 fields `automation_id`, `automation_run_id`, `correlation_id`, `error_type`, `node_id`, `node_type`, `operation`, `output`, `path`, `source_automation_id`, `source_automation_version`, `status` and `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `source_automation_version` and `created_at`. Valid field combinations are every combination of one or more of the 13 fields `automation_id`, `automation_run_id`, `correlation_id`, `error_type`, `node_id`, `node_type`, `operation`, `output`, `path`, `source_automation_id`, `source_automation_version`, `status` and `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

AutomationLogListParams contains the request parameters for GET /automation_logs.

type AutomationManualRunParams ¶

type AutomationManualRunParams struct {
	// Automation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Initial items for a v2 manual trigger. Each item contains exactly one `file` path or `data` object.
	Items []map[string]interface{} `url:"items,omitempty" json:"items,omitempty" path:"items"`
}

AutomationManualRunParams contains the request parameters for POST /automations/{id}/manual_run.

Manually Run Automation

type AutomationRun ¶

type AutomationRun struct {
	// ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the associated Automation.
	AutomationId int64 `json:"automation_id,omitempty" path:"automation_id,omitempty" url:"automation_id,omitempty"`
	// ID of the immutable Automation version pinned by this run.
	AutomationVersionId int64 `json:"automation_version_id,omitempty" path:"automation_version_id,omitempty" url:"automation_version_id,omitempty"`
	// Pinned Automation v2 definition version.
	Version int64 `json:"version,omitempty" path:"version,omitempty" url:"version,omitempty"`
	// Workspace ID.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Date/time at which cancellation was requested.
	CancelRequestedAt *time.Time `json:"cancel_requested_at,omitempty" path:"cancel_requested_at,omitempty" url:"cancel_requested_at,omitempty"`
	// Automation run completion/failure date/time.
	CompletedAt *time.Time `json:"completed_at,omitempty" path:"completed_at,omitempty" url:"completed_at,omitempty"`
	// Automation run start date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// If set, this automation will be retried at this date/time due to `failure` or `partial_failure`.
	RetryAt *time.Time `json:"retry_at,omitempty" path:"retry_at,omitempty" url:"retry_at,omitempty"`
	// If set, this Automation run was retried due to `failure` or `partial_failure`.
	RetriedAt *time.Time `json:"retried_at,omitempty" path:"retried_at,omitempty" url:"retried_at,omitempty"`
	// ID of the run that is or will be retrying this run.
	RetriedInRunId int64 `json:"retried_in_run_id,omitempty" path:"retried_in_run_id,omitempty" url:"retried_in_run_id,omitempty"`
	// ID of the original run that this run is retrying.
	RetryOfRunId int64 `json:"retry_of_run_id,omitempty" path:"retry_of_run_id,omitempty" url:"retry_of_run_id,omitempty"`
	// ID of the run whose persisted node outputs this run reused.
	RerunOfRunId int64 `json:"rerun_of_run_id,omitempty" path:"rerun_of_run_id,omitempty" url:"rerun_of_run_id,omitempty"`
	// Node at which this run resumed execution.
	RerunFromNodeId string `json:"rerun_from_node_id,omitempty" path:"rerun_from_node_id,omitempty" url:"rerun_from_node_id,omitempty"`
	// Automation run runtime.
	Runtime float64 `json:"runtime,omitempty" path:"runtime,omitempty" url:"runtime,omitempty"`
	// The status of the AutomationRun. One of `queued`, `running`, `success`, `partial_failure`, `failure`, `skipped`, or `canceled`.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Count of successful operations.
	SuccessfulOperations int64 `json:"successful_operations,omitempty" path:"successful_operations,omitempty" url:"successful_operations,omitempty"`
	// Count of failed operations.
	FailedOperations int64 `json:"failed_operations,omitempty" path:"failed_operations,omitempty" url:"failed_operations,omitempty"`
	// Automation definition snapshot pinned by this run. For performance reasons, this is not provided when listing Automation runs.
	Definition interface{} `json:"definition,omitempty" path:"definition,omitempty" url:"definition,omitempty"`
	// Status and execution stage for each node in this run. For performance reasons, this is not provided when listing Automation runs.
	NodeStates interface{} `json:"node_states,omitempty" path:"node_states,omitempty" url:"node_states,omitempty"`
	// Execution status, timing, and bounded output summaries for each node. For performance reasons, this is not provided when listing Automation runs.
	ExecutionNodes []AutomationExecutionNode `json:"execution_nodes,omitempty" path:"execution_nodes,omitempty" url:"execution_nodes,omitempty"`
	// Link to the run journal artifact.
	JournalUrl string `json:"journal_url,omitempty" path:"journal_url,omitempty" url:"journal_url,omitempty"`
	// Link to status messages log file.
	StatusMessagesUrl string `json:"status_messages_url,omitempty" path:"status_messages_url,omitempty" url:"status_messages_url,omitempty"`
}

AutomationRun is a Files.com API resource.

func (AutomationRun) Identifier ¶

func (a AutomationRun) Identifier() interface{}

Identifier returns the resource ID.

func (*AutomationRun) UnmarshalJSON ¶

func (a *AutomationRun) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type AutomationRunCancelParams ¶ added in v3.3.188

type AutomationRunCancelParams struct {
	// Automation Run ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AutomationRunCancelParams contains the request parameters for POST /automation_runs/{id}/cancel.

Cancel Automation Run

type AutomationRunCollection ¶

type AutomationRunCollection []AutomationRun

AutomationRunCollection is a list of AutomationRun resources.

func (*AutomationRunCollection) ToSlice ¶

func (a *AutomationRunCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*AutomationRunCollection) UnmarshalJSON ¶

func (a *AutomationRunCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type AutomationRunFindNodeParams ¶ added in v3.3.191

type AutomationRunFindNodeParams struct {
	// Automation Run ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Node ID from the pinned Automation definition. Required.
	NodeId string `url:"node_id" json:"node_id" path:"node_id"`
}

AutomationRunFindNodeParams contains the request parameters for GET /automation_runs/{id}/node.

type AutomationRunFindParams ¶

type AutomationRunFindParams struct {
	// Automation Run ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AutomationRunFindParams contains the request parameters for GET /automation_runs/{id}.

type AutomationRunListParams ¶

type AutomationRunListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation_id`, `created_at` or `status`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id` or `automation_id`. Valid field combinations are `[ workspace_id, status ]`, `[ automation_id, status ]`, `[ workspace_id, automation_id ]` or `[ workspace_id, automation_id, status ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ID of the associated Automation. Required.
	AutomationId int64 `url:"automation_id" json:"automation_id" path:"automation_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

AutomationRunListParams contains the request parameters for GET /automation_runs.

type AutomationRunRerunParams ¶ added in v3.3.191

type AutomationRunRerunParams struct {
	// Automation Run ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Node ID at which execution should resume. Required.
	NodeId string `url:"node_id" json:"node_id" path:"node_id"`
}

AutomationRunRerunParams contains the request parameters for POST /automation_runs/{id}/rerun.

Re-run Automation from Node

type AutomationTriggerEnum ¶

type AutomationTriggerEnum string

AutomationTriggerEnum is a string value for trigger. Enum lists the values documented by the API.

func (AutomationTriggerEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (AutomationTriggerEnum) String ¶

func (u AutomationTriggerEnum) String() string

String returns the API parameter value.

type AutomationUpdateParams ¶

type AutomationUpdateParams struct {
	// Automation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
	Source string `url:"source,omitempty" json:"source,omitempty" path:"source"`
	// A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
	Destinations []string `url:"destinations,omitempty" json:"destinations,omitempty" path:"destinations"`
	// If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
	DestinationReplaceFrom string `url:"destination_replace_from,omitempty" json:"destination_replace_from,omitempty" path:"destination_replace_from"`
	// If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
	DestinationReplaceTo string `url:"destination_replace_to,omitempty" json:"destination_replace_to,omitempty" path:"destination_replace_to"`
	// How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// Path on which this Automation runs. Supports globs, except on remote mounts.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
	SyncIds string `url:"sync_ids,omitempty" json:"sync_ids,omitempty" path:"sync_ids"`
	// A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
	UserIds string `url:"user_ids,omitempty" json:"user_ids,omitempty" path:"user_ids"`
	// A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
	GroupIds string `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the automation's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule` without `schedule_id`, a list of days of the week to run this automation. 0 is Sunday, 1 is Monday, etc.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Times of day to run in HH:MM format (24-hour). Required for `custom_schedule` without `schedule_id`. Optional for `daily` triggers; if not set, runs at midnight UTC.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Time zone for schedule fields. Optional for `custom_schedule` without `schedule_id` and for `daily`. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Skip automation on holidays in this region. Optional for `custom_schedule` without `schedule_id` and for `daily`.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage. This setting has no effect unless `overwrite_files` is also set to `true`.
	AlwaysOverwriteSizeMatchingFiles *bool `` /* 150-byte string literal not displayed */
	// Ordinarily, we will allow automation runs to run in parallel for non-scheduled automations. If this flag is `true` we will force automation runs to be serialized (run one at a time, one after another). This can resolve some issues with race conditions on remote systems at the cost of some performance.
	AlwaysSerializeJobs *bool `url:"always_serialize_jobs,omitempty" json:"always_serialize_jobs,omitempty" path:"always_serialize_jobs"`
	// Description for the this Automation.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Automation v2 graph definition.
	Definition interface{} `url:"definition,omitempty" json:"definition,omitempty" path:"definition"`
	// If true, this automation will not run.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// If set, this glob pattern will exclude files from the automation. Supports globs, except on remote mounts.
	ExcludePattern string `url:"exclude_pattern,omitempty" json:"exclude_pattern,omitempty" path:"exclude_pattern"`
	// List of URLs to be imported and names to be used.
	ImportUrls []map[string]interface{} `url:"import_urls,omitempty" json:"import_urls,omitempty" path:"import_urls"`
	// Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
	FlattenDestinationStructure *bool `` /* 129-byte string literal not displayed */
	// If true, the Lock Folders behavior will be disregarded for automated actions.
	IgnoreLockedFolders *bool `url:"ignore_locked_folders,omitempty" json:"ignore_locked_folders,omitempty" path:"ignore_locked_folders"`
	// DEPRECATED: If `true`, use the legacy behavior for this automation, where it can operate on folders in addition to just files. This behavior no longer works and should not be used.
	LegacyFolderMatching *bool `url:"legacy_folder_matching,omitempty" json:"legacy_folder_matching,omitempty" path:"legacy_folder_matching"`
	// Name for this automation.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten on Copy automations if they appear to be the same file size as the newly incoming file. Use the `always_overwrite_size_matching_files` option in conjunction with `overwrite_files` to override this behavior and overwrite files no matter what.
	OverwriteFiles *bool `url:"overwrite_files,omitempty" json:"overwrite_files,omitempty" path:"overwrite_files"`
	// Timezone to use when rendering timestamps in paths.
	PathTimeZone string `url:"path_time_zone,omitempty" json:"path_time_zone,omitempty" path:"path_time_zone"`
	// If the Automation fails, retry at this interval (in minutes). Acceptable values are 5 through 1440 (one day). Set to null to disable.
	RetryOnFailureIntervalInMinutes int64 `` /* 150-byte string literal not displayed */
	// If the Automation fails, retry at most this many times. Maximum allowed value: 10. Set to null to disable.
	RetryOnFailureNumberOfAttempts int64 `` /* 147-byte string literal not displayed */
	// How this automation is triggered to run. Values: manual, daily, custom_schedule, webhook, email, action.
	Trigger AutomationTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, copy, move, archived_delete, update, read, destroy.
	TriggerActions []string `url:"trigger_actions,omitempty" json:"trigger_actions,omitempty" path:"trigger_actions"`
	// A Hash of attributes specific to the automation type.
	Value interface{} `url:"value,omitempty" json:"value,omitempty" path:"value"`
	// If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// Automation type. Values: create_folder, delete_file, copy_file, move_file, as2_send, run_sync, import_file, v2.
	Automation AutomationEnum `url:"automation,omitempty" json:"automation,omitempty" path:"automation"`
}

AutomationUpdateParams contains the request parameters for PATCH /automations/{id}.

type AutomationUpgradeParams ¶ added in v3.3.192

type AutomationUpgradeParams struct {
	// Automation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

AutomationUpgradeParams contains the request parameters for POST /automations/{id}/upgrade.

Upgrade a legacy Automation to Automation v2

type BandwidthSnapshot ¶

type BandwidthSnapshot struct {
	// Site bandwidth ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Site bandwidth report bytes received.
	BytesReceived int64 `json:"bytes_received,omitempty" path:"bytes_received,omitempty" url:"bytes_received,omitempty"`
	// Site bandwidth report bytes sent.
	BytesSent int64 `json:"bytes_sent,omitempty" path:"bytes_sent,omitempty" url:"bytes_sent,omitempty"`
	// Site sync bandwidth report bytes received.
	SyncBytesReceived int64 `json:"sync_bytes_received,omitempty" path:"sync_bytes_received,omitempty" url:"sync_bytes_received,omitempty"`
	// Site sync bandwidth report bytes sent.
	SyncBytesSent int64 `json:"sync_bytes_sent,omitempty" path:"sync_bytes_sent,omitempty" url:"sync_bytes_sent,omitempty"`
	// Site bandwidth report get requests.
	RequestsGet int64 `json:"requests_get,omitempty" path:"requests_get,omitempty" url:"requests_get,omitempty"`
	// Site bandwidth report put requests.
	RequestsPut int64 `json:"requests_put,omitempty" path:"requests_put,omitempty" url:"requests_put,omitempty"`
	// Site bandwidth report other requests.
	RequestsOther int64 `json:"requests_other,omitempty" path:"requests_other,omitempty" url:"requests_other,omitempty"`
	// Time the site bandwidth report was logged.
	LoggedAt *time.Time `json:"logged_at,omitempty" path:"logged_at,omitempty" url:"logged_at,omitempty"`
}

BandwidthSnapshot is a Files.com API resource.

func (BandwidthSnapshot) Identifier ¶

func (b BandwidthSnapshot) Identifier() interface{}

Identifier returns the resource ID.

func (*BandwidthSnapshot) UnmarshalJSON ¶

func (b *BandwidthSnapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BandwidthSnapshotCollection ¶

type BandwidthSnapshotCollection []BandwidthSnapshot

BandwidthSnapshotCollection is a list of BandwidthSnapshot resources.

func (*BandwidthSnapshotCollection) ToSlice ¶

func (b *BandwidthSnapshotCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BandwidthSnapshotCollection) UnmarshalJSON ¶

func (b *BandwidthSnapshotCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BandwidthSnapshotListParams ¶

type BandwidthSnapshotListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `logged_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BandwidthSnapshotListParams contains the request parameters for GET /bandwidth_snapshots.

type Behavior ¶

type Behavior struct {
	// Folder behavior ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Folder path. Note that Behavior paths cannot be updated once initially set. You will need to remove and re-create the behavior on the new path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// URL for attached file.
	AttachmentUrl string `json:"attachment_url,omitempty" path:"attachment_url,omitempty" url:"attachment_url,omitempty"`
	// Behavior type.
	Behavior string `json:"behavior,omitempty" path:"behavior,omitempty" url:"behavior,omitempty"`
	// Name for this behavior.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Description for this behavior.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
	Value interface{} `json:"value,omitempty" path:"value,omitempty" url:"value,omitempty"`
	// Public URL for this publicly hosted folder when the `Serve Publicly` behavior has a key configured. When a Custom Domain with `public_hosting` destination is attached to this behavior, the URL uses that domain. Otherwise it uses the site's `subdomain.hosted-by-files.com` host, unless `custom_domain_only` is enabled, in which case no URL is returned.
	PublicHostingUrl string `json:"public_hosting_url,omitempty" path:"public_hosting_url,omitempty" url:"public_hosting_url,omitempty"`
	// If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
	DisableParentFolderBehavior *bool `` /* 142-byte string literal not displayed */
	// Whether this behavior is recursive for this record. `always` behaviors are always `true`, `never` behaviors are always `false`, and `sometimes` behaviors may be either value.
	Recursive *bool `json:"recursive,omitempty" path:"recursive,omitempty" url:"recursive,omitempty"`
	// If true, this behavior is inherited from a higher scope rather than owned by the requested workspace.
	Inherited *bool `json:"inherited,omitempty" path:"inherited,omitempty" url:"inherited,omitempty"`
	// If true, this behavior is controlled by a parent-site policy and cannot be modified locally.
	Managed *bool `json:"managed,omitempty" path:"managed,omitempty" url:"managed,omitempty"`
	// If true, this behavior may only be modified by a site admin because it is at the site root or disables a root behavior.
	RootBehaviorSiteAdminOnly *bool `` /* 139-byte string literal not displayed */
	// Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
	AttachmentFile io.Reader `json:"attachment_file,omitempty" path:"attachment_file,omitempty" url:"attachment_file,omitempty"`
	// If `true`, delete the file stored in `attachment`.
	AttachmentDelete *bool `json:"attachment_delete,omitempty" path:"attachment_delete,omitempty" url:"attachment_delete,omitempty"`
}

Behavior is a Files.com API resource.

func (Behavior) Identifier ¶

func (b Behavior) Identifier() interface{}

Identifier returns the resource ID.

func (*Behavior) UnmarshalJSON ¶

func (b *Behavior) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BehaviorCollection ¶

type BehaviorCollection []Behavior

BehaviorCollection is a list of Behavior resources.

func (*BehaviorCollection) ToSlice ¶

func (b *BehaviorCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BehaviorCollection) UnmarshalJSON ¶

func (b *BehaviorCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BehaviorCreateParams ¶

type BehaviorCreateParams struct {
	// This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
	Value interface{} `url:"value,omitempty" json:"value,omitempty" path:"value"`
	// Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
	AttachmentFile io.Writer `url:"attachment_file,omitempty" json:"attachment_file,omitempty" path:"attachment_file"`
	// AttachmentFileAttachment sends file content as attachment_file; see lib.JSONAttachment. Leave AttachmentFile nil when you set it.
	AttachmentFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"attachment_file"`
	// If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
	DisableParentFolderBehavior *bool `` /* 132-byte string literal not displayed */
	// Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
	// Name for this behavior.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Description for this behavior.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Path where this behavior should apply. Required.
	Path string `url:"path" json:"path" path:"path"`
	// Behavior type. Required.
	Behavior string `url:"behavior" json:"behavior" path:"behavior"`
}

BehaviorCreateParams contains the request parameters for POST /behaviors.

type BehaviorDeleteParams ¶

type BehaviorDeleteParams struct {
	// Behavior ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

BehaviorDeleteParams contains the request parameters for DELETE /behaviors/{id}.

type BehaviorFindParams ¶

type BehaviorFindParams struct {
	// Behavior ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

BehaviorFindParams contains the request parameters for GET /behaviors/{id}.

type BehaviorListForParams ¶

type BehaviorListForParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// If `true`, behaviors above this path are shown.
	AncestorBehaviors *bool `url:"ancestor_behaviors,omitempty" json:"ancestor_behaviors,omitempty" path:"ancestor_behaviors"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BehaviorListForParams contains the request parameters for GET /behaviors/folders/{path}.

type BehaviorListParams ¶

type BehaviorListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]` and `[ behavior, remote_server_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BehaviorListParams contains the request parameters for GET /behaviors.

type BehaviorUpdateParams ¶

type BehaviorUpdateParams struct {
	// Behavior ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// This field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
	Value interface{} `url:"value,omitempty" json:"value,omitempty" path:"value"`
	// Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image. Attach that file here.
	AttachmentFile io.Writer `url:"attachment_file,omitempty" json:"attachment_file,omitempty" path:"attachment_file"`
	// AttachmentFileAttachment sends file content as attachment_file; see lib.JSONAttachment. Leave AttachmentFile nil when you set it.
	AttachmentFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"attachment_file"`
	// If true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
	DisableParentFolderBehavior *bool `` /* 132-byte string literal not displayed */
	// Whether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is `sometimes`; `always` behaviors stay recursive and `never` behaviors stay non-recursive.
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
	// Name for this behavior.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Description for this behavior.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// If `true`, delete the file stored in `attachment`.
	AttachmentDelete *bool `url:"attachment_delete,omitempty" json:"attachment_delete,omitempty" path:"attachment_delete"`
}

BehaviorUpdateParams contains the request parameters for PATCH /behaviors/{id}.

type BehaviorWebhookTestParams ¶

type BehaviorWebhookTestParams struct {
	// URL for testing the webhook. Required.
	Url string `url:"url" json:"url" path:"url"`
	// HTTP request method (GET or POST).
	Method string `url:"method,omitempty" json:"method,omitempty" path:"method"`
	// Encoding type for the webhook payload. Can be JSON, XML, or RAW (form data).
	Encoding string `url:"encoding,omitempty" json:"encoding,omitempty" path:"encoding"`
	// Additional request headers to send via HTTP.
	Headers interface{} `url:"headers,omitempty" json:"headers,omitempty" path:"headers"`
	// Additional body parameters to include in the webhook payload.
	Body interface{} `url:"body,omitempty" json:"body,omitempty" path:"body"`
	// Action for test body.
	Action string `url:"action,omitempty" json:"action,omitempty" path:"action"`
}

BehaviorWebhookTestParams contains the request parameters for POST /behaviors/webhook/test.

type Bundle ¶

type Bundle struct {
	// Bundle code. This code forms the end part of the Public URL.
	Code string `json:"code,omitempty" path:"code,omitempty" url:"code,omitempty"`
	// Page link and button color.
	ColorLeft string `json:"color_left,omitempty" path:"color_left,omitempty" url:"color_left,omitempty"`
	// Top bar link color.
	ColorLink string `json:"color_link,omitempty" path:"color_link,omitempty" url:"color_link,omitempty"`
	// Page link and button color.
	ColorText string `json:"color_text,omitempty" path:"color_text,omitempty" url:"color_text,omitempty"`
	// Top bar background color.
	ColorTop string `json:"color_top,omitempty" path:"color_top,omitempty" url:"color_top,omitempty"`
	// Top bar text color.
	ColorTopText string `json:"color_top_text,omitempty" path:"color_top_text,omitempty" url:"color_top_text,omitempty"`
	// Public URL of Share Link.
	Url string `json:"url,omitempty" path:"url,omitempty" url:"url,omitempty"`
	// Public description.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
	ExpiresAt *time.Time `json:"expires_at,omitempty" path:"expires_at,omitempty" url:"expires_at,omitempty"`
	// Is this bundle password protected?
	PasswordProtected *bool `json:"password_protected,omitempty" path:"password_protected,omitempty" url:"password_protected,omitempty"`
	// Permissions that apply to Folders in this Share Link.
	Permissions string `json:"permissions,omitempty" path:"permissions,omitempty" url:"permissions,omitempty"`
	PreviewOnly *bool  `json:"preview_only,omitempty" path:"preview_only,omitempty" url:"preview_only,omitempty"`
	// Show a registration page that captures the downloader's name and email address?
	RequireRegistration *bool `json:"require_registration,omitempty" path:"require_registration,omitempty" url:"require_registration,omitempty"`
	// Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
	RequireShareRecipient *bool `json:"require_share_recipient,omitempty" path:"require_share_recipient,omitempty" url:"require_share_recipient,omitempty"`
	// If true, we will hide the 'Remember Me' box on the Bundle registration page, requiring that the user logout and log back in every time they visit the page.
	RequireLogout *bool `json:"require_logout,omitempty" path:"require_logout,omitempty" url:"require_logout,omitempty"`
	// Legal text that must be agreed to prior to accessing Bundle.
	ClickwrapBody string `json:"clickwrap_body,omitempty" path:"clickwrap_body,omitempty" url:"clickwrap_body,omitempty"`
	// Custom Form to use.
	FormFieldSet FormFieldSet `json:"form_field_set,omitempty" path:"form_field_set,omitempty" url:"form_field_set,omitempty"`
	// BundleRegistrations can be saved without providing name?
	SkipName *bool `json:"skip_name,omitempty" path:"skip_name,omitempty" url:"skip_name,omitempty"`
	// BundleRegistrations can be saved without providing email?
	SkipEmail *bool `json:"skip_email,omitempty" path:"skip_email,omitempty" url:"skip_email,omitempty"`
	// Date when share will start to be accessible. If `nil` access granted right after create.
	StartAccessOnDate *time.Time `json:"start_access_on_date,omitempty" path:"start_access_on_date,omitempty" url:"start_access_on_date,omitempty"`
	// BundleRegistrations can be saved without providing company?
	SkipCompany *bool `json:"skip_company,omitempty" path:"skip_company,omitempty" url:"skip_company,omitempty"`
	// Bundle ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
	BypassesSiteExpirationRules *bool `` /* 142-byte string literal not displayed */
	// Bundle created at date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Indicates if the bundle has been deleted.
	Deleted *bool `json:"deleted,omitempty" path:"deleted,omitempty" url:"deleted,omitempty"`
	// Bundle deleted at date/time.
	DeletedAt *time.Time `json:"deleted_at,omitempty" path:"deleted_at,omitempty" url:"deleted_at,omitempty"`
	// Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
	DontSeparateSubmissionsByFolder *bool `` /* 157-byte string literal not displayed */
	// Read-only expiration date/time, using the explicit expiration or the site-wide setting when applicable. Null when the Share Link does not expire.
	EffectiveExpiresAt *time.Time `json:"effective_expires_at,omitempty" path:"effective_expires_at,omitempty" url:"effective_expires_at,omitempty"`
	// Maximum number of times bundle can be accessed.
	MaxUses int64 `json:"max_uses,omitempty" path:"max_uses,omitempty" url:"max_uses,omitempty"`
	// Internal name for identifying this Share Link.
	InternalName string `json:"internal_name,omitempty" path:"internal_name,omitempty" url:"internal_name,omitempty"`
	// Bundle internal note.
	Note string `json:"note,omitempty" path:"note,omitempty" url:"note,omitempty"`
	// Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
	PathTemplate string `json:"path_template,omitempty" path:"path_template,omitempty" url:"path_template,omitempty"`
	// Timezone to use when rendering timestamps in path templates.
	PathTemplateTimeZone string `json:"path_template_time_zone,omitempty" path:"path_template_time_zone,omitempty" url:"path_template_time_zone,omitempty"`
	// Send delivery receipt to the uploader. Note: For writable share only.
	SendEmailReceiptToUploader *bool `` /* 142-byte string literal not displayed */
	// ID of the snapshot containing this bundle's contents.
	SnapshotId int64 `json:"snapshot_id,omitempty" path:"snapshot_id,omitempty" url:"snapshot_id,omitempty"`
	// Bundle creator user ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Bundle creator username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Owning group ID. If set, members of this group can view, edit, and share this Share Link.
	GroupId int64 `json:"group_id,omitempty" path:"group_id,omitempty" url:"group_id,omitempty"`
	// ID of the clickwrap to use with this bundle.
	ClickwrapId int64 `json:"clickwrap_id,omitempty" path:"clickwrap_id,omitempty" url:"clickwrap_id,omitempty"`
	// ID of the associated inbox, if available.
	InboxId int64 `json:"inbox_id,omitempty" path:"inbox_id,omitempty" url:"inbox_id,omitempty"`
	// Preview watermark image applied to all bundle items.
	WatermarkAttachment Image `json:"watermark_attachment,omitempty" path:"watermark_attachment,omitempty" url:"watermark_attachment,omitempty"`
	// Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value.
	WatermarkValue interface{} `json:"watermark_value,omitempty" path:"watermark_value,omitempty" url:"watermark_value,omitempty"`
	// If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
	SendOneTimePasswordToRecipientAtRegistration *bool `` /* 205-byte string literal not displayed */
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Does this bundle have an associated inbox?
	HasInbox *bool `json:"has_inbox,omitempty" path:"has_inbox,omitempty" url:"has_inbox,omitempty"`
	// Should folder uploads be prevented?
	DontAllowFoldersInUploads *bool `` /* 139-byte string literal not displayed */
	// Upload slots requested by the associated Inbox. Each slot contains a name used as its label and destination subfolder name.
	RequestedUploadSlots []map[string]interface{} `json:"requested_upload_slots,omitempty" path:"requested_upload_slots,omitempty" url:"requested_upload_slots,omitempty"`
	// A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
	Paths []string `json:"paths,omitempty" path:"paths,omitempty" url:"paths,omitempty"`
	// A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
	Bundlepaths []BundlePath `json:"bundlepaths,omitempty" path:"bundlepaths,omitempty" url:"bundlepaths,omitempty"`
	// Password for this bundle.
	Password string `json:"password,omitempty" path:"password,omitempty" url:"password,omitempty"`
	// Id of Form Field Set to use with this bundle.
	FormFieldSetId int64 `json:"form_field_set_id,omitempty" path:"form_field_set_id,omitempty" url:"form_field_set_id,omitempty"`
	// If true, create a snapshot of this bundle's contents.
	CreateSnapshot *bool `json:"create_snapshot,omitempty" path:"create_snapshot,omitempty" url:"create_snapshot,omitempty"`
	// If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
	FinalizeSnapshot *bool `json:"finalize_snapshot,omitempty" path:"finalize_snapshot,omitempty" url:"finalize_snapshot,omitempty"`
	// Preview watermark image applied to all bundle items.
	WatermarkAttachmentFile io.Reader `` /* 127-byte string literal not displayed */
	// If true, will delete the file stored in watermark_attachment.
	WatermarkAttachmentDelete *bool `` /* 133-byte string literal not displayed */
}

Bundle is a Files.com API resource.

func (Bundle) Identifier ¶

func (b Bundle) Identifier() interface{}

Identifier returns the resource ID.

func (*Bundle) UnmarshalJSON ¶

func (b *Bundle) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BundleAction ¶ added in v3.1.58

type BundleAction struct {
	// Type of action.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// Object that contains bundle registration information.
	BundleRegistration BundleRegistration `json:"bundle_registration,omitempty" path:"bundle_registration,omitempty" url:"bundle_registration,omitempty"`
	// Action occurrence date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// The destination path for this bundle action, if applicable.
	Destination string `json:"destination,omitempty" path:"destination,omitempty" url:"destination,omitempty"`
	// Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// The source path for this bundle action, if applicable.
	Source string `json:"source,omitempty" path:"source,omitempty" url:"source,omitempty"`
	// Identifier of the associated bundle registration.
	BundleRegistrationId int64 `json:"bundle_registration_id,omitempty" path:"bundle_registration_id,omitempty" url:"bundle_registration_id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Name of the registrant who performed the action.
	BundleRegistrationName string `json:"bundle_registration_name,omitempty" path:"bundle_registration_name,omitempty" url:"bundle_registration_name,omitempty"`
	// Email of the registrant.
	BundleRegistrationEmail string `` /* 127-byte string literal not displayed */
	// IP address of the registrant.
	BundleRegistrationIp string `json:"bundle_registration_ip,omitempty" path:"bundle_registration_ip,omitempty" url:"bundle_registration_ip,omitempty"`
	// Id of associated form field set.
	FormFieldSetId int64 `json:"form_field_set_id,omitempty" path:"form_field_set_id,omitempty" url:"form_field_set_id,omitempty"`
	// Data for form field set with form field ids as keys and user data as values.
	FormFieldData interface{} `json:"form_field_data,omitempty" path:"form_field_data,omitempty" url:"form_field_data,omitempty"`
}

BundleAction is a Files.com API resource.

func (BundleAction) Identifier ¶ added in v3.1.58

func (b BundleAction) Identifier() interface{}

Identifier returns the resource path.

func (*BundleAction) UnmarshalJSON ¶ added in v3.1.58

func (b *BundleAction) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BundleActionCollection ¶ added in v3.1.58

type BundleActionCollection []BundleAction

BundleActionCollection is a list of BundleAction resources.

func (*BundleActionCollection) ToSlice ¶ added in v3.1.58

func (b *BundleActionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BundleActionCollection) UnmarshalJSON ¶ added in v3.1.58

func (b *BundleActionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BundleActionListParams ¶ added in v3.1.58

type BundleActionListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `bundle_registration_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ bundle_id, created_at ]`, `[ bundle_registration_id, created_at ]`, `[ bundle_id, bundle_registration_id ]` or `[ bundle_id, bundle_registration_id, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// Bundle ID.
	BundleId int64 `url:"bundle_id,omitempty" json:"bundle_id,omitempty" path:"bundle_id"`
	// Bundle Registration ID.
	BundleRegistrationId int64 `url:"bundle_registration_id,omitempty" json:"bundle_registration_id,omitempty" path:"bundle_registration_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BundleActionListParams contains the request parameters for GET /bundle_actions.

type BundleCollection ¶

type BundleCollection []Bundle

BundleCollection is a list of Bundle resources.

func (*BundleCollection) ToSlice ¶

func (b *BundleCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BundleCollection) UnmarshalJSON ¶

func (b *BundleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BundleCreateParams ¶

type BundleCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// A list of paths to include in this bundle. Required.
	Paths []string `url:"paths" json:"paths" path:"paths"`
	// Password for this bundle.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
	BypassesSiteExpirationRules *bool `` /* 132-byte string literal not displayed */
	// Id of Form Field Set to use with this bundle.
	FormFieldSetId int64 `url:"form_field_set_id,omitempty" json:"form_field_set_id,omitempty" path:"form_field_set_id"`
	// If true, create a snapshot of this bundle's contents.
	CreateSnapshot *bool `url:"create_snapshot,omitempty" json:"create_snapshot,omitempty" path:"create_snapshot"`
	// Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
	DontSeparateSubmissionsByFolder *bool `` /* 147-byte string literal not displayed */
	// Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
	ExpiresAt *time.Time `url:"expires_at,omitempty" json:"expires_at,omitempty" path:"expires_at"`
	// If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
	FinalizeSnapshot *bool `url:"finalize_snapshot,omitempty" json:"finalize_snapshot,omitempty" path:"finalize_snapshot"`
	// Maximum number of times bundle can be accessed.
	MaxUses int64 `url:"max_uses,omitempty" json:"max_uses,omitempty" path:"max_uses"`
	// Owning group ID. If set, members of this group can view, edit, and share this Share Link.
	GroupId int64 `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// Internal name for identifying this Share Link.
	InternalName string `url:"internal_name,omitempty" json:"internal_name,omitempty" path:"internal_name"`
	// Public description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Bundle internal note.
	Note string `url:"note,omitempty" json:"note,omitempty" path:"note"`
	// Bundle code. This code forms the end part of the Public URL.
	Code string `url:"code,omitempty" json:"code,omitempty" path:"code"`
	// Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
	PathTemplate string `url:"path_template,omitempty" json:"path_template,omitempty" path:"path_template"`
	// Timezone to use when rendering timestamps in path templates.
	PathTemplateTimeZone string `url:"path_template_time_zone,omitempty" json:"path_template_time_zone,omitempty" path:"path_template_time_zone"`
	// Permissions that apply to Folders in this Share Link. Values: read, write, read_write, full, none, preview_only.
	Permissions BundlePermissionsEnum `url:"permissions,omitempty" json:"permissions,omitempty" path:"permissions"`
	// Show a registration page that captures the downloader's name and email address?
	RequireRegistration *bool `url:"require_registration,omitempty" json:"require_registration,omitempty" path:"require_registration"`
	// ID of the clickwrap to use with this bundle.
	ClickwrapId int64 `url:"clickwrap_id,omitempty" json:"clickwrap_id,omitempty" path:"clickwrap_id"`
	// ID of the associated inbox, if available.
	InboxId int64 `url:"inbox_id,omitempty" json:"inbox_id,omitempty" path:"inbox_id"`
	// Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
	RequireShareRecipient *bool `url:"require_share_recipient,omitempty" json:"require_share_recipient,omitempty" path:"require_share_recipient"`
	// If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
	SendOneTimePasswordToRecipientAtRegistration *bool `` /* 195-byte string literal not displayed */
	// Send delivery receipt to the uploader. Note: For writable share only.
	SendEmailReceiptToUploader *bool `` /* 132-byte string literal not displayed */
	// BundleRegistrations can be saved without providing email?
	SkipEmail *bool `url:"skip_email,omitempty" json:"skip_email,omitempty" path:"skip_email"`
	// BundleRegistrations can be saved without providing name?
	SkipName *bool `url:"skip_name,omitempty" json:"skip_name,omitempty" path:"skip_name"`
	// BundleRegistrations can be saved without providing company?
	SkipCompany *bool `url:"skip_company,omitempty" json:"skip_company,omitempty" path:"skip_company"`
	// Date when share will start to be accessible. If `nil` access granted right after create.
	StartAccessOnDate *time.Time `url:"start_access_on_date,omitempty" json:"start_access_on_date,omitempty" path:"start_access_on_date"`
	// ID of the snapshot containing this bundle's contents.
	SnapshotId int64 `url:"snapshot_id,omitempty" json:"snapshot_id,omitempty" path:"snapshot_id"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Preview watermark image applied to all bundle items.
	WatermarkAttachmentFile io.Writer `url:"watermark_attachment_file,omitempty" json:"watermark_attachment_file,omitempty" path:"watermark_attachment_file"`
	// WatermarkAttachmentFileAttachment sends file content as watermark_attachment_file; see lib.JSONAttachment. Leave WatermarkAttachmentFile nil when you set it.
	WatermarkAttachmentFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"watermark_attachment_file"`
	// Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value.
	WatermarkValue interface{} `url:"watermark_value,omitempty" json:"watermark_value,omitempty" path:"watermark_value"`
}

BundleCreateParams contains the request parameters for POST /bundles.

type BundleDeleteParams ¶

type BundleDeleteParams struct {
	// Bundle ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

BundleDeleteParams contains the request parameters for DELETE /bundles/{id}.

type BundleDownload ¶

type BundleDownload struct {
	BundleRegistration BundleRegistration `json:"bundle_registration,omitempty" path:"bundle_registration,omitempty" url:"bundle_registration,omitempty"`
	// Download method (file or full_zip).
	DownloadMethod string `json:"download_method,omitempty" path:"download_method,omitempty" url:"download_method,omitempty"`
	// Download path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Download date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

BundleDownload is a Files.com API resource.

func (BundleDownload) Identifier ¶

func (b BundleDownload) Identifier() interface{}

Identifier returns the resource path.

func (*BundleDownload) UnmarshalJSON ¶

func (b *BundleDownload) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BundleDownloadCollection ¶

type BundleDownloadCollection []BundleDownload

BundleDownloadCollection is a list of BundleDownload resources.

func (*BundleDownloadCollection) ToSlice ¶

func (b *BundleDownloadCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BundleDownloadCollection) UnmarshalJSON ¶

func (b *BundleDownloadCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BundleDownloadListParams ¶

type BundleDownloadListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// Bundle ID.
	BundleId int64 `url:"bundle_id,omitempty" json:"bundle_id,omitempty" path:"bundle_id"`
	// BundleRegistration ID.
	BundleRegistrationId int64 `url:"bundle_registration_id,omitempty" json:"bundle_registration_id,omitempty" path:"bundle_registration_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BundleDownloadListParams contains the request parameters for GET /bundle_downloads.

type BundleFindParams ¶

type BundleFindParams struct {
	// Bundle ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// If true, show a deleted Share Link.
	Deleted *bool `url:"deleted,omitempty" json:"deleted,omitempty" path:"deleted"`
}

BundleFindParams contains the request parameters for GET /bundles/{id}.

type BundleListParams ¶

type BundleListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `group_id`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ group_id, expires_at ]` and `[ user_id, expires_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at` and `expires_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// If true, only list deleted Share Links.
	Deleted *bool `url:"deleted,omitempty" json:"deleted,omitempty" path:"deleted"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BundleListParams contains the request parameters for GET /bundles.

type BundleNotification ¶

type BundleNotification struct {
	// Bundle ID to notify on.
	BundleId int64 `json:"bundle_id,omitempty" path:"bundle_id,omitempty" url:"bundle_id,omitempty"`
	// Bundle Notification ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Triggers bundle notification when a registration action occurs for it.
	NotifyOnRegistration *bool `json:"notify_on_registration,omitempty" path:"notify_on_registration,omitempty" url:"notify_on_registration,omitempty"`
	// Triggers bundle notification when a upload action occurs for it.
	NotifyOnUpload *bool `json:"notify_on_upload,omitempty" path:"notify_on_upload,omitempty" url:"notify_on_upload,omitempty"`
	// Is the current user the user to notify?
	NotifyCurrentUser *bool `json:"notify_current_user,omitempty" path:"notify_current_user,omitempty" url:"notify_current_user,omitempty"`
	// The id of the user to notify.
	NotifyUserId int64 `json:"notify_user_id,omitempty" path:"notify_user_id,omitempty" url:"notify_user_id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
}

BundleNotification is a Files.com API resource.

func (BundleNotification) Identifier ¶

func (b BundleNotification) Identifier() interface{}

Identifier returns the resource ID.

func (*BundleNotification) UnmarshalJSON ¶

func (b *BundleNotification) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BundleNotificationCollection ¶

type BundleNotificationCollection []BundleNotification

BundleNotificationCollection is a list of BundleNotification resources.

func (*BundleNotificationCollection) ToSlice ¶

func (b *BundleNotificationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BundleNotificationCollection) UnmarshalJSON ¶

func (b *BundleNotificationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BundleNotificationCreateParams ¶

type BundleNotificationCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Bundle ID to notify on. Required.
	BundleId int64 `url:"bundle_id" json:"bundle_id" path:"bundle_id"`
	// The id of the user to notify.
	NotifyUserId int64 `url:"notify_user_id,omitempty" json:"notify_user_id,omitempty" path:"notify_user_id"`
	// Triggers bundle notification when a registration action occurs for it.
	NotifyOnRegistration *bool `url:"notify_on_registration,omitempty" json:"notify_on_registration,omitempty" path:"notify_on_registration"`
	// Triggers bundle notification when a upload action occurs for it.
	NotifyOnUpload *bool `url:"notify_on_upload,omitempty" json:"notify_on_upload,omitempty" path:"notify_on_upload"`
}

BundleNotificationCreateParams contains the request parameters for POST /bundle_notifications.

type BundleNotificationDeleteParams ¶

type BundleNotificationDeleteParams struct {
	// Bundle Notification ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

BundleNotificationDeleteParams contains the request parameters for DELETE /bundle_notifications/{id}.

type BundleNotificationFindParams ¶

type BundleNotificationFindParams struct {
	// Bundle Notification ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

BundleNotificationFindParams contains the request parameters for GET /bundle_notifications/{id}.

type BundleNotificationListParams ¶

type BundleNotificationListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `bundle_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// Bundle ID.
	BundleId int64 `url:"bundle_id,omitempty" json:"bundle_id,omitempty" path:"bundle_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BundleNotificationListParams contains the request parameters for GET /bundle_notifications.

type BundleNotificationUpdateParams ¶

type BundleNotificationUpdateParams struct {
	// Bundle Notification ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Triggers bundle notification when a registration action occurs for it.
	NotifyOnRegistration *bool `url:"notify_on_registration,omitempty" json:"notify_on_registration,omitempty" path:"notify_on_registration"`
	// Triggers bundle notification when a upload action occurs for it.
	NotifyOnUpload *bool `url:"notify_on_upload,omitempty" json:"notify_on_upload,omitempty" path:"notify_on_upload"`
}

BundleNotificationUpdateParams contains the request parameters for PATCH /bundle_notifications/{id}.

type BundlePath ¶ added in v3.1.49

type BundlePath struct {
	// Allow access to subfolders content?
	Recursive *bool `json:"recursive,omitempty" path:"recursive,omitempty" url:"recursive,omitempty"`
	// The path to the resource relative to filesystem. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
}

BundlePath is a Files.com API resource.

func (BundlePath) Identifier ¶ added in v3.1.49

func (b BundlePath) Identifier() interface{}

Identifier returns the resource path.

func (*BundlePath) UnmarshalJSON ¶ added in v3.1.49

func (b *BundlePath) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BundlePathCollection ¶ added in v3.1.49

type BundlePathCollection []BundlePath

BundlePathCollection is a list of BundlePath resources.

func (*BundlePathCollection) ToSlice ¶ added in v3.1.49

func (b *BundlePathCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BundlePathCollection) UnmarshalJSON ¶ added in v3.1.49

func (b *BundlePathCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BundlePermissionsEnum ¶

type BundlePermissionsEnum string

BundlePermissionsEnum is a string value for permissions. Enum lists the values documented by the API.

func (BundlePermissionsEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (BundlePermissionsEnum) String ¶

func (u BundlePermissionsEnum) String() string

String returns the API parameter value.

type BundleRecipient ¶

type BundleRecipient struct {
	// The recipient's company.
	Company string `json:"company,omitempty" path:"company,omitempty" url:"company,omitempty"`
	// The recipient's name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// A note sent to the recipient with the bundle.
	Note string `json:"note,omitempty" path:"note,omitempty" url:"note,omitempty"`
	// The recipient's email address.
	Recipient string `json:"recipient,omitempty" path:"recipient,omitempty" url:"recipient,omitempty"`
	// When the Bundle was shared with this recipient.
	SentAt *time.Time `json:"sent_at,omitempty" path:"sent_at,omitempty" url:"sent_at,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Bundle to share.
	BundleId int64 `json:"bundle_id,omitempty" path:"bundle_id,omitempty" url:"bundle_id,omitempty"`
	// Set to true to share the link with the recipient upon creation.
	ShareAfterCreate *bool `json:"share_after_create,omitempty" path:"share_after_create,omitempty" url:"share_after_create,omitempty"`
}

BundleRecipient is a Files.com API resource.

func (*BundleRecipient) UnmarshalJSON ¶

func (b *BundleRecipient) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BundleRecipientCollection ¶

type BundleRecipientCollection []BundleRecipient

BundleRecipientCollection is a list of BundleRecipient resources.

func (*BundleRecipientCollection) ToSlice ¶

func (b *BundleRecipientCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BundleRecipientCollection) UnmarshalJSON ¶

func (b *BundleRecipientCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BundleRecipientCreateParams ¶

type BundleRecipientCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Bundle to share. Required.
	BundleId int64 `url:"bundle_id" json:"bundle_id" path:"bundle_id"`
	// Email addresses to share this bundle with. Required.
	Recipient string `url:"recipient" json:"recipient" path:"recipient"`
	// Name of recipient.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Company of recipient.
	Company string `url:"company,omitempty" json:"company,omitempty" path:"company"`
	// Note to include in email.
	Note string `url:"note,omitempty" json:"note,omitempty" path:"note"`
	// Set to true to share the link with the recipient upon creation.
	ShareAfterCreate *bool `url:"share_after_create,omitempty" json:"share_after_create,omitempty" path:"share_after_create"`
}

BundleRecipientCreateParams contains the request parameters for POST /bundle_recipients.

type BundleRecipientListParams ¶

type BundleRecipientListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// List recipients for the bundle with this ID. Required.
	BundleId int64 `url:"bundle_id" json:"bundle_id" path:"bundle_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BundleRecipientListParams contains the request parameters for GET /bundle_recipients.

type BundleRegistration ¶

type BundleRegistration struct {
	// Registration cookie code.
	Code string `json:"code,omitempty" path:"code,omitempty" url:"code,omitempty"`
	// Registrant name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Registrant company name.
	Company string `json:"company,omitempty" path:"company,omitempty" url:"company,omitempty"`
	// Registrant email address.
	Email string `json:"email,omitempty" path:"email,omitempty" url:"email,omitempty"`
	// Registrant IP Address.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// InboxRegistration cookie code, if there is an associated InboxRegistration.
	InboxCode string `json:"inbox_code,omitempty" path:"inbox_code,omitempty" url:"inbox_code,omitempty"`
	// Clickwrap text that was shown to the registrant.
	ClickwrapBody string `json:"clickwrap_body,omitempty" path:"clickwrap_body,omitempty" url:"clickwrap_body,omitempty"`
	// Id of associated form field set.
	FormFieldSetId int64 `json:"form_field_set_id,omitempty" path:"form_field_set_id,omitempty" url:"form_field_set_id,omitempty"`
	// Data for form field set with form field ids as keys and user data as values.
	FormFieldData interface{} `json:"form_field_data,omitempty" path:"form_field_data,omitempty" url:"form_field_data,omitempty"`
	// Bundle URL code.
	BundleCode string `json:"bundle_code,omitempty" path:"bundle_code,omitempty" url:"bundle_code,omitempty"`
	// Id of associated bundle.
	BundleId int64 `json:"bundle_id,omitempty" path:"bundle_id,omitempty" url:"bundle_id,omitempty"`
	// Id of associated bundle recipient.
	BundleRecipientId int64 `json:"bundle_recipient_id,omitempty" path:"bundle_recipient_id,omitempty" url:"bundle_recipient_id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Registration creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

BundleRegistration is a Files.com API resource.

func (*BundleRegistration) UnmarshalJSON ¶

func (b *BundleRegistration) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type BundleRegistrationCollection ¶

type BundleRegistrationCollection []BundleRegistration

BundleRegistrationCollection is a list of BundleRegistration resources.

func (*BundleRegistrationCollection) ToSlice ¶

func (b *BundleRegistrationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*BundleRegistrationCollection) UnmarshalJSON ¶

func (b *BundleRegistrationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type BundleRegistrationListParams ¶

type BundleRegistrationListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `bundle_id` or `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ID of the associated Bundle.
	BundleId int64 `url:"bundle_id,omitempty" json:"bundle_id,omitempty" path:"bundle_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

BundleRegistrationListParams contains the request parameters for GET /bundle_registrations.

type BundleShareParams ¶

type BundleShareParams struct {
	// Bundle ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// A list of email addresses to share this bundle with. Required unless `recipients` is used.
	To []string `url:"to,omitempty" json:"to,omitempty" path:"to"`
	// Note to include in email.
	Note string `url:"note,omitempty" json:"note,omitempty" path:"note"`
	// A list of recipients to share this bundle with. Required unless `to` is used.
	Recipients []map[string]interface{} `url:"recipients,omitempty" json:"recipients,omitempty" path:"recipients"`
}

BundleShareParams contains the request parameters for POST /bundles/{id}/share.

Send email(s) with a link to bundle

type BundleUpdateParams ¶

type BundleUpdateParams struct {
	// Bundle ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// A list of paths to include in this bundle.
	Paths []string `url:"paths,omitempty" json:"paths,omitempty" path:"paths"`
	// Password for this bundle.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// If true, this Share Link bypasses site-wide expiration rules. Only site admins may set this.
	BypassesSiteExpirationRules *bool `` /* 132-byte string literal not displayed */
	// Id of Form Field Set to use with this bundle.
	FormFieldSetId int64 `url:"form_field_set_id,omitempty" json:"form_field_set_id,omitempty" path:"form_field_set_id"`
	// ID of the clickwrap to use with this bundle.
	ClickwrapId int64 `url:"clickwrap_id,omitempty" json:"clickwrap_id,omitempty" path:"clickwrap_id"`
	// Bundle code. This code forms the end part of the Public URL.
	Code string `url:"code,omitempty" json:"code,omitempty" path:"code"`
	// If true, create a snapshot of this bundle's contents.
	CreateSnapshot *bool `url:"create_snapshot,omitempty" json:"create_snapshot,omitempty" path:"create_snapshot"`
	// Public description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Do not create subfolders for files uploaded to this share. Note: there are subtle security pitfalls with allowing anonymous uploads from multiple users to live in the same folder. We strongly discourage use of this option unless absolutely required.
	DontSeparateSubmissionsByFolder *bool `` /* 147-byte string literal not displayed */
	// Explicit Bundle expiration date/time. If not set, the site-wide expiration setting may apply.
	ExpiresAt *time.Time `url:"expires_at,omitempty" json:"expires_at,omitempty" path:"expires_at"`
	// If true, finalize the snapshot of this bundle's contents. Note that `create_snapshot` must also be true.
	FinalizeSnapshot *bool `url:"finalize_snapshot,omitempty" json:"finalize_snapshot,omitempty" path:"finalize_snapshot"`
	// ID of the associated inbox, if available.
	InboxId int64 `url:"inbox_id,omitempty" json:"inbox_id,omitempty" path:"inbox_id"`
	// Maximum number of times bundle can be accessed.
	MaxUses int64 `url:"max_uses,omitempty" json:"max_uses,omitempty" path:"max_uses"`
	// Owning group ID. If set, members of this group can view, edit, and share this Share Link.
	GroupId int64 `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// Internal name for identifying this Share Link.
	InternalName string `url:"internal_name,omitempty" json:"internal_name,omitempty" path:"internal_name"`
	// Bundle internal note.
	Note string `url:"note,omitempty" json:"note,omitempty" path:"note"`
	// Template for creating submission subfolders. Can use the uploader's name, email address, ip, company, `strftime` directives, and any custom form data.
	PathTemplate string `url:"path_template,omitempty" json:"path_template,omitempty" path:"path_template"`
	// Timezone to use when rendering timestamps in path templates.
	PathTemplateTimeZone string `url:"path_template_time_zone,omitempty" json:"path_template_time_zone,omitempty" path:"path_template_time_zone"`
	// Permissions that apply to Folders in this Share Link. Values: read, write, read_write, full, none, preview_only.
	Permissions BundlePermissionsEnum `url:"permissions,omitempty" json:"permissions,omitempty" path:"permissions"`
	// Show a registration page that captures the downloader's name and email address?
	RequireRegistration *bool `url:"require_registration,omitempty" json:"require_registration,omitempty" path:"require_registration"`
	// Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
	RequireShareRecipient *bool `url:"require_share_recipient,omitempty" json:"require_share_recipient,omitempty" path:"require_share_recipient"`
	// If true, require_share_recipient bundles will send a one-time password to the recipient when they register. Cannot be enabled if the bundle has a password set.
	SendOneTimePasswordToRecipientAtRegistration *bool `` /* 195-byte string literal not displayed */
	// Send delivery receipt to the uploader. Note: For writable share only.
	SendEmailReceiptToUploader *bool `` /* 132-byte string literal not displayed */
	// BundleRegistrations can be saved without providing company?
	SkipCompany *bool `url:"skip_company,omitempty" json:"skip_company,omitempty" path:"skip_company"`
	// Date when share will start to be accessible. If `nil` access granted right after create.
	StartAccessOnDate *time.Time `url:"start_access_on_date,omitempty" json:"start_access_on_date,omitempty" path:"start_access_on_date"`
	// BundleRegistrations can be saved without providing email?
	SkipEmail *bool `url:"skip_email,omitempty" json:"skip_email,omitempty" path:"skip_email"`
	// BundleRegistrations can be saved without providing name?
	SkipName *bool `url:"skip_name,omitempty" json:"skip_name,omitempty" path:"skip_name"`
	// The owning user id. Only site admins can set this.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If true, will delete the file stored in watermark_attachment.
	WatermarkAttachmentDelete *bool `url:"watermark_attachment_delete,omitempty" json:"watermark_attachment_delete,omitempty" path:"watermark_attachment_delete"`
	// Preview watermark image applied to all bundle items.
	WatermarkAttachmentFile io.Writer `url:"watermark_attachment_file,omitempty" json:"watermark_attachment_file,omitempty" path:"watermark_attachment_file"`
	// WatermarkAttachmentFileAttachment sends file content as watermark_attachment_file; see lib.JSONAttachment. Leave WatermarkAttachmentFile nil when you set it.
	WatermarkAttachmentFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"watermark_attachment_file"`
	// Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value.
	WatermarkValue interface{} `url:"watermark_value,omitempty" json:"watermark_value,omitempty" path:"watermark_value"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

BundleUpdateParams contains the request parameters for PATCH /bundles/{id}.

type CallParams ¶

type CallParams struct {
	Method string
	Config Config
	Uri    string
	Params lib.Values
	BodyIo io.ReadCloser
	// RetryableBody builds a fresh body reader for retries.
	// Leave nil unless this request needs retryable streaming body support.
	RetryableBody retryablehttp.ReaderFunc
	// Client overrides the HTTP client for this raw request.
	// Leave nil to use the configured SDK client.
	Client  *retryablehttp.Client
	Headers *http.Header
	context.Context
}

CallParams describes a raw HTTP request, including its body, context, and retry client.

type ChatMessage ¶ added in v3.3.159

type ChatMessage struct {
	// Chat Message ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Message role.
	Role string `json:"role,omitempty" path:"role,omitempty" url:"role,omitempty"`
	// Message content.
	Content string `json:"content,omitempty" path:"content,omitempty" url:"content,omitempty"`
	// Message creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

ChatMessage is a Files.com API resource.

func (ChatMessage) Identifier ¶ added in v3.3.159

func (c ChatMessage) Identifier() interface{}

Identifier returns the resource ID.

func (*ChatMessage) UnmarshalJSON ¶ added in v3.3.159

func (c *ChatMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ChatMessageCollection ¶ added in v3.3.159

type ChatMessageCollection []ChatMessage

ChatMessageCollection is a list of ChatMessage resources.

func (*ChatMessageCollection) ToSlice ¶ added in v3.3.159

func (c *ChatMessageCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ChatMessageCollection) UnmarshalJSON ¶ added in v3.3.159

func (c *ChatMessageCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ChatSession ¶ added in v3.3.159

type ChatSession struct {
	// Chat Session ID.
	Id string `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Short AI-generated chat title.
	Title string `json:"title,omitempty" path:"title,omitempty" url:"title,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// AI Task ID. Present when the conversation was started by an AI Task.
	AiTaskId int64 `json:"ai_task_id,omitempty" path:"ai_task_id,omitempty" url:"ai_task_id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Most recent chat activity date/time.
	LastActiveAt *time.Time `json:"last_active_at,omitempty" path:"last_active_at,omitempty" url:"last_active_at,omitempty"`
	// Chat session creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Visible conversation messages in this chat session. For performance reasons, this is not provided when listing chat sessions.
	Messages []ChatMessage `json:"messages,omitempty" path:"messages,omitempty" url:"messages,omitempty"`
}

ChatSession is a Files.com API resource.

func (ChatSession) Identifier ¶ added in v3.3.159

func (c ChatSession) Identifier() interface{}

Identifier returns the resource ID.

func (*ChatSession) UnmarshalJSON ¶ added in v3.3.159

func (c *ChatSession) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ChatSessionCollection ¶ added in v3.3.159

type ChatSessionCollection []ChatSession

ChatSessionCollection is a list of ChatSession resources.

func (*ChatSessionCollection) ToSlice ¶ added in v3.3.159

func (c *ChatSessionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ChatSessionCollection) UnmarshalJSON ¶ added in v3.3.159

func (c *ChatSessionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ChatSessionFindParams ¶ added in v3.3.159

type ChatSessionFindParams struct {
	// Chat Session ID. Required; sent in the request path.
	Id string `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ChatSessionFindParams contains the request parameters for GET /chat_sessions/{id}.

type ChatSessionListParams ¶ added in v3.3.159

type ChatSessionListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `ai_task_id`, `user_id` or `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ChatSessionListParams contains the request parameters for GET /chat_sessions.

type ChildSiteManagementPolicy ¶ added in v3.2.207

type ChildSiteManagementPolicy struct {
	// Policy ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Type of policy. Valid values: `settings`.
	PolicyType string `json:"policy_type,omitempty" path:"policy_type,omitempty" url:"policy_type,omitempty"`
	// Name for this policy.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Description for this policy.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Policy configuration data. On a Child Site, contains only managed setting names with null values. Settings policies accept site settings plus an optional `folder_behaviors` array for parent-managed root behaviors on child sites. For more information, refer to the Value Hash section of the developer documentation.
	Value interface{} `json:"value,omitempty" path:"value,omitempty" url:"value,omitempty"`
	// IDs of child sites that this policy has been applied to. This field is read-only.
	AppliedChildSiteIds []int64 `json:"applied_child_site_ids,omitempty" path:"applied_child_site_ids,omitempty" url:"applied_child_site_ids,omitempty"`
	// IDs of child sites excluded from this default policy.
	SkipChildSiteIds []int64 `json:"skip_child_site_ids,omitempty" path:"skip_child_site_ids,omitempty" url:"skip_child_site_ids,omitempty"`
	// IDs of child sites explicitly assigned to this non-default policy.
	ChildSiteIds []int64 `json:"child_site_ids,omitempty" path:"child_site_ids,omitempty" url:"child_site_ids,omitempty"`
	// Whether this policy applies to child sites not explicitly assigned to another policy.
	DefaultPolicy *bool `json:"default_policy,omitempty" path:"default_policy,omitempty" url:"default_policy,omitempty"`
	// When this policy was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// When this policy was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

ChildSiteManagementPolicy is a Files.com API resource.

func (ChildSiteManagementPolicy) Identifier ¶ added in v3.2.207

func (c ChildSiteManagementPolicy) Identifier() interface{}

Identifier returns the resource ID.

func (*ChildSiteManagementPolicy) UnmarshalJSON ¶ added in v3.2.207

func (c *ChildSiteManagementPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ChildSiteManagementPolicyCollection ¶ added in v3.2.207

type ChildSiteManagementPolicyCollection []ChildSiteManagementPolicy

ChildSiteManagementPolicyCollection is a list of ChildSiteManagementPolicy resources.

func (*ChildSiteManagementPolicyCollection) ToSlice ¶ added in v3.2.207

func (c *ChildSiteManagementPolicyCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ChildSiteManagementPolicyCollection) UnmarshalJSON ¶ added in v3.2.207

func (c *ChildSiteManagementPolicyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ChildSiteManagementPolicyCreateParams ¶ added in v3.2.207

type ChildSiteManagementPolicyCreateParams struct {
	// Policy configuration data. Attributes differ by policy type. For more information, refer to the Value Hash section of the developer documentation.
	Value interface{} `url:"value,omitempty" json:"value,omitempty" path:"value"`
	// IDs of child sites excluded from this default policy.
	SkipChildSiteIds []int64 `url:"skip_child_site_ids,omitempty" json:"skip_child_site_ids,omitempty" path:"skip_child_site_ids"`
	// IDs of child sites explicitly assigned to this non-default policy.
	ChildSiteIds []int64 `url:"child_site_ids,omitempty" json:"child_site_ids,omitempty" path:"child_site_ids"`
	// Whether this policy applies to child sites not explicitly assigned to another policy.
	DefaultPolicy *bool `url:"default_policy,omitempty" json:"default_policy,omitempty" path:"default_policy"`
	// Type of policy. Valid values: `settings`. Values: settings. Required.
	PolicyType ChildSiteManagementPolicyPolicyTypeEnum `url:"policy_type" json:"policy_type" path:"policy_type"`
	// Name for this policy.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Description for this policy.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
}

ChildSiteManagementPolicyCreateParams contains the request parameters for POST /child_site_management_policies.

type ChildSiteManagementPolicyDeleteParams ¶ added in v3.2.207

type ChildSiteManagementPolicyDeleteParams struct {
	// Child Site Management Policy ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ChildSiteManagementPolicyDeleteParams contains the request parameters for DELETE /child_site_management_policies/{id}.

type ChildSiteManagementPolicyFindParams ¶ added in v3.2.207

type ChildSiteManagementPolicyFindParams struct {
	// Child Site Management Policy ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ChildSiteManagementPolicyFindParams contains the request parameters for GET /child_site_management_policies/{id}.

type ChildSiteManagementPolicyListParams ¶ added in v3.2.207

type ChildSiteManagementPolicyListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ChildSiteManagementPolicyListParams contains the request parameters for GET /child_site_management_policies.

type ChildSiteManagementPolicyPolicyTypeEnum ¶ added in v3.2.242

type ChildSiteManagementPolicyPolicyTypeEnum string

ChildSiteManagementPolicyPolicyTypeEnum is a string value for policy_type. Enum lists the values documented by the API.

func (ChildSiteManagementPolicyPolicyTypeEnum) Enum ¶ added in v3.2.242

Enum returns the documented values keyed by their API strings.

func (ChildSiteManagementPolicyPolicyTypeEnum) String ¶ added in v3.2.242

String returns the API parameter value.

type ChildSiteManagementPolicyUpdateParams ¶ added in v3.2.207

type ChildSiteManagementPolicyUpdateParams struct {
	// Child Site Management Policy ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Policy configuration data. Attributes differ by policy type. For more information, refer to the Value Hash section of the developer documentation.
	Value interface{} `url:"value,omitempty" json:"value,omitempty" path:"value"`
	// IDs of child sites excluded from this default policy.
	SkipChildSiteIds []int64 `url:"skip_child_site_ids,omitempty" json:"skip_child_site_ids,omitempty" path:"skip_child_site_ids"`
	// IDs of child sites explicitly assigned to this non-default policy.
	ChildSiteIds []int64 `url:"child_site_ids,omitempty" json:"child_site_ids,omitempty" path:"child_site_ids"`
	// Whether this policy applies to child sites not explicitly assigned to another policy.
	DefaultPolicy *bool `url:"default_policy,omitempty" json:"default_policy,omitempty" path:"default_policy"`
	// Type of policy. Valid values: `settings`. Values: settings.
	PolicyType ChildSiteManagementPolicyPolicyTypeEnum `url:"policy_type,omitempty" json:"policy_type,omitempty" path:"policy_type"`
	// Name for this policy.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Description for this policy.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
}

ChildSiteManagementPolicyUpdateParams contains the request parameters for PATCH /child_site_management_policies/{id}.

type Clickwrap ¶

type Clickwrap struct {
	// Clickwrap ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.).
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Body text of Clickwrap (supports Markdown formatting).
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login).
	UseWithUsers string `json:"use_with_users,omitempty" path:"use_with_users,omitempty" url:"use_with_users,omitempty"`
	// Use this Clickwrap for Bundles?
	UseWithBundles string `json:"use_with_bundles,omitempty" path:"use_with_bundles,omitempty" url:"use_with_bundles,omitempty"`
	// Use this Clickwrap for Inboxes?
	UseWithInboxes string `json:"use_with_inboxes,omitempty" path:"use_with_inboxes,omitempty" url:"use_with_inboxes,omitempty"`
}

Clickwrap is a Files.com API resource.

func (Clickwrap) Identifier ¶

func (c Clickwrap) Identifier() interface{}

Identifier returns the resource ID.

func (*Clickwrap) UnmarshalJSON ¶

func (c *Clickwrap) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ClickwrapCollection ¶

type ClickwrapCollection []Clickwrap

ClickwrapCollection is a list of Clickwrap resources.

func (*ClickwrapCollection) ToSlice ¶

func (c *ClickwrapCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ClickwrapCollection) UnmarshalJSON ¶

func (c *ClickwrapCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ClickwrapCreateParams ¶

type ClickwrapCreateParams struct {
	// Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.).
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Body text of Clickwrap (supports Markdown formatting).
	Body string `url:"body,omitempty" json:"body,omitempty" path:"body"`
	// Use this Clickwrap for Bundles? Values: none, available, require, available_to_all_users.
	UseWithBundles ClickwrapUseWithBundlesEnum `url:"use_with_bundles,omitempty" json:"use_with_bundles,omitempty" path:"use_with_bundles"`
	// Use this Clickwrap for Inboxes? Values: none, available, require, available_to_all_users.
	UseWithInboxes ClickwrapUseWithInboxesEnum `url:"use_with_inboxes,omitempty" json:"use_with_inboxes,omitempty" path:"use_with_inboxes"`
	// Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login). Values: none, require, require_all_users_once, require_all_users_always.
	UseWithUsers ClickwrapUseWithUsersEnum `url:"use_with_users,omitempty" json:"use_with_users,omitempty" path:"use_with_users"`
}

ClickwrapCreateParams contains the request parameters for POST /clickwraps.

type ClickwrapDeleteParams ¶

type ClickwrapDeleteParams struct {
	// Clickwrap ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ClickwrapDeleteParams contains the request parameters for DELETE /clickwraps/{id}.

type ClickwrapFindParams ¶

type ClickwrapFindParams struct {
	// Clickwrap ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ClickwrapFindParams contains the request parameters for GET /clickwraps/{id}.

type ClickwrapListParams ¶

type ClickwrapListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ClickwrapListParams contains the request parameters for GET /clickwraps.

type ClickwrapUpdateParams ¶

type ClickwrapUpdateParams struct {
	// Clickwrap ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.).
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Body text of Clickwrap (supports Markdown formatting).
	Body string `url:"body,omitempty" json:"body,omitempty" path:"body"`
	// Use this Clickwrap for Bundles? Values: none, available, require, available_to_all_users.
	UseWithBundles ClickwrapUseWithBundlesEnum `url:"use_with_bundles,omitempty" json:"use_with_bundles,omitempty" path:"use_with_bundles"`
	// Use this Clickwrap for Inboxes? Values: none, available, require, available_to_all_users.
	UseWithInboxes ClickwrapUseWithInboxesEnum `url:"use_with_inboxes,omitempty" json:"use_with_inboxes,omitempty" path:"use_with_inboxes"`
	// Use this Clickwrap for Users? Values: `none`, `require` (new user signup via email invitation only), `require_all_users_once` (show to all users at their next web login; once accepted, not shown again), `require_all_users_always` (show to all users on every web login). Values: none, require, require_all_users_once, require_all_users_always.
	UseWithUsers ClickwrapUseWithUsersEnum `url:"use_with_users,omitempty" json:"use_with_users,omitempty" path:"use_with_users"`
}

ClickwrapUpdateParams contains the request parameters for PATCH /clickwraps/{id}.

type ClickwrapUseWithBundlesEnum ¶

type ClickwrapUseWithBundlesEnum string

ClickwrapUseWithBundlesEnum is a string value for use_with_bundles. Enum lists the values documented by the API.

func (ClickwrapUseWithBundlesEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (ClickwrapUseWithBundlesEnum) String ¶

String returns the API parameter value.

type ClickwrapUseWithInboxesEnum ¶

type ClickwrapUseWithInboxesEnum string

ClickwrapUseWithInboxesEnum is a string value for use_with_inboxes. Enum lists the values documented by the API.

func (ClickwrapUseWithInboxesEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (ClickwrapUseWithInboxesEnum) String ¶

String returns the API parameter value.

type ClickwrapUseWithUsersEnum ¶

type ClickwrapUseWithUsersEnum string

ClickwrapUseWithUsersEnum is a string value for use_with_users. Enum lists the values documented by the API.

func (ClickwrapUseWithUsersEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (ClickwrapUseWithUsersEnum) String ¶

func (u ClickwrapUseWithUsersEnum) String() string

String returns the API parameter value.

type Config ¶

type Config struct {
	APIKey    string `header:"X-FilesAPI-Key" json:"api_key"`
	SessionId string `header:"X-FilesAPI-Auth" json:"session_id"`
	// WorkspaceId scopes Files.com API requests when non-zero.
	WorkspaceId      int64  `header:"X-Files-Workspace-Id" json:"workspace_id,omitempty"`
	Language         string `header:"Accept-Language"`
	Subdomain        string `json:"subdomain"`
	EndpointOverride string `json:"endpoint_override"`
	*retryablehttp.Client
	AdditionalHeaders map[string]string `json:"additional_headers"`
	// Logger receives SDK diagnostics. Init uses a logger that discards output when this is nil.
	lib.Logger
	// Debug enables detailed request and response diagnostics, which may contain credentials
	// and signed URLs. FILES_SDK_DEBUG also enables these diagnostics. SDK retry log entries
	// at INFO, WARN, and ERROR still redact request URLs and credentials.
	Debug        bool   `json:"debug"`
	UserAgent    string `json:"user_agents"`
	Environment  `json:"environment"`
	FeatureFlags map[string]bool `json:"feature_flags"`
	// DisableDirectTransfers forces upload and download requests to use proxied transfer paths.
	DisableDirectTransfers bool `json:"disable_direct_transfers"`
}

Config controls Files.com API authentication, workspace scoping, and transport behavior.

var GlobalConfig Config

func (Config) Do ¶

func (c Config) Do(req *http.Request) (*http.Response, error)

Do sends req through the configured retry client with redirect handling. The caller must close the returned response body. Outside debug mode, returned URL errors redact the request URL while preserving the operation and cause. Retry log entries above DEBUG redact request URLs and credentials in either mode.

func (Config) Endpoint ¶

func (c Config) Endpoint() string

func (Config) FeatureFlag ¶

func (c Config) FeatureFlag(flag string) bool

func (Config) GetAPIKey ¶

func (c Config) GetAPIKey() string

func (Config) InDebug ¶

func (c Config) InDebug() bool

InDebug reports whether Debug is set or FILES_SDK_DEBUG is non-empty. A logger with levels controls which retry DEBUG entries it displays independently of this setting. A Printf-only logger receives retry DEBUG entries only in debug mode.

func (Config) Init ¶

func (c Config) Init() Config

Init returns a copy of c with defaults for its logger, retry client, feature flags, and user agent. It preserves values already supplied by the caller.

func (Config) LogPath ¶

func (c Config) LogPath(path string, args map[string]interface{})

func (Config) RootPath ¶

func (c Config) RootPath() string

func (Config) SetCustomClient ¶

func (c Config) SetCustomClient(client *http.Client) Config

func (Config) SetHeaders ¶

func (c Config) SetHeaders(headers *http.Header)

func (Config) SetHeadersForRequest ¶ added in v3.3.105

func (c Config) SetHeadersForRequest(req *http.Request)

func (Config) SetUserAgentHeader ¶ added in v3.3.103

func (c Config) SetUserAgentHeader(headers *http.Header)

type CustomDomain ¶ added in v3.3.150

type CustomDomain struct {
	// Custom Domain ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID (0 for the default workspace).
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Allow all workspaces to use this default-workspace Custom Domain.
	AvailableToAllWorkspaces *bool `` /* 133-byte string literal not displayed */
	// Eligible public IP addresses for Remote Server outbound connections. Empty when this Custom Domain is not eligible for outbound selection.
	OutboundIpAddresses []string `json:"outbound_ip_addresses,omitempty" path:"outbound_ip_addresses,omitempty" url:"outbound_ip_addresses,omitempty"`
	// Customer-owned domain name.
	Domain string `json:"domain,omitempty" path:"domain,omitempty" url:"domain,omitempty"`
	// Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason.
	Destination string `json:"destination,omitempty" path:"destination,omitempty" url:"destination,omitempty"`
	// Current DNS verification status.
	DnsStatus string `json:"dns_status,omitempty" path:"dns_status,omitempty" url:"dns_status,omitempty"`
	// Current SSL certificate ID.
	SslCertificateId int64 `json:"ssl_certificate_id,omitempty" path:"ssl_certificate_id,omitempty" url:"ssl_certificate_id,omitempty"`
	// Is this domain's SSL certificate automatically managed and renewed by Files.com?
	BrickManaged *bool `json:"brick_managed,omitempty" path:"brick_managed,omitempty" url:"brick_managed,omitempty"`
	// Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
	FolderBehaviorId int64 `json:"folder_behavior_id,omitempty" path:"folder_behavior_id,omitempty" url:"folder_behavior_id,omitempty"`
	// Dedicated public IP addresses allocated to this Custom Domain.
	IpAddresses []string `json:"ip_addresses,omitempty" path:"ip_addresses,omitempty" url:"ip_addresses,omitempty"`
	// When this Custom Domain was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// When this Custom Domain was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

CustomDomain is a Files.com API resource.

func (CustomDomain) Identifier ¶ added in v3.3.150

func (c CustomDomain) Identifier() interface{}

Identifier returns the resource ID.

func (*CustomDomain) UnmarshalJSON ¶ added in v3.3.150

func (c *CustomDomain) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type CustomDomainCollection ¶ added in v3.3.150

type CustomDomainCollection []CustomDomain

CustomDomainCollection is a list of CustomDomain resources.

func (*CustomDomainCollection) ToSlice ¶ added in v3.3.150

func (c *CustomDomainCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*CustomDomainCollection) UnmarshalJSON ¶ added in v3.3.150

func (c *CustomDomainCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type CustomDomainCreateAllocateIpParams ¶ added in v3.3.249

type CustomDomainCreateAllocateIpParams struct {
	// Custom Domain ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Number of dedicated IP addresses to allocate. Values: 1, 2. Required.
	Count int64 `url:"count" json:"count" path:"count"`
}

CustomDomainCreateAllocateIpParams contains the request parameters for POST /custom_domains/{id}/allocate_ips.

type CustomDomainCreateParams ¶ added in v3.3.150

type CustomDomainCreateParams struct {
	// Allow all workspaces to use this default-workspace Custom Domain.
	AvailableToAllWorkspaces *bool `url:"available_to_all_workspaces,omitempty" json:"available_to_all_workspaces,omitempty" path:"available_to_all_workspaces"`
	// Workspace ID (0 for the default workspace).
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason. Values: site_alias, public_hosting, s3_endpoint, unassigned.
	Destination CustomDomainDestinationEnum `url:"destination,omitempty" json:"destination,omitempty" path:"destination"`
	// Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
	FolderBehaviorId int64 `url:"folder_behavior_id,omitempty" json:"folder_behavior_id,omitempty" path:"folder_behavior_id"`
	// Current SSL certificate ID.
	SslCertificateId int64 `url:"ssl_certificate_id,omitempty" json:"ssl_certificate_id,omitempty" path:"ssl_certificate_id"`
	// Customer-owned domain name. Required.
	Domain string `url:"domain" json:"domain" path:"domain"`
}

CustomDomainCreateParams contains the request parameters for POST /custom_domains.

type CustomDomainDeleteParams ¶ added in v3.3.150

type CustomDomainDeleteParams struct {
	// Custom Domain ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

CustomDomainDeleteParams contains the request parameters for DELETE /custom_domains/{id}.

type CustomDomainDestinationEnum ¶ added in v3.3.150

type CustomDomainDestinationEnum string

CustomDomainDestinationEnum is a string value for destination. Enum lists the values documented by the API.

func (CustomDomainDestinationEnum) Enum ¶ added in v3.3.150

Enum returns the documented values keyed by their API strings.

func (CustomDomainDestinationEnum) String ¶ added in v3.3.150

String returns the API parameter value.

type CustomDomainFindParams ¶ added in v3.3.150

type CustomDomainFindParams struct {
	// Custom Domain ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

CustomDomainFindParams contains the request parameters for GET /custom_domains/{id}.

type CustomDomainListParams ¶ added in v3.3.150

type CustomDomainListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `id` or `available_to_all_workspaces`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

CustomDomainListParams contains the request parameters for GET /custom_domains.

type CustomDomainUpdateParams ¶ added in v3.3.150

type CustomDomainUpdateParams struct {
	// Custom Domain ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Allow all workspaces to use this default-workspace Custom Domain.
	AvailableToAllWorkspaces *bool `url:"available_to_all_workspaces,omitempty" json:"available_to_all_workspaces,omitempty" path:"available_to_all_workspaces"`
	// Workspace ID (0 for the default workspace).
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Where this custom domain routes. Can be `site_alias`, `public_hosting`, `s3_endpoint`, or `unassigned` (not routing traffic). Set to `unassigned` automatically when a bound `public_hosting` folder behavior is deleted, and can be set manually via the API for any reason. Values: site_alias, public_hosting, s3_endpoint, unassigned.
	Destination CustomDomainDestinationEnum `url:"destination,omitempty" json:"destination,omitempty" path:"destination"`
	// Public Hosting behavior ID when this domain routes to a specific Public Hosting behavior. Preserved as historical context when `destination` becomes `unassigned`.
	FolderBehaviorId int64 `url:"folder_behavior_id,omitempty" json:"folder_behavior_id,omitempty" path:"folder_behavior_id"`
	// Current SSL certificate ID.
	SslCertificateId int64 `url:"ssl_certificate_id,omitempty" json:"ssl_certificate_id,omitempty" path:"ssl_certificate_id"`
	// Customer-owned domain name.
	Domain string `url:"domain,omitempty" json:"domain,omitempty" path:"domain"`
}

CustomDomainUpdateParams contains the request parameters for PATCH /custom_domains/{id}.

type Data ¶

type Data struct {
	U2fSIgnRequests               []U2fSignRequests `json:"u2f_sign_requests,omitempty"`
	PartialSessionId              string            `json:"partial_session_id,omitempty"`
	TwoFactorAuthenticationMethod []string          `json:"two_factor_authentication_methods,omitempty"`
	Host                          string            `json:"host,omitempty"`
	// Download Request Status
	BytesTransferred int64      `json:"bytes_transferred,omitempty"`
	Status           string     `json:"status,omitempty"`
	StartedAt        *time.Time `json:"started_at,omitempty"`
	CompletedAt      *time.Time `json:"completed_at,omitempty"`
	TouchedAt        *time.Time `json:"touched_at,omitempty"`
}

Data contains structured details accompanying an API error, including authentication challenges and download-request status.

type DesktopConfigurationProfile ¶ added in v3.3.54

type DesktopConfigurationProfile struct {
	// Desktop Configuration Profile ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Profile name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Workspace ID.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Whether this profile applies to all users in the Workspace by default.
	UseForAllUsers *bool `json:"use_for_all_users,omitempty" path:"use_for_all_users,omitempty" url:"use_for_all_users,omitempty"`
	// Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile.
	DisableDriveMounting *bool `json:"disable_drive_mounting,omitempty" path:"disable_drive_mounting,omitempty" url:"disable_drive_mounting,omitempty"`
	// Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
	MountMappings interface{} `json:"mount_mappings,omitempty" path:"mount_mappings,omitempty" url:"mount_mappings,omitempty"`
}

DesktopConfigurationProfile is a Files.com API resource.

func (DesktopConfigurationProfile) Identifier ¶ added in v3.3.54

func (d DesktopConfigurationProfile) Identifier() interface{}

Identifier returns the resource ID.

func (*DesktopConfigurationProfile) UnmarshalJSON ¶ added in v3.3.54

func (d *DesktopConfigurationProfile) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type DesktopConfigurationProfileCollection ¶ added in v3.3.54

type DesktopConfigurationProfileCollection []DesktopConfigurationProfile

DesktopConfigurationProfileCollection is a list of DesktopConfigurationProfile resources.

func (*DesktopConfigurationProfileCollection) ToSlice ¶ added in v3.3.54

func (d *DesktopConfigurationProfileCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*DesktopConfigurationProfileCollection) UnmarshalJSON ¶ added in v3.3.54

func (d *DesktopConfigurationProfileCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type DesktopConfigurationProfileCreateParams ¶ added in v3.3.54

type DesktopConfigurationProfileCreateParams struct {
	// Profile name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there. Required.
	MountMappings interface{} `url:"mount_mappings" json:"mount_mappings" path:"mount_mappings"`
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Whether this profile applies to all users in the Workspace by default.
	UseForAllUsers *bool `url:"use_for_all_users,omitempty" json:"use_for_all_users,omitempty" path:"use_for_all_users"`
	// Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile.
	DisableDriveMounting *bool `url:"disable_drive_mounting,omitempty" json:"disable_drive_mounting,omitempty" path:"disable_drive_mounting"`
}

DesktopConfigurationProfileCreateParams contains the request parameters for POST /desktop_configuration_profiles.

type DesktopConfigurationProfileDeleteParams ¶ added in v3.3.54

type DesktopConfigurationProfileDeleteParams struct {
	// Desktop Configuration Profile ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

DesktopConfigurationProfileDeleteParams contains the request parameters for DELETE /desktop_configuration_profiles/{id}.

type DesktopConfigurationProfileFindParams ¶ added in v3.3.54

type DesktopConfigurationProfileFindParams struct {
	// Desktop Configuration Profile ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

DesktopConfigurationProfileFindParams contains the request parameters for GET /desktop_configuration_profiles/{id}.

type DesktopConfigurationProfileListParams ¶ added in v3.3.54

type DesktopConfigurationProfileListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

DesktopConfigurationProfileListParams contains the request parameters for GET /desktop_configuration_profiles.

type DesktopConfigurationProfileUpdateParams ¶ added in v3.3.54

type DesktopConfigurationProfileUpdateParams struct {
	// Desktop Configuration Profile ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Profile name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Mount point mappings for the desktop app. Keys must be a single uppercase Windows drive letter other than A, B, or C, and values are Files.com paths to mount there.
	MountMappings interface{} `url:"mount_mappings,omitempty" json:"mount_mappings,omitempty" path:"mount_mappings"`
	// Whether this profile applies to all users in the Workspace by default.
	UseForAllUsers *bool `url:"use_for_all_users,omitempty" json:"use_for_all_users,omitempty" path:"use_for_all_users"`
	// Whether the desktop app should hide drive mounting, prevent new drive mounts, and unmount active drive mounts for users with this profile.
	DisableDriveMounting *bool `url:"disable_drive_mounting,omitempty" json:"disable_drive_mounting,omitempty" path:"disable_drive_mounting"`
}

DesktopConfigurationProfileUpdateParams contains the request parameters for PATCH /desktop_configuration_profiles/{id}.

type DirEntry ¶ added in v3.1.0

type DirEntry struct {
	File
}

func (DirEntry) Info ¶ added in v3.1.0

func (f DirEntry) Info() (fs.FileInfo, error)

func (DirEntry) ModTime ¶ added in v3.1.0

func (f DirEntry) ModTime() time.Time

func (DirEntry) Mode ¶ added in v3.1.0

func (f DirEntry) Mode() fs.FileMode

func (DirEntry) Name ¶ added in v3.1.0

func (f DirEntry) Name() string

func (DirEntry) Size ¶ added in v3.1.0

func (f DirEntry) Size() int64

func (DirEntry) Sys ¶ added in v3.1.0

func (f DirEntry) Sys() any

func (DirEntry) Type ¶ added in v3.1.0

func (f DirEntry) Type() fs.FileMode

type DirectConnectionInfo ¶ added in v3.3.193

type DirectConnectionInfo struct {
	// Direct connection information schema version.
	Version int64 `json:"version,omitempty" path:"version,omitempty" url:"version,omitempty"`
	// TLS server name (SNI and Host header) for the Agent's direct transfer listener.
	ServerName string `json:"server_name,omitempty" path:"server_name,omitempty" url:"server_name,omitempty"`
	// Validated ip:port candidates that may be dialed over TCP+TLS for this transfer.
	Addresses []string `json:"addresses,omitempty" path:"addresses,omitempty" url:"addresses,omitempty"`
	// Signed HTTPS URI for direct Agent transfer traffic.
	DirectUri string `json:"direct_uri,omitempty" path:"direct_uri,omitempty" url:"direct_uri,omitempty"`
	// PEM-encoded CA certificate used to verify the Agent's direct transfer TLS certificate.
	CaPem string `json:"ca_pem,omitempty" path:"ca_pem,omitempty" url:"ca_pem,omitempty"`
}

DirectConnectionInfo is a Files.com API resource.

func (*DirectConnectionInfo) UnmarshalJSON ¶ added in v3.3.193

func (d *DirectConnectionInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type DirectConnectionInfoCollection ¶ added in v3.3.193

type DirectConnectionInfoCollection []DirectConnectionInfo

DirectConnectionInfoCollection is a list of DirectConnectionInfo resources.

func (*DirectConnectionInfoCollection) ToSlice ¶ added in v3.3.193

func (d *DirectConnectionInfoCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*DirectConnectionInfoCollection) UnmarshalJSON ¶ added in v3.3.193

func (d *DirectConnectionInfoCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type DirectTransferResponseError ¶ added in v3.3.197

type DirectTransferResponseError struct {
	StatusCode int
	RetryAfter time.Duration
}

DirectTransferResponseError describes an unsuccessful response from an Agent's direct endpoint. StatusCode contains the HTTP status; RetryAfter contains the parsed Retry-After delay, or zero when no valid delay is available.

func (*DirectTransferResponseError) Error ¶ added in v3.3.197

Error returns a message containing the direct endpoint's HTTP status.

func (*DirectTransferResponseError) Unwrap ¶ added in v3.3.197

func (e *DirectTransferResponseError) Unwrap() error

Unwrap returns ErrDirectTransferUnavailable for errors.Is matching.

type DirectTransferSession ¶ added in v3.3.317

type DirectTransferSession struct {
	// contains filtered or unexported fields
}

DirectTransferSession sends the requests of one transfer, such as the ranges of a download, to an Agent's direct endpoint until a direct request fails. From then on Send returns ErrDirectTransferUnavailable without sending, and the caller sends the rest of the transfer over its own route. A session is safe for concurrent requests. Call Close when the transfer ends.

func NewDirectTransferSession ¶ added in v3.3.317

func NewDirectTransferSession(options DirectTransferSessionOptions) *DirectTransferSession

NewDirectTransferSession returns a session for one transfer.

func (*DirectTransferSession) Close ¶ added in v3.3.317

func (s *DirectTransferSession) Close()

Close closes the idle connections of the session's direct client. Call it once the transfer's requests and response bodies are finished. Requests whose context carries a WithDirectTransferClientCache cache use that cache instead.

func (*DirectTransferSession) Send ¶ added in v3.3.317

Send sends a copy of request to info's direct endpoint, as WrapDirectTransferOptions does, and the caller must close the body of a successful response. A failure while reading or closing that body disables direct transfer for the session; the response itself is never sent again. A body failure after the request context was canceled, or after its deadline passed, leaves the session enabled. To report the response as failed, cancel the context with another cause, using context.WithCancelCause.

Send returns ErrDirectTransferUnavailable without sending when config disables direct transfers, info is not present, or the session is disabled. When the direct request fails, Send disables the session and returns an error that wraps ErrDirectTransferUnavailable; the caller can then send request over its own route. A request context that ends before the response arrives never disables the session, and Send returns the context's error. When response options fail, Send closes the response and returns an error that wraps ErrDirectTransferResponseStarted and the options' error. That request must not be sent again, even when the options' error also wraps ErrDirectTransferUnavailable.

func (*DirectTransferSession) Stats ¶ added in v3.3.317

Stats returns the session's current counts and disabled reason.

type DirectTransferSessionOptions ¶ added in v3.3.317

type DirectTransferSessionOptions struct {
	// RetryResponse is called after each unsuccessful direct response. request
	// is the request as sent, after request options, and attempt counts the
	// direct requests sent for it so far. It returns how long to wait and
	// whether to send the request directly again. When RetryResponse is nil or
	// returns false, the response disables direct transfer for the session.
	RetryResponse func(request *http.Request, attempt int, err *DirectTransferResponseError) (time.Duration, bool)
	// OnDisable is called once, by the request or response body whose failure
	// disabled direct transfer, with DirectTransferSessionStats.DisabledReason
	// and the failure.
	OnDisable func(reason string, err error)
	// WrapTransport, when set, is called once, when the session builds its
	// direct client, with the SDK's direct transport, and returns the round
	// tripper the session sends direct requests with. The SDK transport
	// verifies the Agent's TLS identity against info's CA and server name,
	// dials only info's candidate addresses within bounded connect budgets, and
	// times out waiting for response headers. Wrap it to observe, log or adjust
	// requests and keep those protections; a round tripper that does not call
	// it takes them over.
	//
	// Requests reach the round tripper already addressed to the direct URI,
	// with Files.com credentials removed, and the session's client never
	// follows redirects. The direct URI's query carries the transfer token:
	// the session removes it from every *url.Error in a failure's chain,
	// including one from an http.Client the round tripper sends through, so
	// keep the request URL out of any other error the round tripper returns. Return responses with unread bodies: the session
	// tracks body failures and never sends a request again once its response
	// arrived. The round tripper is used by concurrent requests. Close closes
	// the idle connections of the SDK transport, and of the round tripper when
	// it has a CloseIdleConnections method; any other resources it holds belong
	// to the caller. A session with WrapTransport always uses its own client,
	// never a WithDirectTransferClientCache cache from the request context.
	WrapTransport func(direct http.RoundTripper) http.RoundTripper
}

DirectTransferSessionOptions customize how a DirectTransferSession handles direct failures. The zero value disables direct transfer at the first one.

type DirectTransferSessionStats ¶ added in v3.3.317

type DirectTransferSessionStats struct {
	// Attempts counts the direct requests sent, including retries.
	Attempts int64
	// Successes counts the direct requests that returned a successful response.
	Successes int64
	// DisabledReason is empty while direct transfer is enabled. Otherwise it
	// names the first failure: direct_request_failed when no response arrived,
	// direct_response_failed for an unsuccessful response, or
	// direct_body_read_failed or direct_body_close_failed for a response body.
	DisabledReason string
}

DirectTransferSessionStats summarizes the direct requests of a session.

type DnsRecord ¶

type DnsRecord struct {
	// Unique label for DNS record; used by Zapier and other integrations.
	Id string `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// DNS record domain name.
	Domain string `json:"domain,omitempty" path:"domain,omitempty" url:"domain,omitempty"`
	// DNS record type.
	Rrtype string `json:"rrtype,omitempty" path:"rrtype,omitempty" url:"rrtype,omitempty"`
	// DNS record value.
	Value string `json:"value,omitempty" path:"value,omitempty" url:"value,omitempty"`
}

DnsRecord is a Files.com API resource.

func (DnsRecord) Identifier ¶

func (d DnsRecord) Identifier() interface{}

Identifier returns the resource ID.

func (*DnsRecord) UnmarshalJSON ¶

func (d *DnsRecord) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type DnsRecordCollection ¶

type DnsRecordCollection []DnsRecord

DnsRecordCollection is a list of DnsRecord resources.

func (*DnsRecordCollection) ToSlice ¶

func (d *DnsRecordCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*DnsRecordCollection) UnmarshalJSON ¶

func (d *DnsRecordCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type DnsRecordListParams ¶

type DnsRecordListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

DnsRecordListParams contains the request parameters for GET /dns_records.

type EmailIncomingMessage ¶

type EmailIncomingMessage struct {
	// Id of the Email Incoming Message.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Id of the Inbox associated with this message.
	InboxId int64 `json:"inbox_id,omitempty" path:"inbox_id,omitempty" url:"inbox_id,omitempty"`
	// Sender of the email.
	Sender string `json:"sender,omitempty" path:"sender,omitempty" url:"sender,omitempty"`
	// Sender name.
	SenderName string `json:"sender_name,omitempty" path:"sender_name,omitempty" url:"sender_name,omitempty"`
	// Status of the message.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Body of the email.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Message describing the failure.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Message creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Title of the Inbox associated with this message.
	InboxTitle string `json:"inbox_title,omitempty" path:"inbox_title,omitempty" url:"inbox_title,omitempty"`
}

EmailIncomingMessage is a Files.com API resource.

func (EmailIncomingMessage) Identifier ¶

func (e EmailIncomingMessage) Identifier() interface{}

Identifier returns the resource ID.

func (*EmailIncomingMessage) UnmarshalJSON ¶

func (e *EmailIncomingMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type EmailIncomingMessageCollection ¶

type EmailIncomingMessageCollection []EmailIncomingMessage

EmailIncomingMessageCollection is a list of EmailIncomingMessage resources.

func (*EmailIncomingMessageCollection) ToSlice ¶

func (e *EmailIncomingMessageCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*EmailIncomingMessageCollection) UnmarshalJSON ¶

func (e *EmailIncomingMessageCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EmailIncomingMessageListParams ¶

type EmailIncomingMessageListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `sender`, `status` or `inbox_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `inbox_id`, `sender` or `status`. Valid field combinations are `[ inbox_id, created_at ]`, `[ sender, created_at ]`, `[ status, created_at ]`, `[ inbox_id, status ]`, `[ status, sender ]`, `[ inbox_id, status, created_at ]`, `[ status, sender, created_at ]`, `[ inbox_id, status, sender ]` or `[ inbox_id, status, sender, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `sender`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

EmailIncomingMessageListParams contains the request parameters for GET /email_incoming_messages.

type EmailLog ¶ added in v3.1.48

type EmailLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// Log Message.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Status of E-Mail delivery.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Subject line of E-Mail.
	Subject string `json:"subject,omitempty" path:"subject,omitempty" url:"subject,omitempty"`
	// To field of E-Mail.
	To string `json:"to,omitempty" path:"to,omitempty" url:"to,omitempty"`
	// CC field of E-Mail.
	Cc string `json:"cc,omitempty" path:"cc,omitempty" url:"cc,omitempty"`
	// How was the email delivered? `customer_smtp` or `files.com`.
	DeliveryMethod string `json:"delivery_method,omitempty" path:"delivery_method,omitempty" url:"delivery_method,omitempty"`
	// Customer SMTP Hostname used.
	SmtpHostname string `json:"smtp_hostname,omitempty" path:"smtp_hostname,omitempty" url:"smtp_hostname,omitempty"`
	// Customer SMTP IP address as resolved for use (useful for troubleshooting DNS issues with customer SMTP).
	SmtpIp string `json:"smtp_ip,omitempty" path:"smtp_ip,omitempty" url:"smtp_ip,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

EmailLog is a Files.com API resource.

func (*EmailLog) UnmarshalJSON ¶ added in v3.1.48

func (e *EmailLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type EmailLogCollection ¶ added in v3.1.48

type EmailLogCollection []EmailLog

EmailLogCollection is a list of EmailLog resources.

func (*EmailLogCollection) ToSlice ¶ added in v3.1.48

func (e *EmailLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*EmailLogCollection) UnmarshalJSON ¶ added in v3.1.48

func (e *EmailLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EmailLogListParams ¶ added in v3.1.48

type EmailLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ status ]`, `[ created_at ]` or `[ status, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

EmailLogListParams contains the request parameters for GET /email_logs.

type Environment ¶

type Environment int64

Environment selects the Files.com API environment.

const (
	Production Environment = iota
	Staging
	Development
)

func NewEnvironment ¶

func NewEnvironment(env string) Environment

NewEnvironment recognizes "staging" and "development". All other values select production.

func (Environment) Endpoint ¶

func (e Environment) Endpoint() string

Endpoint returns the base URL template for the environment. Config.Endpoint replaces {{SUBDOMAIN}} with the configured site subdomain.

func (Environment) String ¶

func (e Environment) String() string

String returns the environment name. Unknown values return "production".

type Errors ¶

type Errors struct {
	// A list of fields where errors occur.
	Fields []string `json:"fields,omitempty" path:"fields,omitempty" url:"fields,omitempty"`
	// A list of error messages.
	Messages []string `json:"messages,omitempty" path:"messages,omitempty" url:"messages,omitempty"`
}

Errors is a Files.com API resource.

func (*Errors) UnmarshalJSON ¶

func (e *Errors) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ErrorsCollection ¶

type ErrorsCollection []Errors

ErrorsCollection is a list of Errors resources.

func (*ErrorsCollection) ToSlice ¶

func (e *ErrorsCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ErrorsCollection) UnmarshalJSON ¶

func (e *ErrorsCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EtagsParam ¶

type EtagsParam struct {
	// etag identifier. Required in FileCreateParams.
	Etag string `url:"etag,omitempty" json:"etag,omitempty" path:"etag"`
	// Part number. Required in FileCreateParams.
	Part string `url:"part,omitempty" json:"part,omitempty" path:"part"`
}

EtagsParam contains the nested request parameters named by its fields.

type EventChannel ¶ added in v3.3.111

type EventChannel struct {
	// Event Channel ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Event Channel name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Workspace ID. 0 means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Event Channel description.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Whether this Event Channel can dispatch events.
	Enabled *bool `json:"enabled,omitempty" path:"enabled,omitempty" url:"enabled,omitempty"`
	// Whether this Event Channel is the default destination for newly published events.
	DefaultChannel *bool `json:"default_channel,omitempty" path:"default_channel,omitempty" url:"default_channel,omitempty"`
	// Event Channel create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Event Channel update date/time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

EventChannel is a Files.com API resource.

func (EventChannel) Identifier ¶ added in v3.3.111

func (e EventChannel) Identifier() interface{}

Identifier returns the resource ID.

func (*EventChannel) UnmarshalJSON ¶ added in v3.3.111

func (e *EventChannel) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type EventChannelCollection ¶ added in v3.3.111

type EventChannelCollection []EventChannel

EventChannelCollection is a list of EventChannel resources.

func (*EventChannelCollection) ToSlice ¶ added in v3.3.111

func (e *EventChannelCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*EventChannelCollection) UnmarshalJSON ¶ added in v3.3.111

func (e *EventChannelCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EventChannelCreateParams ¶ added in v3.3.111

type EventChannelCreateParams struct {
	// Event Channel name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Workspace ID. 0 means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Event Channel description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Whether this Event Channel can dispatch events.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Whether this Event Channel is the default destination for newly published events.
	DefaultChannel *bool `url:"default_channel,omitempty" json:"default_channel,omitempty" path:"default_channel"`
}

EventChannelCreateParams contains the request parameters for POST /event_channels.

type EventChannelDeleteParams ¶ added in v3.3.111

type EventChannelDeleteParams struct {
	// Event Channel ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventChannelDeleteParams contains the request parameters for DELETE /event_channels/{id}.

type EventChannelFindParams ¶ added in v3.3.111

type EventChannelFindParams struct {
	// Event Channel ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventChannelFindParams contains the request parameters for GET /event_channels/{id}.

type EventChannelListParams ¶ added in v3.3.111

type EventChannelListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled`, `default_channel` or `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `default_channel` or `workspace_id`. Valid field combinations are `[ workspace_id, enabled ]` and `[ workspace_id, default_channel ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

EventChannelListParams contains the request parameters for GET /event_channels.

type EventChannelUpdateParams ¶ added in v3.3.111

type EventChannelUpdateParams struct {
	// Event Channel ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Event Channel name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Workspace ID. 0 means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Event Channel description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Whether this Event Channel can dispatch events.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Whether this Event Channel is the default destination for newly published events.
	DefaultChannel *bool `url:"default_channel,omitempty" json:"default_channel,omitempty" path:"default_channel"`
}

EventChannelUpdateParams contains the request parameters for PATCH /event_channels/{id}.

type EventDeliveryAttempt ¶ added in v3.3.111

type EventDeliveryAttempt struct {
	// Event Delivery Attempt ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Event Record ID.
	EventRecordId int64 `json:"event_record_id,omitempty" path:"event_record_id,omitempty" url:"event_record_id,omitempty"`
	// Event Subscription ID.
	EventSubscriptionId int64 `json:"event_subscription_id,omitempty" path:"event_subscription_id,omitempty" url:"event_subscription_id,omitempty"`
	// Event Target ID.
	EventTargetId int64 `json:"event_target_id,omitempty" path:"event_target_id,omitempty" url:"event_target_id,omitempty"`
	// Shared summary ID when this event is delivered in a Slack or Teams subfolder summary. All events in a summary share its delivery outcome.
	ActivityNotificationBatchId int64 `` /* 142-byte string literal not displayed */
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Delivery status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Number of delivery attempts made.
	AttemptNumber int64 `json:"attempt_number,omitempty" path:"attempt_number,omitempty" url:"attempt_number,omitempty"`
	// HTTP response code, if applicable.
	ResponseCode int64 `json:"response_code,omitempty" path:"response_code,omitempty" url:"response_code,omitempty"`
	// Delivery error message, if applicable.
	ErrorMessage string `json:"error_message,omitempty" path:"error_message,omitempty" url:"error_message,omitempty"`
	// Delivery response body, if applicable.
	ResponseBody string `json:"response_body,omitempty" path:"response_body,omitempty" url:"response_body,omitempty"`
	// Delivery latency in milliseconds.
	LatencyMs int64 `json:"latency_ms,omitempty" path:"latency_ms,omitempty" url:"latency_ms,omitempty"`
	// Successful delivery date/time.
	DeliveredAt *time.Time `json:"delivered_at,omitempty" path:"delivered_at,omitempty" url:"delivered_at,omitempty"`
	// Most recent attempt date/time.
	LastAttemptedAt *time.Time `json:"last_attempted_at,omitempty" path:"last_attempted_at,omitempty" url:"last_attempted_at,omitempty"`
	// Next scheduled attempt date/time.
	NextAttemptAt *time.Time `json:"next_attempt_at,omitempty" path:"next_attempt_at,omitempty" url:"next_attempt_at,omitempty"`
	// Delivery Attempt create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

EventDeliveryAttempt is a Files.com API resource.

func (EventDeliveryAttempt) Identifier ¶ added in v3.3.111

func (e EventDeliveryAttempt) Identifier() interface{}

Identifier returns the resource ID.

func (*EventDeliveryAttempt) UnmarshalJSON ¶ added in v3.3.111

func (e *EventDeliveryAttempt) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type EventDeliveryAttemptCollection ¶ added in v3.3.111

type EventDeliveryAttemptCollection []EventDeliveryAttempt

EventDeliveryAttemptCollection is a list of EventDeliveryAttempt resources.

func (*EventDeliveryAttemptCollection) ToSlice ¶ added in v3.3.111

func (e *EventDeliveryAttemptCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*EventDeliveryAttemptCollection) UnmarshalJSON ¶ added in v3.3.111

func (e *EventDeliveryAttemptCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EventDeliveryAttemptFindParams ¶ added in v3.3.111

type EventDeliveryAttemptFindParams struct {
	// Event Delivery Attempt ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventDeliveryAttemptFindParams contains the request parameters for GET /event_delivery_attempts/{id}.

type EventDeliveryAttemptListParams ¶ added in v3.3.111

type EventDeliveryAttemptListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `status`, `event_record_id`, `event_target_id` or `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `status`, `workspace_id`, `event_record_id` or `event_target_id`. Valid field combinations are `[ workspace_id, status ]`, `[ workspace_id, event_record_id ]` or `[ workspace_id, event_target_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

EventDeliveryAttemptListParams contains the request parameters for GET /event_delivery_attempts.

type EventRecord ¶ added in v3.3.111

type EventRecord struct {
	// Event Record ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Stable event UUID.
	EventUuid string `json:"event_uuid,omitempty" path:"event_uuid,omitempty" url:"event_uuid,omitempty"`
	// Versioned event type string. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`.
	EventType string `json:"event_type,omitempty" path:"event_type,omitempty" url:"event_type,omitempty"`
	// Event severity.
	Severity string `json:"severity,omitempty" path:"severity,omitempty" url:"severity,omitempty"`
	// Source record type.
	SourceType string `json:"source_type,omitempty" path:"source_type,omitempty" url:"source_type,omitempty"`
	// Source record ID.
	SourceId int64 `json:"source_id,omitempty" path:"source_id,omitempty" url:"source_id,omitempty"`
	// Event occurrence date/time.
	OccurredAt *time.Time `json:"occurred_at,omitempty" path:"occurred_at,omitempty" url:"occurred_at,omitempty"`
	// Human-readable event title.
	HumanTitle string `json:"human_title,omitempty" path:"human_title,omitempty" url:"human_title,omitempty"`
	// Human-readable event summary.
	HumanSummary string `json:"human_summary,omitempty" path:"human_summary,omitempty" url:"human_summary,omitempty"`
	// Human-readable event detail fields.
	HumanFields []map[string]interface{} `json:"human_fields,omitempty" path:"human_fields,omitempty" url:"human_fields,omitempty"`
	// Actor associated with the event.
	Actor interface{} `json:"actor,omitempty" path:"actor,omitempty" url:"actor,omitempty"`
	// Resources associated with the event.
	Resources []map[string]interface{} `json:"resources,omitempty" path:"resources,omitempty" url:"resources,omitempty"`
	// Event payload.
	Payload interface{} `json:"payload,omitempty" path:"payload,omitempty" url:"payload,omitempty"`
	// Event Record create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

EventRecord is a Files.com API resource.

func (EventRecord) Identifier ¶ added in v3.3.111

func (e EventRecord) Identifier() interface{}

Identifier returns the resource ID.

func (*EventRecord) UnmarshalJSON ¶ added in v3.3.111

func (e *EventRecord) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type EventRecordCollection ¶ added in v3.3.111

type EventRecordCollection []EventRecord

EventRecordCollection is a list of EventRecord resources.

func (*EventRecordCollection) ToSlice ¶ added in v3.3.111

func (e *EventRecordCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*EventRecordCollection) UnmarshalJSON ¶ added in v3.3.111

func (e *EventRecordCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EventRecordFindParams ¶ added in v3.3.111

type EventRecordFindParams struct {
	// Event Record ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventRecordFindParams contains the request parameters for GET /event_records/{id}.

type EventRecordListParams ¶ added in v3.3.111

type EventRecordListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `event_type`, `created_at` or `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type` or `workspace_id`. Valid field combinations are `[ event_type, created_at ]`, `[ workspace_id, created_at ]`, `[ workspace_id, event_type ]` or `[ workspace_id, event_type, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `event_type`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

EventRecordListParams contains the request parameters for GET /event_records.

type EventSubscription ¶ added in v3.3.111

type EventSubscription struct {
	// Event Subscription ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Event Channel ID.
	EventChannelId int64 `json:"event_channel_id,omitempty" path:"event_channel_id,omitempty" url:"event_channel_id,omitempty"`
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// If true, this default-workspace subscription applies to events from all workspaces.
	ApplyToAllWorkspaces *bool `json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces,omitempty" url:"apply_to_all_workspaces,omitempty"`
	// Event Subscription name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Custom subject line to use for notification emails.
	Subject string `json:"subject,omitempty" path:"subject,omitempty" url:"subject,omitempty"`
	// Custom message to include in notification emails.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
	MessageOnly *bool `json:"message_only,omitempty" path:"message_only,omitempty" url:"message_only,omitempty"`
	// Whether this Event Subscription can dispatch events.
	Enabled *bool `json:"enabled,omitempty" path:"enabled,omitempty" url:"enabled,omitempty"`
	// Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`.
	EventTypes []string `json:"event_types,omitempty" path:"event_types,omitempty" url:"event_types,omitempty"`
	// Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
	Filter interface{} `json:"filter,omitempty" path:"filter,omitempty" url:"filter,omitempty"`
	// Event Subscription delivery policy.
	DeliveryPolicy interface{} `json:"delivery_policy,omitempty" path:"delivery_policy,omitempty" url:"delivery_policy,omitempty"`
	// Event Target IDs this subscription sends to.
	EventTargetIds []int64 `json:"event_target_ids,omitempty" path:"event_target_ids,omitempty" url:"event_target_ids,omitempty"`
	// Event Subscription create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Event Subscription update date/time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

EventSubscription is a Files.com API resource.

func (EventSubscription) Identifier ¶ added in v3.3.111

func (e EventSubscription) Identifier() interface{}

Identifier returns the resource ID.

func (*EventSubscription) UnmarshalJSON ¶ added in v3.3.111

func (e *EventSubscription) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type EventSubscriptionCollection ¶ added in v3.3.111

type EventSubscriptionCollection []EventSubscription

EventSubscriptionCollection is a list of EventSubscription resources.

func (*EventSubscriptionCollection) ToSlice ¶ added in v3.3.111

func (e *EventSubscriptionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*EventSubscriptionCollection) UnmarshalJSON ¶ added in v3.3.111

func (e *EventSubscriptionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EventSubscriptionCreateParams ¶ added in v3.3.111

type EventSubscriptionCreateParams struct {
	// Event Channel ID.
	EventChannelId int64 `url:"event_channel_id,omitempty" json:"event_channel_id,omitempty" path:"event_channel_id"`
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// If true, this default-workspace subscription applies to events from all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// Event Subscription name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Custom subject line to use for notification emails.
	Subject string `url:"subject,omitempty" json:"subject,omitempty" path:"subject"`
	// Custom message to include in notification emails.
	Message string `url:"message,omitempty" json:"message,omitempty" path:"message"`
	// If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
	MessageOnly *bool `url:"message_only,omitempty" json:"message_only,omitempty" path:"message_only"`
	// Whether this Event Subscription can dispatch events.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`.
	EventTypes []string `url:"event_types,omitempty" json:"event_types,omitempty" path:"event_types"`
	// Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// Event Subscription delivery policy.
	DeliveryPolicy interface{} `url:"delivery_policy,omitempty" json:"delivery_policy,omitempty" path:"delivery_policy"`
	// Event Target IDs this subscription sends to.
	EventTargetIds []int64 `url:"event_target_ids,omitempty" json:"event_target_ids,omitempty" path:"event_target_ids"`
}

EventSubscriptionCreateParams contains the request parameters for POST /event_subscriptions.

type EventSubscriptionDeleteParams ¶ added in v3.3.111

type EventSubscriptionDeleteParams struct {
	// Event Subscription ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventSubscriptionDeleteParams contains the request parameters for DELETE /event_subscriptions/{id}.

type EventSubscriptionFindParams ¶ added in v3.3.111

type EventSubscriptionFindParams struct {
	// Event Subscription ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventSubscriptionFindParams contains the request parameters for GET /event_subscriptions/{id}.

type EventSubscriptionListParams ¶ added in v3.3.111

type EventSubscriptionListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled`, `event_channel_id` or `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `event_channel_id` or `workspace_id`. Valid field combinations are `[ enabled, event_channel_id ]`, `[ workspace_id, enabled ]`, `[ workspace_id, event_channel_id ]` or `[ workspace_id, enabled, event_channel_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

EventSubscriptionListParams contains the request parameters for GET /event_subscriptions.

type EventSubscriptionUpdateParams ¶ added in v3.3.111

type EventSubscriptionUpdateParams struct {
	// Event Subscription ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Event Channel ID.
	EventChannelId int64 `url:"event_channel_id,omitempty" json:"event_channel_id,omitempty" path:"event_channel_id"`
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// If true, this default-workspace subscription applies to events from all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// Event Subscription name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Custom subject line to use for notification emails.
	Subject string `url:"subject,omitempty" json:"subject,omitempty" path:"subject"`
	// Custom message to include in notification emails.
	Message string `url:"message,omitempty" json:"message,omitempty" path:"message"`
	// If true, notification email bodies contain only the custom message, omitting event details and the review button. Requires a custom message, defaults to false, and does not affect non-email targets.
	MessageOnly *bool `url:"message_only,omitempty" json:"message_only,omitempty" path:"message_only"`
	// Whether this Event Subscription can dispatch events.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Event type strings matched by this subscription. Blank means all event types. Valid values: `automation_run.canceled.v1`, `automation_run.failure.v1`, `automation_run.failure_will_retry.v1`, `automation_run.partial_failure.v1`, `automation_run.partial_failure_will_retry.v1`, `automation_run.skipped.v1`, `automation_run.success.v1`, `expectation_evaluation.invalid.v1`, `expectation_evaluation.late.v1`, `expectation_evaluation.missing.v1`, `expectation_evaluation.success.v1`, `expectation_incident.acknowledged.v1`, `expectation_incident.open.v1`, `expectation_incident.resolved.v1`, `expectation_incident.snoozed.v1`, `external_event.client_log.failure.v1`, `external_event.client_log.partial_failure.v1`, `external_event.client_log.skipped.v1`, `external_event.client_log.success.v1`, `pending_work_event.failure.v1`, `pending_work_event.partial_failure.v1`, `pending_work_event.skipped.v1`, `pending_work_event.success.v1`, `siem_http_destination_event.failure.v1`, `siem_http_destination_event.partial_failure.v1`, `siem_http_destination_event.skipped.v1`, `siem_http_destination_event.success.v1`, `sso_event.ldap_login.failure.v1`, `sso_event.ldap_login.partial_failure.v1`, `sso_event.ldap_login.skipped.v1`, `sso_event.ldap_login.success.v1`, `sso_event.ldap_sync.failure.v1`, `sso_event.ldap_sync.partial_failure.v1`, `sso_event.ldap_sync.skipped.v1`, `sso_event.ldap_sync.success.v1`, `sso_event.saml_login.failure.v1`, `sso_event.saml_login.partial_failure.v1`, `sso_event.saml_login.skipped.v1`, `sso_event.saml_login.success.v1`, `sync_run.failure.v1`, `sync_run.partial_failure.v1`, `sync_run.skipped.v1`, `sync_run.success.v1`, `user_security_event.lockout.v1`.
	EventTypes []string `url:"event_types,omitempty" json:"event_types,omitempty" path:"event_types"`
	// Conditions on event fields that an event must meet to be delivered, keyed by dot-notation field path. All conditions must match.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// Event Subscription delivery policy.
	DeliveryPolicy interface{} `url:"delivery_policy,omitempty" json:"delivery_policy,omitempty" path:"delivery_policy"`
	// Event Target IDs this subscription sends to.
	EventTargetIds []int64 `url:"event_target_ids,omitempty" json:"event_target_ids,omitempty" path:"event_target_ids"`
}

EventSubscriptionUpdateParams contains the request parameters for PATCH /event_subscriptions/{id}.

type EventTarget ¶ added in v3.3.111

type EventTarget struct {
	// Event Target ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Event Target name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Event Target type.
	TargetType string `json:"target_type,omitempty" path:"target_type,omitempty" url:"target_type,omitempty"`
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// If true, this default-workspace target can receive events from all workspaces.
	ApplyToAllWorkspaces *bool `json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces,omitempty" url:"apply_to_all_workspaces,omitempty"`
	// Whether this Event Target can receive events.
	Enabled *bool `json:"enabled,omitempty" path:"enabled,omitempty" url:"enabled,omitempty"`
	// Event Target configuration. Folder targets accept path and format (json or csv).
	Config interface{} `json:"config,omitempty" path:"config,omitempty" url:"config,omitempty"`
	// Event Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400. Slack and Teams support delivery_mode (immediate or subfolder_summary), summary_path (empty string means root), and summary_delay (15–300 seconds, default 60). The summary applies to matching file activity under summary_path; other matching events retain immediate delivery.
	DeliveryPolicy interface{} `json:"delivery_policy,omitempty" path:"delivery_policy,omitempty" url:"delivery_policy,omitempty"`
	// Event Target create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Event Target update date/time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

EventTarget is a Files.com API resource.

func (EventTarget) Identifier ¶ added in v3.3.111

func (e EventTarget) Identifier() interface{}

Identifier returns the resource ID.

func (*EventTarget) UnmarshalJSON ¶ added in v3.3.111

func (e *EventTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type EventTargetCollection ¶ added in v3.3.111

type EventTargetCollection []EventTarget

EventTargetCollection is a list of EventTarget resources.

func (*EventTargetCollection) ToSlice ¶ added in v3.3.111

func (e *EventTargetCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*EventTargetCollection) UnmarshalJSON ¶ added in v3.3.111

func (e *EventTargetCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type EventTargetCreateParams ¶ added in v3.3.111

type EventTargetCreateParams struct {
	// Event Target name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// If true, this default-workspace target can receive events from all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// Whether this Event Target can receive events.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Event Target configuration. Folder targets accept path and format (json or csv). Required.
	Config interface{} `url:"config" json:"config" path:"config"`
	// Event Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400. Slack and Teams support delivery_mode (immediate or subfolder_summary), summary_path (empty string means root), and summary_delay (15–300 seconds, default 60). The summary applies to matching file activity under summary_path; other matching events retain immediate delivery.
	DeliveryPolicy interface{} `url:"delivery_policy,omitempty" json:"delivery_policy,omitempty" path:"delivery_policy"`
	// Event Target type. Values: email, webhook, slack_webhook, teams_webhook, amazon_sns, google_pubsub, folder. Required.
	TargetType EventTargetTargetTypeEnum `url:"target_type" json:"target_type" path:"target_type"`
}

EventTargetCreateParams contains the request parameters for POST /event_targets.

type EventTargetDeleteParams ¶ added in v3.3.111

type EventTargetDeleteParams struct {
	// Event Target ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventTargetDeleteParams contains the request parameters for DELETE /event_targets/{id}.

type EventTargetFindParams ¶ added in v3.3.111

type EventTargetFindParams struct {
	// Event Target ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

EventTargetFindParams contains the request parameters for GET /event_targets/{id}.

type EventTargetListParams ¶ added in v3.3.111

type EventTargetListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `enabled` or `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `enabled`, `target_type` or `workspace_id`. Valid field combinations are `[ enabled, target_type ]`, `[ workspace_id, enabled ]` or `[ workspace_id, enabled, target_type ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

EventTargetListParams contains the request parameters for GET /event_targets.

type EventTargetTargetTypeEnum ¶ added in v3.3.111

type EventTargetTargetTypeEnum string

EventTargetTargetTypeEnum is a string value for target_type. Enum lists the values documented by the API.

func (EventTargetTargetTypeEnum) Enum ¶ added in v3.3.111

Enum returns the documented values keyed by their API strings.

func (EventTargetTargetTypeEnum) String ¶ added in v3.3.111

func (u EventTargetTargetTypeEnum) String() string

String returns the API parameter value.

type EventTargetUpdateParams ¶ added in v3.3.111

type EventTargetUpdateParams struct {
	// Event Target ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Event Target name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Workspace ID. 0 means the default workspace or site-wide.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// If true, this default-workspace target can receive events from all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// Whether this Event Target can receive events.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Event Target configuration. Folder targets accept path and format (json or csv).
	Config interface{} `url:"config,omitempty" json:"config,omitempty" path:"config"`
	// Event Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400. Slack and Teams support delivery_mode (immediate or subfolder_summary), summary_path (empty string means root), and summary_delay (15–300 seconds, default 60). The summary applies to matching file activity under summary_path; other matching events retain immediate delivery.
	DeliveryPolicy interface{} `url:"delivery_policy,omitempty" json:"delivery_policy,omitempty" path:"delivery_policy"`
}

EventTargetUpdateParams contains the request parameters for PATCH /event_targets/{id}.

type ExavaultApiRequestLog ¶ added in v3.1.48

type ExavaultApiRequestLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// Name of API Endpoint.
	Endpoint string `json:"endpoint,omitempty" path:"endpoint,omitempty" url:"endpoint,omitempty"`
	// Exavault API Version.
	Version float64 `json:"version,omitempty" path:"version,omitempty" url:"version,omitempty"`
	// IP of requesting client.
	RequestIp string `json:"request_ip,omitempty" path:"request_ip,omitempty" url:"request_ip,omitempty"`
	// HTTP Method.
	RequestMethod string `json:"request_method,omitempty" path:"request_method,omitempty" url:"request_method,omitempty"`
	// Error type, if applicable.
	ErrorType string `json:"error_type,omitempty" path:"error_type,omitempty" url:"error_type,omitempty"`
	// Error message, if applicable.
	ErrorMessage string `json:"error_message,omitempty" path:"error_message,omitempty" url:"error_message,omitempty"`
	// User-Agent.
	UserAgent string `json:"user_agent,omitempty" path:"user_agent,omitempty" url:"user_agent,omitempty"`
	// HTTP Response Code.
	ResponseCode int64 `json:"response_code,omitempty" path:"response_code,omitempty" url:"response_code,omitempty"`
	// `false` if HTTP Response Code is 4xx or 5xx.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

ExavaultApiRequestLog is a Files.com API resource.

func (*ExavaultApiRequestLog) UnmarshalJSON ¶ added in v3.1.48

func (e *ExavaultApiRequestLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ExavaultApiRequestLogCollection ¶ added in v3.1.48

type ExavaultApiRequestLogCollection []ExavaultApiRequestLog

ExavaultApiRequestLogCollection is a list of ExavaultApiRequestLog resources.

func (*ExavaultApiRequestLogCollection) ToSlice ¶ added in v3.1.48

func (e *ExavaultApiRequestLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ExavaultApiRequestLogCollection) UnmarshalJSON ¶ added in v3.1.48

func (e *ExavaultApiRequestLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ExavaultApiRequestLogListParams ¶ added in v3.1.48

type ExavaultApiRequestLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `request_ip`, `request_method`, `success` or `created_at`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `request_ip` and `request_method`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ request_ip ]`, `[ request_method ]`, `[ success ]`, `[ created_at ]`, `[ request_ip, request_method ]`, `[ request_ip, success ]`, `[ request_ip, created_at ]`, `[ request_method, success ]`, `[ request_method, created_at ]`, `[ success, created_at ]`, `[ request_ip, request_method, success ]`, `[ request_ip, request_method, created_at ]`, `[ request_ip, success, created_at ]`, `[ request_method, success, created_at ]` or `[ request_ip, request_method, success, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ExavaultApiRequestLogListParams contains the request parameters for GET /exavault_api_request_logs.

type Expectation ¶ added in v3.3.64

type Expectation struct {
	// Expectation ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Expectation name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Expectation description.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Source glob used to select candidate files.
	Source string `json:"source,omitempty" path:"source,omitempty" url:"source,omitempty"`
	// Optional source exclusion glob.
	ExcludePattern string `json:"exclude_pattern,omitempty" path:"exclude_pattern,omitempty" url:"exclude_pattern,omitempty"`
	// If true, the expectation is disabled.
	Disabled *bool `json:"disabled,omitempty" path:"disabled,omitempty" url:"disabled,omitempty"`
	// Criteria schema version for this expectation.
	ExpectationsVersion int64 `json:"expectations_version,omitempty" path:"expectations_version,omitempty" url:"expectations_version,omitempty"`
	// How this expectation opens windows.
	Trigger string `json:"trigger,omitempty" path:"trigger,omitempty" url:"trigger,omitempty"`
	// If trigger is `daily`, this specifies how often to run the expectation.
	Interval string `json:"interval,omitempty" path:"interval,omitempty" url:"interval,omitempty"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `json:"recurring_day,omitempty" path:"recurring_day,omitempty" url:"recurring_day,omitempty"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `json:"recurring_days,omitempty" path:"recurring_days,omitempty" url:"recurring_days,omitempty"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
	ScheduleId int64 `json:"schedule_id,omitempty" path:"schedule_id,omitempty" url:"schedule_id,omitempty"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week,omitempty" url:"schedule_days_of_week,omitempty"`
	// Times of day in HH:MM format for the Expectation schedule.
	ScheduleTimesOfDay []string `json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day,omitempty" url:"schedule_times_of_day,omitempty"`
	// Time zone used by the Expectation schedule.
	ScheduleTimeZone string `json:"schedule_time_zone,omitempty" path:"schedule_time_zone,omitempty" url:"schedule_time_zone,omitempty"`
	// Optional holiday region used by the Expectation schedule.
	HolidayRegion string `json:"holiday_region,omitempty" path:"holiday_region,omitempty" url:"holiday_region,omitempty"`
	// How many seconds before the due boundary the window starts.
	LookbackInterval int64 `json:"lookback_interval,omitempty" path:"lookback_interval,omitempty" url:"lookback_interval,omitempty"`
	// How many seconds a schedule-driven window may remain eligible to close as late.
	LateAcceptanceInterval int64 `json:"late_acceptance_interval,omitempty" path:"late_acceptance_interval,omitempty" url:"late_acceptance_interval,omitempty"`
	// How many quiet seconds are required before final closure.
	InactivityInterval int64 `json:"inactivity_interval,omitempty" path:"inactivity_interval,omitempty" url:"inactivity_interval,omitempty"`
	// Hard-stop duration in seconds for unscheduled expectations.
	MaxOpenInterval int64 `json:"max_open_interval,omitempty" path:"max_open_interval,omitempty" url:"max_open_interval,omitempty"`
	// Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
	Criteria interface{} `json:"criteria,omitempty" path:"criteria,omitempty" url:"criteria,omitempty"`
	// Last time this expectation was evaluated.
	LastEvaluatedAt *time.Time `json:"last_evaluated_at,omitempty" path:"last_evaluated_at,omitempty" url:"last_evaluated_at,omitempty"`
	// Last time this expectation closed successfully.
	LastSuccessAt *time.Time `json:"last_success_at,omitempty" path:"last_success_at,omitempty" url:"last_success_at,omitempty"`
	// Last time this expectation closed with a failure result.
	LastFailureAt *time.Time `json:"last_failure_at,omitempty" path:"last_failure_at,omitempty" url:"last_failure_at,omitempty"`
	// Most recent terminal result for this expectation.
	LastResult string `json:"last_result,omitempty" path:"last_result,omitempty" url:"last_result,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

Expectation is a Files.com API resource.

func (Expectation) Identifier ¶ added in v3.3.64

func (e Expectation) Identifier() interface{}

Identifier returns the resource ID.

func (*Expectation) UnmarshalJSON ¶ added in v3.3.64

func (e *Expectation) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ExpectationCollection ¶ added in v3.3.64

type ExpectationCollection []Expectation

ExpectationCollection is a list of Expectation resources.

func (*ExpectationCollection) ToSlice ¶ added in v3.3.64

func (e *ExpectationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ExpectationCollection) UnmarshalJSON ¶ added in v3.3.64

func (e *ExpectationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ExpectationCreateParams ¶ added in v3.3.64

type ExpectationCreateParams struct {
	// Expectation name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Expectation description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Path scope for the expectation. Supports workspace-relative presentation.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// Source glob used to select candidate files.
	Source string `url:"source,omitempty" json:"source,omitempty" path:"source"`
	// Optional source exclusion glob.
	ExcludePattern string `url:"exclude_pattern,omitempty" json:"exclude_pattern,omitempty" path:"exclude_pattern"`
	// If true, the expectation is disabled.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// How this expectation opens windows. Values: manual, upload, daily, custom_schedule.
	Trigger ExpectationTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `daily`, this specifies how often to run the expectation.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Times of day in HH:MM format for the Expectation schedule.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Time zone used by the Expectation schedule.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Optional holiday region used by the Expectation schedule.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// How many seconds before the due boundary the window starts.
	LookbackInterval int64 `url:"lookback_interval,omitempty" json:"lookback_interval,omitempty" path:"lookback_interval"`
	// How many seconds a schedule-driven window may remain eligible to close as late.
	LateAcceptanceInterval int64 `url:"late_acceptance_interval,omitempty" json:"late_acceptance_interval,omitempty" path:"late_acceptance_interval"`
	// How many quiet seconds are required before final closure.
	InactivityInterval int64 `url:"inactivity_interval,omitempty" json:"inactivity_interval,omitempty" path:"inactivity_interval"`
	// Hard-stop duration in seconds for unscheduled expectations.
	MaxOpenInterval int64 `url:"max_open_interval,omitempty" json:"max_open_interval,omitempty" path:"max_open_interval"`
	// Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
	Criteria interface{} `url:"criteria,omitempty" json:"criteria,omitempty" path:"criteria"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

ExpectationCreateParams contains the request parameters for POST /expectations.

type ExpectationDeleteParams ¶ added in v3.3.64

type ExpectationDeleteParams struct {
	// Expectation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExpectationDeleteParams contains the request parameters for DELETE /expectations/{id}.

type ExpectationEvaluation ¶ added in v3.3.64

type ExpectationEvaluation struct {
	// ExpectationEvaluation ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Expectation ID.
	ExpectationId int64 `json:"expectation_id,omitempty" path:"expectation_id,omitempty" url:"expectation_id,omitempty"`
	// Evaluation status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// How the evaluation window was opened.
	OpenedVia string `json:"opened_via,omitempty" path:"opened_via,omitempty" url:"opened_via,omitempty"`
	// When the evaluation row was opened.
	OpenedAt *time.Time `json:"opened_at,omitempty" path:"opened_at,omitempty" url:"opened_at,omitempty"`
	// Logical start of the candidate window.
	WindowStartAt *time.Time `json:"window_start_at,omitempty" path:"window_start_at,omitempty" url:"window_start_at,omitempty"`
	// Actual candidate cutoff boundary for the window.
	WindowEndAt *time.Time `json:"window_end_at,omitempty" path:"window_end_at,omitempty" url:"window_end_at,omitempty"`
	// Logical due boundary for schedule-driven windows.
	DeadlineAt *time.Time `json:"deadline_at,omitempty" path:"deadline_at,omitempty" url:"deadline_at,omitempty"`
	// Logical cutoff for late acceptance, when present.
	LateAcceptanceCutoffAt *time.Time `` /* 127-byte string literal not displayed */
	// Hard stop after which the window may not remain open.
	HardCloseAt *time.Time `json:"hard_close_at,omitempty" path:"hard_close_at,omitempty" url:"hard_close_at,omitempty"`
	// When the evaluation row was finalized.
	ClosedAt *time.Time `json:"closed_at,omitempty" path:"closed_at,omitempty" url:"closed_at,omitempty"`
	// Captured evidence for files that matched the window.
	MatchedFiles []map[string]interface{} `json:"matched_files,omitempty" path:"matched_files,omitempty" url:"matched_files,omitempty"`
	// Captured evidence for required files that were missing.
	MissingFiles []map[string]interface{} `json:"missing_files,omitempty" path:"missing_files,omitempty" url:"missing_files,omitempty"`
	// Captured criteria failures for the window, including file-scoped FTS errors and returned validation details.
	CriteriaErrors []string `json:"criteria_errors,omitempty" path:"criteria_errors,omitempty" url:"criteria_errors,omitempty"`
	// Compact evaluator summary payload.
	Summary interface{} `json:"summary,omitempty" path:"summary,omitempty" url:"summary,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

ExpectationEvaluation is a Files.com API resource.

func (ExpectationEvaluation) Identifier ¶ added in v3.3.64

func (e ExpectationEvaluation) Identifier() interface{}

Identifier returns the resource ID.

func (*ExpectationEvaluation) UnmarshalJSON ¶ added in v3.3.64

func (e *ExpectationEvaluation) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ExpectationEvaluationCollection ¶ added in v3.3.64

type ExpectationEvaluationCollection []ExpectationEvaluation

ExpectationEvaluationCollection is a list of ExpectationEvaluation resources.

func (*ExpectationEvaluationCollection) ToSlice ¶ added in v3.3.64

func (e *ExpectationEvaluationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ExpectationEvaluationCollection) UnmarshalJSON ¶ added in v3.3.64

func (e *ExpectationEvaluationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ExpectationEvaluationFindParams ¶ added in v3.3.64

type ExpectationEvaluationFindParams struct {
	// Expectation Evaluation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExpectationEvaluationFindParams contains the request parameters for GET /expectation_evaluations/{id}.

type ExpectationEvaluationListParams ¶ added in v3.3.64

type ExpectationEvaluationListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `expectation_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `expectation_id` and `workspace_id`. Valid field combinations are `[ workspace_id, expectation_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ExpectationEvaluationListParams contains the request parameters for GET /expectation_evaluations.

type ExpectationFindParams ¶ added in v3.3.64

type ExpectationFindParams struct {
	// Expectation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExpectationFindParams contains the request parameters for GET /expectations/{id}.

type ExpectationIncident ¶ added in v3.3.64

type ExpectationIncident struct {
	// Expectation Incident ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Expectation ID.
	ExpectationId int64 `json:"expectation_id,omitempty" path:"expectation_id,omitempty" url:"expectation_id,omitempty"`
	// Incident status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// When the incident was opened.
	OpenedAt *time.Time `json:"opened_at,omitempty" path:"opened_at,omitempty" url:"opened_at,omitempty"`
	// When the most recent failing evaluation contributing to the incident occurred.
	LastFailedAt *time.Time `json:"last_failed_at,omitempty" path:"last_failed_at,omitempty" url:"last_failed_at,omitempty"`
	// When the incident was acknowledged.
	AcknowledgedAt *time.Time `json:"acknowledged_at,omitempty" path:"acknowledged_at,omitempty" url:"acknowledged_at,omitempty"`
	// When the current snooze expires.
	SnoozedUntil *time.Time `json:"snoozed_until,omitempty" path:"snoozed_until,omitempty" url:"snoozed_until,omitempty"`
	// When the incident was resolved.
	ResolvedAt *time.Time `json:"resolved_at,omitempty" path:"resolved_at,omitempty" url:"resolved_at,omitempty"`
	// Evaluation that first opened the incident.
	OpenedByEvaluationId int64 `json:"opened_by_evaluation_id,omitempty" path:"opened_by_evaluation_id,omitempty" url:"opened_by_evaluation_id,omitempty"`
	// Most recent evaluation linked to the incident.
	LastEvaluationId int64 `json:"last_evaluation_id,omitempty" path:"last_evaluation_id,omitempty" url:"last_evaluation_id,omitempty"`
	// Evaluation that resolved the incident.
	ResolvedByEvaluationId int64 `` /* 127-byte string literal not displayed */
	// Compact incident summary payload.
	Summary interface{} `json:"summary,omitempty" path:"summary,omitempty" url:"summary,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

ExpectationIncident is a Files.com API resource.

func (ExpectationIncident) Identifier ¶ added in v3.3.64

func (e ExpectationIncident) Identifier() interface{}

Identifier returns the resource ID.

func (*ExpectationIncident) UnmarshalJSON ¶ added in v3.3.64

func (e *ExpectationIncident) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ExpectationIncidentAcknowledgeParams ¶ added in v3.3.64

type ExpectationIncidentAcknowledgeParams struct {
	// Expectation Incident ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExpectationIncidentAcknowledgeParams contains the request parameters for POST /expectation_incidents/{id}/acknowledge.

Acknowledge an expectation incident

type ExpectationIncidentCollection ¶ added in v3.3.64

type ExpectationIncidentCollection []ExpectationIncident

ExpectationIncidentCollection is a list of ExpectationIncident resources.

func (*ExpectationIncidentCollection) ToSlice ¶ added in v3.3.64

func (e *ExpectationIncidentCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ExpectationIncidentCollection) UnmarshalJSON ¶ added in v3.3.64

func (e *ExpectationIncidentCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ExpectationIncidentFindParams ¶ added in v3.3.64

type ExpectationIncidentFindParams struct {
	// Expectation Incident ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExpectationIncidentFindParams contains the request parameters for GET /expectation_incidents/{id}.

type ExpectationIncidentListParams ¶ added in v3.3.64

type ExpectationIncidentListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `expectation_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `expectation_id` and `workspace_id`. Valid field combinations are `[ workspace_id, expectation_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ExpectationIncidentListParams contains the request parameters for GET /expectation_incidents.

type ExpectationIncidentResolveParams ¶ added in v3.3.64

type ExpectationIncidentResolveParams struct {
	// Expectation Incident ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExpectationIncidentResolveParams contains the request parameters for POST /expectation_incidents/{id}/resolve.

Resolve an expectation incident

type ExpectationIncidentSnoozeParams ¶ added in v3.3.64

type ExpectationIncidentSnoozeParams struct {
	// Expectation Incident ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Time until which the incident should remain snoozed. Required.
	SnoozedUntil *time.Time `url:"snoozed_until" json:"snoozed_until" path:"snoozed_until"`
}

ExpectationIncidentSnoozeParams contains the request parameters for POST /expectation_incidents/{id}/snooze.

Snooze an expectation incident until a specified time

type ExpectationListParams ¶ added in v3.3.64

type ExpectationListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `disabled`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled` and `workspace_id`. Valid field combinations are `[ workspace_id, disabled ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ExpectationListParams contains the request parameters for GET /expectations.

type ExpectationTriggerEnum ¶ added in v3.3.64

type ExpectationTriggerEnum string

ExpectationTriggerEnum is a string value for trigger. Enum lists the values documented by the API.

func (ExpectationTriggerEnum) Enum ¶ added in v3.3.64

Enum returns the documented values keyed by their API strings.

func (ExpectationTriggerEnum) String ¶ added in v3.3.64

func (u ExpectationTriggerEnum) String() string

String returns the API parameter value.

type ExpectationTriggerEvaluationParams ¶ added in v3.3.66

type ExpectationTriggerEvaluationParams struct {
	// Expectation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExpectationTriggerEvaluationParams contains the request parameters for POST /expectations/{id}/trigger_evaluation.

Manually open an Expectation window

type ExpectationUpdateParams ¶ added in v3.3.64

type ExpectationUpdateParams struct {
	// Expectation ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Expectation name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Expectation description.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Path scope for the expectation. Supports workspace-relative presentation.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// Source glob used to select candidate files.
	Source string `url:"source,omitempty" json:"source,omitempty" path:"source"`
	// Optional source exclusion glob.
	ExcludePattern string `url:"exclude_pattern,omitempty" json:"exclude_pattern,omitempty" path:"exclude_pattern"`
	// If true, the expectation is disabled.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// How this expectation opens windows. Values: manual, upload, daily, custom_schedule.
	Trigger ExpectationTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `daily`, this specifies how often to run the expectation.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the Expectation's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Times of day in HH:MM format for the Expectation schedule.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Time zone used by the Expectation schedule.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Optional holiday region used by the Expectation schedule.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// How many seconds before the due boundary the window starts.
	LookbackInterval int64 `url:"lookback_interval,omitempty" json:"lookback_interval,omitempty" path:"lookback_interval"`
	// How many seconds a schedule-driven window may remain eligible to close as late.
	LateAcceptanceInterval int64 `url:"late_acceptance_interval,omitempty" json:"late_acceptance_interval,omitempty" path:"late_acceptance_interval"`
	// How many quiet seconds are required before final closure.
	InactivityInterval int64 `url:"inactivity_interval,omitempty" json:"inactivity_interval,omitempty" path:"inactivity_interval"`
	// Hard-stop duration in seconds for unscheduled expectations.
	MaxOpenInterval int64 `url:"max_open_interval,omitempty" json:"max_open_interval,omitempty" path:"max_open_interval"`
	// Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
	Criteria interface{} `url:"criteria,omitempty" json:"criteria,omitempty" path:"criteria"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

ExpectationUpdateParams contains the request parameters for PATCH /expectations/{id}.

type ExternalEvent ¶

type ExternalEvent struct {
	// Event ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Type of event being recorded.
	EventType string `json:"event_type,omitempty" path:"event_type,omitempty" url:"event_type,omitempty"`
	// Status of event.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Event body.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// External event create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Link to log file.
	BodyUrl string `json:"body_url,omitempty" path:"body_url,omitempty" url:"body_url,omitempty"`
}

ExternalEvent is a Files.com API resource.

func (ExternalEvent) Identifier ¶

func (e ExternalEvent) Identifier() interface{}

Identifier returns the resource ID.

func (*ExternalEvent) UnmarshalJSON ¶

func (e *ExternalEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ExternalEventCollection ¶

type ExternalEventCollection []ExternalEvent

ExternalEventCollection is a list of ExternalEvent resources.

func (*ExternalEventCollection) ToSlice ¶

func (e *ExternalEventCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ExternalEventCollection) UnmarshalJSON ¶

func (e *ExternalEventCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ExternalEventCreateParams ¶

type ExternalEventCreateParams struct {
	// Status of event. Values: success, failure, partial_failure, in_progress, skipped. Required.
	Status ExternalEventStatusEnum `url:"status" json:"status" path:"status"`
	// Event body. Required.
	Body string `url:"body" json:"body" path:"body"`
}

ExternalEventCreateParams contains the request parameters for POST /external_events.

type ExternalEventFindParams ¶

type ExternalEventFindParams struct {
	// External Event ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ExternalEventFindParams contains the request parameters for GET /external_events/{id}.

type ExternalEventListParams ¶

type ExternalEventListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `status` or `event_type`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `status`. Valid field combinations are `[ status, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ExternalEventListParams contains the request parameters for GET /external_events.

type ExternalEventStatusEnum ¶

type ExternalEventStatusEnum string

ExternalEventStatusEnum is a string value for status. Enum lists the values documented by the API.

func (ExternalEventStatusEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (ExternalEventStatusEnum) String ¶

func (u ExternalEventStatusEnum) String() string

String returns the API parameter value.

type File ¶

type File struct {
	// File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// User ID of the User who created the file/folder.
	CreatedById int64 `json:"created_by_id,omitempty" path:"created_by_id,omitempty" url:"created_by_id,omitempty"`
	// ID of the API key that created the file/folder.
	CreatedByApiKeyId int64 `json:"created_by_api_key_id,omitempty" path:"created_by_api_key_id,omitempty" url:"created_by_api_key_id,omitempty"`
	// ID of the AS2 Incoming Message that created the file/folder.
	CreatedByAs2IncomingMessageId int64 `` /* 154-byte string literal not displayed */
	// ID of the Automation that created the file/folder.
	CreatedByAutomationId int64 `json:"created_by_automation_id,omitempty" path:"created_by_automation_id,omitempty" url:"created_by_automation_id,omitempty"`
	// ID of the Bundle Registration that created the file/folder.
	CreatedByBundleRegistrationId int64 `` /* 151-byte string literal not displayed */
	// ID of the Inbox that created the file/folder.
	CreatedByInboxId int64 `json:"created_by_inbox_id,omitempty" path:"created_by_inbox_id,omitempty" url:"created_by_inbox_id,omitempty"`
	// ID of the Remote Server that created the file/folder.
	CreatedByRemoteServerId int64 `` /* 133-byte string literal not displayed */
	// ID of the Sync that created the file/folder.
	CreatedBySyncId int64 `json:"created_by_sync_id,omitempty" path:"created_by_sync_id,omitempty" url:"created_by_sync_id,omitempty"`
	// Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
	CustomMetadata interface{} `json:"custom_metadata,omitempty" path:"custom_metadata,omitempty" url:"custom_metadata,omitempty"`
	// File/Folder display name.
	DisplayName string `json:"display_name,omitempty" path:"display_name,omitempty" url:"display_name,omitempty"`
	// Type: `directory` or `file`.
	Type string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
	// File/Folder size.
	Size int64 `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
	// File created date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// User ID of the User who last modified the file/folder.
	LastModifiedById int64 `json:"last_modified_by_id,omitempty" path:"last_modified_by_id,omitempty" url:"last_modified_by_id,omitempty"`
	// ID of the API key that last modified the file/folder.
	LastModifiedByApiKeyId int64 `` /* 133-byte string literal not displayed */
	// ID of the Automation that last modified the file/folder.
	LastModifiedByAutomationId int64 `` /* 142-byte string literal not displayed */
	// ID of the Bundle Registration that last modified the file/folder.
	LastModifiedByBundleRegistrationId int64 `` /* 169-byte string literal not displayed */
	// ID of the Remote Server that last modified the file/folder.
	LastModifiedByRemoteServerId int64 `` /* 151-byte string literal not displayed */
	// ID of the Sync that last modified the file/folder.
	LastModifiedBySyncId int64 `json:"last_modified_by_sync_id,omitempty" path:"last_modified_by_sync_id,omitempty" url:"last_modified_by_sync_id,omitempty"`
	// File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
	Mtime *time.Time `json:"mtime,omitempty" path:"mtime,omitempty" url:"mtime,omitempty"`
	// File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
	ProvidedMtime *time.Time `json:"provided_mtime,omitempty" path:"provided_mtime,omitempty" url:"provided_mtime,omitempty"`
	// File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Crc32 string `json:"crc32,omitempty" path:"crc32,omitempty" url:"crc32,omitempty"`
	// File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Md5 string `json:"md5,omitempty" path:"md5,omitempty" url:"md5,omitempty"`
	// File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Sha1 string `json:"sha1,omitempty" path:"sha1,omitempty" url:"sha1,omitempty"`
	// File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Sha256 string `json:"sha256,omitempty" path:"sha256,omitempty" url:"sha256,omitempty"`
	// MIME Type. This is determined by the filename extension and is not stored separately internally.
	MimeType string `json:"mime_type,omitempty" path:"mime_type,omitempty" url:"mime_type,omitempty"`
	// Region location.
	Region string `json:"region,omitempty" path:"region,omitempty" url:"region,omitempty"`
	// A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination.
	Permissions string `json:"permissions,omitempty" path:"permissions,omitempty" url:"permissions,omitempty"`
	// Are subfolders locked and unable to be modified?
	SubfoldersLocked *bool `json:"subfolders_locked?,omitempty" path:"subfolders_locked?,omitempty" url:"subfolders_locked?,omitempty"`
	// Is this folder locked and unable to be modified?
	IsLocked *bool `json:"is_locked,omitempty" path:"is_locked,omitempty" url:"is_locked,omitempty"`
	// Link to download file. Provided only in response to a download request.
	DownloadUri string `json:"download_uri,omitempty" path:"download_uri,omitempty" url:"download_uri,omitempty"`
	// Optional direct connection information for direct Agent transfer attempts.
	DirectConnectionInfo DirectConnectionInfo `json:"direct_connection_info,omitempty" path:"direct_connection_info,omitempty" url:"direct_connection_info,omitempty"`
	// Bookmark/priority color of file/folder.
	PriorityColor string `json:"priority_color,omitempty" path:"priority_color,omitempty" url:"priority_color,omitempty"`
	// File preview ID.
	PreviewId int64 `json:"preview_id,omitempty" path:"preview_id,omitempty" url:"preview_id,omitempty"`
	// File preview.
	Preview Preview `json:"preview,omitempty" path:"preview,omitempty" url:"preview,omitempty"`
	// The action to perform. Can be `append`, `attachment`, `end`, `upload`, `put`, or may not exist.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// Length of file.
	Length int64 `json:"length,omitempty" path:"length,omitempty" url:"length,omitempty"`
	// Create parent directories if they do not exist?
	MkdirParents *bool `json:"mkdir_parents,omitempty" path:"mkdir_parents,omitempty" url:"mkdir_parents,omitempty"`
	// Part if uploading a part.
	Part int64 `json:"part,omitempty" path:"part,omitempty" url:"part,omitempty"`
	// How many parts to fetch?
	Parts int64  `json:"parts,omitempty" path:"parts,omitempty" url:"parts,omitempty"`
	Ref   string `json:"ref,omitempty" path:"ref,omitempty" url:"ref,omitempty"`
	// File byte offset to restart from.
	Restart int64 `json:"restart,omitempty" path:"restart,omitempty" url:"restart,omitempty"`
	// If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
	CopyBehaviors *bool `json:"copy_behaviors,omitempty" path:"copy_behaviors,omitempty" url:"copy_behaviors,omitempty"`
	// If copying folder, copy just the structure?
	Structure string `json:"structure,omitempty" path:"structure,omitempty" url:"structure,omitempty"`
	// Allow file rename instead of overwrite?
	WithRename *bool `json:"with_rename,omitempty" path:"with_rename,omitempty" url:"with_rename,omitempty"`
	// If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
	BufferedUpload *bool `json:"buffered_upload,omitempty" path:"buffered_upload,omitempty" url:"buffered_upload,omitempty"`
	// Include optional direct connection information for a direct Agent transfer attempt?
	WithDirectConnectionInfo *bool `` /* 133-byte string literal not displayed */
}

File is a Files.com API resource.

func (File) CreationTime ¶ added in v3.2.206

func (f File) CreationTime() time.Time

CreationTime returns CreatedAt, or the zero time when it is unavailable.

func (File) Identifier ¶

func (f File) Identifier() interface{}

Identifier returns the resource path.

func (File) IsDir ¶

func (f File) IsDir() bool

IsDir reports whether the API resource type is "directory".

func (File) Iterable ¶

func (f File) Iterable() bool

Iterable reports whether f is a directory whose children can be listed.

func (File) ModTime ¶ added in v3.1.50

func (f File) ModTime() time.Time

ModTime returns ProvidedMtime when present, then Mtime, or the zero time when neither timestamp is available.

func (File) String ¶

func (f File) String() string

String returns the Files.com path.

func (File) ToFolder ¶

func (f File) ToFolder() (Folder, error)

ToFolder copies the fields shared with Folder through their JSON representation. It does not check whether f is a directory.

func (*File) UnmarshalJSON ¶

func (f *File) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FileAction ¶

type FileAction struct {
	// Status of file operation.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// If status is pending, this is the id of the File Migration to check for status updates. Delete actions include it whenever the deletion runs as a File Migration, including while it is processing.
	FileMigrationId int64 `json:"file_migration_id,omitempty" path:"file_migration_id,omitempty" url:"file_migration_id,omitempty"`
}

FileAction is a Files.com API resource.

func (*FileAction) UnmarshalJSON ¶

func (f *FileAction) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FileActionCollection ¶

type FileActionCollection []FileAction

FileActionCollection is a list of FileAction resources.

func (*FileActionCollection) ToSlice ¶

func (f *FileActionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FileActionCollection) UnmarshalJSON ¶

func (f *FileActionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FileBeginDeleteParams ¶ added in v3.3.302

type FileBeginDeleteParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// If true, will recursively delete folders. Otherwise, will error on non-empty folders.
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
}

FileBeginDeleteParams contains the request parameters for POST /file_actions/delete/{path}.

Delete File/Folder and return its File Action. A pending or processing deletion continues in the background after this returns; check its File Migration for completion. Waiting for the File Migration does not cancel the deletion

type FileBeginUploadParams ¶

type FileBeginUploadParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Create parent directories if they do not exist?
	MkdirParents *bool `url:"mkdir_parents,omitempty" json:"mkdir_parents,omitempty" path:"mkdir_parents"`
	// Part if uploading a part.
	Part int64 `url:"part,omitempty" json:"part,omitempty" path:"part"`
	// How many parts to fetch?
	Parts int64  `url:"parts,omitempty" json:"parts,omitempty" path:"parts"`
	Ref   string `url:"ref,omitempty" json:"ref,omitempty" path:"ref"`
	// File byte offset to restart from.
	Restart int64 `url:"restart,omitempty" json:"restart,omitempty" path:"restart"`
	// Total bytes of file being uploaded (include bytes being retained if appending/restarting).
	Size int64 `url:"size,omitempty" json:"size,omitempty" path:"size"`
	// Allow file rename instead of overwrite?
	WithRename *bool `url:"with_rename,omitempty" json:"with_rename,omitempty" path:"with_rename"`
	// If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
	BufferedUpload *bool `url:"buffered_upload,omitempty" json:"buffered_upload,omitempty" path:"buffered_upload"`
	// Include optional direct connection information for a direct Agent transfer attempt?
	WithDirectConnectionInfo *bool `url:"with_direct_connection_info,omitempty" json:"with_direct_connection_info,omitempty" path:"with_direct_connection_info"`
}

FileBeginUploadParams contains the request parameters for POST /file_actions/begin_upload/{path}.

Begin File Upload

type FileCollection ¶

type FileCollection []File

FileCollection is a list of File resources.

func (*FileCollection) ToSlice ¶

func (f *FileCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FileCollection) UnmarshalJSON ¶

func (f *FileCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FileComment ¶

type FileComment struct {
	// File Comment ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Comment body.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Reactions to this comment.
	Reactions []FileCommentReaction `json:"reactions,omitempty" path:"reactions,omitempty" url:"reactions,omitempty"`
	// File path.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
}

FileComment is a Files.com API resource.

func (FileComment) Identifier ¶

func (f FileComment) Identifier() interface{}

Identifier returns the resource ID.

func (*FileComment) UnmarshalJSON ¶

func (f *FileComment) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FileCommentCollection ¶

type FileCommentCollection []FileComment

FileCommentCollection is a list of FileComment resources.

func (*FileCommentCollection) ToSlice ¶

func (f *FileCommentCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FileCommentCollection) UnmarshalJSON ¶

func (f *FileCommentCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FileCommentCreateParams ¶

type FileCommentCreateParams struct {
	// Comment body. Required.
	Body string `url:"body" json:"body" path:"body"`
	// File path. Required.
	Path string `url:"path" json:"path" path:"path"`
}

FileCommentCreateParams contains the request parameters for POST /file_comments.

type FileCommentDeleteParams ¶

type FileCommentDeleteParams struct {
	// File Comment ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

FileCommentDeleteParams contains the request parameters for DELETE /file_comments/{id}.

type FileCommentListForParams ¶

type FileCommentListForParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

FileCommentListForParams contains the request parameters for GET /file_comments/files/{path}.

type FileCommentReaction ¶

type FileCommentReaction struct {
	// Reaction ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Emoji used in the reaction.
	Emoji string `json:"emoji,omitempty" path:"emoji,omitempty" url:"emoji,omitempty"`
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// ID of file comment to attach reaction to.
	FileCommentId int64 `json:"file_comment_id,omitempty" path:"file_comment_id,omitempty" url:"file_comment_id,omitempty"`
}

FileCommentReaction is a Files.com API resource.

func (FileCommentReaction) Identifier ¶

func (f FileCommentReaction) Identifier() interface{}

Identifier returns the resource ID.

func (*FileCommentReaction) UnmarshalJSON ¶

func (f *FileCommentReaction) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FileCommentReactionCollection ¶

type FileCommentReactionCollection []FileCommentReaction

FileCommentReactionCollection is a list of FileCommentReaction resources.

func (*FileCommentReactionCollection) ToSlice ¶

func (f *FileCommentReactionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FileCommentReactionCollection) UnmarshalJSON ¶

func (f *FileCommentReactionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FileCommentReactionCreateParams ¶

type FileCommentReactionCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// ID of file comment to attach reaction to. Required.
	FileCommentId int64 `url:"file_comment_id" json:"file_comment_id" path:"file_comment_id"`
	// Emoji to react with. Required.
	Emoji string `url:"emoji" json:"emoji" path:"emoji"`
}

FileCommentReactionCreateParams contains the request parameters for POST /file_comment_reactions.

type FileCommentReactionDeleteParams ¶

type FileCommentReactionDeleteParams struct {
	// File Comment Reaction ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

FileCommentReactionDeleteParams contains the request parameters for DELETE /file_comment_reactions/{id}.

type FileCommentUpdateParams ¶

type FileCommentUpdateParams struct {
	// File Comment ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Comment body. Required.
	Body string `url:"body" json:"body" path:"body"`
}

FileCommentUpdateParams contains the request parameters for PATCH /file_comments/{id}.

type FileCopyParams ¶

type FileCopyParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Copy destination path. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
	CopyBehaviors *bool `url:"copy_behaviors,omitempty" json:"copy_behaviors,omitempty" path:"copy_behaviors"`
	// Copy structure only?
	Structure *bool `url:"structure,omitempty" json:"structure,omitempty" path:"structure"`
	// Overwrite existing file(s) in the destination?
	Overwrite *bool `url:"overwrite,omitempty" json:"overwrite,omitempty" path:"overwrite"`
}

FileCopyParams contains the request parameters for POST /file_actions/copy/{path}.

Copy File/Folder

type FileCreateParams ¶

type FileCreateParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// The action to perform. Can be `append`, `attachment`, `end`, `upload`, `put`, or may not exist.
	Action string `url:"action,omitempty" json:"action,omitempty" path:"action"`
	// Custom metadata map to save when `action=end` completes the upload. Replaces existing metadata; an empty map clears it. No separate metadata-edit permission is required. Supported on native files and configured remote mounts, excluding remote server automount paths. Limited to 32 keys, 256 characters per key and 1024 characters per value.
	CustomMetadata interface{} `url:"custom_metadata,omitempty" json:"custom_metadata,omitempty" path:"custom_metadata"`
	// Nested parameters etags[etag] and etags[part].
	// etags[etag]: etag identifier. Required.
	// etags[part]: Part number. Required.
	EtagsParam []EtagsParam `url:"etags,omitempty" json:"etags,omitempty" path:"etags"`
	// Length of file.
	Length int64 `url:"length,omitempty" json:"length,omitempty" path:"length"`
	// Create parent directories if they do not exist?
	MkdirParents *bool `url:"mkdir_parents,omitempty" json:"mkdir_parents,omitempty" path:"mkdir_parents"`
	// Part if uploading a part.
	Part int64 `url:"part,omitempty" json:"part,omitempty" path:"part"`
	// How many parts to fetch?
	Parts int64 `url:"parts,omitempty" json:"parts,omitempty" path:"parts"`
	// User provided modification time.
	ProvidedMtime *time.Time `url:"provided_mtime,omitempty" json:"provided_mtime,omitempty" path:"provided_mtime"`
	Ref           string     `url:"ref,omitempty" json:"ref,omitempty" path:"ref"`
	// File byte offset to restart from.
	Restart int64 `url:"restart,omitempty" json:"restart,omitempty" path:"restart"`
	// Size of file.
	Size int64 `url:"size,omitempty" json:"size,omitempty" path:"size"`
	// If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
	CopyBehaviors *bool `url:"copy_behaviors,omitempty" json:"copy_behaviors,omitempty" path:"copy_behaviors"`
	// If copying folder, copy just the structure?
	Structure string `url:"structure,omitempty" json:"structure,omitempty" path:"structure"`
	// Allow file rename instead of overwrite?
	WithRename *bool `url:"with_rename,omitempty" json:"with_rename,omitempty" path:"with_rename"`
	// If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
	BufferedUpload *bool `url:"buffered_upload,omitempty" json:"buffered_upload,omitempty" path:"buffered_upload"`
	// Include optional direct connection information for a direct Agent transfer attempt?
	WithDirectConnectionInfo *bool `url:"with_direct_connection_info,omitempty" json:"with_direct_connection_info,omitempty" path:"with_direct_connection_info"`
	// Sent to the API as action_attributes.
	ActionAttributes map[string]any `url:"action_attributes,omitempty" json:"action_attributes,omitempty" path:"action_attributes"`
}

FileCreateParams contains the request parameters for POST /files/{path}.

type FileDeleteParams ¶

type FileDeleteParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// If true, will recursively delete folders. Otherwise, will error on non-empty folders.
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
}

FileDeleteParams contains the request parameters for DELETE /files/{path}.

type FileDownloadParams ¶

type FileDownloadParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Can be blank, `redirect` or `stat`. If set to `stat`, we will return file information but without a download URL, and without logging a download. If set to `redirect` we will serve a 302 redirect directly to the file. This is used for integrations with Zapier, and is not recommended for most integrations.
	Action string `url:"action,omitempty" json:"action,omitempty" path:"action"`
	// Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
	PreviewSize string `url:"preview_size,omitempty" json:"preview_size,omitempty" path:"preview_size"`
	// Include file preview information?
	WithPreviews *bool `url:"with_previews,omitempty" json:"with_previews,omitempty" path:"with_previews"`
	// Include file priority color information?
	WithPriorityColor *bool `url:"with_priority_color,omitempty" json:"with_priority_color,omitempty" path:"with_priority_color"`
	// Include optional direct connection information for a direct Agent transfer attempt?
	WithDirectConnectionInfo *bool `url:"with_direct_connection_info,omitempty" json:"with_direct_connection_info,omitempty" path:"with_direct_connection_info"`
	// Not sent to the API.
	File File `url:"-" required:"false" json:"-"`
}

FileDownloadParams contains the request parameters for GET /files/{path}.

Download File

type FileFindParams ¶

type FileFindParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
	PreviewSize string `url:"preview_size,omitempty" json:"preview_size,omitempty" path:"preview_size"`
	// Include file preview information?
	WithPreviews *bool `url:"with_previews,omitempty" json:"with_previews,omitempty" path:"with_previews"`
	// Include file priority color information?
	WithPriorityColor *bool `url:"with_priority_color,omitempty" json:"with_priority_color,omitempty" path:"with_priority_color"`
}

FileFindParams contains the request parameters for GET /file_actions/metadata/{path}.

type FileGpgDecryptParams ¶ added in v3.3.151

type FileGpgDecryptParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Destination file path for the decrypted file. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// GPG Key IDs to decrypt with. If omitted, every accessible private GPG key in the source workspace is used.
	GpgKeyIds []int64 `url:"gpg_key_ids,omitempty" json:"gpg_key_ids,omitempty" path:"gpg_key_ids"`
	// Partner ID whose GPG keys should be used for decryption.
	GpgKeyPartnerId int64 `url:"gpg_key_partner_id,omitempty" json:"gpg_key_partner_id,omitempty" path:"gpg_key_partner_id"`
	// Use every accessible private GPG key in the source workspace for decryption.
	UseAllPrivateKeys *bool `url:"use_all_private_keys,omitempty" json:"use_all_private_keys,omitempty" path:"use_all_private_keys"`
	// Ignore errors from the MDC (modification detection code) check.
	IgnoreMdcError *bool `url:"ignore_mdc_error,omitempty" json:"ignore_mdc_error,omitempty" path:"ignore_mdc_error"`
	// Overwrite existing file in the destination?
	Overwrite *bool `url:"overwrite,omitempty" json:"overwrite,omitempty" path:"overwrite"`
}

FileGpgDecryptParams contains the request parameters for POST /file_actions/gpg_decrypt/{path}.

Decrypt a GPG-encrypted file and save it to a destination path

type FileGpgEncryptParams ¶ added in v3.3.151

type FileGpgEncryptParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Destination file path for the encrypted file. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// GPG Key IDs to encrypt with.
	GpgKeyIds []int64 `url:"gpg_key_ids,omitempty" json:"gpg_key_ids,omitempty" path:"gpg_key_ids"`
	// Partner ID whose GPG keys should be used for encryption.
	GpgKeyPartnerId int64 `url:"gpg_key_partner_id,omitempty" json:"gpg_key_partner_id,omitempty" path:"gpg_key_partner_id"`
	// Optional GPG Key ID to sign with.
	SigningKeyId int64 `url:"signing_key_id,omitempty" json:"signing_key_id,omitempty" path:"signing_key_id"`
	// Output ASCII-armored encrypted data.
	Armor *bool `url:"armor,omitempty" json:"armor,omitempty" path:"armor"`
	// Overwrite existing file in the destination?
	Overwrite *bool `url:"overwrite,omitempty" json:"overwrite,omitempty" path:"overwrite"`
}

FileGpgEncryptParams contains the request parameters for POST /file_actions/gpg_encrypt/{path}.

Encrypt a file with GPG and save it to a destination path

type FileMigration ¶

type FileMigration struct {
	// File migration ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Source path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Destination path.
	DestPath string `json:"dest_path,omitempty" path:"dest_path,omitempty" url:"dest_path,omitempty"`
	// Reason for the failure, if applicable.
	FailureMessage string `json:"failure_message,omitempty" path:"failure_message,omitempty" url:"failure_message,omitempty"`
	// Number of files processed.
	FilesMoved int64 `json:"files_moved,omitempty" path:"files_moved,omitempty" url:"files_moved,omitempty"`
	FilesTotal int64 `json:"files_total,omitempty" path:"files_total,omitempty" url:"files_total,omitempty"`
	// The type of operation.
	Operation string `json:"operation,omitempty" path:"operation,omitempty" url:"operation,omitempty"`
	// Region.
	Region string `json:"region,omitempty" path:"region,omitempty" url:"region,omitempty"`
	// Status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Link to download the log file for this migration.
	LogUrl string `json:"log_url,omitempty" path:"log_url,omitempty" url:"log_url,omitempty"`
}

FileMigration is a Files.com API resource.

func (FileMigration) Identifier ¶

func (f FileMigration) Identifier() interface{}

Identifier returns the resource ID.

func (*FileMigration) UnmarshalJSON ¶

func (f *FileMigration) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FileMigrationCollection ¶

type FileMigrationCollection []FileMigration

FileMigrationCollection is a list of FileMigration resources.

func (*FileMigrationCollection) ToSlice ¶

func (f *FileMigrationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FileMigrationCollection) UnmarshalJSON ¶

func (f *FileMigrationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FileMigrationFindParams ¶

type FileMigrationFindParams struct {
	// File Migration ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

FileMigrationFindParams contains the request parameters for GET /file_migrations/{id}.

type FileMigrationLog ¶ added in v3.1.48

type FileMigrationLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// File Migration ID.
	FileMigrationId int64 `json:"file_migration_id,omitempty" path:"file_migration_id,omitempty" url:"file_migration_id,omitempty"`
	// Destination path, for moves and copies.
	DestPath string `json:"dest_path,omitempty" path:"dest_path,omitempty" url:"dest_path,omitempty"`
	// Error type, if applicable.
	ErrorType string `json:"error_type,omitempty" path:"error_type,omitempty" url:"error_type,omitempty"`
	// Message.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Operation type.
	Operation string `json:"operation,omitempty" path:"operation,omitempty" url:"operation,omitempty"`
	// File path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

FileMigrationLog is a Files.com API resource.

func (FileMigrationLog) Identifier ¶ added in v3.1.48

func (f FileMigrationLog) Identifier() interface{}

Identifier returns the resource path.

func (*FileMigrationLog) UnmarshalJSON ¶ added in v3.1.48

func (f *FileMigrationLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FileMigrationLogCollection ¶ added in v3.1.48

type FileMigrationLogCollection []FileMigrationLog

FileMigrationLogCollection is a list of FileMigrationLog resources.

func (*FileMigrationLogCollection) ToSlice ¶ added in v3.1.48

func (f *FileMigrationLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FileMigrationLogCollection) UnmarshalJSON ¶ added in v3.1.48

func (f *FileMigrationLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FileMigrationLogListParams ¶ added in v3.1.48

type FileMigrationLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `file_migration_id`, `operation`, `status`, `type` or `created_at`. Valid field combinations are `[ file_migration_id ]`, `[ operation ]`, `[ status ]`, `[ type ]`, `[ created_at ]`, `[ file_migration_id, operation ]`, `[ file_migration_id, status ]`, `[ file_migration_id, type ]`, `[ file_migration_id, created_at ]`, `[ operation, status ]`, `[ operation, type ]`, `[ operation, created_at ]`, `[ status, type ]`, `[ status, created_at ]`, `[ type, created_at ]`, `[ file_migration_id, operation, status ]`, `[ file_migration_id, operation, type ]`, `[ file_migration_id, operation, created_at ]`, `[ file_migration_id, status, type ]`, `[ file_migration_id, status, created_at ]`, `[ file_migration_id, type, created_at ]`, `[ operation, status, type ]`, `[ operation, status, created_at ]`, `[ operation, type, created_at ]`, `[ status, type, created_at ]`, `[ file_migration_id, operation, status, type ]`, `[ file_migration_id, operation, status, created_at ]`, `[ file_migration_id, operation, type, created_at ]`, `[ file_migration_id, status, type, created_at ]`, `[ operation, status, type, created_at ]` or `[ file_migration_id, operation, status, type, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ file_migration_id ]`, `[ operation ]`, `[ status ]`, `[ type ]`, `[ created_at ]`, `[ file_migration_id, operation ]`, `[ file_migration_id, status ]`, `[ file_migration_id, type ]`, `[ file_migration_id, created_at ]`, `[ operation, status ]`, `[ operation, type ]`, `[ operation, created_at ]`, `[ status, type ]`, `[ status, created_at ]`, `[ type, created_at ]`, `[ file_migration_id, operation, status ]`, `[ file_migration_id, operation, type ]`, `[ file_migration_id, operation, created_at ]`, `[ file_migration_id, status, type ]`, `[ file_migration_id, status, created_at ]`, `[ file_migration_id, type, created_at ]`, `[ operation, status, type ]`, `[ operation, status, created_at ]`, `[ operation, type, created_at ]`, `[ status, type, created_at ]`, `[ file_migration_id, operation, status, type ]`, `[ file_migration_id, operation, status, created_at ]`, `[ file_migration_id, operation, type, created_at ]`, `[ file_migration_id, status, type, created_at ]`, `[ operation, status, type, created_at ]` or `[ file_migration_id, operation, status, type, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ file_migration_id ]`, `[ operation ]`, `[ status ]`, `[ type ]`, `[ created_at ]`, `[ file_migration_id, operation ]`, `[ file_migration_id, status ]`, `[ file_migration_id, type ]`, `[ file_migration_id, created_at ]`, `[ operation, status ]`, `[ operation, type ]`, `[ operation, created_at ]`, `[ status, type ]`, `[ status, created_at ]`, `[ type, created_at ]`, `[ file_migration_id, operation, status ]`, `[ file_migration_id, operation, type ]`, `[ file_migration_id, operation, created_at ]`, `[ file_migration_id, status, type ]`, `[ file_migration_id, status, created_at ]`, `[ file_migration_id, type, created_at ]`, `[ operation, status, type ]`, `[ operation, status, created_at ]`, `[ operation, type, created_at ]`, `[ status, type, created_at ]`, `[ file_migration_id, operation, status, type ]`, `[ file_migration_id, operation, status, created_at ]`, `[ file_migration_id, operation, type, created_at ]`, `[ file_migration_id, status, type, created_at ]`, `[ operation, status, type, created_at ]` or `[ file_migration_id, operation, status, type, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ file_migration_id ]`, `[ operation ]`, `[ status ]`, `[ type ]`, `[ created_at ]`, `[ file_migration_id, operation ]`, `[ file_migration_id, status ]`, `[ file_migration_id, type ]`, `[ file_migration_id, created_at ]`, `[ operation, status ]`, `[ operation, type ]`, `[ operation, created_at ]`, `[ status, type ]`, `[ status, created_at ]`, `[ type, created_at ]`, `[ file_migration_id, operation, status ]`, `[ file_migration_id, operation, type ]`, `[ file_migration_id, operation, created_at ]`, `[ file_migration_id, status, type ]`, `[ file_migration_id, status, created_at ]`, `[ file_migration_id, type, created_at ]`, `[ operation, status, type ]`, `[ operation, status, created_at ]`, `[ operation, type, created_at ]`, `[ status, type, created_at ]`, `[ file_migration_id, operation, status, type ]`, `[ file_migration_id, operation, status, created_at ]`, `[ file_migration_id, operation, type, created_at ]`, `[ file_migration_id, status, type, created_at ]`, `[ operation, status, type, created_at ]` or `[ file_migration_id, operation, status, type, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ file_migration_id ]`, `[ operation ]`, `[ status ]`, `[ type ]`, `[ created_at ]`, `[ file_migration_id, operation ]`, `[ file_migration_id, status ]`, `[ file_migration_id, type ]`, `[ file_migration_id, created_at ]`, `[ operation, status ]`, `[ operation, type ]`, `[ operation, created_at ]`, `[ status, type ]`, `[ status, created_at ]`, `[ type, created_at ]`, `[ file_migration_id, operation, status ]`, `[ file_migration_id, operation, type ]`, `[ file_migration_id, operation, created_at ]`, `[ file_migration_id, status, type ]`, `[ file_migration_id, status, created_at ]`, `[ file_migration_id, type, created_at ]`, `[ operation, status, type ]`, `[ operation, status, created_at ]`, `[ operation, type, created_at ]`, `[ status, type, created_at ]`, `[ file_migration_id, operation, status, type ]`, `[ file_migration_id, operation, status, created_at ]`, `[ file_migration_id, operation, type, created_at ]`, `[ file_migration_id, status, type, created_at ]`, `[ operation, status, type, created_at ]` or `[ file_migration_id, operation, status, type, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

FileMigrationLogListParams contains the request parameters for GET /file_migration_logs.

type FileMoveParams ¶

type FileMoveParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Move destination path. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// Overwrite existing file(s) in the destination?
	Overwrite *bool `url:"overwrite,omitempty" json:"overwrite,omitempty" path:"overwrite"`
}

FileMoveParams contains the request parameters for POST /file_actions/move/{path}.

Move File/Folder

type FileTransformParams ¶ added in v3.3.164

type FileTransformParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Destination file path for the transformed output. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// Transform type. Supported values are `image_convert`, `document_convert`, and `files_transform_script_execute`. Required.
	TransformType string `url:"transform_type" json:"transform_type" path:"transform_type"`
	// Destination format to create. Required.
	TargetFormat string `url:"target_format" json:"target_format" path:"target_format"`
	// Files TransformScript source. Required when transform_type is `files_transform_script_execute`.
	Script string `url:"script,omitempty" json:"script,omitempty" path:"script"`
	// Maximum output width for image_convert.
	Width int64 `url:"width,omitempty" json:"width,omitempty" path:"width"`
	// Maximum output height for image_convert.
	Height int64 `url:"height,omitempty" json:"height,omitempty" path:"height"`
	// Overwrite existing file in the destination?
	Overwrite *bool `url:"overwrite,omitempty" json:"overwrite,omitempty" path:"overwrite"`
}

FileTransformParams contains the request parameters for POST /file_actions/transform/{path}.

Transform a file and save the output to a destination path

type FileUnzipParams ¶ added in v3.3.33

type FileUnzipParams struct {
	// ZIP file path to extract. Required.
	Path string `url:"path" json:"path" path:"path"`
	// Destination folder path for extracted files. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// Optional single entry filename to extract.
	Filename string `url:"filename,omitempty" json:"filename,omitempty" path:"filename"`
	// Overwrite existing files in the destination?
	Overwrite *bool `url:"overwrite,omitempty" json:"overwrite,omitempty" path:"overwrite"`
}

FileUnzipParams contains the request parameters for POST /file_actions/unzip.

Extract a ZIP file to a destination folder

type FileUpdateParams ¶

type FileUpdateParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
	CustomMetadata interface{} `url:"custom_metadata,omitempty" json:"custom_metadata,omitempty" path:"custom_metadata"`
	// Modified time of file.
	ProvidedMtime *time.Time `url:"provided_mtime,omitempty" json:"provided_mtime,omitempty" path:"provided_mtime"`
	// Priority/Bookmark color of file.
	PriorityColor string `url:"priority_color,omitempty" json:"priority_color,omitempty" path:"priority_color"`
}

FileUpdateParams contains the request parameters for PATCH /files/{path}.

type FileUploadPart ¶

type FileUploadPart struct {
	// Content-Type and File to send.
	Send interface{} `json:"send,omitempty" path:"send,omitempty" url:"send,omitempty"`
	// Type of upload.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// If `true`, this file exists and you may wish to ask the user for overwrite confirmation.
	AskAboutOverwrites *bool `json:"ask_about_overwrites,omitempty" path:"ask_about_overwrites,omitempty" url:"ask_about_overwrites,omitempty"`
	// Number of parts in the upload.
	AvailableParts int64 `json:"available_parts,omitempty" path:"available_parts,omitempty" url:"available_parts,omitempty"`
	// Date/time of when this Upload part expires and the URL cannot be used any more.
	Expires string `json:"expires,omitempty" path:"expires,omitempty" url:"expires,omitempty"`
	// Additional upload headers to provide as part of the upload.
	Headers interface{} `json:"headers,omitempty" path:"headers,omitempty" url:"headers,omitempty"`
	// HTTP Method to use for uploading the part, usually `PUT`.
	HttpMethod string `json:"http_method,omitempty" path:"http_method,omitempty" url:"http_method,omitempty"`
	// Size in bytes for this part.
	NextPartsize int64 `json:"next_partsize,omitempty" path:"next_partsize,omitempty" url:"next_partsize,omitempty"`
	// If `true`, multiple parts may be uploaded in parallel. If `false`, be sure to only upload one part at a time, in order.
	ParallelParts *bool `json:"parallel_parts,omitempty" path:"parallel_parts,omitempty" url:"parallel_parts,omitempty"`
	// If `true`, parts may be retried. If `false`, a part cannot be retried and the upload should be restarted.
	RetryParts *bool `json:"retry_parts,omitempty" path:"retry_parts,omitempty" url:"retry_parts,omitempty"`
	// Additional HTTP parameters to send with the upload.
	Parameters interface{} `json:"parameters,omitempty" path:"parameters,omitempty" url:"parameters,omitempty"`
	// Number of this upload part.
	PartNumber int64 `json:"part_number,omitempty" path:"part_number,omitempty" url:"part_number,omitempty"`
	// Size in bytes for the next upload part.
	Partsize int64 `json:"partsize,omitempty" path:"partsize,omitempty" url:"partsize,omitempty"`
	// New file path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Reference name for this upload part.
	Ref string `json:"ref,omitempty" path:"ref,omitempty" url:"ref,omitempty"`
	// URI to upload this part to.
	UploadUri string `json:"upload_uri,omitempty" path:"upload_uri,omitempty" url:"upload_uri,omitempty"`
	// Optional direct connection information for direct Agent transfer attempts.
	DirectConnectionInfo DirectConnectionInfo `json:"direct_connection_info,omitempty" path:"direct_connection_info,omitempty" url:"direct_connection_info,omitempty"`
}

FileUploadPart is a Files.com API resource.

func (FileUploadPart) ExpiresTime ¶

func (f FileUploadPart) ExpiresTime() time.Time

func (FileUploadPart) Identifier ¶

func (f FileUploadPart) Identifier() interface{}

Identifier returns the resource path.

func (*FileUploadPart) UnmarshalJSON ¶

func (f *FileUploadPart) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

func (FileUploadPart) UploadExpires ¶

func (f FileUploadPart) UploadExpires() time.Time

UploadExpires only valid on first part request

type FileUploadPartCollection ¶

type FileUploadPartCollection []FileUploadPart

FileUploadPartCollection is a list of FileUploadPart resources.

func (*FileUploadPartCollection) ToSlice ¶

func (f *FileUploadPartCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FileUploadPartCollection) UnmarshalJSON ¶

func (f *FileUploadPartCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FileZipListContentsParams ¶ added in v3.3.33

type FileZipListContentsParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
}

FileZipListContentsParams contains the request parameters for GET /file_actions/zip_list/{path}.

List the contents of a ZIP file

type FileZipParams ¶ added in v3.3.33

type FileZipParams struct {
	// Paths to include in the ZIP. Required.
	Paths []string `url:"paths" json:"paths" path:"paths"`
	// Destination file path for the ZIP. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// Overwrite existing file in the destination?
	Overwrite *bool `url:"overwrite,omitempty" json:"overwrite,omitempty" path:"overwrite"`
}

FileZipParams contains the request parameters for POST /file_actions/zip.

type FilesMigrationLog ¶

type FilesMigrationLog struct {
	Type      string    `json:"type"`
	Timestamp time.Time `json:"timestamp"`
	Operation string    `json:"operation"`
	Status    string    `json:"status"`
	FileType  string    `json:"file_type"`
	Path      string    `json:"path"`
	DestPath  string    `json:"dest_path"`
}

type FilesMigrationLogIter ¶

type FilesMigrationLogIter struct {
	context.Context
	Config
	FileMigration
	// contains filtered or unexported fields
}

FilesMigrationLogIter Transforms migrations into a log iterator

func (*FilesMigrationLogIter) Close ¶ added in v3.3.319

func (l *FilesMigrationLogIter) Close() error

Close releases the log response and stops iteration. Call it when stopping before Next returns false; exhaustion and decoding failures close automatically.

func (*FilesMigrationLogIter) Current ¶

func (l *FilesMigrationLogIter) Current() interface{}

func (*FilesMigrationLogIter) Err ¶

func (l *FilesMigrationLogIter) Err() error

func (FilesMigrationLogIter) Init ¶

func (*FilesMigrationLogIter) Next ¶

func (l *FilesMigrationLogIter) Next() bool

type Folder ¶

type Folder struct {
	// File/Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// User ID of the User who created the file/folder.
	CreatedById int64 `json:"created_by_id,omitempty" path:"created_by_id,omitempty" url:"created_by_id,omitempty"`
	// ID of the API key that created the file/folder.
	CreatedByApiKeyId int64 `json:"created_by_api_key_id,omitempty" path:"created_by_api_key_id,omitempty" url:"created_by_api_key_id,omitempty"`
	// ID of the AS2 Incoming Message that created the file/folder.
	CreatedByAs2IncomingMessageId int64 `` /* 154-byte string literal not displayed */
	// ID of the Automation that created the file/folder.
	CreatedByAutomationId int64 `json:"created_by_automation_id,omitempty" path:"created_by_automation_id,omitempty" url:"created_by_automation_id,omitempty"`
	// ID of the Bundle Registration that created the file/folder.
	CreatedByBundleRegistrationId int64 `` /* 151-byte string literal not displayed */
	// ID of the Inbox that created the file/folder.
	CreatedByInboxId int64 `json:"created_by_inbox_id,omitempty" path:"created_by_inbox_id,omitempty" url:"created_by_inbox_id,omitempty"`
	// ID of the Remote Server that created the file/folder.
	CreatedByRemoteServerId int64 `` /* 133-byte string literal not displayed */
	// ID of the Sync that created the file/folder.
	CreatedBySyncId int64 `json:"created_by_sync_id,omitempty" path:"created_by_sync_id,omitempty" url:"created_by_sync_id,omitempty"`
	// Custom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
	CustomMetadata interface{} `json:"custom_metadata,omitempty" path:"custom_metadata,omitempty" url:"custom_metadata,omitempty"`
	// File/Folder display name.
	DisplayName string `json:"display_name,omitempty" path:"display_name,omitempty" url:"display_name,omitempty"`
	// Type: `directory` or `file`.
	Type string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
	// File/Folder size.
	Size int64 `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
	// File created date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// User ID of the User who last modified the file/folder.
	LastModifiedById int64 `json:"last_modified_by_id,omitempty" path:"last_modified_by_id,omitempty" url:"last_modified_by_id,omitempty"`
	// ID of the API key that last modified the file/folder.
	LastModifiedByApiKeyId int64 `` /* 133-byte string literal not displayed */
	// ID of the Automation that last modified the file/folder.
	LastModifiedByAutomationId int64 `` /* 142-byte string literal not displayed */
	// ID of the Bundle Registration that last modified the file/folder.
	LastModifiedByBundleRegistrationId int64 `` /* 169-byte string literal not displayed */
	// ID of the Remote Server that last modified the file/folder.
	LastModifiedByRemoteServerId int64 `` /* 151-byte string literal not displayed */
	// ID of the Sync that last modified the file/folder.
	LastModifiedBySyncId int64 `json:"last_modified_by_sync_id,omitempty" path:"last_modified_by_sync_id,omitempty" url:"last_modified_by_sync_id,omitempty"`
	// File last modified date/time, according to the server. This is the timestamp of the last Files.com operation of the file, regardless of what modified timestamp was sent.
	Mtime *time.Time `json:"mtime,omitempty" path:"mtime,omitempty" url:"mtime,omitempty"`
	// File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
	ProvidedMtime *time.Time `json:"provided_mtime,omitempty" path:"provided_mtime,omitempty" url:"provided_mtime,omitempty"`
	// File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Crc32 string `json:"crc32,omitempty" path:"crc32,omitempty" url:"crc32,omitempty"`
	// File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Md5 string `json:"md5,omitempty" path:"md5,omitempty" url:"md5,omitempty"`
	// File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Sha1 string `json:"sha1,omitempty" path:"sha1,omitempty" url:"sha1,omitempty"`
	// File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
	Sha256 string `json:"sha256,omitempty" path:"sha256,omitempty" url:"sha256,omitempty"`
	// MIME Type. This is determined by the filename extension and is not stored separately internally.
	MimeType string `json:"mime_type,omitempty" path:"mime_type,omitempty" url:"mime_type,omitempty"`
	// Region location.
	Region string `json:"region,omitempty" path:"region,omitempty" url:"region,omitempty"`
	// A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination.
	Permissions string `json:"permissions,omitempty" path:"permissions,omitempty" url:"permissions,omitempty"`
	// Are subfolders locked and unable to be modified?
	SubfoldersLocked *bool `json:"subfolders_locked?,omitempty" path:"subfolders_locked?,omitempty" url:"subfolders_locked?,omitempty"`
	// Is this folder locked and unable to be modified?
	IsLocked *bool `json:"is_locked,omitempty" path:"is_locked,omitempty" url:"is_locked,omitempty"`
	// Link to download file. Provided only in response to a download request.
	DownloadUri string `json:"download_uri,omitempty" path:"download_uri,omitempty" url:"download_uri,omitempty"`
	// Optional direct connection information for direct Agent transfer attempts.
	DirectConnectionInfo DirectConnectionInfo `json:"direct_connection_info,omitempty" path:"direct_connection_info,omitempty" url:"direct_connection_info,omitempty"`
	// Bookmark/priority color of file/folder.
	PriorityColor string `json:"priority_color,omitempty" path:"priority_color,omitempty" url:"priority_color,omitempty"`
	// File preview ID.
	PreviewId int64 `json:"preview_id,omitempty" path:"preview_id,omitempty" url:"preview_id,omitempty"`
	// File preview.
	Preview Preview `json:"preview,omitempty" path:"preview,omitempty" url:"preview,omitempty"`
	// Create parent directories if they do not exist?
	MkdirParents *bool `json:"mkdir_parents,omitempty" path:"mkdir_parents,omitempty" url:"mkdir_parents,omitempty"`
}

Folder is a Files.com API resource.

func (Folder) Identifier ¶

func (f Folder) Identifier() interface{}

Identifier returns the resource path.

func (Folder) IsDir ¶

func (f Folder) IsDir() bool

IsDir reports whether the API resource type is "directory".

func (*Folder) ToFile ¶

func (f *Folder) ToFile() (File, error)

ToFile copies the fields shared with File through their JSON representation.

func (*Folder) UnmarshalJSON ¶

func (f *Folder) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FolderCollection ¶

type FolderCollection []Folder

FolderCollection is a list of Folder resources.

func (*FolderCollection) ToSlice ¶

func (f *FolderCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FolderCollection) UnmarshalJSON ¶

func (f *FolderCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FolderCreateParams ¶

type FolderCreateParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Create parent directories if they do not exist?
	MkdirParents *bool `url:"mkdir_parents,omitempty" json:"mkdir_parents,omitempty" path:"mkdir_parents"`
	// User provided modification time.
	ProvidedMtime *time.Time `url:"provided_mtime,omitempty" json:"provided_mtime,omitempty" path:"provided_mtime"`
}

FolderCreateParams contains the request parameters for POST /folders/{path}.

type FolderListForParams ¶

type FolderListForParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Request a preview size. Can be `small` (default), `large`, `xlarge`, or `pdf`.
	PreviewSize string `url:"preview_size,omitempty" json:"preview_size,omitempty" path:"preview_size"`
	// Search by field and direction. Valid fields are `path`, `size`, `modified_at_datetime`, `provided_modified_at`. Valid directions are `asc` and `desc`. Defaults to `{"path":"asc"}`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If specified, will search the folders/files list by name. Ignores text before last `/`. This is the same API used by the search bar in the web UI when running 'Search This Folder'. Search results are a best effort, not real time, and not guaranteed to perfectly match the latest folder listing. Results may be truncated if more than 1,000 possible matches exist. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
	Search string `url:"search,omitempty" json:"search,omitempty" path:"search"`
	// If provided, the search string in `search` will search for files where this custom metadata key matches the value sent in `search`. Set this to `*` to allow any metadata key to match the value sent in `search`.
	SearchCustomMetadataKey string `url:"search_custom_metadata_key,omitempty" json:"search_custom_metadata_key,omitempty" path:"search_custom_metadata_key"`
	// Search entire site? If true, we will search the entire site. Do not provide a path when using this parameter. This is the same API used by the search bar in the web UI when running 'Search All Files'. Search results are a best effort, not real time, and not guaranteed to match every file. This field should only be used for ad-hoc (human) searching, and not as part of an automated process.
	SearchAll *bool `url:"search_all,omitempty" json:"search_all,omitempty" path:"search_all"`
	// Include file previews?
	WithPreviews *bool `url:"with_previews,omitempty" json:"with_previews,omitempty" path:"with_previews"`
	// Include file priority color information?
	WithPriorityColor *bool `url:"with_priority_color,omitempty" json:"with_priority_color,omitempty" path:"with_priority_color"`
	// Type of objects to return. Can be `folder` or `file`.
	Type string `url:"type,omitempty" json:"type,omitempty" path:"type"`
	// If provided, will only return files/folders modified after this time. Can be used only in combination with `type` filter.
	ModifiedAtDatetime *time.Time `url:"modified_at_datetime,omitempty" json:"modified_at_datetime,omitempty" path:"modified_at_datetime"`
	// Not sent to the API.
	ConcurrencyManager lib.ConcurrencyManagerWithSubWorker `url:"-" required:"false" json:"-"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

FolderListForParams contains the request parameters for GET /folders/{path}.

type FormField ¶

type FormField struct {
	// Form field id.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Label to be displayed.
	Label string `json:"label,omitempty" path:"label,omitempty" url:"label,omitempty"`
	// Is this a required field?
	Required *bool `json:"required,omitempty" path:"required,omitempty" url:"required,omitempty"`
	// Help text to be displayed.
	HelpText string `json:"help_text,omitempty" path:"help_text,omitempty" url:"help_text,omitempty"`
	// Type of Field.
	FieldType string `json:"field_type,omitempty" path:"field_type,omitempty" url:"field_type,omitempty"`
	// Options to display for radio and dropdown.
	OptionsForSelect []string `json:"options_for_select,omitempty" path:"options_for_select,omitempty" url:"options_for_select,omitempty"`
	// Default option for radio and dropdown.
	DefaultOption string `json:"default_option,omitempty" path:"default_option,omitempty" url:"default_option,omitempty"`
	// Form field set id.
	FormFieldSetId int64 `json:"form_field_set_id,omitempty" path:"form_field_set_id,omitempty" url:"form_field_set_id,omitempty"`
}

FormField is a Files.com API resource.

func (FormField) Identifier ¶

func (f FormField) Identifier() interface{}

Identifier returns the resource ID.

func (*FormField) UnmarshalJSON ¶

func (f *FormField) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FormFieldCollection ¶

type FormFieldCollection []FormField

FormFieldCollection is a list of FormField resources.

func (*FormFieldCollection) ToSlice ¶

func (f *FormFieldCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FormFieldCollection) UnmarshalJSON ¶

func (f *FormFieldCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FormFieldSet ¶

type FormFieldSet struct {
	// Form field set id.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Title to be displayed.
	Title string `json:"title,omitempty" path:"title,omitempty" url:"title,omitempty"`
	// Reject answers over 1024 characters or more than 32 answered custom fields to ensure complete file metadata capture.
	RequireCompleteMetadataCapture *bool `` /* 151-byte string literal not displayed */
	// Layout of the form.
	FormLayout []int64 `json:"form_layout,omitempty" path:"form_layout,omitempty" url:"form_layout,omitempty"`
	// Associated form field definitions; authenticated form field set responses include historical definitions, while form_layout identifies current fields.
	FormFields []FormField `json:"form_fields,omitempty" path:"form_fields,omitempty" url:"form_fields,omitempty"`
	// Any associated InboxRegistrations or BundleRegistrations can be saved without providing name.
	SkipName *bool `json:"skip_name,omitempty" path:"skip_name,omitempty" url:"skip_name,omitempty"`
	// Any associated InboxRegistrations or BundleRegistrations can be saved without providing email.
	SkipEmail *bool `json:"skip_email,omitempty" path:"skip_email,omitempty" url:"skip_email,omitempty"`
	// Any associated InboxRegistrations or BundleRegistrations can be saved without providing company.
	SkipCompany *bool `json:"skip_company,omitempty" path:"skip_company,omitempty" url:"skip_company,omitempty"`
	// Form Field Set is in use by an active Inbox / Bundle / Inbox Registration / Bundle Registration.
	InUse *bool `json:"in_use,omitempty" path:"in_use,omitempty" url:"in_use,omitempty"`
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Workspace ID.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
}

FormFieldSet is a Files.com API resource.

func (FormFieldSet) Identifier ¶

func (f FormFieldSet) Identifier() interface{}

Identifier returns the resource ID.

func (*FormFieldSet) UnmarshalJSON ¶

func (f *FormFieldSet) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FormFieldSetCollection ¶

type FormFieldSetCollection []FormFieldSet

FormFieldSetCollection is a list of FormFieldSet resources.

func (*FormFieldSetCollection) ToSlice ¶

func (f *FormFieldSetCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FormFieldSetCollection) UnmarshalJSON ¶

func (f *FormFieldSetCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FormFieldSetCreateParams ¶

type FormFieldSetCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Title to be displayed.
	Title string `url:"title,omitempty" json:"title,omitempty" path:"title"`
	// Reject answers over 1024 characters or more than 32 answered custom fields to ensure complete file metadata capture.
	RequireCompleteMetadataCapture *bool `` /* 141-byte string literal not displayed */
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Skip validating form email.
	SkipEmail *bool `url:"skip_email,omitempty" json:"skip_email,omitempty" path:"skip_email"`
	// Skip validating form name.
	SkipName *bool `url:"skip_name,omitempty" json:"skip_name,omitempty" path:"skip_name"`
	// Skip validating company.
	SkipCompany *bool `url:"skip_company,omitempty" json:"skip_company,omitempty" path:"skip_company"`
	// Each element is an object with these keys:
	// id (integer, int32): Id of existing Form Field.
	// label (string): Label of Field.
	// field_type (string): Type of field: text, text_area, dropdown, radio, or date.
	// help_text (string): Help text of field.
	// required (boolean): Is this a required field? (default true).
	// options_for_select (string): List of options for dropdown or radio.
	// default_option (string): Default option to be preselected in the dropdown or radio.
	FormFields []map[string]interface{} `url:"form_fields,omitempty" json:"form_fields,omitempty" path:"form_fields"`
}

FormFieldSetCreateParams contains the request parameters for POST /form_field_sets.

type FormFieldSetDeleteParams ¶

type FormFieldSetDeleteParams struct {
	// Form Field Set ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

FormFieldSetDeleteParams contains the request parameters for DELETE /form_field_sets/{id}.

type FormFieldSetFindParams ¶

type FormFieldSetFindParams struct {
	// Form Field Set ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

FormFieldSetFindParams contains the request parameters for GET /form_field_sets/{id}.

type FormFieldSetListParams ¶

type FormFieldSetListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

FormFieldSetListParams contains the request parameters for GET /form_field_sets.

type FormFieldSetUpdateParams ¶

type FormFieldSetUpdateParams struct {
	// Form Field Set ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Title to be displayed.
	Title string `url:"title,omitempty" json:"title,omitempty" path:"title"`
	// Reject answers over 1024 characters or more than 32 answered custom fields to ensure complete file metadata capture.
	RequireCompleteMetadataCapture *bool `` /* 141-byte string literal not displayed */
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Skip validating form email.
	SkipEmail *bool `url:"skip_email,omitempty" json:"skip_email,omitempty" path:"skip_email"`
	// Skip validating form name.
	SkipName *bool `url:"skip_name,omitempty" json:"skip_name,omitempty" path:"skip_name"`
	// Skip validating company.
	SkipCompany *bool `url:"skip_company,omitempty" json:"skip_company,omitempty" path:"skip_company"`
	// Each element is an object with these keys:
	// id (integer, int32): Id of existing Form Field.
	// label (string): Label of Field.
	// field_type (string): Type of field: text, text_area, dropdown, radio, or date.
	// help_text (string): Help text of field.
	// required (boolean): Is this a required field? (default true).
	// options_for_select (string): List of options for dropdown or radio.
	// default_option (string): Default option to be preselected in the dropdown or radio.
	FormFields []map[string]interface{} `url:"form_fields,omitempty" json:"form_fields,omitempty" path:"form_fields"`
}

FormFieldSetUpdateParams contains the request parameters for PATCH /form_field_sets/{id}.

type FtpActionLog ¶ added in v3.1.68

type FtpActionLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// IP Address of FTP Client.
	RemoteIp string `json:"remote_ip,omitempty" path:"remote_ip,omitempty" url:"remote_ip,omitempty"`
	// IP Address of FTP Server.
	ServerIp string `json:"server_ip,omitempty" path:"server_ip,omitempty" url:"server_ip,omitempty"`
	// Username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Unique ID of the Session.
	SessionUuid string `json:"session_uuid,omitempty" path:"session_uuid,omitempty" url:"session_uuid,omitempty"`
	// FTP Sequence ID.
	SeqId int64 `json:"seq_id,omitempty" path:"seq_id,omitempty" url:"seq_id,omitempty"`
	// Authentication Ciphers.
	AuthCiphers string `json:"auth_ciphers,omitempty" path:"auth_ciphers,omitempty" url:"auth_ciphers,omitempty"`
	// Action Type.
	ActionType string `json:"action_type,omitempty" path:"action_type,omitempty" url:"action_type,omitempty"`
	// Path as sent by the Client (may not match Files.com path due to user root folders for FTP). This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Path on Files.com.
	TruePath string `json:"true_path,omitempty" path:"true_path,omitempty" url:"true_path,omitempty"`
	// Name of File.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// FTP Command Name.
	Cmd string `json:"cmd,omitempty" path:"cmd,omitempty" url:"cmd,omitempty"`
	// FTP Command Param.
	Param string `json:"param,omitempty" path:"param,omitempty" url:"param,omitempty"`
	// FTP Response Code.
	ResponseCode int64 `json:"responseCode,omitempty" path:"responseCode,omitempty" url:"responseCode,omitempty"`
	// FTP Response Message.
	ResponseMessage string `json:"responseMessage,omitempty" path:"responseMessage,omitempty" url:"responseMessage,omitempty"`
	// Number of entries returned when listing files and folders.
	EntriesReturned int64 `json:"entries_returned,omitempty" path:"entries_returned,omitempty" url:"entries_returned,omitempty"`
	// Whether FTP Action was successful.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// FTP Action status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

FtpActionLog is a Files.com API resource.

func (FtpActionLog) Identifier ¶ added in v3.1.68

func (f FtpActionLog) Identifier() interface{}

Identifier returns the resource path.

func (*FtpActionLog) UnmarshalJSON ¶ added in v3.1.68

func (f *FtpActionLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type FtpActionLogCollection ¶ added in v3.1.68

type FtpActionLogCollection []FtpActionLog

FtpActionLogCollection is a list of FtpActionLog resources.

func (*FtpActionLogCollection) ToSlice ¶ added in v3.1.68

func (f *FtpActionLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*FtpActionLogCollection) UnmarshalJSON ¶ added in v3.1.68

func (f *FtpActionLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type FtpActionLogListParams ¶ added in v3.1.68

type FtpActionLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `true_path`, `remote_ip`, `session_uuid`, `success`, `status`, `action_type`, `username` or `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`, `true_path`, `action_type` or `username`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

FtpActionLogListParams contains the request parameters for GET /ftp_action_logs.

type GpgKey ¶

type GpgKey struct {
	// GPG key ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// GPG key expiration date.
	ExpiresAt *time.Time `json:"expires_at,omitempty" path:"expires_at,omitempty" url:"expires_at,omitempty"`
	// GPG key name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Partner ID who owns this GPG Key, if applicable.
	PartnerId int64 `json:"partner_id,omitempty" path:"partner_id,omitempty" url:"partner_id,omitempty"`
	// Name of the Partner who owns this GPG Key, if applicable.
	PartnerName string `json:"partner_name,omitempty" path:"partner_name,omitempty" url:"partner_name,omitempty"`
	// User ID who owns this GPG Key, if applicable.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// MD5 hash of the GPG public key.
	PublicKeyMd5 string `json:"public_key_md5,omitempty" path:"public_key_md5,omitempty" url:"public_key_md5,omitempty"`
	// MD5 hash of the GPG private key.
	PrivateKeyMd5 string `json:"private_key_md5,omitempty" path:"private_key_md5,omitempty" url:"private_key_md5,omitempty"`
	// GPG public key.
	GeneratedPublicKey string `json:"generated_public_key,omitempty" path:"generated_public_key,omitempty" url:"generated_public_key,omitempty"`
	// GPG private key.
	GeneratedPrivateKey string `json:"generated_private_key,omitempty" path:"generated_private_key,omitempty" url:"generated_private_key,omitempty"`
	// GPG private key password. Only required for password protected keys.
	PrivateKeyPasswordMd5 string `json:"private_key_password_md5,omitempty" path:"private_key_password_md5,omitempty" url:"private_key_password_md5,omitempty"`
	// The GPG public key.
	PublicKey string `json:"public_key,omitempty" path:"public_key,omitempty" url:"public_key,omitempty"`
	// The GPG private key.
	PrivateKey string `json:"private_key,omitempty" path:"private_key,omitempty" url:"private_key,omitempty"`
	// The GPG private key password.
	PrivateKeyPassword string `json:"private_key_password,omitempty" path:"private_key_password,omitempty" url:"private_key_password,omitempty"`
	// Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateExpiresAt string `json:"generate_expires_at,omitempty" path:"generate_expires_at,omitempty" url:"generate_expires_at,omitempty"`
	// If true, generate a new GPG key pair. Can not be used with `public_key`/`private_key`.
	GenerateKeypair *bool `json:"generate_keypair,omitempty" path:"generate_keypair,omitempty" url:"generate_keypair,omitempty"`
	// Full name of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateFullName string `json:"generate_full_name,omitempty" path:"generate_full_name,omitempty" url:"generate_full_name,omitempty"`
	// Email address of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateEmail string `json:"generate_email,omitempty" path:"generate_email,omitempty" url:"generate_email,omitempty"`
}

GpgKey is a Files.com API resource.

func (GpgKey) Identifier ¶

func (g GpgKey) Identifier() interface{}

Identifier returns the resource ID.

func (*GpgKey) UnmarshalJSON ¶

func (g *GpgKey) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type GpgKeyCollection ¶

type GpgKeyCollection []GpgKey

GpgKeyCollection is a list of GpgKey resources.

func (*GpgKeyCollection) ToSlice ¶

func (g *GpgKeyCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*GpgKeyCollection) UnmarshalJSON ¶

func (g *GpgKeyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type GpgKeyCreateParams ¶

type GpgKeyCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Partner ID who owns this GPG Key, if applicable.
	PartnerId int64 `url:"partner_id,omitempty" json:"partner_id,omitempty" path:"partner_id"`
	// The GPG public key.
	PublicKey string `url:"public_key,omitempty" json:"public_key,omitempty" path:"public_key"`
	// The GPG private key.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// The GPG private key password.
	PrivateKeyPassword string `url:"private_key_password,omitempty" json:"private_key_password,omitempty" path:"private_key_password"`
	// GPG key name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateExpiresAt *time.Time `url:"generate_expires_at,omitempty" json:"generate_expires_at,omitempty" path:"generate_expires_at"`
	// If true, generate a new GPG key pair. Can not be used with `public_key`/`private_key`.
	GenerateKeypair *bool `url:"generate_keypair,omitempty" json:"generate_keypair,omitempty" path:"generate_keypair"`
	// Full name of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateFullName string `url:"generate_full_name,omitempty" json:"generate_full_name,omitempty" path:"generate_full_name"`
	// Email address of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateEmail string `url:"generate_email,omitempty" json:"generate_email,omitempty" path:"generate_email"`
}

GpgKeyCreateParams contains the request parameters for POST /gpg_keys.

type GpgKeyDeleteParams ¶

type GpgKeyDeleteParams struct {
	// Gpg Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

GpgKeyDeleteParams contains the request parameters for DELETE /gpg_keys/{id}.

type GpgKeyFindParams ¶

type GpgKeyFindParams struct {
	// Gpg Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

GpgKeyFindParams contains the request parameters for GET /gpg_keys/{id}.

type GpgKeyListParams ¶

type GpgKeyListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `expires_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `partner_id` or `expires_at`. Valid field combinations are `[ workspace_id, partner_id ]`, `[ workspace_id, expires_at ]`, `[ partner_id, expires_at ]` or `[ workspace_id, partner_id, expires_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `expires_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `expires_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `expires_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `expires_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

GpgKeyListParams contains the request parameters for GET /gpg_keys.

type GpgKeyUpdateParams ¶

type GpgKeyUpdateParams struct {
	// Gpg Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Partner ID who owns this GPG Key, if applicable.
	PartnerId int64 `url:"partner_id,omitempty" json:"partner_id,omitempty" path:"partner_id"`
	// The GPG public key.
	PublicKey string `url:"public_key,omitempty" json:"public_key,omitempty" path:"public_key"`
	// The GPG private key.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// The GPG private key password.
	PrivateKeyPassword string `url:"private_key_password,omitempty" json:"private_key_password,omitempty" path:"private_key_password"`
	// GPG key name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
}

GpgKeyUpdateParams contains the request parameters for PATCH /gpg_keys/{id}.

type Group ¶

type Group struct {
	// Group ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Group name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// A list of allowed IPs if applicable. Newline delimited.
	AllowedIps string `json:"allowed_ips,omitempty" path:"allowed_ips,omitempty" url:"allowed_ips,omitempty"`
	// Comma-delimited list of user IDs who are group administrators (separated by commas).
	AdminIds string `json:"admin_ids,omitempty" path:"admin_ids,omitempty" url:"admin_ids,omitempty"`
	// Notes about this group.
	Notes string `json:"notes,omitempty" path:"notes,omitempty" url:"notes,omitempty"`
	// Comma-delimited list of user IDs who belong to this group (separated by commas).
	UserIds string `json:"user_ids,omitempty" path:"user_ids,omitempty" url:"user_ids,omitempty"`
	// Comma-delimited list of usernames who belong to this group (separated by commas).
	Usernames string `json:"usernames,omitempty" path:"usernames,omitempty" url:"usernames,omitempty"`
	// AI Assistant Personality ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user or Partner assignment overrides it.
	AiAssistantPersonalityId int64 `` /* 133-byte string literal not displayed */
	// If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
	FtpPermission *bool `json:"ftp_permission,omitempty" path:"ftp_permission,omitempty" url:"ftp_permission,omitempty"`
	// If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
	SftpPermission *bool `json:"sftp_permission,omitempty" path:"sftp_permission,omitempty" url:"sftp_permission,omitempty"`
	// If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
	DavPermission *bool `json:"dav_permission,omitempty" path:"dav_permission,omitempty" url:"dav_permission,omitempty"`
	// If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
	RestapiPermission *bool `json:"restapi_permission,omitempty" path:"restapi_permission,omitempty" url:"restapi_permission,omitempty"`
	// If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
	S3CompatibleEndpointPermission *bool `` /* 151-byte string literal not displayed */
	// Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
	DesktopConfigurationProfileId int64 `` /* 148-byte string literal not displayed */
	// Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
	IntegrationCentricProfileId int64 `` /* 142-byte string literal not displayed */
	// Site ID.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// Workspace ID.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
}

Group is a Files.com API resource.

func (Group) Identifier ¶

func (g Group) Identifier() interface{}

Identifier returns the resource ID.

func (*Group) UnmarshalJSON ¶

func (g *Group) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type GroupCollection ¶

type GroupCollection []Group

GroupCollection is a list of Group resources.

func (*GroupCollection) ToSlice ¶

func (g *GroupCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*GroupCollection) UnmarshalJSON ¶

func (g *GroupCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type GroupCreateParams ¶

type GroupCreateParams struct {
	// Group notes.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// A list of user ids. If sent as a string, should be comma-delimited.
	UserIds string `url:"user_ids,omitempty" json:"user_ids,omitempty" path:"user_ids"`
	// A list of group admin user ids. If sent as a string, should be comma-delimited.
	AdminIds string `url:"admin_ids,omitempty" json:"admin_ids,omitempty" path:"admin_ids"`
	// AI Assistant Personality ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user or Partner assignment overrides it.
	AiAssistantPersonalityId int64 `url:"ai_assistant_personality_id,omitempty" json:"ai_assistant_personality_id,omitempty" path:"ai_assistant_personality_id"`
	// If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
	FtpPermission *bool `url:"ftp_permission,omitempty" json:"ftp_permission,omitempty" path:"ftp_permission"`
	// If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
	SftpPermission *bool `url:"sftp_permission,omitempty" json:"sftp_permission,omitempty" path:"sftp_permission"`
	// If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
	DavPermission *bool `url:"dav_permission,omitempty" json:"dav_permission,omitempty" path:"dav_permission"`
	// If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
	RestapiPermission *bool `url:"restapi_permission,omitempty" json:"restapi_permission,omitempty" path:"restapi_permission"`
	// If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
	S3CompatibleEndpointPermission *bool `` /* 141-byte string literal not displayed */
	// Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
	DesktopConfigurationProfileId int64 `` /* 138-byte string literal not displayed */
	// Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
	IntegrationCentricProfileId int64 `` /* 132-byte string literal not displayed */
	// A list of allowed IPs if applicable. Newline delimited.
	AllowedIps string `url:"allowed_ips,omitempty" json:"allowed_ips,omitempty" path:"allowed_ips"`
	// Group name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

GroupCreateParams contains the request parameters for POST /groups.

type GroupDeleteParams ¶

type GroupDeleteParams struct {
	// Group ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

GroupDeleteParams contains the request parameters for DELETE /groups/{id}.

type GroupFindParams ¶

type GroupFindParams struct {
	// Group ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

GroupFindParams contains the request parameters for GET /groups/{id}.

type GroupListParams ¶

type GroupListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id` or `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `name` and `workspace_id`. Valid field combinations are `[ workspace_id, name ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// Comma-separated list of group ids to include in results.
	Ids string `url:"ids,omitempty" json:"ids,omitempty" path:"ids"`
	// Include groups from the parent site.
	IncludeParentSiteGroups *bool `url:"include_parent_site_groups,omitempty" json:"include_parent_site_groups,omitempty" path:"include_parent_site_groups"`
	// When scoped to a Custom Workspace, include Default Workspace groups that have permissions in that Workspace. Available to Site Administrators, and to Workspace Administrators and Folder Admins in that Workspace when the site shares its Default Workspace directory with Workspaces.
	IncludeDefaultWorkspaceGroups *bool `` /* 138-byte string literal not displayed */
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

GroupListParams contains the request parameters for GET /groups.

type GroupUpdateParams ¶

type GroupUpdateParams struct {
	// Group ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Group notes.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// A list of user ids. If sent as a string, should be comma-delimited.
	UserIds string `url:"user_ids,omitempty" json:"user_ids,omitempty" path:"user_ids"`
	// A list of group admin user ids. If sent as a string, should be comma-delimited.
	AdminIds string `url:"admin_ids,omitempty" json:"admin_ids,omitempty" path:"admin_ids"`
	// AI Assistant Personality ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user or Partner assignment overrides it.
	AiAssistantPersonalityId int64 `url:"ai_assistant_personality_id,omitempty" json:"ai_assistant_personality_id,omitempty" path:"ai_assistant_personality_id"`
	// If true, users in this group can use FTP to login. This will override a false value of `ftp_permission` on the user level.
	FtpPermission *bool `url:"ftp_permission,omitempty" json:"ftp_permission,omitempty" path:"ftp_permission"`
	// If true, users in this group can use SFTP to login. This will override a false value of `sftp_permission` on the user level.
	SftpPermission *bool `url:"sftp_permission,omitempty" json:"sftp_permission,omitempty" path:"sftp_permission"`
	// If true, users in this group can use WebDAV to login. This will override a false value of `dav_permission` on the user level.
	DavPermission *bool `url:"dav_permission,omitempty" json:"dav_permission,omitempty" path:"dav_permission"`
	// If true, users in this group can use the REST API to login. This will override a false value of `restapi_permission` on the user level.
	RestapiPermission *bool `url:"restapi_permission,omitempty" json:"restapi_permission,omitempty" path:"restapi_permission"`
	// If true, users in this group can access the S3-compatible endpoint. This will override a false value of `s3_compatible_endpoint_permission` on the user level. Defaults to false.
	S3CompatibleEndpointPermission *bool `` /* 141-byte string literal not displayed */
	// Desktop Configuration Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
	DesktopConfigurationProfileId int64 `` /* 138-byte string literal not displayed */
	// Integration Centric Profile ID assigned to this Group, if any. Users in the Group inherit it unless a direct per-user assignment overrides it.
	IntegrationCentricProfileId int64 `` /* 132-byte string literal not displayed */
	// A list of allowed IPs if applicable. Newline delimited.
	AllowedIps string `url:"allowed_ips,omitempty" json:"allowed_ips,omitempty" path:"allowed_ips"`
	// Group name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
}

GroupUpdateParams contains the request parameters for PATCH /groups/{id}.

type GroupUser ¶

type GroupUser struct {
	// Group name.
	GroupName string `json:"group_name,omitempty" path:"group_name,omitempty" url:"group_name,omitempty"`
	// Group ID.
	GroupId int64 `json:"group_id,omitempty" path:"group_id,omitempty" url:"group_id,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Is this user an administrator of this group?
	Admin *bool `json:"admin,omitempty" path:"admin,omitempty" url:"admin,omitempty"`
	// Username of the user.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Group User ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
}

GroupUser is a Files.com API resource.

func (GroupUser) Identifier ¶

func (g GroupUser) Identifier() interface{}

Identifier returns the resource ID.

func (*GroupUser) UnmarshalJSON ¶

func (g *GroupUser) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type GroupUserCollection ¶

type GroupUserCollection []GroupUser

GroupUserCollection is a list of GroupUser resources.

func (*GroupUserCollection) ToSlice ¶

func (g *GroupUserCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*GroupUserCollection) UnmarshalJSON ¶

func (g *GroupUserCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type GroupUserCreateParams ¶

type GroupUserCreateParams struct {
	// Group ID to add user to. Required.
	GroupId int64 `url:"group_id" json:"group_id" path:"group_id"`
	// User ID to add to group. Required.
	UserId int64 `url:"user_id" json:"user_id" path:"user_id"`
	// Is the user a group administrator?
	Admin *bool `url:"admin,omitempty" json:"admin,omitempty" path:"admin"`
}

GroupUserCreateParams contains the request parameters for POST /group_users.

type GroupUserDeleteParams ¶

type GroupUserDeleteParams struct {
	// Group User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Group ID from which to remove user. Required.
	GroupId int64 `url:"group_id" json:"group_id" path:"group_id"`
	// User ID to remove from group. Required.
	UserId int64 `url:"user_id" json:"user_id" path:"user_id"`
}

GroupUserDeleteParams contains the request parameters for DELETE /group_users/{id}.

type GroupUserListParams ¶

type GroupUserListParams struct {
	// Group ID. If provided, returns memberships of this group. Requires a Site Administrator, a Read-only Administrator, a Workspace Administrator for the group's workspace, or a Group Administrator of this group.
	GroupId int64 `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// User ID. If provided, will return group_users of this user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

GroupUserListParams contains the request parameters for GET /group_users.

type GroupUserUpdateParams ¶

type GroupUserUpdateParams struct {
	// Group User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Group ID to add user to. Required.
	GroupId int64 `url:"group_id" json:"group_id" path:"group_id"`
	// User ID to add to group. Required.
	UserId int64 `url:"user_id" json:"user_id" path:"user_id"`
	// Is the user a group administrator?
	Admin *bool `url:"admin,omitempty" json:"admin,omitempty" path:"admin"`
}

GroupUserUpdateParams contains the request parameters for PATCH /group_users/{id}.

type History ¶

type History struct {
	// Action ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Action occurrence date/time.
	When *time.Time `json:"when,omitempty" path:"when,omitempty" url:"when,omitempty"`
	// The destination path for this action, if applicable.
	Destination string `json:"destination,omitempty" path:"destination,omitempty" url:"destination,omitempty"`
	// Friendly displayed output.
	Display string `json:"display,omitempty" path:"display,omitempty" url:"display,omitempty"`
	// IP Address that performed this action.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// The source path for this action, if applicable.
	Source string `json:"source,omitempty" path:"source,omitempty" url:"source,omitempty"`
	// Targets.
	Targets interface{} `json:"targets,omitempty" path:"targets,omitempty" url:"targets,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// true if this change was performed by a user on a parent site.
	UserIsFromParentSite *bool `json:"user_is_from_parent_site,omitempty" path:"user_is_from_parent_site,omitempty" url:"user_is_from_parent_site,omitempty"`
	// Type of action.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// Failure type. If action was a user login or session failure, why did it fail?
	FailureType string `json:"failure_type,omitempty" path:"failure_type,omitempty" url:"failure_type,omitempty"`
	// Interface on which this action occurred.
	Interface string `json:"interface,omitempty" path:"interface,omitempty" url:"interface,omitempty"`
}

History is a Files.com API resource.

func (History) Identifier ¶

func (h History) Identifier() interface{}

Identifier returns the resource ID.

func (*History) UnmarshalJSON ¶

func (h *History) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type HistoryCollection ¶

type HistoryCollection []History

HistoryCollection is a list of History resources.

func (*HistoryCollection) ToSlice ¶

func (h *HistoryCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*HistoryCollection) UnmarshalJSON ¶

func (h *HistoryCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type HistoryExport ¶

type HistoryExport struct {
	// Workspace of the export. 0 represents the default workspace. A null value means a site-wide export.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// History Export ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Version of the history for the export.
	HistoryVersion string `json:"history_version,omitempty" path:"history_version,omitempty" url:"history_version,omitempty"`
	// Start date/time of export range.
	StartAt *time.Time `json:"start_at,omitempty" path:"start_at,omitempty" url:"start_at,omitempty"`
	// End date/time of export range.
	EndAt *time.Time `json:"end_at,omitempty" path:"end_at,omitempty" url:"end_at,omitempty"`
	// Status of export. Will be: `building`, `ready`, or `failed`.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`.
	QueryAction string `json:"query_action,omitempty" path:"query_action,omitempty" url:"query_action,omitempty"`
	// Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`.
	QueryInterface string `json:"query_interface,omitempty" path:"query_interface,omitempty" url:"query_interface,omitempty"`
	// Return results that are actions performed by the user indicated by this User ID.
	QueryUserId string `json:"query_user_id,omitempty" path:"query_user_id,omitempty" url:"query_user_id,omitempty"`
	// Return results that are file actions related to the file indicated by this File ID.
	QueryFileId string `json:"query_file_id,omitempty" path:"query_file_id,omitempty" url:"query_file_id,omitempty"`
	// Return results that are file actions inside the parent folder specified by this folder ID.
	QueryParentId string `json:"query_parent_id,omitempty" path:"query_parent_id,omitempty" url:"query_parent_id,omitempty"`
	// Return results that are file actions related to paths matching this pattern.
	QueryPath string `json:"query_path,omitempty" path:"query_path,omitempty" url:"query_path,omitempty"`
	// Return results that are file actions related to files or folders inside folder paths matching this pattern.
	QueryFolder string `json:"query_folder,omitempty" path:"query_folder,omitempty" url:"query_folder,omitempty"`
	// Return results that are file moves originating from paths matching this pattern.
	QuerySrc string `json:"query_src,omitempty" path:"query_src,omitempty" url:"query_src,omitempty"`
	// Return results that are file moves with paths matching this pattern as destination.
	QueryDestination string `json:"query_destination,omitempty" path:"query_destination,omitempty" url:"query_destination,omitempty"`
	// Filter results by this IP address.
	QueryIp string `json:"query_ip,omitempty" path:"query_ip,omitempty" url:"query_ip,omitempty"`
	// Filter results by this username.
	QueryUsername string `json:"query_username,omitempty" path:"query_username,omitempty" url:"query_username,omitempty"`
	// If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`, `mobile_ip_mismatch`, `mobile_api_key_not_used_quickly_enough`, `desktop_app_disabled`, `mobile_app_disabled`.
	QueryFailureType string `json:"query_failure_type,omitempty" path:"query_failure_type,omitempty" url:"query_failure_type,omitempty"`
	// If searching for Histories about specific objects (such as Users, or API Keys), this parameter restricts results to objects that match this ID.
	QueryTargetId string `json:"query_target_id,omitempty" path:"query_target_id,omitempty" url:"query_target_id,omitempty"`
	// If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
	QueryTargetName string `json:"query_target_name,omitempty" path:"query_target_name,omitempty" url:"query_target_name,omitempty"`
	// If searching for Histories about Permissions, this parameter restricts results to permissions of this level.
	QueryTargetPermission string `json:"query_target_permission,omitempty" path:"query_target_permission,omitempty" url:"query_target_permission,omitempty"`
	// If searching for Histories about API keys, this parameter restricts results to API keys created by/for this user ID.
	QueryTargetUserId string `json:"query_target_user_id,omitempty" path:"query_target_user_id,omitempty" url:"query_target_user_id,omitempty"`
	// If searching for Histories about API keys, this parameter restricts results to API keys created by/for this username.
	QueryTargetUsername string `json:"query_target_username,omitempty" path:"query_target_username,omitempty" url:"query_target_username,omitempty"`
	// If searching for Histories about API keys, this parameter restricts results to API keys associated with this platform.
	QueryTargetPlatform string `json:"query_target_platform,omitempty" path:"query_target_platform,omitempty" url:"query_target_platform,omitempty"`
	// If searching for Histories about API keys, this parameter restricts results to API keys with this permission set.
	QueryTargetPermissionSet string `` /* 133-byte string literal not displayed */
	// If `status` is `ready`, this will be a URL where all the results can be downloaded at once as a CSV.
	ResultsUrl string `json:"results_url,omitempty" path:"results_url,omitempty" url:"results_url,omitempty"`
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
}

HistoryExport is a Files.com API resource.

func (HistoryExport) Identifier ¶

func (h HistoryExport) Identifier() interface{}

Identifier returns the resource ID.

func (*HistoryExport) UnmarshalJSON ¶

func (h *HistoryExport) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type HistoryExportCollection ¶

type HistoryExportCollection []HistoryExport

HistoryExportCollection is a list of HistoryExport resources.

func (*HistoryExportCollection) ToSlice ¶

func (h *HistoryExportCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*HistoryExportCollection) UnmarshalJSON ¶

func (h *HistoryExportCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type HistoryExportCreateParams ¶

type HistoryExportCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Start date/time of export range.
	StartAt *time.Time `url:"start_at,omitempty" json:"start_at,omitempty" path:"start_at"`
	// End date/time of export range.
	EndAt *time.Time `url:"end_at,omitempty" json:"end_at,omitempty" path:"end_at"`
	// Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`.
	QueryAction string `url:"query_action,omitempty" json:"query_action,omitempty" path:"query_action"`
	// Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`.
	QueryInterface string `url:"query_interface,omitempty" json:"query_interface,omitempty" path:"query_interface"`
	// Return results that are actions performed by the user indicated by this User ID.
	QueryUserId string `url:"query_user_id,omitempty" json:"query_user_id,omitempty" path:"query_user_id"`
	// Return results that are file actions related to the file indicated by this File ID.
	QueryFileId string `url:"query_file_id,omitempty" json:"query_file_id,omitempty" path:"query_file_id"`
	// Return results that are file actions inside the parent folder specified by this folder ID.
	QueryParentId string `url:"query_parent_id,omitempty" json:"query_parent_id,omitempty" path:"query_parent_id"`
	// Return results that are file actions related to paths matching this pattern.
	QueryPath string `url:"query_path,omitempty" json:"query_path,omitempty" path:"query_path"`
	// Return results that are file actions related to files or folders inside folder paths matching this pattern.
	QueryFolder string `url:"query_folder,omitempty" json:"query_folder,omitempty" path:"query_folder"`
	// Return results that are file moves originating from paths matching this pattern.
	QuerySrc string `url:"query_src,omitempty" json:"query_src,omitempty" path:"query_src"`
	// Return results that are file moves with paths matching this pattern as destination.
	QueryDestination string `url:"query_destination,omitempty" json:"query_destination,omitempty" path:"query_destination"`
	// Filter results by this IP address.
	QueryIp string `url:"query_ip,omitempty" json:"query_ip,omitempty" path:"query_ip"`
	// Filter results by this username.
	QueryUsername string `url:"query_username,omitempty" json:"query_username,omitempty" path:"query_username"`
	// If searching for Histories about login failures, this parameter restricts results to failures of this specific type. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`, `mobile_ip_mismatch`, `mobile_api_key_not_used_quickly_enough`, `desktop_app_disabled`, `mobile_app_disabled`.
	QueryFailureType string `url:"query_failure_type,omitempty" json:"query_failure_type,omitempty" path:"query_failure_type"`
	// If searching for Histories about specific objects (such as Users, or API Keys), this parameter restricts results to objects that match this ID.
	QueryTargetId string `url:"query_target_id,omitempty" json:"query_target_id,omitempty" path:"query_target_id"`
	// If searching for Histories about Users, Groups or other objects with names, this parameter restricts results to objects with this name/username.
	QueryTargetName string `url:"query_target_name,omitempty" json:"query_target_name,omitempty" path:"query_target_name"`
	// If searching for Histories about Permissions, this parameter restricts results to permissions of this level.
	QueryTargetPermission string `url:"query_target_permission,omitempty" json:"query_target_permission,omitempty" path:"query_target_permission"`
	// If searching for Histories about API keys, this parameter restricts results to API keys created by/for this user ID.
	QueryTargetUserId string `url:"query_target_user_id,omitempty" json:"query_target_user_id,omitempty" path:"query_target_user_id"`
	// If searching for Histories about API keys, this parameter restricts results to API keys created by/for this username.
	QueryTargetUsername string `url:"query_target_username,omitempty" json:"query_target_username,omitempty" path:"query_target_username"`
	// If searching for Histories about API keys, this parameter restricts results to API keys associated with this platform.
	QueryTargetPlatform string `url:"query_target_platform,omitempty" json:"query_target_platform,omitempty" path:"query_target_platform"`
	// If searching for Histories about API keys, this parameter restricts results to API keys with this permission set.
	QueryTargetPermissionSet string `url:"query_target_permission_set,omitempty" json:"query_target_permission_set,omitempty" path:"query_target_permission_set"`
}

HistoryExportCreateParams contains the request parameters for POST /history_exports.

type HistoryExportFindParams ¶

type HistoryExportFindParams struct {
	// History Export ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

HistoryExportFindParams contains the request parameters for GET /history_exports/{id}.

type HistoryExportResult ¶

type HistoryExportResult struct {
	// Action ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// When the action happened.
	CreatedAt int64 `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// When the action happened, in ISO8601 format.
	CreatedAtIso8601 string `json:"created_at_iso8601,omitempty" path:"created_at_iso8601,omitempty" url:"created_at_iso8601,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// File ID related to the action.
	FileId int64 `json:"file_id,omitempty" path:"file_id,omitempty" url:"file_id,omitempty"`
	// ID of the parent folder.
	ParentId int64 `json:"parent_id,omitempty" path:"parent_id,omitempty" url:"parent_id,omitempty"`
	// Path of the related action. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Folder in which the action occurred.
	Folder string `json:"folder,omitempty" path:"folder,omitempty" url:"folder,omitempty"`
	// File move originated from this path.
	Src string `json:"src,omitempty" path:"src,omitempty" url:"src,omitempty"`
	// File moved to this destination folder.
	Destination string `json:"destination,omitempty" path:"destination,omitempty" url:"destination,omitempty"`
	// Client IP that performed the action.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// Username of the user that performed the action.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// true if this change was performed by a user on a parent site.
	UserIsFromParentSite *bool `json:"user_is_from_parent_site,omitempty" path:"user_is_from_parent_site,omitempty" url:"user_is_from_parent_site,omitempty"`
	// What action was taken. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`, `archived_delete`.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// The type of login failure, if applicable. Valid values: `expired_trial`, `account_overdue`, `locked_out`, `ip_mismatch`, `password_mismatch`, `site_mismatch`, `username_not_found`, `none`, `no_ftp_permission`, `no_web_permission`, `no_directory`, `errno_enoent`, `no_sftp_permission`, `no_dav_permission`, `no_restapi_permission`, `key_mismatch`, `region_mismatch`, `expired_access`, `desktop_ip_mismatch`, `desktop_api_key_not_used_quickly_enough`, `disabled`, `country_mismatch`, `insecure_ftp`, `insecure_cipher`, `rate_limited`, `no_s3_compatible_endpoint_permission`, `mobile_ip_mismatch`, `mobile_api_key_not_used_quickly_enough`, `desktop_app_disabled`, `mobile_app_disabled`.
	FailureType string `json:"failure_type,omitempty" path:"failure_type,omitempty" url:"failure_type,omitempty"`
	// Interface through which the action was taken. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`, `mobile`, `as2`, `inbound_email`, `remote`, `inbound_s3`.
	Interface string `json:"interface,omitempty" path:"interface,omitempty" url:"interface,omitempty"`
	// ID of the object (such as Users, or API Keys) on which the action was taken.
	TargetId int64 `json:"target_id,omitempty" path:"target_id,omitempty" url:"target_id,omitempty"`
	// Name of the User, Group or other object with a name related to this action.
	TargetName string `json:"target_name,omitempty" path:"target_name,omitempty" url:"target_name,omitempty"`
	// Permission level of the action.
	TargetPermission string `json:"target_permission,omitempty" path:"target_permission,omitempty" url:"target_permission,omitempty"`
	// Whether or not the action was recursive.
	TargetRecursive *bool `json:"target_recursive,omitempty" path:"target_recursive,omitempty" url:"target_recursive,omitempty"`
	// If searching for Histories about API keys, this is when the API key will expire. Represented as a Unix timestamp.
	TargetExpiresAt int64 `json:"target_expires_at,omitempty" path:"target_expires_at,omitempty" url:"target_expires_at,omitempty"`
	// If searching for Histories about API keys, this is when the API key will expire. Represented in ISO8601 format.
	TargetExpiresAtIso8601 string `` /* 127-byte string literal not displayed */
	// If searching for Histories about API keys, this represents the permission set of the associated API key.
	TargetPermissionSet string `json:"target_permission_set,omitempty" path:"target_permission_set,omitempty" url:"target_permission_set,omitempty"`
	// If searching for Histories about API keys, this is the platform on which the action was taken.
	TargetPlatform string `json:"target_platform,omitempty" path:"target_platform,omitempty" url:"target_platform,omitempty"`
	// If searching for Histories about API keys, this is the username on which the action was taken.
	TargetUsername string `json:"target_username,omitempty" path:"target_username,omitempty" url:"target_username,omitempty"`
	// If searching for Histories about API keys, this is the User ID on which the action was taken.
	TargetUserId int64 `json:"target_user_id,omitempty" path:"target_user_id,omitempty" url:"target_user_id,omitempty"`
}

HistoryExportResult is a Files.com API resource.

func (HistoryExportResult) Identifier ¶

func (h HistoryExportResult) Identifier() interface{}

Identifier returns the resource ID.

func (*HistoryExportResult) UnmarshalJSON ¶

func (h *HistoryExportResult) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type HistoryExportResultCollection ¶

type HistoryExportResultCollection []HistoryExportResult

HistoryExportResultCollection is a list of HistoryExportResult resources.

func (*HistoryExportResultCollection) ToSlice ¶

func (h *HistoryExportResultCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*HistoryExportResultCollection) UnmarshalJSON ¶

func (h *HistoryExportResultCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type HistoryExportResultListParams ¶

type HistoryExportResultListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// ID of the associated history export. Required.
	HistoryExportId int64 `url:"history_export_id" json:"history_export_id" path:"history_export_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HistoryExportResultListParams contains the request parameters for GET /history_export_results.

type HistoryListForFileParams ¶

type HistoryListForFileParams struct {
	// Leave blank or set to a date/time to filter earlier entries.
	StartAt *time.Time `url:"start_at,omitempty" json:"start_at,omitempty" path:"start_at"`
	// Leave blank or set to a date/time to filter later entries.
	EndAt *time.Time `url:"end_at,omitempty" json:"end_at,omitempty" path:"end_at"`
	// Display format. Leave blank or set to `full` or `parent`.
	Display string `url:"display,omitempty" json:"display,omitempty" path:"display"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HistoryListForFileParams contains the request parameters for GET /history/files/{path}.

type HistoryListForFolderParams ¶

type HistoryListForFolderParams struct {
	// Leave blank or set to a date/time to filter earlier entries.
	StartAt *time.Time `url:"start_at,omitempty" json:"start_at,omitempty" path:"start_at"`
	// Leave blank or set to a date/time to filter later entries.
	EndAt *time.Time `url:"end_at,omitempty" json:"end_at,omitempty" path:"end_at"`
	// Display format. Leave blank or set to `full` or `parent`.
	Display string `url:"display,omitempty" json:"display,omitempty" path:"display"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HistoryListForFolderParams contains the request parameters for GET /history/folders/{path}.

type HistoryListForUserParams ¶

type HistoryListForUserParams struct {
	// Leave blank or set to a date/time to filter earlier entries.
	StartAt *time.Time `url:"start_at,omitempty" json:"start_at,omitempty" path:"start_at"`
	// Leave blank or set to a date/time to filter later entries.
	EndAt *time.Time `url:"end_at,omitempty" json:"end_at,omitempty" path:"end_at"`
	// Display format. Leave blank or set to `full` or `parent`.
	Display string `url:"display,omitempty" json:"display,omitempty" path:"display"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// User ID. Required; sent in the request path.
	UserId int64 `url:"-,omitempty" json:"-,omitempty" path:"user_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HistoryListForUserParams contains the request parameters for GET /history/users/{user_id}.

type HistoryListLoginsParams ¶

type HistoryListLoginsParams struct {
	// Leave blank or set to a date/time to filter earlier entries.
	StartAt *time.Time `url:"start_at,omitempty" json:"start_at,omitempty" path:"start_at"`
	// Leave blank or set to a date/time to filter later entries.
	EndAt *time.Time `url:"end_at,omitempty" json:"end_at,omitempty" path:"end_at"`
	// Display format. Leave blank or set to `full` or `parent`.
	Display string `url:"display,omitempty" json:"display,omitempty" path:"display"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HistoryListLoginsParams contains the request parameters for GET /history/login.

type HistoryListParams ¶

type HistoryListParams struct {
	// Leave blank or set to a date/time to filter earlier entries.
	StartAt *time.Time `url:"start_at,omitempty" json:"start_at,omitempty" path:"start_at"`
	// Leave blank or set to a date/time to filter later entries.
	EndAt *time.Time `url:"end_at,omitempty" json:"end_at,omitempty" path:"end_at"`
	// Display format. Leave blank or set to `full` or `parent`.
	Display string `url:"display,omitempty" json:"display,omitempty" path:"display"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`. Valid field combinations are `[ ]`, `[ path ]`, `[ path ]` or `[ path ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HistoryListParams contains the request parameters for GET /history.

type HolidayCalendar ¶ added in v3.3.195

type HolidayCalendar struct {
	// Holiday Calendar ID. Set a scheduled resource's `holiday_region` to `custom_` followed by this ID to make it skip the days in this calendar.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Holiday Calendar name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Holiday rules for the calendar.
	Definition interface{} `json:"definition,omitempty" path:"definition,omitempty" url:"definition,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

HolidayCalendar is a Files.com API resource.

func (HolidayCalendar) Identifier ¶ added in v3.3.195

func (h HolidayCalendar) Identifier() interface{}

Identifier returns the resource ID.

func (*HolidayCalendar) UnmarshalJSON ¶ added in v3.3.195

func (h *HolidayCalendar) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type HolidayCalendarCollection ¶ added in v3.3.195

type HolidayCalendarCollection []HolidayCalendar

HolidayCalendarCollection is a list of HolidayCalendar resources.

func (*HolidayCalendarCollection) ToSlice ¶ added in v3.3.195

func (h *HolidayCalendarCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*HolidayCalendarCollection) UnmarshalJSON ¶ added in v3.3.195

func (h *HolidayCalendarCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type HolidayCalendarCreateParams ¶ added in v3.3.195

type HolidayCalendarCreateParams struct {
	// Holiday rules for the calendar. Required.
	Definition interface{} `url:"definition" json:"definition" path:"definition"`
	// Holiday Calendar name. Required.
	Name string `url:"name" json:"name" path:"name"`
}

HolidayCalendarCreateParams contains the request parameters for POST /holiday_calendars.

type HolidayCalendarDeleteParams ¶ added in v3.3.195

type HolidayCalendarDeleteParams struct {
	// Holiday Calendar ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

HolidayCalendarDeleteParams contains the request parameters for DELETE /holiday_calendars/{id}.

type HolidayCalendarFindParams ¶ added in v3.3.195

type HolidayCalendarFindParams struct {
	// Holiday Calendar ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

HolidayCalendarFindParams contains the request parameters for GET /holiday_calendars/{id}.

type HolidayCalendarListParams ¶ added in v3.3.195

type HolidayCalendarListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HolidayCalendarListParams contains the request parameters for GET /holiday_calendars.

type HolidayCalendarUpdateParams ¶ added in v3.3.195

type HolidayCalendarUpdateParams struct {
	// Holiday Calendar ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Holiday rules for the calendar.
	Definition interface{} `url:"definition,omitempty" json:"definition,omitempty" path:"definition"`
	// Holiday Calendar name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
}

HolidayCalendarUpdateParams contains the request parameters for PATCH /holiday_calendars/{id}.

type HolidayRegion ¶ added in v3.2.185

type HolidayRegion struct {
	// The code representing a region.
	Code string `json:"code,omitempty" path:"code,omitempty" url:"code,omitempty"`
	// The name of the region.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
}

HolidayRegion is a Files.com API resource.

func (*HolidayRegion) UnmarshalJSON ¶ added in v3.2.185

func (h *HolidayRegion) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type HolidayRegionCollection ¶ added in v3.2.185

type HolidayRegionCollection []HolidayRegion

HolidayRegionCollection is a list of HolidayRegion resources.

func (*HolidayRegionCollection) ToSlice ¶ added in v3.2.185

func (h *HolidayRegionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*HolidayRegionCollection) UnmarshalJSON ¶ added in v3.2.185

func (h *HolidayRegionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type HolidayRegionGetSupportedParams ¶ added in v3.2.185

type HolidayRegionGetSupportedParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

HolidayRegionGetSupportedParams contains the request parameters for GET /holiday_regions/supported.

type Identifier ¶

type Identifier interface {
	Identifier() interface{}
}

Identifier exposes an API resource ID or path.

type Image ¶

type Image struct {
	// Image name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Image URI.
	Uri string `json:"uri,omitempty" path:"uri,omitempty" url:"uri,omitempty"`
}

Image is a Files.com API resource.

func (*Image) UnmarshalJSON ¶

func (i *Image) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ImageCollection ¶

type ImageCollection []Image

ImageCollection is a list of Image resources.

func (*ImageCollection) ToSlice ¶

func (i *ImageCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ImageCollection) UnmarshalJSON ¶

func (i *ImageCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type InboundS3Log ¶ added in v3.3.13

type InboundS3Log struct {
	// Request Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Client IP.
	ClientIp string `json:"client_ip,omitempty" path:"client_ip,omitempty" url:"client_ip,omitempty"`
	// S3 Operation Type.
	Operation string `json:"operation,omitempty" path:"operation,omitempty" url:"operation,omitempty"`
	// HTTP Status Code.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// AWS Access Key ID.
	AwsAccessKey string `json:"aws_access_key,omitempty" path:"aws_access_key,omitempty" url:"aws_access_key,omitempty"`
	// Error message, if applicable.
	ErrorMessage string `json:"error_message,omitempty" path:"error_message,omitempty" url:"error_message,omitempty"`
	// Error type, if applicable.
	ErrorType string `json:"error_type,omitempty" path:"error_type,omitempty" url:"error_type,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Request ID.
	RequestId string `json:"request_id,omitempty" path:"request_id,omitempty" url:"request_id,omitempty"`
	// User Agent.
	UserAgent string `json:"user_agent,omitempty" path:"user_agent,omitempty" url:"user_agent,omitempty"`
	// Start Time of Request.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

InboundS3Log is a Files.com API resource.

func (InboundS3Log) Identifier ¶ added in v3.3.13

func (i InboundS3Log) Identifier() interface{}

Identifier returns the resource path.

func (*InboundS3Log) UnmarshalJSON ¶ added in v3.3.13

func (i *InboundS3Log) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type InboundS3LogCollection ¶ added in v3.3.13

type InboundS3LogCollection []InboundS3Log

InboundS3LogCollection is a list of InboundS3Log resources.

func (*InboundS3LogCollection) ToSlice ¶ added in v3.3.13

func (i *InboundS3LogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*InboundS3LogCollection) UnmarshalJSON ¶ added in v3.3.13

func (i *InboundS3LogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type InboundS3LogListParams ¶ added in v3.3.13

type InboundS3LogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `operation`, `status`, `path`, `client_ip` or `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `status`, `path` or `client_ip`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

InboundS3LogListParams contains the request parameters for GET /inbound_s3_logs.

type InboxRecipient ¶

type InboxRecipient struct {
	// The recipient's company.
	Company string `json:"company,omitempty" path:"company,omitempty" url:"company,omitempty"`
	// The recipient's name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// A note sent to the recipient with the inbox.
	Note string `json:"note,omitempty" path:"note,omitempty" url:"note,omitempty"`
	// The recipient's email address.
	Recipient string `json:"recipient,omitempty" path:"recipient,omitempty" url:"recipient,omitempty"`
	// When the Inbox was shared with this recipient.
	SentAt *time.Time `json:"sent_at,omitempty" path:"sent_at,omitempty" url:"sent_at,omitempty"`
	// Inbox to share.
	InboxId int64 `json:"inbox_id,omitempty" path:"inbox_id,omitempty" url:"inbox_id,omitempty"`
	// Set to true to share the link with the recipient upon creation.
	ShareAfterCreate *bool `json:"share_after_create,omitempty" path:"share_after_create,omitempty" url:"share_after_create,omitempty"`
}

InboxRecipient is a Files.com API resource.

func (*InboxRecipient) UnmarshalJSON ¶

func (i *InboxRecipient) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type InboxRecipientCollection ¶

type InboxRecipientCollection []InboxRecipient

InboxRecipientCollection is a list of InboxRecipient resources.

func (*InboxRecipientCollection) ToSlice ¶

func (i *InboxRecipientCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*InboxRecipientCollection) UnmarshalJSON ¶

func (i *InboxRecipientCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type InboxRecipientCreateParams ¶

type InboxRecipientCreateParams struct {
	// Inbox to share. Required.
	InboxId int64 `url:"inbox_id" json:"inbox_id" path:"inbox_id"`
	// Email address to share this inbox with. Required.
	Recipient string `url:"recipient" json:"recipient" path:"recipient"`
	// Name of recipient.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Company of recipient.
	Company string `url:"company,omitempty" json:"company,omitempty" path:"company"`
	// Note to include in email.
	Note string `url:"note,omitempty" json:"note,omitempty" path:"note"`
	// Set to true to share the link with the recipient upon creation.
	ShareAfterCreate *bool `url:"share_after_create,omitempty" json:"share_after_create,omitempty" path:"share_after_create"`
}

InboxRecipientCreateParams contains the request parameters for POST /inbox_recipients.

type InboxRecipientListParams ¶

type InboxRecipientListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// List recipients for the inbox with this ID. Required.
	InboxId int64 `url:"inbox_id" json:"inbox_id" path:"inbox_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

InboxRecipientListParams contains the request parameters for GET /inbox_recipients.

type InboxRegistration ¶

type InboxRegistration struct {
	// Registration cookie code.
	Code string `json:"code,omitempty" path:"code,omitempty" url:"code,omitempty"`
	// Registrant name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Registrant company name.
	Company string `json:"company,omitempty" path:"company,omitempty" url:"company,omitempty"`
	// Registrant email address.
	Email string `json:"email,omitempty" path:"email,omitempty" url:"email,omitempty"`
	// Registrant IP Address.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// Clickwrap text that was shown to the registrant.
	ClickwrapBody string `json:"clickwrap_body,omitempty" path:"clickwrap_body,omitempty" url:"clickwrap_body,omitempty"`
	// Id of associated form field set.
	FormFieldSetId int64 `json:"form_field_set_id,omitempty" path:"form_field_set_id,omitempty" url:"form_field_set_id,omitempty"`
	// Data for form field set with form field ids as keys and user data as values.
	FormFieldData interface{} `json:"form_field_data,omitempty" path:"form_field_data,omitempty" url:"form_field_data,omitempty"`
	// Id of associated inbox.
	InboxId int64 `json:"inbox_id,omitempty" path:"inbox_id,omitempty" url:"inbox_id,omitempty"`
	// Id of associated inbox recipient.
	InboxRecipientId int64 `json:"inbox_recipient_id,omitempty" path:"inbox_recipient_id,omitempty" url:"inbox_recipient_id,omitempty"`
	// Title of associated inbox.
	InboxTitle string `json:"inbox_title,omitempty" path:"inbox_title,omitempty" url:"inbox_title,omitempty"`
	// Registration creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

InboxRegistration is a Files.com API resource.

func (*InboxRegistration) UnmarshalJSON ¶

func (i *InboxRegistration) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type InboxRegistrationCollection ¶

type InboxRegistrationCollection []InboxRegistration

InboxRegistrationCollection is a list of InboxRegistration resources.

func (*InboxRegistrationCollection) ToSlice ¶

func (i *InboxRegistrationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*InboxRegistrationCollection) UnmarshalJSON ¶

func (i *InboxRegistrationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type InboxRegistrationListParams ¶

type InboxRegistrationListParams struct {
	// ID of the associated Inbox. This is required if the user is not a site admin.
	FolderBehaviorId int64 `url:"folder_behavior_id,omitempty" json:"folder_behavior_id,omitempty" path:"folder_behavior_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

InboxRegistrationListParams contains the request parameters for GET /inbox_registrations.

type InboxUpload ¶

type InboxUpload struct {
	InboxRegistration InboxRegistration `json:"inbox_registration,omitempty" path:"inbox_registration,omitempty" url:"inbox_registration,omitempty"`
	// Upload path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Upload date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

InboxUpload is a Files.com API resource.

func (InboxUpload) Identifier ¶

func (i InboxUpload) Identifier() interface{}

Identifier returns the resource path.

func (*InboxUpload) UnmarshalJSON ¶

func (i *InboxUpload) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type InboxUploadCollection ¶

type InboxUploadCollection []InboxUpload

InboxUploadCollection is a list of InboxUpload resources.

func (*InboxUploadCollection) ToSlice ¶

func (i *InboxUploadCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*InboxUploadCollection) UnmarshalJSON ¶

func (i *InboxUploadCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type InboxUploadListParams ¶

type InboxUploadListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ folder_behavior_id, created_at ]`, `[ inbox_registration_id, created_at ]`, `[ folder_behavior_id, inbox_registration_id ]` or `[ folder_behavior_id, inbox_registration_id, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

InboxUploadListParams contains the request parameters for GET /inbox_uploads.

type IntegrationCentricProfile ¶ added in v3.3.185

type IntegrationCentricProfile struct {
	// Integration Centric Profile ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Profile name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Workspace ID.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Whether this profile applies to all users in the Workspace by default.
	UseForAllUsers *bool `json:"use_for_all_users,omitempty" path:"use_for_all_users,omitempty" url:"use_for_all_users,omitempty"`
	// Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
	ExpectedRemoteServers []map[string]interface{} `json:"expected_remote_servers,omitempty" path:"expected_remote_servers,omitempty" url:"expected_remote_servers,omitempty"`
}

IntegrationCentricProfile is a Files.com API resource.

func (IntegrationCentricProfile) Identifier ¶ added in v3.3.185

func (i IntegrationCentricProfile) Identifier() interface{}

Identifier returns the resource ID.

func (*IntegrationCentricProfile) UnmarshalJSON ¶ added in v3.3.185

func (i *IntegrationCentricProfile) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type IntegrationCentricProfileCollection ¶ added in v3.3.185

type IntegrationCentricProfileCollection []IntegrationCentricProfile

IntegrationCentricProfileCollection is a list of IntegrationCentricProfile resources.

func (*IntegrationCentricProfileCollection) ToSlice ¶ added in v3.3.185

func (i *IntegrationCentricProfileCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*IntegrationCentricProfileCollection) UnmarshalJSON ¶ added in v3.3.185

func (i *IntegrationCentricProfileCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type IntegrationCentricProfileCreateParams ¶ added in v3.3.185

type IntegrationCentricProfileCreateParams struct {
	// Profile name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`. Required.
	ExpectedRemoteServers []map[string]interface{} `url:"expected_remote_servers" json:"expected_remote_servers" path:"expected_remote_servers"`
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Whether this profile applies to all users in the Workspace by default.
	UseForAllUsers *bool `url:"use_for_all_users,omitempty" json:"use_for_all_users,omitempty" path:"use_for_all_users"`
}

IntegrationCentricProfileCreateParams contains the request parameters for POST /integration_centric_profiles.

type IntegrationCentricProfileDeleteParams ¶ added in v3.3.185

type IntegrationCentricProfileDeleteParams struct {
	// Integration Centric Profile ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

IntegrationCentricProfileDeleteParams contains the request parameters for DELETE /integration_centric_profiles/{id}.

type IntegrationCentricProfileFindParams ¶ added in v3.3.185

type IntegrationCentricProfileFindParams struct {
	// Integration Centric Profile ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

IntegrationCentricProfileFindParams contains the request parameters for GET /integration_centric_profiles/{id}.

type IntegrationCentricProfileListParams ¶ added in v3.3.185

type IntegrationCentricProfileListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

IntegrationCentricProfileListParams contains the request parameters for GET /integration_centric_profiles.

type IntegrationCentricProfileUpdateParams ¶ added in v3.3.185

type IntegrationCentricProfileUpdateParams struct {
	// Integration Centric Profile ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Profile name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Workspace ID.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// Remote Server integrations the user is expected to add and connect. Each entry requires `server_type` and may include a display `name`.
	ExpectedRemoteServers []map[string]interface{} `url:"expected_remote_servers,omitempty" json:"expected_remote_servers,omitempty" path:"expected_remote_servers"`
	// Whether this profile applies to all users in the Workspace by default.
	UseForAllUsers *bool `url:"use_for_all_users,omitempty" json:"use_for_all_users,omitempty" path:"use_for_all_users"`
}

IntegrationCentricProfileUpdateParams contains the request parameters for PATCH /integration_centric_profiles/{id}.

type Invoice ¶

type Invoice struct {
	// Line item Id.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Line item amount.
	Amount string `json:"amount,omitempty" path:"amount,omitempty" url:"amount,omitempty"`
	// Line item balance.
	Balance string `json:"balance,omitempty" path:"balance,omitempty" url:"balance,omitempty"`
	// Line item created at.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Line item currency.
	Currency string `json:"currency,omitempty" path:"currency,omitempty" url:"currency,omitempty"`
	// Line item download uri.
	DownloadUri string `json:"download_uri,omitempty" path:"download_uri,omitempty" url:"download_uri,omitempty"`
	// Associated invoice line items.
	InvoiceLineItems []InvoiceLineItem `json:"invoice_line_items,omitempty" path:"invoice_line_items,omitempty" url:"invoice_line_items,omitempty"`
	// Line item payment method.
	Method string `json:"method,omitempty" path:"method,omitempty" url:"method,omitempty"`
	// Associated payment line items.
	PaymentLineItems []PaymentLineItem `json:"payment_line_items,omitempty" path:"payment_line_items,omitempty" url:"payment_line_items,omitempty"`
	// Date/time payment was reversed if applicable.
	PaymentReversedAt *time.Time `json:"payment_reversed_at,omitempty" path:"payment_reversed_at,omitempty" url:"payment_reversed_at,omitempty"`
	// Type of payment if applicable.
	PaymentType string `json:"payment_type,omitempty" path:"payment_type,omitempty" url:"payment_type,omitempty"`
	// Site name this line item is for.
	SiteName string `json:"site_name,omitempty" path:"site_name,omitempty" url:"site_name,omitempty"`
	// Type of line item, either payment or invoice.
	Type string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
}

Invoice is a Files.com API resource.

func (Invoice) Identifier ¶

func (i Invoice) Identifier() interface{}

Identifier returns the resource ID.

func (*Invoice) UnmarshalJSON ¶

func (i *Invoice) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type InvoiceCollection ¶

type InvoiceCollection []Invoice

InvoiceCollection is a list of Invoice resources.

func (*InvoiceCollection) ToSlice ¶

func (i *InvoiceCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*InvoiceCollection) UnmarshalJSON ¶

func (i *InvoiceCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type InvoiceFindParams ¶

type InvoiceFindParams struct {
	// Invoice ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

InvoiceFindParams contains the request parameters for GET /invoices/{id}.

type InvoiceLineItem ¶

type InvoiceLineItem struct {
	// Invoice Line item Id.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Invoice line item amount.
	Amount string `json:"amount,omitempty" path:"amount,omitempty" url:"amount,omitempty"`
	// Invoice line item created at date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Invoice line item description.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Invoice line item type.
	Type string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
	// Invoice line item service end date/time.
	ServiceEndAt *time.Time `json:"service_end_at,omitempty" path:"service_end_at,omitempty" url:"service_end_at,omitempty"`
	// Invoice line item service start date/time.
	ServiceStartAt *time.Time `json:"service_start_at,omitempty" path:"service_start_at,omitempty" url:"service_start_at,omitempty"`
	// Plan name.
	Plan string `json:"plan,omitempty" path:"plan,omitempty" url:"plan,omitempty"`
	// Site name.
	Site string `json:"site,omitempty" path:"site,omitempty" url:"site,omitempty"`
	// Prepaid bytes purchased for this invoice line item.
	PrepaidBytes int64 `json:"prepaid_bytes,omitempty" path:"prepaid_bytes,omitempty" url:"prepaid_bytes,omitempty"`
	// When the prepaid bytes expire.
	PrepaidBytesExpireAt *time.Time `json:"prepaid_bytes_expire_at,omitempty" path:"prepaid_bytes_expire_at,omitempty" url:"prepaid_bytes_expire_at,omitempty"`
	// Total prepaid bytes used for this invoice line item.
	PrepaidBytesUsed int64 `json:"prepaid_bytes_used,omitempty" path:"prepaid_bytes_used,omitempty" url:"prepaid_bytes_used,omitempty"`
	// Available prepaid bytes for this invoice line item.
	PrepaidBytesAvailable int64 `json:"prepaid_bytes_available,omitempty" path:"prepaid_bytes_available,omitempty" url:"prepaid_bytes_available,omitempty"`
}

InvoiceLineItem is a Files.com API resource.

func (InvoiceLineItem) Identifier ¶ added in v3.2.212

func (i InvoiceLineItem) Identifier() interface{}

Identifier returns the resource ID.

func (*InvoiceLineItem) UnmarshalJSON ¶

func (i *InvoiceLineItem) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type InvoiceLineItemCollection ¶

type InvoiceLineItemCollection []InvoiceLineItem

InvoiceLineItemCollection is a list of InvoiceLineItem resources.

func (*InvoiceLineItemCollection) ToSlice ¶

func (i *InvoiceLineItemCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*InvoiceLineItemCollection) UnmarshalJSON ¶

func (i *InvoiceLineItemCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type InvoiceListParams ¶

type InvoiceListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

InvoiceListParams contains the request parameters for GET /invoices.

type IpAddress ¶

type IpAddress struct {
	// Unique label for list; used by Zapier and other integrations.
	Id string `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// The object that this public IP address list is associated with.
	AssociatedWith string `json:"associated_with,omitempty" path:"associated_with,omitempty" url:"associated_with,omitempty"`
	// Group ID.
	GroupId int64 `json:"group_id,omitempty" path:"group_id,omitempty" url:"group_id,omitempty"`
	// A list of IP addresses.
	IpAddresses []string `json:"ip_addresses,omitempty" path:"ip_addresses,omitempty" url:"ip_addresses,omitempty"`
}

IpAddress is a Files.com API resource.

func (IpAddress) Identifier ¶

func (i IpAddress) Identifier() interface{}

Identifier returns the resource ID.

func (*IpAddress) UnmarshalJSON ¶

func (i *IpAddress) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type IpAddressCollection ¶

type IpAddressCollection []IpAddress

IpAddressCollection is a list of IpAddress resources.

func (*IpAddressCollection) ToSlice ¶

func (i *IpAddressCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*IpAddressCollection) UnmarshalJSON ¶

func (i *IpAddressCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type IpAddressGetExavaultReservedParams ¶

type IpAddressGetExavaultReservedParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

IpAddressGetExavaultReservedParams contains the request parameters for GET /ip_addresses/exavault-reserved.

type IpAddressGetReservedParams ¶

type IpAddressGetReservedParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

IpAddressGetReservedParams contains the request parameters for GET /ip_addresses/reserved.

type IpAddressGetSmartfileReservedParams ¶ added in v3.1.23

type IpAddressGetSmartfileReservedParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

IpAddressGetSmartfileReservedParams contains the request parameters for GET /ip_addresses/smartfile-reserved.

type IpAddressListParams ¶

type IpAddressListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

IpAddressListParams contains the request parameters for GET /ip_addresses.

type Iter ¶

type Iter struct {
	Query
	ListParams   ListParamsContainer
	Params       []interface{}
	CurrentIndex int
	Page         int64
	Values       *[]interface{}
	Cursor       string
	Error        error
	OnPageError
	// contains filtered or unexported fields
}

Iter traverses API results, fetching additional pages on demand. Use the generated client listing methods to create an iterator.

func (*Iter) Current ¶

func (i *Iter) Current() interface{}

Current returns the resource selected by the last successful Next call. Call it only after Next returns true.

func (*Iter) EOFPage ¶

func (i *Iter) EOFPage() bool

EOFPage reports whether the current resource is the last one on the loaded page. It does not report whether the listing has more pages.

func (*Iter) Err ¶

func (i *Iter) Err() error

Err returns the error that stopped iteration, or nil if none occurred. Check it after Next returns false.

func (*Iter) ExportParams ¶

func (i *Iter) ExportParams() (lib.ExportValues, error)

ExportParams combines the listing filters and current paging settings as query values.

func (*Iter) GetCursor ¶

func (i *Iter) GetCursor() string

GetCursor returns the cursor that will be sent with the next page request.

func (*Iter) GetPage ¶

func (i *Iter) GetPage() bool

GetPage fetches the next nonempty page within MaxPages. It returns false when no results remain, the page limit is reached, or an error occurs. Check Err after a false return.

func (*Iter) GetParams ¶

func (i *Iter) GetParams() *ListParams

GetParams returns the paging settings used by the iterator.

func (*Iter) Next ¶

func (i *Iter) Next() bool

Next advances to the next resource, fetching pages as needed. It returns false when the listing ends, MaxPages is reached, or an error occurs. Check Err after it returns false. PerPage controls page size; MaxPages defaults to zero, which allows all pages.

for i.Next() {
	// Process i.Current().
}
if err := i.Err(); err != nil {
	// Handle the listing error.
}

func (*Iter) NextPage ¶

func (i *Iter) NextPage() bool

NextPage reports whether the API supplied a cursor for another page. It does not fetch that page or account for MaxPages.

func (*Iter) Paging ¶

func (i *Iter) Paging() bool

Paging reports that this iterator supports pagination.

func (*Iter) Reload ¶

func (i *Iter) Reload(opts ...RequestResponseOption) IterI

Reload returns a new iterator for the same listing that starts again from the first page, even if i started from a cursor. It keeps the listing's parameters as they were before i requested its first page, along with its page limits, error handler, and request options. opts run after those options, so WithContext replaces the listing's context; without it, the original context still applies. Reload does not read or change i's traversal state, so it can run while another goroutine is still in i.Next, as when a caller cancels a traversal and reloads it without waiting.

func (*Iter) SetCursor ¶

func (i *Iter) SetCursor(cursor string)

SetCursor sets the cursor for the next page request.

type IterI ¶

type IterI interface {
	Next() bool
	Current() interface{}
	Err() error
}

IterI traverses resources. Call Current only after Next returns true, and check Err after Next returns false.

type IterPagingI ¶

type IterPagingI interface {
	IterI
	EOFPage() bool
}

IterPagingI reports whether the current resource is the last one on its page.

type Iterable ¶

type Iterable interface {
	Iterable() bool
}

Iterable reports whether a resource can be listed for child resources.

type KeyLifecycleRule ¶ added in v3.3.20

type KeyLifecycleRule struct {
	// Key Lifecycle Rule ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Key type for which the rule will apply (gpg, ssh, or api).
	KeyType string `json:"key_type,omitempty" path:"key_type,omitempty" url:"key_type,omitempty"`
	// Number of days of inactivity before the rule applies.
	InactivityDays int64 `json:"inactivity_days,omitempty" path:"inactivity_days,omitempty" url:"inactivity_days,omitempty"`
	// Number of days after creation before an SSH key expires. Applies only to SSH keys.
	ExpirationDays int64 `json:"expiration_days,omitempty" path:"expiration_days,omitempty" url:"expiration_days,omitempty"`
	// If true, a default-workspace rule also applies to keys in all workspaces.
	ApplyToAllWorkspaces *bool `json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces,omitempty" url:"apply_to_all_workspaces,omitempty"`
	// Key Lifecycle Rule name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
}

KeyLifecycleRule is a Files.com API resource.

func (KeyLifecycleRule) Identifier ¶ added in v3.3.20

func (k KeyLifecycleRule) Identifier() interface{}

Identifier returns the resource ID.

func (*KeyLifecycleRule) UnmarshalJSON ¶ added in v3.3.20

func (k *KeyLifecycleRule) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type KeyLifecycleRuleCollection ¶ added in v3.3.20

type KeyLifecycleRuleCollection []KeyLifecycleRule

KeyLifecycleRuleCollection is a list of KeyLifecycleRule resources.

func (*KeyLifecycleRuleCollection) ToSlice ¶ added in v3.3.20

func (k *KeyLifecycleRuleCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*KeyLifecycleRuleCollection) UnmarshalJSON ¶ added in v3.3.20

func (k *KeyLifecycleRuleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type KeyLifecycleRuleCreateParams ¶ added in v3.3.20

type KeyLifecycleRuleCreateParams struct {
	// If true, a default-workspace rule also applies to keys in all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// Number of days after creation before an SSH key expires. Applies only to SSH keys.
	ExpirationDays int64 `url:"expiration_days,omitempty" json:"expiration_days,omitempty" path:"expiration_days"`
	// Key type for which the rule will apply (gpg, ssh, or api). Values: gpg, ssh, api.
	KeyType KeyLifecycleRuleKeyTypeEnum `url:"key_type,omitempty" json:"key_type,omitempty" path:"key_type"`
	// Number of days of inactivity before the rule applies.
	InactivityDays int64 `url:"inactivity_days,omitempty" json:"inactivity_days,omitempty" path:"inactivity_days"`
	// Key Lifecycle Rule name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

KeyLifecycleRuleCreateParams contains the request parameters for POST /key_lifecycle_rules.

type KeyLifecycleRuleDeleteParams ¶ added in v3.3.20

type KeyLifecycleRuleDeleteParams struct {
	// Key Lifecycle Rule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

KeyLifecycleRuleDeleteParams contains the request parameters for DELETE /key_lifecycle_rules/{id}.

type KeyLifecycleRuleFindParams ¶ added in v3.3.20

type KeyLifecycleRuleFindParams struct {
	// Key Lifecycle Rule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

KeyLifecycleRuleFindParams contains the request parameters for GET /key_lifecycle_rules/{id}.

type KeyLifecycleRuleKeyTypeEnum ¶ added in v3.3.20

type KeyLifecycleRuleKeyTypeEnum string

KeyLifecycleRuleKeyTypeEnum is a string value for key_type. Enum lists the values documented by the API.

func (KeyLifecycleRuleKeyTypeEnum) Enum ¶ added in v3.3.20

Enum returns the documented values keyed by their API strings.

func (KeyLifecycleRuleKeyTypeEnum) String ¶ added in v3.3.20

String returns the API parameter value.

type KeyLifecycleRuleListParams ¶ added in v3.3.20

type KeyLifecycleRuleListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `key_type`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type` and `workspace_id`. Valid field combinations are `[ workspace_id, key_type ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

KeyLifecycleRuleListParams contains the request parameters for GET /key_lifecycle_rules.

type KeyLifecycleRuleUpdateParams ¶ added in v3.3.20

type KeyLifecycleRuleUpdateParams struct {
	// Key Lifecycle Rule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// If true, a default-workspace rule also applies to keys in all workspaces.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// Number of days after creation before an SSH key expires. Applies only to SSH keys.
	ExpirationDays int64 `url:"expiration_days,omitempty" json:"expiration_days,omitempty" path:"expiration_days"`
	// Key type for which the rule will apply (gpg, ssh, or api). Values: gpg, ssh, api.
	KeyType KeyLifecycleRuleKeyTypeEnum `url:"key_type,omitempty" json:"key_type,omitempty" path:"key_type"`
	// Number of days of inactivity before the rule applies.
	InactivityDays int64 `url:"inactivity_days,omitempty" json:"inactivity_days,omitempty" path:"inactivity_days"`
	// Key Lifecycle Rule name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

KeyLifecycleRuleUpdateParams contains the request parameters for PATCH /key_lifecycle_rules/{id}.

type ListParams ¶

type ListParams struct {
	// PerPage requests the number of results per page. Zero uses the API default.
	PerPage int64 `json:"per_page,omitempty" url:"per_page,omitempty" required:"false"`
	// Cursor starts the listing at an API cursor. Empty starts at the first page.
	Cursor   string `json:"cursor,omitempty" url:"cursor,omitempty" required:"false"`
	MaxPages int64  `json:"-" url:"-"`
}

ListParams controls cursor-based pagination. A zero MaxPages allows all pages; a positive value limits the number of pages requested.

func (*ListParams) GetListParams ¶

func (p *ListParams) GetListParams() *ListParams

GetListParams returns p. Structs embedding ListParams inherit this method.

type ListParamsContainer ¶

type ListParamsContainer interface {
	GetListParams() *ListParams
}

ListParamsContainer exposes paging settings. Generated list parameter structs implement it by embedding ListParams.

type Lock ¶

type Lock struct {
	// Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Lock timeout in seconds.
	Timeout int64  `json:"timeout,omitempty" path:"timeout,omitempty" url:"timeout,omitempty"`
	Depth   string `json:"depth,omitempty" path:"depth,omitempty" url:"depth,omitempty"`
	// Does lock apply to subfolders?
	Recursive *bool `json:"recursive,omitempty" path:"recursive,omitempty" url:"recursive,omitempty"`
	// Arbitrary descriptive label for the lock. Does not change the lock creator or permissions.
	Owner string `json:"owner,omitempty" path:"owner,omitempty" url:"owner,omitempty"`
	Scope string `json:"scope,omitempty" path:"scope,omitempty" url:"scope,omitempty"`
	// Is lock exclusive?
	Exclusive *bool `json:"exclusive,omitempty" path:"exclusive,omitempty" url:"exclusive,omitempty"`
	// Lock token. Use to release lock.
	Token string `json:"token,omitempty" path:"token,omitempty" url:"token,omitempty"`
	Type  string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
	// Can lock be modified by users other than its creator?
	AllowAccessByAnyUser *bool `json:"allow_access_by_any_user,omitempty" path:"allow_access_by_any_user,omitempty" url:"allow_access_by_any_user,omitempty"`
	// Lock creator user ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Lock creator username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Require this existing, unexpired token before refreshing or replacing a lock. Set token to the same value to refresh, or a different value to replace.
	ExpectedToken string `json:"expected_token,omitempty" path:"expected_token,omitempty" url:"expected_token,omitempty"`
}

Lock is a Files.com API resource.

func (Lock) Identifier ¶

func (l Lock) Identifier() interface{}

Identifier returns the resource path.

func (*Lock) UnmarshalJSON ¶

func (l *Lock) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type LockCollection ¶

type LockCollection []Lock

LockCollection is a list of Lock resources.

func (*LockCollection) ToSlice ¶

func (l *LockCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*LockCollection) UnmarshalJSON ¶

func (l *LockCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type LockCreateParams ¶

type LockCreateParams struct {
	// Path. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Lock token. With expected_token, use the same value to refresh or a different value to replace the existing token.
	Token string `url:"token,omitempty" json:"token,omitempty" path:"token"`
	// Require this existing, unexpired token before refreshing or replacing a lock. Set token to the same value to refresh, or a different value to replace.
	ExpectedToken string `url:"expected_token,omitempty" json:"expected_token,omitempty" path:"expected_token"`
	// Can lock be modified by users other than its creator?
	AllowAccessByAnyUser *bool `url:"allow_access_by_any_user,omitempty" json:"allow_access_by_any_user,omitempty" path:"allow_access_by_any_user"`
	// Is lock exclusive?
	Exclusive *bool `url:"exclusive,omitempty" json:"exclusive,omitempty" path:"exclusive"`
	// Does lock apply to subfolders?
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
	// Arbitrary descriptive label for the lock. Does not change the lock creator or permissions.
	Owner string `url:"owner,omitempty" json:"owner,omitempty" path:"owner"`
	// Lock timeout in seconds.
	Timeout int64 `url:"timeout,omitempty" json:"timeout,omitempty" path:"timeout"`
}

LockCreateParams contains the request parameters for POST /locks/{path}.

type LockDeleteParams ¶

type LockDeleteParams struct {
	// Path. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Lock token. Required.
	Token string `url:"token" json:"token" path:"token"`
}

LockDeleteParams contains the request parameters for DELETE /locks/{path}.

type LockListForParams ¶

type LockListForParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Include locks from children objects?
	IncludeChildren *bool `url:"include_children,omitempty" json:"include_children,omitempty" path:"include_children"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

LockListForParams contains the request parameters for GET /locks/{path}.

type MetadataCategory ¶ added in v3.3.84

type MetadataCategory struct {
	// Metadata Category ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Name of the metadata category.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Map of key names to arrays of allowed values. An empty array means free-form text.
	Definitions map[string][]string `json:"definitions,omitempty" path:"definitions,omitempty" url:"definitions,omitempty"`
	// Metadata keys that should appear as columns in the UI by default.
	DefaultColumns []string `json:"default_columns,omitempty" path:"default_columns,omitempty" url:"default_columns,omitempty"`
}

MetadataCategory is a Files.com API resource.

func (MetadataCategory) Identifier ¶ added in v3.3.84

func (m MetadataCategory) Identifier() interface{}

Identifier returns the resource ID.

func (*MetadataCategory) UnmarshalJSON ¶ added in v3.3.84

func (m *MetadataCategory) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type MetadataCategoryCollection ¶ added in v3.3.84

type MetadataCategoryCollection []MetadataCategory

MetadataCategoryCollection is a list of MetadataCategory resources.

func (*MetadataCategoryCollection) ToSlice ¶ added in v3.3.84

func (m *MetadataCategoryCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*MetadataCategoryCollection) UnmarshalJSON ¶ added in v3.3.84

func (m *MetadataCategoryCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type MetadataCategoryCreateParams ¶ added in v3.3.84

type MetadataCategoryCreateParams struct {
	// Name of the metadata category. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Metadata keys that should appear as columns in the UI by default.
	DefaultColumns []string `url:"default_columns,omitempty" json:"default_columns,omitempty" path:"default_columns"`
}

MetadataCategoryCreateParams contains the request parameters for POST /metadata_categories.

type MetadataCategoryDeleteParams ¶ added in v3.3.84

type MetadataCategoryDeleteParams struct {
	// Metadata Category ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

MetadataCategoryDeleteParams contains the request parameters for DELETE /metadata_categories/{id}.

type MetadataCategoryFindParams ¶ added in v3.3.84

type MetadataCategoryFindParams struct {
	// Metadata Category ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

MetadataCategoryFindParams contains the request parameters for GET /metadata_categories/{id}.

type MetadataCategoryListForParams ¶ added in v3.3.91

type MetadataCategoryListForParams struct {
	// Path to operate on. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

MetadataCategoryListForParams contains the request parameters for GET /metadata_categories/list_by_path/{path}.

type MetadataCategoryListParams ¶ added in v3.3.84

type MetadataCategoryListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

MetadataCategoryListParams contains the request parameters for GET /metadata_categories.

type MetadataCategoryUpdateParams ¶ added in v3.3.84

type MetadataCategoryUpdateParams struct {
	// Metadata Category ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Name of the metadata category.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Metadata keys that should appear as columns in the UI by default.
	DefaultColumns []string `url:"default_columns,omitempty" json:"default_columns,omitempty" path:"default_columns"`
}

MetadataCategoryUpdateParams contains the request parameters for PATCH /metadata_categories/{id}.

type Notification ¶

type Notification struct {
	// Notification ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Folder path to notify on. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// ID of Group to receive notifications.
	GroupId int64 `json:"group_id,omitempty" path:"group_id,omitempty" url:"group_id,omitempty"`
	// Group name, if a Group ID is set.
	GroupName string `json:"group_name,omitempty" path:"group_name,omitempty" url:"group_name,omitempty"`
	// Group IDs when the notification requires multiple groups.
	GroupIds []int64 `json:"group_ids,omitempty" path:"group_ids,omitempty" url:"group_ids,omitempty"`
	// Group names when the notification requires multiple groups.
	GroupNames []string `json:"group_names,omitempty" path:"group_names,omitempty" url:"group_names,omitempty"`
	// If set, will only notify on actions made by a member of one of the specified groups.
	TriggeringGroupIds []int64 `json:"triggering_group_ids,omitempty" path:"triggering_group_ids,omitempty" url:"triggering_group_ids,omitempty"`
	// If set, will only notify on actions made one of the specified users.
	TriggeringUserIds []int64 `json:"triggering_user_ids,omitempty" path:"triggering_user_ids,omitempty" url:"triggering_user_ids,omitempty"`
	// Notify when actions are performed by a share recipient?
	TriggerByShareRecipients *bool `` /* 133-byte string literal not displayed */
	// If true, will send notifications about a user's own activity to that user. If false, only activity performed by other users (or anonymous users) will be sent in notifications.
	NotifyUserActions *bool `json:"notify_user_actions,omitempty" path:"notify_user_actions,omitempty" url:"notify_user_actions,omitempty"`
	// Trigger on files copied to this path?
	NotifyOnCopy *bool `json:"notify_on_copy,omitempty" path:"notify_on_copy,omitempty" url:"notify_on_copy,omitempty"`
	// Trigger on files deleted in this path?
	NotifyOnDelete *bool `json:"notify_on_delete,omitempty" path:"notify_on_delete,omitempty" url:"notify_on_delete,omitempty"`
	// Trigger on files downloaded in this path?
	NotifyOnDownload *bool `json:"notify_on_download,omitempty" path:"notify_on_download,omitempty" url:"notify_on_download,omitempty"`
	// Trigger on files moved to this path?
	NotifyOnMove *bool `json:"notify_on_move,omitempty" path:"notify_on_move,omitempty" url:"notify_on_move,omitempty"`
	// Trigger on files created/uploaded/updated/changed in this path?
	NotifyOnUpload *bool `json:"notify_on_upload,omitempty" path:"notify_on_upload,omitempty" url:"notify_on_upload,omitempty"`
	// Apply notification recursively? This will enable notifications for each subfolder.
	Recursive *bool `json:"recursive,omitempty" path:"recursive,omitempty" url:"recursive,omitempty"`
	// The time interval that notifications are aggregated to.
	SendInterval string `json:"send_interval,omitempty" path:"send_interval,omitempty" url:"send_interval,omitempty"`
	// Custom subject line to use for notification emails.
	Subject string `json:"subject,omitempty" path:"subject,omitempty" url:"subject,omitempty"`
	// Custom message to include in notification emails.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Array of filenames (possibly with wildcards) to scope trigger.
	TriggeringFilenames []string `json:"triggering_filenames,omitempty" path:"triggering_filenames,omitempty" url:"triggering_filenames,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Is the user unsubscribed from this notification?
	Unsubscribed *bool `json:"unsubscribed,omitempty" path:"unsubscribed,omitempty" url:"unsubscribed,omitempty"`
	// The reason that the user unsubscribed.
	UnsubscribedReason string `json:"unsubscribed_reason,omitempty" path:"unsubscribed_reason,omitempty" url:"unsubscribed_reason,omitempty"`
	// Notification user ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Notification username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// If true, it means that the recipient at this user's email address has manually unsubscribed from all emails, or had their email "hard bounce", which means that we are unable to send mail to this user's current email address. Notifications will resume if the user changes their email address.
	SuppressedEmail *bool `json:"suppressed_email,omitempty" path:"suppressed_email,omitempty" url:"suppressed_email,omitempty"`
}

Notification is a Files.com API resource.

func (Notification) Identifier ¶

func (n Notification) Identifier() interface{}

Identifier returns the resource ID.

func (*Notification) UnmarshalJSON ¶

func (n *Notification) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type NotificationCollection ¶

type NotificationCollection []Notification

NotificationCollection is a list of Notification resources.

func (*NotificationCollection) ToSlice ¶

func (n *NotificationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*NotificationCollection) UnmarshalJSON ¶

func (n *NotificationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type NotificationCreateParams ¶

type NotificationCreateParams struct {
	// The id of the user to notify. Provide `user_id`, `username` or `group_id`.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
	NotifyOnCopy *bool `url:"notify_on_copy,omitempty" json:"notify_on_copy,omitempty" path:"notify_on_copy"`
	// Trigger on files deleted in this path?
	NotifyOnDelete *bool `url:"notify_on_delete,omitempty" json:"notify_on_delete,omitempty" path:"notify_on_delete"`
	// Trigger on files downloaded in this path?
	NotifyOnDownload *bool `url:"notify_on_download,omitempty" json:"notify_on_download,omitempty" path:"notify_on_download"`
	// Trigger on files moved to this path?
	NotifyOnMove *bool `url:"notify_on_move,omitempty" json:"notify_on_move,omitempty" path:"notify_on_move"`
	// Trigger on files created/uploaded/updated/changed in this path?
	NotifyOnUpload *bool `url:"notify_on_upload,omitempty" json:"notify_on_upload,omitempty" path:"notify_on_upload"`
	// If `true` actions initiated by the user will still result in a notification.
	NotifyUserActions *bool `url:"notify_user_actions,omitempty" json:"notify_user_actions,omitempty" path:"notify_user_actions"`
	// If `true`, enable notifications for each subfolder in this path.
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
	// The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
	SendInterval string `url:"send_interval,omitempty" json:"send_interval,omitempty" path:"send_interval"`
	// Custom subject line to use for notification emails.
	Subject string `url:"subject,omitempty" json:"subject,omitempty" path:"subject"`
	// Custom message to include in notification emails.
	Message string `url:"message,omitempty" json:"message,omitempty" path:"message"`
	// Array of filenames (possibly with wildcards) to scope trigger.
	TriggeringFilenames []string `url:"triggering_filenames,omitempty" json:"triggering_filenames,omitempty" path:"triggering_filenames"`
	// If set, will only notify on actions made by a member of one of the specified groups.
	TriggeringGroupIds []int64 `url:"triggering_group_ids,omitempty" json:"triggering_group_ids,omitempty" path:"triggering_group_ids"`
	// If set, will only notify on actions made one of the specified users.
	TriggeringUserIds []int64 `url:"triggering_user_ids,omitempty" json:"triggering_user_ids,omitempty" path:"triggering_user_ids"`
	// Notify when actions are performed by a share recipient?
	TriggerByShareRecipients *bool `url:"trigger_by_share_recipients,omitempty" json:"trigger_by_share_recipients,omitempty" path:"trigger_by_share_recipients"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// The ID of the group to notify. Provide `user_id`, `username` or `group_id`.
	GroupId int64 `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// Group IDs when the notification requires multiple groups. If sent as a string, it should be comma-delimited.
	GroupIds string `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// Path.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// The username of the user to notify. Provide `user_id`, `username` or `group_id`.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
}

NotificationCreateParams contains the request parameters for POST /notifications.

type NotificationDeleteParams ¶

type NotificationDeleteParams struct {
	// Notification ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

NotificationDeleteParams contains the request parameters for DELETE /notifications/{id}.

type NotificationFindParams ¶

type NotificationFindParams struct {
	// Notification ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

NotificationFindParams contains the request parameters for GET /notifications/{id}.

type NotificationListParams ¶

type NotificationListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `path`, `user_id` or `group_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `user_id`, `workspace_id` or `group_id`. Valid field combinations are `[ workspace_id, path ]`, `[ workspace_id, user_id ]`, `[ workspace_id, group_id ]` or `[ workspace_id, user_id, path ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// Show notifications for this Path.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// If `include_ancestors` is `true` and `path` is specified, include notifications for any parent paths. Ignored if `path` is not specified.
	IncludeAncestors *bool  `url:"include_ancestors,omitempty" json:"include_ancestors,omitempty" path:"include_ancestors"`
	GroupId          string `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

NotificationListParams contains the request parameters for GET /notifications.

type NotificationUpdateParams ¶

type NotificationUpdateParams struct {
	// Notification ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
	NotifyOnCopy *bool `url:"notify_on_copy,omitempty" json:"notify_on_copy,omitempty" path:"notify_on_copy"`
	// Trigger on files deleted in this path?
	NotifyOnDelete *bool `url:"notify_on_delete,omitempty" json:"notify_on_delete,omitempty" path:"notify_on_delete"`
	// Trigger on files downloaded in this path?
	NotifyOnDownload *bool `url:"notify_on_download,omitempty" json:"notify_on_download,omitempty" path:"notify_on_download"`
	// Trigger on files moved to this path?
	NotifyOnMove *bool `url:"notify_on_move,omitempty" json:"notify_on_move,omitempty" path:"notify_on_move"`
	// Trigger on files created/uploaded/updated/changed in this path?
	NotifyOnUpload *bool `url:"notify_on_upload,omitempty" json:"notify_on_upload,omitempty" path:"notify_on_upload"`
	// If `true` actions initiated by the user will still result in a notification.
	NotifyUserActions *bool `url:"notify_user_actions,omitempty" json:"notify_user_actions,omitempty" path:"notify_user_actions"`
	// If `true`, enable notifications for each subfolder in this path.
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
	// The time interval that notifications are aggregated by. Can be `five_minutes`, `fifteen_minutes`, `hourly`, or `daily`.
	SendInterval string `url:"send_interval,omitempty" json:"send_interval,omitempty" path:"send_interval"`
	// Custom subject line to use for notification emails.
	Subject string `url:"subject,omitempty" json:"subject,omitempty" path:"subject"`
	// Custom message to include in notification emails.
	Message string `url:"message,omitempty" json:"message,omitempty" path:"message"`
	// Array of filenames (possibly with wildcards) to scope trigger.
	TriggeringFilenames []string `url:"triggering_filenames,omitempty" json:"triggering_filenames,omitempty" path:"triggering_filenames"`
	// If set, will only notify on actions made by a member of one of the specified groups.
	TriggeringGroupIds []int64 `url:"triggering_group_ids,omitempty" json:"triggering_group_ids,omitempty" path:"triggering_group_ids"`
	// If set, will only notify on actions made one of the specified users.
	TriggeringUserIds []int64 `url:"triggering_user_ids,omitempty" json:"triggering_user_ids,omitempty" path:"triggering_user_ids"`
	// Notify when actions are performed by a share recipient?
	TriggerByShareRecipients *bool `url:"trigger_by_share_recipients,omitempty" json:"trigger_by_share_recipients,omitempty" path:"trigger_by_share_recipients"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

NotificationUpdateParams contains the request parameters for PATCH /notifications/{id}.

type OnPageError ¶

type OnPageError func(error) (*[]interface{}, error)

OnPageError handles a page-fetch error. It can return replacement results and a nil error to continue iteration, or an error to stop.

type OutboundConnectionLog ¶ added in v3.2.18

type OutboundConnectionLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// Remote Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// End User IP.
	ClientIp string `json:"client_ip,omitempty" path:"client_ip,omitempty" url:"client_ip,omitempty"`
	// Source Remote Server ID.
	SrcRemoteServerId int64 `json:"src_remote_server_id,omitempty" path:"src_remote_server_id,omitempty" url:"src_remote_server_id,omitempty"`
	// Source Remote Server name.
	SrcRemoteServerName string `json:"src_remote_server_name,omitempty" path:"src_remote_server_name,omitempty" url:"src_remote_server_name,omitempty"`
	// Destination Remote Server ID.
	DestRemoteServerId int64 `json:"dest_remote_server_id,omitempty" path:"dest_remote_server_id,omitempty" url:"dest_remote_server_id,omitempty"`
	// Destination Remote Server name.
	DestRemoteServerName string `json:"dest_remote_server_name,omitempty" path:"dest_remote_server_name,omitempty" url:"dest_remote_server_name,omitempty"`
	// Operation Type.
	Operation string `json:"operation,omitempty" path:"operation,omitempty" url:"operation,omitempty"`
	// Error message, if applicable.
	ErrorMessage string `json:"error_message,omitempty" path:"error_message,omitempty" url:"error_message,omitempty"`
	// Error operation, if applicable.
	ErrorOperation string `json:"error_operation,omitempty" path:"error_operation,omitempty" url:"error_operation,omitempty"`
	// Error type, if applicable.
	ErrorType string `json:"error_type,omitempty" path:"error_type,omitempty" url:"error_type,omitempty"`
	// Status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Data Length in Bytes. Present for upload actions that transfer data.
	BytesUploaded int64 `json:"bytes_uploaded,omitempty" path:"bytes_uploaded,omitempty" url:"bytes_uploaded,omitempty"`
	// Data Length in Bytes. Present for download actions that transfer data.
	BytesDownloaded int64 `json:"bytes_downloaded,omitempty" path:"bytes_downloaded,omitempty" url:"bytes_downloaded,omitempty"`
	// Number of entries returned for a folder list action.
	ListCount int64 `json:"list_count,omitempty" path:"list_count,omitempty" url:"list_count,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

OutboundConnectionLog is a Files.com API resource.

func (OutboundConnectionLog) Identifier ¶ added in v3.2.18

func (o OutboundConnectionLog) Identifier() interface{}

Identifier returns the resource path.

func (*OutboundConnectionLog) UnmarshalJSON ¶ added in v3.2.18

func (o *OutboundConnectionLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type OutboundConnectionLogCollection ¶ added in v3.2.18

type OutboundConnectionLogCollection []OutboundConnectionLog

OutboundConnectionLogCollection is a list of OutboundConnectionLog resources.

func (*OutboundConnectionLogCollection) ToSlice ¶ added in v3.2.18

func (o *OutboundConnectionLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*OutboundConnectionLogCollection) UnmarshalJSON ¶ added in v3.2.18

func (o *OutboundConnectionLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type OutboundConnectionLogListParams ¶ added in v3.2.18

type OutboundConnectionLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `operation`, `status`, `src_remote_server_id`, `dest_remote_server_id`, `path`, `client_ip` or `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ src_remote_server_id, created_at ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ dest_remote_server_id, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, created_at ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, created_at ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, created_at ]`, `[ src_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, path, created_at ]`, `[ src_remote_server_id, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, created_at ]`, `[ dest_remote_server_id, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, created_at ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, created_at ]`, `[ operation, dest_remote_server_id, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, created_at ]`, `[ status, dest_remote_server_id, client_ip, created_at ]`, `[ status, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ src_remote_server_id, path, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, created_at ]`, `[ operation, status, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ status, src_remote_server_id, path, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]` or `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ src_remote_server_id, created_at ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ dest_remote_server_id, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, created_at ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, created_at ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, created_at ]`, `[ src_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, path, created_at ]`, `[ src_remote_server_id, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, created_at ]`, `[ dest_remote_server_id, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, created_at ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, created_at ]`, `[ operation, dest_remote_server_id, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, created_at ]`, `[ status, dest_remote_server_id, client_ip, created_at ]`, `[ status, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ src_remote_server_id, path, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, created_at ]`, `[ operation, status, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ status, src_remote_server_id, path, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]` or `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ src_remote_server_id, created_at ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ dest_remote_server_id, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, created_at ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, created_at ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, created_at ]`, `[ src_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, path, created_at ]`, `[ src_remote_server_id, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, created_at ]`, `[ dest_remote_server_id, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, created_at ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, created_at ]`, `[ operation, dest_remote_server_id, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, created_at ]`, `[ status, dest_remote_server_id, client_ip, created_at ]`, `[ status, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ src_remote_server_id, path, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, created_at ]`, `[ operation, status, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ status, src_remote_server_id, path, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]` or `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ src_remote_server_id, created_at ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ dest_remote_server_id, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, created_at ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, created_at ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, created_at ]`, `[ src_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, path, created_at ]`, `[ src_remote_server_id, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, created_at ]`, `[ dest_remote_server_id, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, created_at ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, created_at ]`, `[ operation, dest_remote_server_id, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, created_at ]`, `[ status, dest_remote_server_id, client_ip, created_at ]`, `[ status, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ src_remote_server_id, path, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, created_at ]`, `[ operation, status, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ status, src_remote_server_id, path, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]` or `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ src_remote_server_id, created_at ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ dest_remote_server_id, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, created_at ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, created_at ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, created_at ]`, `[ src_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, path, created_at ]`, `[ src_remote_server_id, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, created_at ]`, `[ dest_remote_server_id, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, created_at ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, created_at ]`, `[ operation, dest_remote_server_id, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, created_at ]`, `[ status, dest_remote_server_id, client_ip, created_at ]`, `[ status, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ src_remote_server_id, path, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, created_at ]`, `[ operation, status, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ status, src_remote_server_id, path, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]` or `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ src_remote_server_id ]`, `[ dest_remote_server_id ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, src_remote_server_id ]`, `[ operation, dest_remote_server_id ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, src_remote_server_id ]`, `[ status, dest_remote_server_id ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ src_remote_server_id, dest_remote_server_id ]`, `[ src_remote_server_id, path ]`, `[ src_remote_server_id, client_ip ]`, `[ src_remote_server_id, created_at ]`, `[ dest_remote_server_id, path ]`, `[ dest_remote_server_id, client_ip ]`, `[ dest_remote_server_id, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, src_remote_server_id ]`, `[ operation, status, dest_remote_server_id ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id ]`, `[ operation, src_remote_server_id, path ]`, `[ operation, src_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, created_at ]`, `[ operation, dest_remote_server_id, path ]`, `[ operation, dest_remote_server_id, client_ip ]`, `[ operation, dest_remote_server_id, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id ]`, `[ status, src_remote_server_id, path ]`, `[ status, src_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, created_at ]`, `[ status, dest_remote_server_id, path ]`, `[ status, dest_remote_server_id, client_ip ]`, `[ status, dest_remote_server_id, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, created_at ]`, `[ src_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, path, created_at ]`, `[ src_remote_server_id, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip ]`, `[ dest_remote_server_id, path, created_at ]`, `[ dest_remote_server_id, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id ]`, `[ operation, status, src_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, created_at ]`, `[ operation, status, dest_remote_server_id, path ]`, `[ operation, status, dest_remote_server_id, client_ip ]`, `[ operation, status, dest_remote_server_id, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, src_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip ]`, `[ operation, dest_remote_server_id, path, created_at ]`, `[ operation, dest_remote_server_id, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ status, src_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip ]`, `[ status, dest_remote_server_id, path, created_at ]`, `[ status, dest_remote_server_id, client_ip, created_at ]`, `[ status, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ src_remote_server_id, path, client_ip, created_at ]`, `[ dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip ]`, `[ operation, status, dest_remote_server_id, path, created_at ]`, `[ operation, status, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ status, src_remote_server_id, path, client_ip, created_at ]`, `[ status, dest_remote_server_id, path, client_ip, created_at ]`, `[ src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, path, created_at ]`, `[ operation, status, src_remote_server_id, dest_remote_server_id, client_ip, created_at ]`, `[ operation, status, src_remote_server_id, path, client_ip, created_at ]`, `[ operation, status, dest_remote_server_id, path, client_ip, created_at ]`, `[ operation, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`, `[ status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]` or `[ operation, status, src_remote_server_id, dest_remote_server_id, path, client_ip, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

OutboundConnectionLogListParams contains the request parameters for GET /outbound_connection_logs.

type Partner ¶ added in v3.2.249

type Partner struct {
	// Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
	AllowBypassing2faPolicies *bool `` /* 136-byte string literal not displayed */
	// A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
	AllowedIps string `json:"allowed_ips,omitempty" path:"allowed_ips,omitempty" url:"allowed_ips,omitempty"`
	// Allow Partner Admins to change or reset credentials for users belonging to this Partner.
	AllowCredentialChanges *bool `json:"allow_credential_changes,omitempty" path:"allow_credential_changes,omitempty" url:"allow_credential_changes,omitempty"`
	// Allow Partner Admins to provide GPG keys.
	AllowProvidingGpgKeys *bool `json:"allow_providing_gpg_keys,omitempty" path:"allow_providing_gpg_keys,omitempty" url:"allow_providing_gpg_keys,omitempty"`
	// Allow Partner Admins to create users.
	AllowUserCreation *bool `json:"allow_user_creation,omitempty" path:"allow_user_creation,omitempty" url:"allow_user_creation,omitempty"`
	// When `true`, emails sent to Partner users are copied to the responsible User or Group.
	CcEmailsToResponsibleParty *bool `` /* 142-byte string literal not displayed */
	// Approved Connected Sites relationships for this Partner, in both directions. Empty when this Partner has no connections. Read-only.
	Connections []PartnerConnection `json:"connections,omitempty" path:"connections,omitempty" url:"connections,omitempty"`
	// The unique ID of the Partner.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
	AiAssistantPersonalityId int64 `` /* 133-byte string literal not displayed */
	// ID of the Workspace associated with this Partner.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// The name of the Partner.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Notes about this Partner.
	Notes string `json:"notes,omitempty" path:"notes,omitempty" url:"notes,omitempty"`
	// Array of User IDs that are Partner Admins for this Partner.
	PartnerAdminIds []int64 `json:"partner_admin_ids,omitempty" path:"partner_admin_ids,omitempty" url:"partner_admin_ids,omitempty"`
	// ID of the Partner Channel Template assigned to this Partner.
	PartnerChannelTemplateId int64 `` /* 133-byte string literal not displayed */
	// This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
	PartnershipRole string `json:"partnership_role,omitempty" path:"partnership_role,omitempty" url:"partnership_role,omitempty"`
	// ID of the Group responsible for this Partner.
	ResponsibleGroupId int64 `json:"responsible_group_id,omitempty" path:"responsible_group_id,omitempty" url:"responsible_group_id,omitempty"`
	// ID of the User responsible for this Partner.
	ResponsibleUserId int64 `json:"responsible_user_id,omitempty" path:"responsible_user_id,omitempty" url:"responsible_user_id,omitempty"`
	// The root folder path for this Partner.
	RootFolder string `json:"root_folder,omitempty" path:"root_folder,omitempty" url:"root_folder,omitempty"`
	// Show Partner users a simplified home page built from this Partner's Channels.
	ShowPartnerChannelHomePage *bool `` /* 142-byte string literal not displayed */
	// Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
	Tags string `json:"tags,omitempty" path:"tags,omitempty" url:"tags,omitempty"`
	// Array of User IDs that belong to this Partner.
	UserIds []int64 `json:"user_ids,omitempty" path:"user_ids,omitempty" url:"user_ids,omitempty"`
}

Partner is a Files.com API resource.

func (Partner) Identifier ¶ added in v3.2.249

func (p Partner) Identifier() interface{}

Identifier returns the resource ID.

func (*Partner) UnmarshalJSON ¶ added in v3.2.249

func (p *Partner) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PartnerChannel ¶ added in v3.3.152

type PartnerChannel struct {
	// The unique ID of the Partner Channel.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the Workspace associated with this Partner Channel.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
	Direction string `json:"direction,omitempty" path:"direction,omitempty" url:"direction,omitempty"`
	// Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
	UseChannelRoot *bool `json:"use_channel_root,omitempty" path:"use_channel_root,omitempty" url:"use_channel_root,omitempty"`
	// ID of the Partner this Channel belongs to.
	PartnerId int64 `json:"partner_id,omitempty" path:"partner_id,omitempty" url:"partner_id,omitempty"`
	// ID of the Partner Channel Template that manages this Channel, if any.
	PartnerChannelTemplateId int64 `` /* 133-byte string literal not displayed */
	// Channel path relative to the Partner root folder. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Optional Channel-level to-Partner folder name override.
	ToPartnerFolderName string `json:"to_partner_folder_name,omitempty" path:"to_partner_folder_name,omitempty" url:"to_partner_folder_name,omitempty"`
	// Optional Channel-level from-Partner folder name override.
	FromPartnerFolderName string `json:"from_partner_folder_name,omitempty" path:"from_partner_folder_name,omitempty" url:"from_partner_folder_name,omitempty"`
	// Optional route path for files uploaded by the Partner.
	FromPartnerRoutePath string `json:"from_partner_route_path,omitempty" path:"from_partner_route_path,omitempty" url:"from_partner_route_path,omitempty"`
	// Optional route path for files delivered to the Partner.
	ToPartnerRoutePath string `json:"to_partner_route_path,omitempty" path:"to_partner_route_path,omitempty" url:"to_partner_route_path,omitempty"`
	// Managed folder paths inside the to-Partner folder.
	ToPartnerManagedFolderPaths []string `` /* 145-byte string literal not displayed */
	// Managed folder paths inside the from-Partner folder.
	FromPartnerManagedFolderPaths []string `` /* 151-byte string literal not displayed */
	// Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
	EffectiveToPartnerFolderName string `` /* 148-byte string literal not displayed */
	// Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
	EffectiveFromPartnerFolderName string `` /* 154-byte string literal not displayed */
	// Resolved Channel folder path.
	ChannelPath string `json:"channel_path,omitempty" path:"channel_path,omitempty" url:"channel_path,omitempty"`
	// Resolved to-Partner folder path.
	ToPartnerFolderPath string `json:"to_partner_folder_path,omitempty" path:"to_partner_folder_path,omitempty" url:"to_partner_folder_path,omitempty"`
	// Resolved from-Partner folder path.
	FromPartnerFolderPath string `json:"from_partner_folder_path,omitempty" path:"from_partner_folder_path,omitempty" url:"from_partner_folder_path,omitempty"`
}

PartnerChannel is a Files.com API resource.

func (PartnerChannel) Identifier ¶ added in v3.3.152

func (p PartnerChannel) Identifier() interface{}

Identifier returns the resource ID.

func (*PartnerChannel) UnmarshalJSON ¶ added in v3.3.152

func (p *PartnerChannel) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PartnerChannelCollection ¶ added in v3.3.152

type PartnerChannelCollection []PartnerChannel

PartnerChannelCollection is a list of PartnerChannel resources.

func (*PartnerChannelCollection) ToSlice ¶ added in v3.3.152

func (p *PartnerChannelCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PartnerChannelCollection) UnmarshalJSON ¶ added in v3.3.152

func (p *PartnerChannelCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PartnerChannelCreateParams ¶ added in v3.3.152

type PartnerChannelCreateParams struct {
	// Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads. Values: two_way, to_partner, from_partner.
	Direction PartnerChannelDirectionEnum `url:"direction,omitempty" json:"direction,omitempty" path:"direction"`
	// Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
	UseChannelRoot *bool `url:"use_channel_root,omitempty" json:"use_channel_root,omitempty" path:"use_channel_root"`
	// Optional Channel-level from-Partner folder name override.
	FromPartnerFolderName string `url:"from_partner_folder_name,omitempty" json:"from_partner_folder_name,omitempty" path:"from_partner_folder_name"`
	// Managed folder paths inside the from-Partner folder.
	FromPartnerManagedFolderPaths []string `` /* 141-byte string literal not displayed */
	// Optional route path for files uploaded by the Partner.
	FromPartnerRoutePath string `url:"from_partner_route_path,omitempty" json:"from_partner_route_path,omitempty" path:"from_partner_route_path"`
	// Optional Channel-level to-Partner folder name override.
	ToPartnerFolderName string `url:"to_partner_folder_name,omitempty" json:"to_partner_folder_name,omitempty" path:"to_partner_folder_name"`
	// Managed folder paths inside the to-Partner folder.
	ToPartnerManagedFolderPaths []string `` /* 135-byte string literal not displayed */
	// Optional route path for files delivered to the Partner.
	ToPartnerRoutePath string `url:"to_partner_route_path,omitempty" json:"to_partner_route_path,omitempty" path:"to_partner_route_path"`
	// ID of the Partner this Channel belongs to. Required.
	PartnerId int64 `url:"partner_id" json:"partner_id" path:"partner_id"`
	// Channel path relative to the Partner root folder. Required.
	Path string `url:"path" json:"path" path:"path"`
	// ID of the Workspace associated with this Partner Channel.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

PartnerChannelCreateParams contains the request parameters for POST /partner_channels.

type PartnerChannelDeleteParams ¶ added in v3.3.152

type PartnerChannelDeleteParams struct {
	// Partner Channel ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerChannelDeleteParams contains the request parameters for DELETE /partner_channels/{id}.

type PartnerChannelDirectionEnum ¶ added in v3.3.238

type PartnerChannelDirectionEnum string

PartnerChannelDirectionEnum is a string value for direction. Enum lists the values documented by the API.

func (PartnerChannelDirectionEnum) Enum ¶ added in v3.3.238

Enum returns the documented values keyed by their API strings.

func (PartnerChannelDirectionEnum) String ¶ added in v3.3.238

String returns the API parameter value.

type PartnerChannelFindParams ¶ added in v3.3.152

type PartnerChannelFindParams struct {
	// Partner Channel ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerChannelFindParams contains the request parameters for GET /partner_channels/{id}.

type PartnerChannelListParams ¶ added in v3.3.152

type PartnerChannelListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `path` or `partner_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `partner_id` and `workspace_id`. Valid field combinations are `[ workspace_id, partner_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PartnerChannelListParams contains the request parameters for GET /partner_channels.

type PartnerChannelTemplate ¶ added in v3.3.183

type PartnerChannelTemplate struct {
	// The unique ID of the Partner Channel Template.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the Workspace associated with this Partner Channel Template.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads.
	Direction string `json:"direction,omitempty" path:"direction,omitempty" url:"direction,omitempty"`
	// Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
	UseChannelRoot *bool `json:"use_channel_root,omitempty" path:"use_channel_root,omitempty" url:"use_channel_root,omitempty"`
	// The name of the Partner Channel Template.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Channel path relative to the Partner root folder. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Optional Channel-level to-Partner folder name override.
	ToPartnerFolderName string `json:"to_partner_folder_name,omitempty" path:"to_partner_folder_name,omitempty" url:"to_partner_folder_name,omitempty"`
	// Optional Channel-level from-Partner folder name override.
	FromPartnerFolderName string `json:"from_partner_folder_name,omitempty" path:"from_partner_folder_name,omitempty" url:"from_partner_folder_name,omitempty"`
	// Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
	FromPartnerRoutePathPattern string `` /* 145-byte string literal not displayed */
	// Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
	ToPartnerRoutePathPattern string `` /* 139-byte string literal not displayed */
	// Managed folder paths inside the to-Partner folder.
	ToPartnerManagedFolderPaths []string `` /* 145-byte string literal not displayed */
	// Managed folder paths inside the from-Partner folder.
	FromPartnerManagedFolderPaths []string `` /* 151-byte string literal not displayed */
	// Resolved to-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
	EffectiveToPartnerFolderName string `` /* 148-byte string literal not displayed */
	// Resolved from-Partner subfolder name. Null when the direction is disabled or uses the Channel folder directly.
	EffectiveFromPartnerFolderName string `` /* 154-byte string literal not displayed */
}

PartnerChannelTemplate is a Files.com API resource.

func (PartnerChannelTemplate) Identifier ¶ added in v3.3.183

func (p PartnerChannelTemplate) Identifier() interface{}

Identifier returns the resource ID.

func (*PartnerChannelTemplate) UnmarshalJSON ¶ added in v3.3.183

func (p *PartnerChannelTemplate) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PartnerChannelTemplateCollection ¶ added in v3.3.183

type PartnerChannelTemplateCollection []PartnerChannelTemplate

PartnerChannelTemplateCollection is a list of PartnerChannelTemplate resources.

func (*PartnerChannelTemplateCollection) ToSlice ¶ added in v3.3.183

func (p *PartnerChannelTemplateCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PartnerChannelTemplateCollection) UnmarshalJSON ¶ added in v3.3.183

func (p *PartnerChannelTemplateCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PartnerChannelTemplateCreateParams ¶ added in v3.3.183

type PartnerChannelTemplateCreateParams struct {
	// Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads. Values: two_way, to_partner, from_partner.
	Direction PartnerChannelTemplateDirectionEnum `url:"direction,omitempty" json:"direction,omitempty" path:"direction"`
	// Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
	UseChannelRoot *bool `url:"use_channel_root,omitempty" json:"use_channel_root,omitempty" path:"use_channel_root"`
	// Optional Channel-level from-Partner folder name override.
	FromPartnerFolderName string `url:"from_partner_folder_name,omitempty" json:"from_partner_folder_name,omitempty" path:"from_partner_folder_name"`
	// Managed folder paths inside the from-Partner folder.
	FromPartnerManagedFolderPaths []string `` /* 141-byte string literal not displayed */
	// Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
	FromPartnerRoutePathPattern string `` /* 135-byte string literal not displayed */
	// Optional Channel-level to-Partner folder name override.
	ToPartnerFolderName string `url:"to_partner_folder_name,omitempty" json:"to_partner_folder_name,omitempty" path:"to_partner_folder_name"`
	// Managed folder paths inside the to-Partner folder.
	ToPartnerManagedFolderPaths []string `` /* 135-byte string literal not displayed */
	// Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
	ToPartnerRoutePathPattern string `` /* 129-byte string literal not displayed */
	// The name of the Partner Channel Template. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Channel path relative to the Partner root folder. Required.
	Path string `url:"path" json:"path" path:"path"`
	// ID of the Workspace associated with this Partner Channel Template.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

PartnerChannelTemplateCreateParams contains the request parameters for POST /partner_channel_templates.

type PartnerChannelTemplateDeleteParams ¶ added in v3.3.183

type PartnerChannelTemplateDeleteParams struct {
	// Partner Channel Template ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerChannelTemplateDeleteParams contains the request parameters for DELETE /partner_channel_templates/{id}.

type PartnerChannelTemplateDirectionEnum ¶ added in v3.3.238

type PartnerChannelTemplateDirectionEnum string

PartnerChannelTemplateDirectionEnum is a string value for direction. Enum lists the values documented by the API.

func (PartnerChannelTemplateDirectionEnum) Enum ¶ added in v3.3.238

Enum returns the documented values keyed by their API strings.

func (PartnerChannelTemplateDirectionEnum) String ¶ added in v3.3.238

String returns the API parameter value.

type PartnerChannelTemplateFindParams ¶ added in v3.3.183

type PartnerChannelTemplateFindParams struct {
	// Partner Channel Template ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerChannelTemplateFindParams contains the request parameters for GET /partner_channel_templates/{id}.

type PartnerChannelTemplateListParams ¶ added in v3.3.183

type PartnerChannelTemplateListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PartnerChannelTemplateListParams contains the request parameters for GET /partner_channel_templates.

type PartnerChannelTemplateUpdateParams ¶ added in v3.3.183

type PartnerChannelTemplateUpdateParams struct {
	// Partner Channel Template ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads. Values: two_way, to_partner, from_partner.
	Direction PartnerChannelTemplateDirectionEnum `url:"direction,omitempty" json:"direction,omitempty" path:"direction"`
	// Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Template must remain one-way.
	UseChannelRoot *bool `url:"use_channel_root,omitempty" json:"use_channel_root,omitempty" path:"use_channel_root"`
	// Optional Channel-level from-Partner folder name override.
	FromPartnerFolderName string `url:"from_partner_folder_name,omitempty" json:"from_partner_folder_name,omitempty" path:"from_partner_folder_name"`
	// Managed folder paths inside the from-Partner folder.
	FromPartnerManagedFolderPaths []string `` /* 141-byte string literal not displayed */
	// Optional route path pattern for files uploaded by the Partner. Supports {{partner_name}}.
	FromPartnerRoutePathPattern string `` /* 135-byte string literal not displayed */
	// Optional Channel-level to-Partner folder name override.
	ToPartnerFolderName string `url:"to_partner_folder_name,omitempty" json:"to_partner_folder_name,omitempty" path:"to_partner_folder_name"`
	// Managed folder paths inside the to-Partner folder.
	ToPartnerManagedFolderPaths []string `` /* 135-byte string literal not displayed */
	// Optional route path pattern for files delivered to the Partner. Supports {{partner_name}}.
	ToPartnerRoutePathPattern string `` /* 129-byte string literal not displayed */
	// The name of the Partner Channel Template.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Channel path relative to the Partner root folder.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
}

PartnerChannelTemplateUpdateParams contains the request parameters for PATCH /partner_channel_templates/{id}.

type PartnerChannelUpdateParams ¶ added in v3.3.152

type PartnerChannelUpdateParams struct {
	// Partner Channel ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Channel directions. `two_way` enables both directions, `to_partner` enables outgoing downloads, and `from_partner` enables incoming uploads. Values: two_way, to_partner, from_partner.
	Direction PartnerChannelDirectionEnum `url:"direction,omitempty" json:"direction,omitempty" path:"direction"`
	// Use the Channel folder directly for a one-way exchange. Defaults to false. Cannot be changed after creation. Folder name overrides must be blank when enabled, and the Channel must remain one-way.
	UseChannelRoot *bool `url:"use_channel_root,omitempty" json:"use_channel_root,omitempty" path:"use_channel_root"`
	// Optional Channel-level from-Partner folder name override.
	FromPartnerFolderName string `url:"from_partner_folder_name,omitempty" json:"from_partner_folder_name,omitempty" path:"from_partner_folder_name"`
	// Managed folder paths inside the from-Partner folder.
	FromPartnerManagedFolderPaths []string `` /* 141-byte string literal not displayed */
	// Optional route path for files uploaded by the Partner.
	FromPartnerRoutePath string `url:"from_partner_route_path,omitempty" json:"from_partner_route_path,omitempty" path:"from_partner_route_path"`
	// Optional Channel-level to-Partner folder name override.
	ToPartnerFolderName string `url:"to_partner_folder_name,omitempty" json:"to_partner_folder_name,omitempty" path:"to_partner_folder_name"`
	// Managed folder paths inside the to-Partner folder.
	ToPartnerManagedFolderPaths []string `` /* 135-byte string literal not displayed */
	// Optional route path for files delivered to the Partner.
	ToPartnerRoutePath string `url:"to_partner_route_path,omitempty" json:"to_partner_route_path,omitempty" path:"to_partner_route_path"`
	// Channel path relative to the Partner root folder.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
}

PartnerChannelUpdateParams contains the request parameters for PATCH /partner_channels/{id}.

type PartnerCollection ¶ added in v3.2.249

type PartnerCollection []Partner

PartnerCollection is a list of Partner resources.

func (*PartnerCollection) ToSlice ¶ added in v3.2.249

func (p *PartnerCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PartnerCollection) UnmarshalJSON ¶ added in v3.2.249

func (p *PartnerCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PartnerConnection ¶ added in v3.3.257

type PartnerConnection struct {
	// Relationship ID used with DELETE /partner_sites/:id to disconnect.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// This Partner's role in this connection. A host shares local files with the connected site; a guest accesses files shared by the connected site.
	Role string `json:"role,omitempty" path:"role,omitempty" url:"role,omitempty"`
	// ID of the connected site.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// Name of the connected site.
	SiteName string `json:"site_name,omitempty" path:"site_name,omitempty" url:"site_name,omitempty"`
	// File API path to the connected Host's mount on this site when role is guest. Null when role is host. File access remains subject to the caller's permissions and the Host Partner's grants.
	MountPath string `json:"mount_path,omitempty" path:"mount_path,omitempty" url:"mount_path,omitempty"`
}

PartnerConnection is a Files.com API resource.

func (PartnerConnection) Identifier ¶ added in v3.3.257

func (p PartnerConnection) Identifier() interface{}

Identifier returns the resource ID.

func (*PartnerConnection) UnmarshalJSON ¶ added in v3.3.257

func (p *PartnerConnection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PartnerConnectionCollection ¶ added in v3.3.257

type PartnerConnectionCollection []PartnerConnection

PartnerConnectionCollection is a list of PartnerConnection resources.

func (*PartnerConnectionCollection) ToSlice ¶ added in v3.3.257

func (p *PartnerConnectionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PartnerConnectionCollection) UnmarshalJSON ¶ added in v3.3.257

func (p *PartnerConnectionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PartnerCreateParams ¶ added in v3.2.249

type PartnerCreateParams struct {
	// AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
	AiAssistantPersonalityId int64 `url:"ai_assistant_personality_id,omitempty" json:"ai_assistant_personality_id,omitempty" path:"ai_assistant_personality_id"`
	// A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
	AllowedIps string `url:"allowed_ips,omitempty" json:"allowed_ips,omitempty" path:"allowed_ips"`
	// Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
	AllowBypassing2faPolicies *bool `` /* 126-byte string literal not displayed */
	// Allow Partner Admins to change or reset credentials for users belonging to this Partner.
	AllowCredentialChanges *bool `url:"allow_credential_changes,omitempty" json:"allow_credential_changes,omitempty" path:"allow_credential_changes"`
	// Allow Partner Admins to provide GPG keys.
	AllowProvidingGpgKeys *bool `url:"allow_providing_gpg_keys,omitempty" json:"allow_providing_gpg_keys,omitempty" path:"allow_providing_gpg_keys"`
	// Allow Partner Admins to create users.
	AllowUserCreation *bool `url:"allow_user_creation,omitempty" json:"allow_user_creation,omitempty" path:"allow_user_creation"`
	// When `true`, emails sent to Partner users are copied to the responsible User or Group.
	CcEmailsToResponsibleParty *bool `` /* 132-byte string literal not displayed */
	// Notes about this Partner.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// ID of the Partner Channel Template assigned to this Partner.
	PartnerChannelTemplateId int64 `url:"partner_channel_template_id,omitempty" json:"partner_channel_template_id,omitempty" path:"partner_channel_template_id"`
	// ID of the Group responsible for this Partner.
	ResponsibleGroupId int64 `url:"responsible_group_id,omitempty" json:"responsible_group_id,omitempty" path:"responsible_group_id"`
	// ID of the User responsible for this Partner.
	ResponsibleUserId int64 `url:"responsible_user_id,omitempty" json:"responsible_user_id,omitempty" path:"responsible_user_id"`
	// Show Partner users a simplified home page built from this Partner's Channels.
	ShowPartnerChannelHomePage *bool `` /* 132-byte string literal not displayed */
	// Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
	Tags string `url:"tags,omitempty" json:"tags,omitempty" path:"tags"`
	// The name of the Partner. Required.
	Name string `url:"name" json:"name" path:"name"`
	// The root folder path for this Partner. Required.
	RootFolder string `url:"root_folder" json:"root_folder" path:"root_folder"`
	// ID of the Workspace associated with this Partner.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

PartnerCreateParams contains the request parameters for POST /partners.

type PartnerDeleteParams ¶ added in v3.2.249

type PartnerDeleteParams struct {
	// Partner ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerDeleteParams contains the request parameters for DELETE /partners/{id}.

type PartnerFindParams ¶ added in v3.2.249

type PartnerFindParams struct {
	// Partner ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerFindParams contains the request parameters for GET /partners/{id}.

type PartnerListParams ¶ added in v3.2.249

type PartnerListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PartnerListParams contains the request parameters for GET /partners.

type PartnerPartnershipRoleEnum ¶ added in v3.3.256

type PartnerPartnershipRoleEnum string

PartnerPartnershipRoleEnum is a string value for partnership_role. Enum lists the values documented by the API.

func (PartnerPartnershipRoleEnum) Enum ¶ added in v3.3.256

Enum returns the documented values keyed by their API strings.

func (PartnerPartnershipRoleEnum) String ¶ added in v3.3.256

String returns the API parameter value.

type PartnerSite ¶ added in v3.3.33

type PartnerSite struct {
}

PartnerSite is a Files.com API resource.

func (*PartnerSite) UnmarshalJSON ¶ added in v3.3.33

func (p *PartnerSite) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PartnerSiteCollection ¶ added in v3.3.33

type PartnerSiteCollection []PartnerSite

PartnerSiteCollection is a list of PartnerSite resources.

func (*PartnerSiteCollection) ToSlice ¶ added in v3.3.33

func (p *PartnerSiteCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PartnerSiteCollection) UnmarshalJSON ¶ added in v3.3.33

func (p *PartnerSiteCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PartnerSiteDeleteParams ¶ added in v3.3.145

type PartnerSiteDeleteParams struct {
	// Partner Site ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerSiteDeleteParams contains the request parameters for DELETE /partner_sites/{id}.

type PartnerSiteRequest ¶ added in v3.3.33

type PartnerSiteRequest struct {
	// Partner Site Request ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Host Partner ID.
	HostPartnerId int64 `json:"host_partner_id,omitempty" path:"host_partner_id,omitempty" url:"host_partner_id,omitempty"`
	// Guest Site URL.
	GuestSiteUrl string `json:"guest_site_url,omitempty" path:"guest_site_url,omitempty" url:"guest_site_url,omitempty"`
	// Request status (pending, approved, rejected).
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Host Site Name.
	HostSiteName string `json:"host_site_name,omitempty" path:"host_site_name,omitempty" url:"host_site_name,omitempty"`
	// Pairing key used to approve this request on the Guest Site.
	PairingKey string `json:"pairing_key,omitempty" path:"pairing_key,omitempty" url:"pairing_key,omitempty"`
	// Request creation date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Request last updated date/time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

PartnerSiteRequest is a Files.com API resource.

func (PartnerSiteRequest) Identifier ¶ added in v3.3.33

func (p PartnerSiteRequest) Identifier() interface{}

Identifier returns the resource ID.

func (*PartnerSiteRequest) UnmarshalJSON ¶ added in v3.3.33

func (p *PartnerSiteRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PartnerSiteRequestApproveParams ¶ added in v3.3.33

type PartnerSiteRequestApproveParams struct {
	// Pairing key for the partner site request. Required.
	PairingKey string `url:"pairing_key" json:"pairing_key" path:"pairing_key"`
	// ID of an existing Partner on this site, with the host role, that represents the requesting organization. The connection binds to that Partner and makes it host_and_guest. When omitted, a guest Partner named after the host site is created.
	PartnerId int64 `url:"partner_id,omitempty" json:"partner_id,omitempty" path:"partner_id"`
}

PartnerSiteRequestApproveParams contains the request parameters for POST /partner_site_requests/approve.

type PartnerSiteRequestCollection ¶ added in v3.3.33

type PartnerSiteRequestCollection []PartnerSiteRequest

PartnerSiteRequestCollection is a list of PartnerSiteRequest resources.

func (*PartnerSiteRequestCollection) ToSlice ¶ added in v3.3.33

func (p *PartnerSiteRequestCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PartnerSiteRequestCollection) UnmarshalJSON ¶ added in v3.3.33

func (p *PartnerSiteRequestCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PartnerSiteRequestCreateParams ¶ added in v3.3.33

type PartnerSiteRequestCreateParams struct {
	// Host Partner ID to link with. Required.
	HostPartnerId int64 `url:"host_partner_id" json:"host_partner_id" path:"host_partner_id"`
	// Guest Site URL to link to. Required.
	GuestSiteUrl string `url:"guest_site_url" json:"guest_site_url" path:"guest_site_url"`
}

PartnerSiteRequestCreateParams contains the request parameters for POST /partner_site_requests.

type PartnerSiteRequestDeleteParams ¶ added in v3.3.33

type PartnerSiteRequestDeleteParams struct {
	// Partner Site Request ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PartnerSiteRequestDeleteParams contains the request parameters for DELETE /partner_site_requests/{id}.

type PartnerSiteRequestFindByPairingKeyParams ¶ added in v3.3.33

type PartnerSiteRequestFindByPairingKeyParams struct {
	// Pairing key for the partner site request. Required.
	PairingKey string `url:"pairing_key" json:"pairing_key" path:"pairing_key"`
}

PartnerSiteRequestFindByPairingKeyParams contains the request parameters for GET /partner_site_requests/find_by_pairing_key.

type PartnerSiteRequestListParams ¶ added in v3.3.33

type PartnerSiteRequestListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `host_partner_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `host_partner_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PartnerSiteRequestListParams contains the request parameters for GET /partner_site_requests.

type PartnerSiteRequestRejectParams ¶ added in v3.3.33

type PartnerSiteRequestRejectParams struct {
	// Pairing key for the partner site request. Required.
	PairingKey string `url:"pairing_key" json:"pairing_key" path:"pairing_key"`
}

PartnerSiteRequestRejectParams contains the request parameters for POST /partner_site_requests/reject.

type PartnerUpdateParams ¶ added in v3.2.249

type PartnerUpdateParams struct {
	// Partner ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// AI Assistant Personality ID assigned to this Partner, if any. Users in the Partner inherit it unless a direct per-user assignment overrides it.
	AiAssistantPersonalityId int64 `url:"ai_assistant_personality_id,omitempty" json:"ai_assistant_personality_id,omitempty" path:"ai_assistant_personality_id"`
	// A list of allowed IPs for this Partner. Newline delimited. Partner User IP access is allowed when the IP matches the Partner, User, or Site allowed IP lists.
	AllowedIps string `url:"allowed_ips,omitempty" json:"allowed_ips,omitempty" path:"allowed_ips"`
	// Allow Partner Admins to change Two-Factor Authentication requirements for Partner Users.
	AllowBypassing2faPolicies *bool `` /* 126-byte string literal not displayed */
	// Allow Partner Admins to change or reset credentials for users belonging to this Partner.
	AllowCredentialChanges *bool `url:"allow_credential_changes,omitempty" json:"allow_credential_changes,omitempty" path:"allow_credential_changes"`
	// Allow Partner Admins to provide GPG keys.
	AllowProvidingGpgKeys *bool `url:"allow_providing_gpg_keys,omitempty" json:"allow_providing_gpg_keys,omitempty" path:"allow_providing_gpg_keys"`
	// Allow Partner Admins to create users.
	AllowUserCreation *bool `url:"allow_user_creation,omitempty" json:"allow_user_creation,omitempty" path:"allow_user_creation"`
	// When `true`, emails sent to Partner users are copied to the responsible User or Group.
	CcEmailsToResponsibleParty *bool `` /* 132-byte string literal not displayed */
	// Notes about this Partner.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// ID of the Partner Channel Template assigned to this Partner.
	PartnerChannelTemplateId int64 `url:"partner_channel_template_id,omitempty" json:"partner_channel_template_id,omitempty" path:"partner_channel_template_id"`
	// ID of the Group responsible for this Partner.
	ResponsibleGroupId int64 `url:"responsible_group_id,omitempty" json:"responsible_group_id,omitempty" path:"responsible_group_id"`
	// ID of the User responsible for this Partner.
	ResponsibleUserId int64 `url:"responsible_user_id,omitempty" json:"responsible_user_id,omitempty" path:"responsible_user_id"`
	// Show Partner users a simplified home page built from this Partner's Channels.
	ShowPartnerChannelHomePage *bool `` /* 132-byte string literal not displayed */
	// Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
	Tags string `url:"tags,omitempty" json:"tags,omitempty" path:"tags"`
	// The name of the Partner.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`. Values: host, guest, host_and_guest.
	PartnershipRole PartnerPartnershipRoleEnum `url:"partnership_role,omitempty" json:"partnership_role,omitempty" path:"partnership_role"`
	// The root folder path for this Partner.
	RootFolder string `url:"root_folder,omitempty" json:"root_folder,omitempty" path:"root_folder"`
}

PartnerUpdateParams contains the request parameters for PATCH /partners/{id}.

type Payment ¶

type Payment struct {
	// Line item Id.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Line item amount.
	Amount string `json:"amount,omitempty" path:"amount,omitempty" url:"amount,omitempty"`
	// Line item balance.
	Balance string `json:"balance,omitempty" path:"balance,omitempty" url:"balance,omitempty"`
	// Line item created at.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Line item currency.
	Currency string `json:"currency,omitempty" path:"currency,omitempty" url:"currency,omitempty"`
	// Line item download uri.
	DownloadUri string `json:"download_uri,omitempty" path:"download_uri,omitempty" url:"download_uri,omitempty"`
	// Associated invoice line items.
	InvoiceLineItems []InvoiceLineItem `json:"invoice_line_items,omitempty" path:"invoice_line_items,omitempty" url:"invoice_line_items,omitempty"`
	// Line item payment method.
	Method string `json:"method,omitempty" path:"method,omitempty" url:"method,omitempty"`
	// Associated payment line items.
	PaymentLineItems []PaymentLineItem `json:"payment_line_items,omitempty" path:"payment_line_items,omitempty" url:"payment_line_items,omitempty"`
	// Date/time payment was reversed if applicable.
	PaymentReversedAt *time.Time `json:"payment_reversed_at,omitempty" path:"payment_reversed_at,omitempty" url:"payment_reversed_at,omitempty"`
	// Type of payment if applicable.
	PaymentType string `json:"payment_type,omitempty" path:"payment_type,omitempty" url:"payment_type,omitempty"`
	// Site name this line item is for.
	SiteName string `json:"site_name,omitempty" path:"site_name,omitempty" url:"site_name,omitempty"`
	// Type of line item, either payment or invoice.
	Type string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
}

Payment is a Files.com API resource.

func (Payment) Identifier ¶

func (p Payment) Identifier() interface{}

Identifier returns the resource ID.

func (*Payment) UnmarshalJSON ¶

func (p *Payment) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PaymentCollection ¶

type PaymentCollection []Payment

PaymentCollection is a list of Payment resources.

func (*PaymentCollection) ToSlice ¶

func (p *PaymentCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PaymentCollection) UnmarshalJSON ¶

func (p *PaymentCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PaymentFindParams ¶

type PaymentFindParams struct {
	// Payment ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PaymentFindParams contains the request parameters for GET /payments/{id}.

type PaymentLineItem ¶

type PaymentLineItem struct {
	// Payment line item amount.
	Amount string `json:"amount,omitempty" path:"amount,omitempty" url:"amount,omitempty"`
	// Payment line item created at date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Invoice ID.
	InvoiceId int64 `json:"invoice_id,omitempty" path:"invoice_id,omitempty" url:"invoice_id,omitempty"`
	// Payment ID.
	PaymentId int64 `json:"payment_id,omitempty" path:"payment_id,omitempty" url:"payment_id,omitempty"`
}

PaymentLineItem is a Files.com API resource.

func (*PaymentLineItem) UnmarshalJSON ¶

func (p *PaymentLineItem) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PaymentLineItemCollection ¶

type PaymentLineItemCollection []PaymentLineItem

PaymentLineItemCollection is a list of PaymentLineItem resources.

func (*PaymentLineItemCollection) ToSlice ¶

func (p *PaymentLineItemCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PaymentLineItemCollection) UnmarshalJSON ¶

func (p *PaymentLineItemCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PaymentListParams ¶

type PaymentListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PaymentListParams contains the request parameters for GET /payments.

type PendingWorkEvent ¶ added in v3.3.111

type PendingWorkEvent struct {
	// Event ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Type of pending work event being recorded.
	EventType string `json:"event_type,omitempty" path:"event_type,omitempty" url:"event_type,omitempty"`
	// Status of event.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Event body.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Event errors.
	EventErrors []string `json:"event_errors,omitempty" path:"event_errors,omitempty" url:"event_errors,omitempty"`
	// Event create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Link to log file.
	BodyUrl string `json:"body_url,omitempty" path:"body_url,omitempty" url:"body_url,omitempty"`
	// Folder Behavior ID.
	FolderBehaviorId int64 `json:"folder_behavior_id,omitempty" path:"folder_behavior_id,omitempty" url:"folder_behavior_id,omitempty"`
}

PendingWorkEvent is a Files.com API resource.

func (PendingWorkEvent) Identifier ¶ added in v3.3.111

func (p PendingWorkEvent) Identifier() interface{}

Identifier returns the resource ID.

func (*PendingWorkEvent) UnmarshalJSON ¶ added in v3.3.111

func (p *PendingWorkEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PendingWorkEventCollection ¶ added in v3.3.111

type PendingWorkEventCollection []PendingWorkEvent

PendingWorkEventCollection is a list of PendingWorkEvent resources.

func (*PendingWorkEventCollection) ToSlice ¶ added in v3.3.111

func (p *PendingWorkEventCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PendingWorkEventCollection) UnmarshalJSON ¶ added in v3.3.111

func (p *PendingWorkEventCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PendingWorkEventFindParams ¶ added in v3.3.111

type PendingWorkEventFindParams struct {
	// Pending Work Event ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PendingWorkEventFindParams contains the request parameters for GET /pending_work_events/{id}.

type PendingWorkEventListParams ¶ added in v3.3.111

type PendingWorkEventListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `status` or `folder_behavior_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `status`. Valid field combinations are `[ folder_behavior_id, created_at ]`, `[ status, created_at ]`, `[ folder_behavior_id, status ]` or `[ folder_behavior_id, status, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PendingWorkEventListParams contains the request parameters for GET /pending_work_events.

type Permission ¶

type Permission struct {
	// Permission ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Username (if applicable).
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Group ID.
	GroupId int64 `json:"group_id,omitempty" path:"group_id,omitempty" url:"group_id,omitempty"`
	// Group name (if applicable).
	GroupName string `json:"group_name,omitempty" path:"group_name,omitempty" url:"group_name,omitempty"`
	// Group IDs when this Permission requires membership in every listed group.
	GroupIds []int64 `json:"group_ids,omitempty" path:"group_ids,omitempty" url:"group_ids,omitempty"`
	// Group names when this permission requires multiple groups.
	GroupNames []string `json:"group_names,omitempty" path:"group_names,omitempty" url:"group_names,omitempty"`
	// Partner ID (if applicable).
	PartnerId int64 `json:"partner_id,omitempty" path:"partner_id,omitempty" url:"partner_id,omitempty"`
	// Partner name (if applicable).
	PartnerName string `json:"partner_name,omitempty" path:"partner_name,omitempty" url:"partner_name,omitempty"`
	// Permission type. See the table referenced in the documentation for an explanation of each permission.
	Permission string `json:"permission,omitempty" path:"permission,omitempty" url:"permission,omitempty"`
	// Whether this Permission applies to subfolders. Must be true for `admin` Permissions.
	Recursive *bool `json:"recursive,omitempty" path:"recursive,omitempty" url:"recursive,omitempty"`
	// Site ID.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
}

Permission is a Files.com API resource.

func (Permission) Identifier ¶

func (p Permission) Identifier() interface{}

Identifier returns the resource ID.

func (*Permission) UnmarshalJSON ¶

func (p *Permission) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PermissionCollection ¶

type PermissionCollection []Permission

PermissionCollection is a list of Permission resources.

func (*PermissionCollection) ToSlice ¶

func (p *PermissionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PermissionCollection) UnmarshalJSON ¶

func (p *PermissionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PermissionCreateParams ¶

type PermissionCreateParams struct {
	// Folder path. Required.
	Path string `url:"path" json:"path" path:"path"`
	// Group ID. Provide `group_name` or `group_id`.
	GroupId int64 `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// Group IDs when the Permission requires membership in every listed group. If sent as a string, it should be comma-delimited.
	GroupIds string `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// Permission type. Can be `admin`, `full`, `readonly`, `writeonly`, `list`, or `history`.
	Permission string `url:"permission,omitempty" json:"permission,omitempty" path:"permission"`
	// Apply to subfolders recursively? Must be true for `admin` Permissions.
	Recursive *bool `url:"recursive,omitempty" json:"recursive,omitempty" path:"recursive"`
	// Partner ID if this Permission belongs to a partner.
	PartnerId int64 `url:"partner_id,omitempty" json:"partner_id,omitempty" path:"partner_id"`
	// User ID. Provide `username` or `user_id`.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// User username. Provide `username` or `user_id`.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
	// Group name. Provide `group_name` or `group_id`.
	GroupName string `url:"group_name,omitempty" json:"group_name,omitempty" path:"group_name"`
	// Site ID. If not provided, will default to current site. Used when creating a permission for a child site.
	SiteId int64 `url:"site_id,omitempty" json:"site_id,omitempty" path:"site_id"`
}

PermissionCreateParams contains the request parameters for POST /permissions.

type PermissionDeleteParams ¶

type PermissionDeleteParams struct {
	// Permission ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PermissionDeleteParams contains the request parameters for DELETE /permissions/{id}.

type PermissionListParams ¶

type PermissionListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `group_id`, `path`, `user_id`, `partner_id` or `id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id`, `partner_id` or `user_id`. Valid field combinations are `[ group_id, path ]`, `[ partner_id, path ]`, `[ user_id, path ]`, `[ user_id, group_id ]`, `[ user_id, group_id, path ]`, `[ user_id, group_id, partner_id ]` or `[ user_id, group_id, partner_id, path ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// Permission path. If provided, will scope all permissions(including upward) to this path.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// If searching by user or group, also include user's permissions that are inherited from its groups?
	IncludeGroups *bool  `url:"include_groups,omitempty" json:"include_groups,omitempty" path:"include_groups"`
	GroupId       string `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	PartnerId     string `url:"partner_id,omitempty" json:"partner_id,omitempty" path:"partner_id"`
	UserId        string `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PermissionListParams contains the request parameters for GET /permissions.

type Preview ¶

type Preview struct {
	// Preview ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Preview status. Can be invalid, not_generated, generating, complete, or file_too_large.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Link to download preview.
	DownloadUri string `json:"download_uri,omitempty" path:"download_uri,omitempty" url:"download_uri,omitempty"`
	// Preview type. Can be image, pdf, pdf_native, video, audio, or text.
	Type string `json:"type,omitempty" path:"type,omitempty" url:"type,omitempty"`
	// Preview size.
	Size string `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
}

Preview is a Files.com API resource.

func (Preview) Identifier ¶

func (p Preview) Identifier() interface{}

Identifier returns the resource ID.

func (*Preview) UnmarshalJSON ¶

func (p *Preview) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PreviewCollection ¶

type PreviewCollection []Preview

PreviewCollection is a list of Preview resources.

func (*PreviewCollection) ToSlice ¶

func (p *PreviewCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PreviewCollection) UnmarshalJSON ¶

func (p *PreviewCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PublicHostingRequestLog ¶ added in v3.2.11

type PublicHostingRequestLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// IP Address of Public Hosting Client.
	RemoteIp string `json:"remote_ip,omitempty" path:"remote_ip,omitempty" url:"remote_ip,omitempty"`
	// IP Address of Public Hosting Server.
	ServerIp string `json:"server_ip,omitempty" path:"server_ip,omitempty" url:"server_ip,omitempty"`
	// HTTP Request Hostname.
	Hostname string `json:"hostname,omitempty" path:"hostname,omitempty" url:"hostname,omitempty"`
	// HTTP Request Path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// HTTP Response Code.
	ResponseCode int64 `json:"responseCode,omitempty" path:"responseCode,omitempty" url:"responseCode,omitempty"`
	// Whether SFTP Action was successful.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// The number of bytes transferred for file downloads.
	BytesTransferred int64 `json:"bytes_transferred,omitempty" path:"bytes_transferred,omitempty" url:"bytes_transferred,omitempty"`
	// Method of the HTTP call.
	HttpMethod string `json:"http_method,omitempty" path:"http_method,omitempty" url:"http_method,omitempty"`
}

PublicHostingRequestLog is a Files.com API resource.

func (PublicHostingRequestLog) Identifier ¶ added in v3.2.11

func (p PublicHostingRequestLog) Identifier() interface{}

Identifier returns the resource path.

func (*PublicHostingRequestLog) UnmarshalJSON ¶ added in v3.2.11

func (p *PublicHostingRequestLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PublicHostingRequestLogCollection ¶ added in v3.2.11

type PublicHostingRequestLogCollection []PublicHostingRequestLog

PublicHostingRequestLogCollection is a list of PublicHostingRequestLog resources.

func (*PublicHostingRequestLogCollection) ToSlice ¶ added in v3.2.11

func (p *PublicHostingRequestLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PublicHostingRequestLogCollection) UnmarshalJSON ¶ added in v3.2.11

func (p *PublicHostingRequestLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PublicHostingRequestLogListParams ¶ added in v3.2.11

type PublicHostingRequestLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `remote_ip`, `success` or `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PublicHostingRequestLogListParams contains the request parameters for GET /public_hosting_request_logs.

type PublicIpAddress ¶

type PublicIpAddress struct {
	// The public IP address.
	IpAddress string `json:"ip_address,omitempty" path:"ip_address,omitempty" url:"ip_address,omitempty"`
	// The name of the frontend server.
	ServerName  string `json:"server_name,omitempty" path:"server_name,omitempty" url:"server_name,omitempty"`
	FtpEnabled  *bool  `json:"ftp_enabled,omitempty" path:"ftp_enabled,omitempty" url:"ftp_enabled,omitempty"`
	SftpEnabled *bool  `json:"sftp_enabled,omitempty" path:"sftp_enabled,omitempty" url:"sftp_enabled,omitempty"`
}

PublicIpAddress is a Files.com API resource.

func (*PublicIpAddress) UnmarshalJSON ¶

func (p *PublicIpAddress) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PublicIpAddressCollection ¶

type PublicIpAddressCollection []PublicIpAddress

PublicIpAddressCollection is a list of PublicIpAddress resources.

func (*PublicIpAddressCollection) ToSlice ¶

func (p *PublicIpAddressCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PublicIpAddressCollection) UnmarshalJSON ¶

func (p *PublicIpAddressCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PublicKey ¶

type PublicKey struct {
	// Public key ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Public key title.
	Title string `json:"title,omitempty" path:"title,omitempty" url:"title,omitempty"`
	// Public key created at date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Public key expiration date/time.
	ExpiresAt *time.Time `json:"expires_at,omitempty" path:"expires_at,omitempty" url:"expires_at,omitempty"`
	// Is this public key expired?
	Expired *bool `json:"expired,omitempty" path:"expired,omitempty" url:"expired,omitempty"`
	// Public key fingerprint (MD5).
	Fingerprint string `json:"fingerprint,omitempty" path:"fingerprint,omitempty" url:"fingerprint,omitempty"`
	// Public key fingerprint (SHA256).
	FingerprintSha256 string `json:"fingerprint_sha256,omitempty" path:"fingerprint_sha256,omitempty" url:"fingerprint_sha256,omitempty"`
	// Only returned when generating keys. Can be invalid, not_generated, generating, complete.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Key's most recent login time via SFTP.
	LastLoginAt *time.Time `json:"last_login_at,omitempty" path:"last_login_at,omitempty" url:"last_login_at,omitempty"`
	// Only returned when generating keys. Private key generated for the user.
	GeneratedPrivateKey string `json:"generated_private_key,omitempty" path:"generated_private_key,omitempty" url:"generated_private_key,omitempty"`
	// Only returned when generating keys. Public key generated for the user.
	GeneratedPublicKey string `json:"generated_public_key,omitempty" path:"generated_public_key,omitempty" url:"generated_public_key,omitempty"`
	// Username of the user this public key is associated with.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// User ID this public key is associated with.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Actual contents of SSH key.
	PublicKey string `json:"public_key,omitempty" path:"public_key,omitempty" url:"public_key,omitempty"`
	// If true, generate a new SSH key pair. Can not be used with `public_key`.
	GenerateKeypair *bool `json:"generate_keypair,omitempty" path:"generate_keypair,omitempty" url:"generate_keypair,omitempty"`
	// Password for the private key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GeneratePrivateKeyPassword string `` /* 139-byte string literal not displayed */
	// Type of key to generate. One of rsa, dsa, ecdsa, ed25519. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateAlgorithm string `json:"generate_algorithm,omitempty" path:"generate_algorithm,omitempty" url:"generate_algorithm,omitempty"`
	// Length of key to generate. If algorithm is ecdsa, this is the signature size. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateLength int64 `json:"generate_length,omitempty" path:"generate_length,omitempty" url:"generate_length,omitempty"`
}

PublicKey is a Files.com API resource.

func (PublicKey) Identifier ¶

func (p PublicKey) Identifier() interface{}

Identifier returns the resource ID.

func (*PublicKey) UnmarshalJSON ¶

func (p *PublicKey) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type PublicKeyCollection ¶

type PublicKeyCollection []PublicKey

PublicKeyCollection is a list of PublicKey resources.

func (*PublicKeyCollection) ToSlice ¶

func (p *PublicKeyCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*PublicKeyCollection) UnmarshalJSON ¶

func (p *PublicKeyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type PublicKeyCreateParams ¶

type PublicKeyCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Internal reference for key. Required.
	Title string `url:"title" json:"title" path:"title"`
	// Actual contents of SSH key.
	PublicKey string `url:"public_key,omitempty" json:"public_key,omitempty" path:"public_key"`
	// If true, generate a new SSH key pair. Can not be used with `public_key`.
	GenerateKeypair *bool `url:"generate_keypair,omitempty" json:"generate_keypair,omitempty" path:"generate_keypair"`
	// Password for the private key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GeneratePrivateKeyPassword string `` /* 129-byte string literal not displayed */
	// Type of key to generate. One of rsa, dsa, ecdsa, ed25519. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateAlgorithm string `url:"generate_algorithm,omitempty" json:"generate_algorithm,omitempty" path:"generate_algorithm"`
	// Length of key to generate. If algorithm is ecdsa, this is the signature size. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
	GenerateLength int64 `url:"generate_length,omitempty" json:"generate_length,omitempty" path:"generate_length"`
}

PublicKeyCreateParams contains the request parameters for POST /public_keys.

type PublicKeyDeleteParams ¶

type PublicKeyDeleteParams struct {
	// Public Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PublicKeyDeleteParams contains the request parameters for DELETE /public_keys/{id}.

type PublicKeyFindParams ¶

type PublicKeyFindParams struct {
	// Public Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

PublicKeyFindParams contains the request parameters for GET /public_keys/{id}.

type PublicKeyListParams ¶

type PublicKeyListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `user_id`, `title` or `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `workspace_id`. Valid field combinations are `[ workspace_id, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

PublicKeyListParams contains the request parameters for GET /public_keys.

type PublicKeyUpdateParams ¶

type PublicKeyUpdateParams struct {
	// Public Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Internal reference for key. Required.
	Title string `url:"title" json:"title" path:"title"`
}

PublicKeyUpdateParams contains the request parameters for PATCH /public_keys/{id}.

type Query ¶

type Query func(params lib.Values, opts ...RequestResponseOption) (*[]interface{}, string, error)

Query fetches one page and returns its resources, the next cursor, and any error.

type ReloadIterator ¶

type ReloadIterator interface {
	Reload(opts ...RequestResponseOption) IterI
}

ReloadIterator starts a fresh traversal of the same listing.

type RemoteBandwidthSnapshot ¶

type RemoteBandwidthSnapshot struct {
	// Site bandwidth ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Site sync bandwidth report bytes received.
	SyncBytesReceived int64 `json:"sync_bytes_received,omitempty" path:"sync_bytes_received,omitempty" url:"sync_bytes_received,omitempty"`
	// Site sync bandwidth report bytes sent.
	SyncBytesSent int64 `json:"sync_bytes_sent,omitempty" path:"sync_bytes_sent,omitempty" url:"sync_bytes_sent,omitempty"`
	// Time the site bandwidth report was logged.
	LoggedAt *time.Time `json:"logged_at,omitempty" path:"logged_at,omitempty" url:"logged_at,omitempty"`
	// ID of related Remote Server.
	RemoteServerId int64 `json:"remote_server_id,omitempty" path:"remote_server_id,omitempty" url:"remote_server_id,omitempty"`
}

RemoteBandwidthSnapshot is a Files.com API resource.

func (RemoteBandwidthSnapshot) Identifier ¶

func (r RemoteBandwidthSnapshot) Identifier() interface{}

Identifier returns the resource ID.

func (*RemoteBandwidthSnapshot) UnmarshalJSON ¶

func (r *RemoteBandwidthSnapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type RemoteBandwidthSnapshotCollection ¶

type RemoteBandwidthSnapshotCollection []RemoteBandwidthSnapshot

RemoteBandwidthSnapshotCollection is a list of RemoteBandwidthSnapshot resources.

func (*RemoteBandwidthSnapshotCollection) ToSlice ¶

func (r *RemoteBandwidthSnapshotCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*RemoteBandwidthSnapshotCollection) UnmarshalJSON ¶

func (r *RemoteBandwidthSnapshotCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type RemoteBandwidthSnapshotListParams ¶

type RemoteBandwidthSnapshotListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `logged_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `logged_at`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `logged_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `logged_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `logged_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `logged_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

RemoteBandwidthSnapshotListParams contains the request parameters for GET /remote_bandwidth_snapshots.

type RemoteMountBackend ¶ added in v3.2.178

type RemoteMountBackend struct {
	// Path to the canary file used for health checks.
	CanaryFilePath string `json:"canary_file_path,omitempty" path:"canary_file_path,omitempty" url:"canary_file_path,omitempty"`
	// True if this backend is enabled.
	Enabled *bool `json:"enabled,omitempty" path:"enabled,omitempty" url:"enabled,omitempty"`
	// Number of consecutive failures before considering the backend unhealthy.
	Fall int64 `json:"fall,omitempty" path:"fall,omitempty" url:"fall,omitempty"`
	// True if health checks are enabled for this backend.
	HealthCheckEnabled *bool `json:"health_check_enabled,omitempty" path:"health_check_enabled,omitempty" url:"health_check_enabled,omitempty"`
	// Array of recent health check results.
	HealthCheckResults []map[string]interface{} `json:"health_check_results,omitempty" path:"health_check_results,omitempty" url:"health_check_results,omitempty"`
	// Type of health check to perform.
	HealthCheckType string `json:"health_check_type,omitempty" path:"health_check_type,omitempty" url:"health_check_type,omitempty"`
	// Unique identifier for this backend.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Interval in seconds between health checks.
	Interval int64 `json:"interval,omitempty" path:"interval,omitempty" url:"interval,omitempty"`
	// Minimum free CPU percentage required for this backend to be considered healthy.
	MinFreeCpu string `json:"min_free_cpu,omitempty" path:"min_free_cpu,omitempty" url:"min_free_cpu,omitempty"`
	// Minimum free memory percentage required for this backend to be considered healthy.
	MinFreeMem string `json:"min_free_mem,omitempty" path:"min_free_mem,omitempty" url:"min_free_mem,omitempty"`
	// Priority of this backend.
	Priority int64 `json:"priority,omitempty" path:"priority,omitempty" url:"priority,omitempty"`
	// Path on the remote server to treat as the root of this mount.
	RemotePath string `json:"remote_path,omitempty" path:"remote_path,omitempty" url:"remote_path,omitempty"`
	// The remote server that this backend is associated with.
	RemoteServerId int64 `json:"remote_server_id,omitempty" path:"remote_server_id,omitempty" url:"remote_server_id,omitempty"`
	// The mount ID of the Remote Server Mount that this backend is associated with.
	RemoteServerMountId int64 `json:"remote_server_mount_id,omitempty" path:"remote_server_mount_id,omitempty" url:"remote_server_mount_id,omitempty"`
	// Number of consecutive successes before considering the backend healthy.
	Rise int64 `json:"rise,omitempty" path:"rise,omitempty" url:"rise,omitempty"`
	// Status of this backend.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// True if this backend is undergoing maintenance.
	UndergoingMaintenance *bool `json:"undergoing_maintenance,omitempty" path:"undergoing_maintenance,omitempty" url:"undergoing_maintenance,omitempty"`
}

RemoteMountBackend is a Files.com API resource.

func (RemoteMountBackend) Identifier ¶ added in v3.2.178

func (r RemoteMountBackend) Identifier() interface{}

Identifier returns the resource ID.

func (*RemoteMountBackend) UnmarshalJSON ¶ added in v3.2.178

func (r *RemoteMountBackend) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type RemoteMountBackendCollection ¶ added in v3.2.178

type RemoteMountBackendCollection []RemoteMountBackend

RemoteMountBackendCollection is a list of RemoteMountBackend resources.

func (*RemoteMountBackendCollection) ToSlice ¶ added in v3.2.178

func (r *RemoteMountBackendCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*RemoteMountBackendCollection) UnmarshalJSON ¶ added in v3.2.178

func (r *RemoteMountBackendCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type RemoteMountBackendCreateParams ¶ added in v3.2.178

type RemoteMountBackendCreateParams struct {
	// True if this backend is enabled.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Number of consecutive failures before considering the backend unhealthy.
	Fall int64 `url:"fall,omitempty" json:"fall,omitempty" path:"fall"`
	// True if health checks are enabled for this backend.
	HealthCheckEnabled *bool `url:"health_check_enabled,omitempty" json:"health_check_enabled,omitempty" path:"health_check_enabled"`
	// Type of health check to perform. Values: active, passive.
	HealthCheckType RemoteMountBackendHealthCheckTypeEnum `url:"health_check_type,omitempty" json:"health_check_type,omitempty" path:"health_check_type"`
	// Interval in seconds between health checks.
	Interval int64 `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// Minimum free CPU percentage required for this backend to be considered healthy.
	MinFreeCpu float64 `url:"min_free_cpu,omitempty" json:"min_free_cpu,omitempty" path:"min_free_cpu"`
	// MinFreeCpuDecimal sends exact decimal text, such as "1.5", as min_free_cpu. Leave MinFreeCpu zero when you set it.
	MinFreeCpuDecimal *string `json:"-" url:"-" path:"-"`
	// Minimum free memory percentage required for this backend to be considered healthy.
	MinFreeMem float64 `url:"min_free_mem,omitempty" json:"min_free_mem,omitempty" path:"min_free_mem"`
	// MinFreeMemDecimal sends exact decimal text, such as "1.5", as min_free_mem. Leave MinFreeMem zero when you set it.
	MinFreeMemDecimal *string `json:"-" url:"-" path:"-"`
	// Priority of this backend.
	Priority int64 `url:"priority,omitempty" json:"priority,omitempty" path:"priority"`
	// Path on the remote server to treat as the root of this mount.
	RemotePath string `url:"remote_path,omitempty" json:"remote_path,omitempty" path:"remote_path"`
	// Number of consecutive successes before considering the backend healthy.
	Rise int64 `url:"rise,omitempty" json:"rise,omitempty" path:"rise"`
	// Path to the canary file used for health checks. Required.
	CanaryFilePath string `url:"canary_file_path" json:"canary_file_path" path:"canary_file_path"`
	// The mount ID of the Remote Server Mount that this backend is associated with. Required.
	RemoteServerMountId int64 `url:"remote_server_mount_id" json:"remote_server_mount_id" path:"remote_server_mount_id"`
	// The remote server that this backend is associated with. Required.
	RemoteServerId int64 `url:"remote_server_id" json:"remote_server_id" path:"remote_server_id"`
}

RemoteMountBackendCreateParams contains the request parameters for POST /remote_mount_backends.

func (RemoteMountBackendCreateParams) MarshalJSON ¶ added in v3.3.272

func (p RemoteMountBackendCreateParams) MarshalJSON() ([]byte, error)

MarshalJSON sends each set MinFreeCpuDecimal or MinFreeMemDecimal as a JSON string.

func (RemoteMountBackendCreateParams) ToValues ¶ added in v3.3.272

ToValues encodes p as query values, sending each set MinFreeCpuDecimal or MinFreeMemDecimal as its text.

func (*RemoteMountBackendCreateParams) UnmarshalJSON ¶ added in v3.3.272

func (p *RemoteMountBackendCreateParams) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes JSON strings for min_free_cpu and min_free_mem as exact decimal text.

type RemoteMountBackendDeleteParams ¶ added in v3.2.178

type RemoteMountBackendDeleteParams struct {
	// Remote Mount Backend ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteMountBackendDeleteParams contains the request parameters for DELETE /remote_mount_backends/{id}.

type RemoteMountBackendFindParams ¶ added in v3.2.178

type RemoteMountBackendFindParams struct {
	// Remote Mount Backend ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteMountBackendFindParams contains the request parameters for GET /remote_mount_backends/{id}.

type RemoteMountBackendHealthCheckTypeEnum ¶ added in v3.2.178

type RemoteMountBackendHealthCheckTypeEnum string

RemoteMountBackendHealthCheckTypeEnum is a string value for health_check_type. Enum lists the values documented by the API.

func (RemoteMountBackendHealthCheckTypeEnum) Enum ¶ added in v3.2.178

Enum returns the documented values keyed by their API strings.

func (RemoteMountBackendHealthCheckTypeEnum) String ¶ added in v3.2.178

String returns the API parameter value.

type RemoteMountBackendListParams ¶ added in v3.2.178

type RemoteMountBackendListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `remote_server_mount_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

RemoteMountBackendListParams contains the request parameters for GET /remote_mount_backends.

type RemoteMountBackendResetStatusParams ¶ added in v3.2.178

type RemoteMountBackendResetStatusParams struct {
	// Remote Mount Backend ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteMountBackendResetStatusParams contains the request parameters for POST /remote_mount_backends/{id}/reset_status.

Reset backend status to healthy

type RemoteMountBackendUpdateParams ¶ added in v3.2.178

type RemoteMountBackendUpdateParams struct {
	// Remote Mount Backend ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// True if this backend is enabled.
	Enabled *bool `url:"enabled,omitempty" json:"enabled,omitempty" path:"enabled"`
	// Number of consecutive failures before considering the backend unhealthy.
	Fall int64 `url:"fall,omitempty" json:"fall,omitempty" path:"fall"`
	// True if health checks are enabled for this backend.
	HealthCheckEnabled *bool `url:"health_check_enabled,omitempty" json:"health_check_enabled,omitempty" path:"health_check_enabled"`
	// Type of health check to perform. Values: active, passive.
	HealthCheckType RemoteMountBackendHealthCheckTypeEnum `url:"health_check_type,omitempty" json:"health_check_type,omitempty" path:"health_check_type"`
	// Interval in seconds between health checks.
	Interval int64 `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// Minimum free CPU percentage required for this backend to be considered healthy.
	MinFreeCpu float64 `url:"min_free_cpu,omitempty" json:"min_free_cpu,omitempty" path:"min_free_cpu"`
	// MinFreeCpuDecimal sends exact decimal text, such as "1.5", as min_free_cpu. Leave MinFreeCpu zero when you set it.
	MinFreeCpuDecimal *string `json:"-" url:"-" path:"-"`
	// Minimum free memory percentage required for this backend to be considered healthy.
	MinFreeMem float64 `url:"min_free_mem,omitempty" json:"min_free_mem,omitempty" path:"min_free_mem"`
	// MinFreeMemDecimal sends exact decimal text, such as "1.5", as min_free_mem. Leave MinFreeMem zero when you set it.
	MinFreeMemDecimal *string `json:"-" url:"-" path:"-"`
	// Priority of this backend.
	Priority int64 `url:"priority,omitempty" json:"priority,omitempty" path:"priority"`
	// Path on the remote server to treat as the root of this mount.
	RemotePath string `url:"remote_path,omitempty" json:"remote_path,omitempty" path:"remote_path"`
	// Number of consecutive successes before considering the backend healthy.
	Rise int64 `url:"rise,omitempty" json:"rise,omitempty" path:"rise"`
	// Path to the canary file used for health checks.
	CanaryFilePath string `url:"canary_file_path,omitempty" json:"canary_file_path,omitempty" path:"canary_file_path"`
	// The remote server that this backend is associated with.
	RemoteServerId int64 `url:"remote_server_id,omitempty" json:"remote_server_id,omitempty" path:"remote_server_id"`
}

RemoteMountBackendUpdateParams contains the request parameters for PATCH /remote_mount_backends/{id}.

func (RemoteMountBackendUpdateParams) MarshalJSON ¶ added in v3.3.272

func (p RemoteMountBackendUpdateParams) MarshalJSON() ([]byte, error)

MarshalJSON sends each set MinFreeCpuDecimal or MinFreeMemDecimal as a JSON string.

func (RemoteMountBackendUpdateParams) ToValues ¶ added in v3.3.272

ToValues encodes p as query values, sending each set MinFreeCpuDecimal or MinFreeMemDecimal as its text.

func (*RemoteMountBackendUpdateParams) UnmarshalJSON ¶ added in v3.3.272

func (p *RemoteMountBackendUpdateParams) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes JSON strings for min_free_cpu and min_free_mem as exact decimal text.

type RemoteServer ¶

type RemoteServer struct {
	// Remote Server ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// If true, this Remote Server is disabled. Updating it clears this flag, except for retired Agent v1 records, which remain disabled.
	Disabled *bool `json:"disabled,omitempty" path:"disabled,omitempty" url:"disabled,omitempty"`
	// Type of authentication method to use.
	AuthenticationMethod string `json:"authentication_method,omitempty" path:"authentication_method,omitempty" url:"authentication_method,omitempty"`
	// Hostname or IP address. For Agent Remote Servers, the Agent reports the hostname it connects from at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not change the running Agent.
	Hostname string `json:"hostname,omitempty" path:"hostname,omitempty" url:"hostname,omitempty"`
	// Initial home folder on remote server.
	RemoteHomePath string `json:"remote_home_path,omitempty" path:"remote_home_path,omitempty" url:"remote_home_path,omitempty"`
	// Upload staging path. Applies to SFTP only. If a path is provided here, files will first be uploaded to this path on the remote folder and the moved into the final correct path via an SFTP move command. This is required by some remote MFT systems to emulate atomic uploads, which are otherwise not supoprted by SFTP.
	UploadStagingPath string `json:"upload_staging_path,omitempty" path:"upload_staging_path,omitempty" url:"upload_staging_path,omitempty"`
	// Allow relative paths in SFTP. If true, paths will not be forced to be absolute, allowing operations relative to the user's home directory.
	AllowRelativePaths *bool `json:"allow_relative_paths,omitempty" path:"allow_relative_paths,omitempty" url:"allow_relative_paths,omitempty"`
	// Internal name for your reference.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Internal description for your reference.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Port for remote server. For Agent Remote Servers, the Agent reports its downstream proxy port at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not change the running Agent.
	Port int64 `json:"port,omitempty" path:"port,omitempty" url:"port,omitempty"`
	// If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation.
	BufferUploads string `json:"buffer_uploads,omitempty" path:"buffer_uploads,omitempty" url:"buffer_uploads,omitempty"`
	// Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
	MaxConnections int64 `json:"max_connections,omitempty" path:"max_connections,omitempty" url:"max_connections,omitempty"`
	// If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
	PinToSiteRegion *bool `json:"pin_to_site_region,omitempty" path:"pin_to_site_region,omitempty" url:"pin_to_site_region,omitempty"`
	// If set, all communications with this remote server are made through the provided region.
	PinnedRegion string `json:"pinned_region,omitempty" path:"pinned_region,omitempty" url:"pinned_region,omitempty"`
	// ID of Remote Server Credential, if applicable.
	RemoteServerCredentialId int64 `` /* 133-byte string literal not displayed */
	// S3 bucket name.
	S3Bucket string `json:"s3_bucket,omitempty" path:"s3_bucket,omitempty" url:"s3_bucket,omitempty"`
	// S3 region.
	S3Region string `json:"s3_region,omitempty" path:"s3_region,omitempty" url:"s3_region,omitempty"`
	// ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
	S3KmsKeyId string `json:"s3_kms_key_id,omitempty" path:"s3_kms_key_id,omitempty" url:"s3_kms_key_id,omitempty"`
	// AWS Access Key.
	AwsAccessKey string `json:"aws_access_key,omitempty" path:"aws_access_key,omitempty" url:"aws_access_key,omitempty"`
	// AWS IAM Role ARN for AssumeRole authentication.
	S3AssumeRoleArn string `json:"s3_assume_role_arn,omitempty" path:"s3_assume_role_arn,omitempty" url:"s3_assume_role_arn,omitempty"`
	// Session duration in seconds for AssumeRole authentication (900-43200).
	S3AssumeRoleDurationSeconds int64 `` /* 145-byte string literal not displayed */
	// External ID for AssumeRole authentication.
	S3AssumeRoleExternalId string `` /* 130-byte string literal not displayed */
	// Remote server certificate.
	ServerCertificate string `json:"server_certificate,omitempty" path:"server_certificate,omitempty" url:"server_certificate,omitempty"`
	// Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
	ServerHostKey string `json:"server_host_key,omitempty" path:"server_host_key,omitempty" url:"server_host_key,omitempty"`
	// Remote server type.
	ServerType string `json:"server_type,omitempty" path:"server_type,omitempty" url:"server_type,omitempty"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Should we require SSL?
	Ssl string `json:"ssl,omitempty" path:"ssl,omitempty" url:"ssl,omitempty"`
	// Remote server username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Google Cloud Storage: Bucket Name.
	GoogleCloudStorageBucket string `` /* 133-byte string literal not displayed */
	// Google Cloud Storage: Authentication method. Can be json, hmac, or oauth.
	GoogleCloudStorageAuthenticationMethod string `` /* 178-byte string literal not displayed */
	// Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
	GoogleCloudStorageOauthScope string `` /* 148-byte string literal not displayed */
	// Google Cloud Storage: Project ID.
	GoogleCloudStorageProjectId string `` /* 145-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible Access Key.
	GoogleCloudStorageS3CompatibleAccessKey string `` /* 187-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: S3 Endpoint.
	BackblazeB2S3Endpoint string `json:"backblaze_b2_s3_endpoint,omitempty" path:"backblaze_b2_s3_endpoint,omitempty" url:"backblaze_b2_s3_endpoint,omitempty"`
	// Backblaze B2 Cloud Storage: Bucket name.
	BackblazeB2Bucket string `json:"backblaze_b2_bucket,omitempty" path:"backblaze_b2_bucket,omitempty" url:"backblaze_b2_bucket,omitempty"`
	// Wasabi: Bucket name.
	WasabiBucket string `json:"wasabi_bucket,omitempty" path:"wasabi_bucket,omitempty" url:"wasabi_bucket,omitempty"`
	// Wasabi: Region.
	WasabiRegion string `json:"wasabi_region,omitempty" path:"wasabi_region,omitempty" url:"wasabi_region,omitempty"`
	// Wasabi: Access Key.
	WasabiAccessKey string `json:"wasabi_access_key,omitempty" path:"wasabi_access_key,omitempty" url:"wasabi_access_key,omitempty"`
	// Either `in_setup` or `complete`.
	AuthStatus string `json:"auth_status,omitempty" path:"auth_status,omitempty" url:"auth_status,omitempty"`
	// Describes the authorized account.
	AuthAccountName string `json:"auth_account_name,omitempty" path:"auth_account_name,omitempty" url:"auth_account_name,omitempty"`
	// OneDrive: Either personal or business_other account types.
	OneDriveAccountType string `json:"one_drive_account_type,omitempty" path:"one_drive_account_type,omitempty" url:"one_drive_account_type,omitempty"`
	// SharePoint: Microsoft Entra tenant ID for app-only authentication.
	SharepointTenantId string `json:"sharepoint_tenant_id,omitempty" path:"sharepoint_tenant_id,omitempty" url:"sharepoint_tenant_id,omitempty"`
	// SharePoint: Microsoft Entra application client ID for app-only authentication.
	SharepointClientId string `json:"sharepoint_client_id,omitempty" path:"sharepoint_client_id,omitempty" url:"sharepoint_client_id,omitempty"`
	// SharePoint: If true, this remote server uses Microsoft Entra app-only authentication.
	SharepointAppAuthentication *bool `` /* 139-byte string literal not displayed */
	// SharePoint: App-only credential type. Either secret or certificate.
	SharepointAppCredentialType string `` /* 142-byte string literal not displayed */
	// SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
	SharepointSiteUrl string `json:"sharepoint_site_url,omitempty" path:"sharepoint_site_url,omitempty" url:"sharepoint_site_url,omitempty"`
	// Azure Blob Storage: Account name.
	AzureBlobStorageAccount string `` /* 130-byte string literal not displayed */
	// Azure Blob Storage: Container name.
	AzureBlobStorageContainer string `` /* 136-byte string literal not displayed */
	// Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
	AzureBlobStorageHierarchicalNamespace *bool `` /* 175-byte string literal not displayed */
	// Azure Blob Storage: Custom DNS suffix.
	AzureBlobStorageDnsSuffix string `` /* 139-byte string literal not displayed */
	// Azure Files: Storage Account name.
	AzureFilesStorageAccount string `` /* 133-byte string literal not displayed */
	// Azure Files: Storage Share name.
	AzureFilesStorageShareName string `` /* 142-byte string literal not displayed */
	// Azure Files: Custom DNS suffix.
	AzureFilesStorageDnsSuffix string `` /* 142-byte string literal not displayed */
	// S3-compatible: Bucket name.
	S3CompatibleBucket string `json:"s3_compatible_bucket,omitempty" path:"s3_compatible_bucket,omitempty" url:"s3_compatible_bucket,omitempty"`
	// S3-compatible: endpoint.
	S3CompatibleEndpoint string `json:"s3_compatible_endpoint,omitempty" path:"s3_compatible_endpoint,omitempty" url:"s3_compatible_endpoint,omitempty"`
	// S3-compatible: region.
	S3CompatibleRegion string `json:"s3_compatible_region,omitempty" path:"s3_compatible_region,omitempty" url:"s3_compatible_region,omitempty"`
	// S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs.
	S3CompatibleVirtualHostedStyle *bool `` /* 154-byte string literal not displayed */
	// S3-compatible: Access Key.
	S3CompatibleAccessKey string `json:"s3_compatible_access_key,omitempty" path:"s3_compatible_access_key,omitempty" url:"s3_compatible_access_key,omitempty"`
	// `true` if remote server only accepts connections from dedicated IPs.
	EnableDedicatedIps *bool `json:"enable_dedicated_ips,omitempty" path:"enable_dedicated_ips,omitempty" url:"enable_dedicated_ips,omitempty"`
	// Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
	CustomDomainId int64 `json:"custom_domain_id,omitempty" path:"custom_domain_id,omitempty" url:"custom_domain_id,omitempty"`
	// Current eligible public IP addresses for the selected Custom Domain. Any address in this list may originate a connection. Empty when no domain is selected or its configuration is unavailable. Only included in responses for a single Remote Server.
	OutboundIpAddresses []string `json:"outbound_ip_addresses,omitempty" path:"outbound_ip_addresses,omitempty" url:"outbound_ip_addresses,omitempty"`
	// Agent file permissions: `read_only`, `write_only`, or `read_write`. Files.com writes this value as `permission_set` in the configuration file generated for this Remote Server. Setting it on Create or Update changes the generated file, not a running Agent. The Agent enforces the permissions in its local configuration file, controlled by the host's system administrator, and reports them at registration, replacing the stored value.
	FilesAgentPermissionSet string `` /* 130-byte string literal not displayed */
	// Agent local root path. Files.com writes this value as `root` in the configuration file generated for this Remote Server. Setting it on Create or Update changes the generated file, not a running Agent. The Agent enforces the root in its local configuration file, controlled by the host's system administrator, and reports it at registration, replacing the stored value.
	FilesAgentRoot string `json:"files_agent_root,omitempty" path:"files_agent_root,omitempty" url:"files_agent_root,omitempty"`
	// Files.com Agent version reported by the Agent at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not update the running Agent.
	FilesAgentVersion string `json:"files_agent_version,omitempty" path:"files_agent_version,omitempty" url:"files_agent_version,omitempty"`
	// If true, the Files Agent is up to date.
	FilesAgentUpToDate *bool `json:"files_agent_up_to_date,omitempty" path:"files_agent_up_to_date,omitempty" url:"files_agent_up_to_date,omitempty"`
	// Latest available Files Agent version.
	FilesAgentLatestVersion string `` /* 130-byte string literal not displayed */
	// Files Agent supports receiving push updates.
	FilesAgentSupportsPushUpdates *bool `` /* 151-byte string literal not displayed */
	// Whether the Files Agent Proxy recently validated a direct transfer connection. `true` means a direct connection was recently validated (actual availability can vary by client network), `false` means direct transfers are enabled but not currently available, and `null` means direct transfers are disabled or unsupported. Only provided for a connected Files Agent when showing a single Remote Server.
	DirectTransferAvailable *bool `` /* 127-byte string literal not displayed */
	// Route traffic to outbound on a files-agent.
	OutboundAgentId int64 `json:"outbound_agent_id,omitempty" path:"outbound_agent_id,omitempty" url:"outbound_agent_id,omitempty"`
	// Filebase: Bucket name.
	FilebaseBucket string `json:"filebase_bucket,omitempty" path:"filebase_bucket,omitempty" url:"filebase_bucket,omitempty"`
	// Filebase: Access Key.
	FilebaseAccessKey string `json:"filebase_access_key,omitempty" path:"filebase_access_key,omitempty" url:"filebase_access_key,omitempty"`
	// Files.com direct link: paired API key prefix.
	FilesApiKeyPrefix string `json:"files_api_key_prefix,omitempty" path:"files_api_key_prefix,omitempty" url:"files_api_key_prefix,omitempty"`
	// Cloudflare: Bucket name.
	CloudflareBucket string `json:"cloudflare_bucket,omitempty" path:"cloudflare_bucket,omitempty" url:"cloudflare_bucket,omitempty"`
	// Cloudflare: Access Key.
	CloudflareAccessKey string `json:"cloudflare_access_key,omitempty" path:"cloudflare_access_key,omitempty" url:"cloudflare_access_key,omitempty"`
	// Cloudflare: endpoint.
	CloudflareEndpoint string `json:"cloudflare_endpoint,omitempty" path:"cloudflare_endpoint,omitempty" url:"cloudflare_endpoint,omitempty"`
	// Dropbox: If true, list Team folders in root?
	DropboxTeams *bool `json:"dropbox_teams,omitempty" path:"dropbox_teams,omitempty" url:"dropbox_teams,omitempty"`
	// Linode: Bucket name.
	LinodeBucket string `json:"linode_bucket,omitempty" path:"linode_bucket,omitempty" url:"linode_bucket,omitempty"`
	// Linode: Access Key.
	LinodeAccessKey string `json:"linode_access_key,omitempty" path:"linode_access_key,omitempty" url:"linode_access_key,omitempty"`
	// Linode: region.
	LinodeRegion string `json:"linode_region,omitempty" path:"linode_region,omitempty" url:"linode_region,omitempty"`
	// If true, this remote server supports file versioning. This value is determined automatically by Files.com.
	SupportsVersioning *bool `json:"supports_versioning,omitempty" path:"supports_versioning,omitempty" url:"supports_versioning,omitempty"`
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Password, if needed.
	Password string `json:"password,omitempty" path:"password,omitempty" url:"password,omitempty"`
	// Private key, if needed.
	PrivateKey string `json:"private_key,omitempty" path:"private_key,omitempty" url:"private_key,omitempty"`
	// Passphrase for private key if needed.
	PrivateKeyPassphrase string `json:"private_key_passphrase,omitempty" path:"private_key_passphrase,omitempty" url:"private_key_passphrase,omitempty"`
	// Reset authenticated account?
	ResetAuthentication *bool `json:"reset_authentication,omitempty" path:"reset_authentication,omitempty" url:"reset_authentication,omitempty"`
	// SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
	SharepointClientCertificate string `` /* 139-byte string literal not displayed */
	// SharePoint: Microsoft Entra application client secret for app-only authentication.
	SharepointClientSecret string `json:"sharepoint_client_secret,omitempty" path:"sharepoint_client_secret,omitempty" url:"sharepoint_client_secret,omitempty"`
	// SSL client certificate.
	SslCertificate string `json:"ssl_certificate,omitempty" path:"ssl_certificate,omitempty" url:"ssl_certificate,omitempty"`
	// AWS: secret key.
	AwsSecretKey string `json:"aws_secret_key,omitempty" path:"aws_secret_key,omitempty" url:"aws_secret_key,omitempty"`
	// Azure Blob Storage: Access Key.
	AzureBlobStorageAccessKey string `` /* 139-byte string literal not displayed */
	// Azure Blob Storage: Shared Access Signature (SAS) token.
	AzureBlobStorageSasToken string `` /* 136-byte string literal not displayed */
	// Azure File Storage: Access Key.
	AzureFilesStorageAccessKey string `` /* 142-byte string literal not displayed */
	// Azure File Storage: Shared Access Signature (SAS) token.
	AzureFilesStorageSasToken string `` /* 139-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: applicationKey.
	BackblazeB2ApplicationKey string `` /* 136-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: keyID.
	BackblazeB2KeyId string `json:"backblaze_b2_key_id,omitempty" path:"backblaze_b2_key_id,omitempty" url:"backblaze_b2_key_id,omitempty"`
	// Cloudflare: Secret Key.
	CloudflareSecretKey string `json:"cloudflare_secret_key,omitempty" path:"cloudflare_secret_key,omitempty" url:"cloudflare_secret_key,omitempty"`
	// Filebase: Secret Key.
	FilebaseSecretKey string `json:"filebase_secret_key,omitempty" path:"filebase_secret_key,omitempty" url:"filebase_secret_key,omitempty"`
	// Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey.
	GoogleCloudStorageCredentialsJson string `` /* 163-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible secret key.
	GoogleCloudStorageS3CompatibleSecretKey string `` /* 187-byte string literal not displayed */
	// Linode: Secret Key.
	LinodeSecretKey string `json:"linode_secret_key,omitempty" path:"linode_secret_key,omitempty" url:"linode_secret_key,omitempty"`
	// S3-compatible: Secret Key.
	S3CompatibleSecretKey string `json:"s3_compatible_secret_key,omitempty" path:"s3_compatible_secret_key,omitempty" url:"s3_compatible_secret_key,omitempty"`
	// Wasabi: Secret Key.
	WasabiSecretKey string `json:"wasabi_secret_key,omitempty" path:"wasabi_secret_key,omitempty" url:"wasabi_secret_key,omitempty"`
	// Files.com direct link: API key used once to pair the remote server.
	FilesApiKey string `json:"files_api_key,omitempty" path:"files_api_key,omitempty" url:"files_api_key,omitempty"`
}

RemoteServer is a Files.com API resource.

func (RemoteServer) Identifier ¶

func (r RemoteServer) Identifier() interface{}

Identifier returns the resource ID.

func (*RemoteServer) UnmarshalJSON ¶

func (r *RemoteServer) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type RemoteServerAgentNodesParams ¶ added in v3.3.217

type RemoteServerAgentNodesParams struct {
	// Remote Server ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteServerAgentNodesParams contains the request parameters for GET /remote_servers/{id}/agent_nodes.

List Files.com Agent nodes

type RemoteServerAgentPushUpdateParams ¶ added in v3.3.19

type RemoteServerAgentPushUpdateParams struct {
	// Remote Server ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteServerAgentPushUpdateParams contains the request parameters for POST /remote_servers/{id}/agent_push_update.

Push update to Files Agent

type RemoteServerBufferUploadsEnum ¶ added in v3.3.5

type RemoteServerBufferUploadsEnum string

RemoteServerBufferUploadsEnum is a string value for buffer_uploads. Enum lists the values documented by the API.

func (RemoteServerBufferUploadsEnum) Enum ¶ added in v3.3.5

Enum returns the documented values keyed by their API strings.

func (RemoteServerBufferUploadsEnum) String ¶ added in v3.3.5

String returns the API parameter value.

type RemoteServerCollection ¶

type RemoteServerCollection []RemoteServer

RemoteServerCollection is a list of RemoteServer resources.

func (*RemoteServerCollection) ToSlice ¶

func (r *RemoteServerCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*RemoteServerCollection) UnmarshalJSON ¶

func (r *RemoteServerCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type RemoteServerConfigurationFile ¶

type RemoteServerConfigurationFile struct {
	// The remote server ID of the agent.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// The permission set for the agent ['read_write', 'read_only', 'write_only'].
	PermissionSet string `json:"permission_set,omitempty" path:"permission_set,omitempty" url:"permission_set,omitempty"`
	// The private key for the agent.
	PrivateKey string `json:"private_key,omitempty" path:"private_key,omitempty" url:"private_key,omitempty"`
	// Files.com subdomain site name.
	Subdomain string `json:"subdomain,omitempty" path:"subdomain,omitempty" url:"subdomain,omitempty"`
	// The root directory for the agent.
	Root string `json:"root,omitempty" path:"root,omitempty" url:"root,omitempty"`
	// Optional customer-facing name for this Agent installation.
	NodeName string `json:"node_name,omitempty" path:"node_name,omitempty" url:"node_name,omitempty"`
	// Follow symlinks when traversing directories.
	FollowLinks *bool `json:"follow_links,omitempty" path:"follow_links,omitempty" url:"follow_links,omitempty"`
	// Preferred network protocol ['udp', 'tcp'] (default udp).
	PreferProtocol string `json:"prefer_protocol,omitempty" path:"prefer_protocol,omitempty" url:"prefer_protocol,omitempty"`
	// DNS lookup method ['auto','doh','system'] (default auto).
	Dns string `json:"dns,omitempty" path:"dns,omitempty" url:"dns,omitempty"`
	// Proxy all outbound traffic through files.com proxy server.
	ProxyAllOutbound *bool `json:"proxy_all_outbound,omitempty" path:"proxy_all_outbound,omitempty" url:"proxy_all_outbound,omitempty"`
	// Custom site endpoint URL.
	EndpointOverride string `json:"endpoint_override,omitempty" path:"endpoint_override,omitempty" url:"endpoint_override,omitempty"`
	// Log file name and location.
	LogFile string `json:"log_file,omitempty" path:"log_file,omitempty" url:"log_file,omitempty"`
	// Log level for the agent logs ['debug', 'info', 'warn', 'error', 'fatal'] (default info).
	LogLevel string `json:"log_level,omitempty" path:"log_level,omitempty" url:"log_level,omitempty"`
	// Log route for agent logs. (default 5).
	LogRotateNum int64 `json:"log_rotate_num,omitempty" path:"log_rotate_num,omitempty" url:"log_rotate_num,omitempty"`
	// Log route size in MB for agent logs. (default 20).
	LogRotateSize int64 `json:"log_rotate_size,omitempty" path:"log_rotate_size,omitempty" url:"log_rotate_size,omitempty"`
	// Maximum number of concurrent jobs (default 500).
	OverrideMaxConcurrentJobs int64 `` /* 136-byte string literal not displayed */
	// Graceful shutdown timeout in seconds (default 15).
	GracefulShutdownTimeout int64 `` /* 127-byte string literal not displayed */
	// File transfer (upload/download) rate limit `<limit>-<period>`, with the given periods: * 'S': second * 'M': minute * 'H': hour * 'D': day Examples: * 5 requests/second: '5-S' * 10 requests/minute: '10-M' * 1000 requests/hour: '1000-H' * 2000 requests/day: '2000-D'.
	TransferRateLimit string `json:"transfer_rate_limit,omitempty" path:"transfer_rate_limit,omitempty" url:"transfer_rate_limit,omitempty"`
	// Auto update policy ['manual_trigger', 'critical_only', 'always', 'never'] (default always).
	AutoUpdatePolicy string `json:"auto_update_policy,omitempty" path:"auto_update_policy,omitempty" url:"auto_update_policy,omitempty"`
}

RemoteServerConfigurationFile is a Files.com API resource.

func (RemoteServerConfigurationFile) Identifier ¶

func (r RemoteServerConfigurationFile) Identifier() interface{}

Identifier returns the resource ID.

func (*RemoteServerConfigurationFile) UnmarshalJSON ¶

func (r *RemoteServerConfigurationFile) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type RemoteServerConfigurationFileCollection ¶

type RemoteServerConfigurationFileCollection []RemoteServerConfigurationFile

RemoteServerConfigurationFileCollection is a list of RemoteServerConfigurationFile resources.

func (*RemoteServerConfigurationFileCollection) ToSlice ¶

func (r *RemoteServerConfigurationFileCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*RemoteServerConfigurationFileCollection) UnmarshalJSON ¶

func (r *RemoteServerConfigurationFileCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type RemoteServerCreateParams ¶

type RemoteServerCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Password, if needed.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// Private key, if needed.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// Passphrase for private key if needed.
	PrivateKeyPassphrase string `url:"private_key_passphrase,omitempty" json:"private_key_passphrase,omitempty" path:"private_key_passphrase"`
	// Reset authenticated account?
	ResetAuthentication *bool `url:"reset_authentication,omitempty" json:"reset_authentication,omitempty" path:"reset_authentication"`
	// SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
	SharepointClientCertificate string `` /* 129-byte string literal not displayed */
	// SharePoint: Microsoft Entra application client secret for app-only authentication.
	SharepointClientSecret string `url:"sharepoint_client_secret,omitempty" json:"sharepoint_client_secret,omitempty" path:"sharepoint_client_secret"`
	// SSL client certificate.
	SslCertificate string `url:"ssl_certificate,omitempty" json:"ssl_certificate,omitempty" path:"ssl_certificate"`
	// AWS: secret key.
	AwsSecretKey string `url:"aws_secret_key,omitempty" json:"aws_secret_key,omitempty" path:"aws_secret_key"`
	// Azure Blob Storage: Access Key.
	AzureBlobStorageAccessKey string `` /* 129-byte string literal not displayed */
	// Azure Blob Storage: Shared Access Signature (SAS) token.
	AzureBlobStorageSasToken string `` /* 126-byte string literal not displayed */
	// Azure File Storage: Access Key.
	AzureFilesStorageAccessKey string `` /* 132-byte string literal not displayed */
	// Azure File Storage: Shared Access Signature (SAS) token.
	AzureFilesStorageSasToken string `` /* 129-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: applicationKey.
	BackblazeB2ApplicationKey string `` /* 126-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: keyID.
	BackblazeB2KeyId string `url:"backblaze_b2_key_id,omitempty" json:"backblaze_b2_key_id,omitempty" path:"backblaze_b2_key_id"`
	// Cloudflare: Secret Key.
	CloudflareSecretKey string `url:"cloudflare_secret_key,omitempty" json:"cloudflare_secret_key,omitempty" path:"cloudflare_secret_key"`
	// Filebase: Secret Key.
	FilebaseSecretKey string `url:"filebase_secret_key,omitempty" json:"filebase_secret_key,omitempty" path:"filebase_secret_key"`
	// Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey.
	GoogleCloudStorageCredentialsJson string `` /* 153-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible secret key.
	GoogleCloudStorageS3CompatibleSecretKey string `` /* 177-byte string literal not displayed */
	// Linode: Secret Key.
	LinodeSecretKey string `url:"linode_secret_key,omitempty" json:"linode_secret_key,omitempty" path:"linode_secret_key"`
	// S3-compatible: Secret Key.
	S3CompatibleSecretKey string `url:"s3_compatible_secret_key,omitempty" json:"s3_compatible_secret_key,omitempty" path:"s3_compatible_secret_key"`
	// Wasabi: Secret Key.
	WasabiSecretKey string `url:"wasabi_secret_key,omitempty" json:"wasabi_secret_key,omitempty" path:"wasabi_secret_key"`
	// Allow relative paths in SFTP. If true, paths will not be forced to be absolute, allowing operations relative to the user's home directory.
	AllowRelativePaths *bool `url:"allow_relative_paths,omitempty" json:"allow_relative_paths,omitempty" path:"allow_relative_paths"`
	// AWS Access Key.
	AwsAccessKey string `url:"aws_access_key,omitempty" json:"aws_access_key,omitempty" path:"aws_access_key"`
	// Azure Blob Storage: Account name.
	AzureBlobStorageAccount string `url:"azure_blob_storage_account,omitempty" json:"azure_blob_storage_account,omitempty" path:"azure_blob_storage_account"`
	// Azure Blob Storage: Container name.
	AzureBlobStorageContainer string `` /* 126-byte string literal not displayed */
	// Azure Blob Storage: Custom DNS suffix.
	AzureBlobStorageDnsSuffix string `` /* 129-byte string literal not displayed */
	// Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
	AzureBlobStorageHierarchicalNamespace *bool `` /* 165-byte string literal not displayed */
	// Azure Files: Storage Account name.
	AzureFilesStorageAccount string `url:"azure_files_storage_account,omitempty" json:"azure_files_storage_account,omitempty" path:"azure_files_storage_account"`
	// Azure Files: Custom DNS suffix.
	AzureFilesStorageDnsSuffix string `` /* 132-byte string literal not displayed */
	// Azure Files: Storage Share name.
	AzureFilesStorageShareName string `` /* 132-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: Bucket name.
	BackblazeB2Bucket string `url:"backblaze_b2_bucket,omitempty" json:"backblaze_b2_bucket,omitempty" path:"backblaze_b2_bucket"`
	// Backblaze B2 Cloud Storage: S3 Endpoint.
	BackblazeB2S3Endpoint string `url:"backblaze_b2_s3_endpoint,omitempty" json:"backblaze_b2_s3_endpoint,omitempty" path:"backblaze_b2_s3_endpoint"`
	// If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation. Values: auto, always, never.
	BufferUploads RemoteServerBufferUploadsEnum `url:"buffer_uploads,omitempty" json:"buffer_uploads,omitempty" path:"buffer_uploads"`
	// Cloudflare: Access Key.
	CloudflareAccessKey string `url:"cloudflare_access_key,omitempty" json:"cloudflare_access_key,omitempty" path:"cloudflare_access_key"`
	// Cloudflare: Bucket name.
	CloudflareBucket string `url:"cloudflare_bucket,omitempty" json:"cloudflare_bucket,omitempty" path:"cloudflare_bucket"`
	// Cloudflare: endpoint.
	CloudflareEndpoint string `url:"cloudflare_endpoint,omitempty" json:"cloudflare_endpoint,omitempty" path:"cloudflare_endpoint"`
	// Internal description for your reference.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Dropbox: If true, list Team folders in root?
	DropboxTeams *bool `url:"dropbox_teams,omitempty" json:"dropbox_teams,omitempty" path:"dropbox_teams"`
	// `true` if remote server only accepts connections from dedicated IPs.
	EnableDedicatedIps *bool `url:"enable_dedicated_ips,omitempty" json:"enable_dedicated_ips,omitempty" path:"enable_dedicated_ips"`
	// Filebase: Access Key.
	FilebaseAccessKey string `url:"filebase_access_key,omitempty" json:"filebase_access_key,omitempty" path:"filebase_access_key"`
	// Filebase: Bucket name.
	FilebaseBucket string `url:"filebase_bucket,omitempty" json:"filebase_bucket,omitempty" path:"filebase_bucket"`
	// Files.com direct link: API key used once to pair the remote server.
	FilesApiKey string `url:"files_api_key,omitempty" json:"files_api_key,omitempty" path:"files_api_key"`
	// Agent file permissions: `read_only`, `write_only`, or `read_write`. Files.com writes this value as `permission_set` in the configuration file generated for this Remote Server. Setting it on Create or Update changes the generated file, not a running Agent. The Agent enforces the permissions in its local configuration file, controlled by the host's system administrator, and reports them at registration, replacing the stored value. Values: read_write, read_only, write_only.
	FilesAgentPermissionSet RemoteServerFilesAgentPermissionSetEnum `url:"files_agent_permission_set,omitempty" json:"files_agent_permission_set,omitempty" path:"files_agent_permission_set"`
	// Agent local root path. Files.com writes this value as `root` in the configuration file generated for this Remote Server. Setting it on Create or Update changes the generated file, not a running Agent. The Agent enforces the root in its local configuration file, controlled by the host's system administrator, and reports it at registration, replacing the stored value.
	FilesAgentRoot string `url:"files_agent_root,omitempty" json:"files_agent_root,omitempty" path:"files_agent_root"`
	// Files.com Agent version reported by the Agent at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not update the running Agent.
	FilesAgentVersion string `url:"files_agent_version,omitempty" json:"files_agent_version,omitempty" path:"files_agent_version"`
	// Route traffic to outbound on a files-agent.
	OutboundAgentId int64 `url:"outbound_agent_id,omitempty" json:"outbound_agent_id,omitempty" path:"outbound_agent_id"`
	// Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
	CustomDomainId int64 `url:"custom_domain_id,omitempty" json:"custom_domain_id,omitempty" path:"custom_domain_id"`
	// Google Cloud Storage: Authentication method. Can be json, hmac, or oauth. Values: json, hmac, oauth.
	GoogleCloudStorageAuthenticationMethod RemoteServerGoogleCloudStorageAuthenticationMethodEnum `` /* 168-byte string literal not displayed */
	// Google Cloud Storage: Bucket Name.
	GoogleCloudStorageBucket string `url:"google_cloud_storage_bucket,omitempty" json:"google_cloud_storage_bucket,omitempty" path:"google_cloud_storage_bucket"`
	// Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
	GoogleCloudStorageOauthScope string `` /* 138-byte string literal not displayed */
	// Google Cloud Storage: Project ID.
	GoogleCloudStorageProjectId string `` /* 135-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible Access Key.
	GoogleCloudStorageS3CompatibleAccessKey string `` /* 177-byte string literal not displayed */
	// Hostname or IP address. For Agent Remote Servers, the Agent reports the hostname it connects from at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not change the running Agent.
	Hostname string `url:"hostname,omitempty" json:"hostname,omitempty" path:"hostname"`
	// Linode: Access Key.
	LinodeAccessKey string `url:"linode_access_key,omitempty" json:"linode_access_key,omitempty" path:"linode_access_key"`
	// Linode: Bucket name.
	LinodeBucket string `url:"linode_bucket,omitempty" json:"linode_bucket,omitempty" path:"linode_bucket"`
	// Linode: region.
	LinodeRegion string `url:"linode_region,omitempty" json:"linode_region,omitempty" path:"linode_region"`
	// Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
	MaxConnections int64 `url:"max_connections,omitempty" json:"max_connections,omitempty" path:"max_connections"`
	// Internal name for your reference.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// OneDrive: Either personal or business_other account types. Values: personal, business_other.
	OneDriveAccountType RemoteServerOneDriveAccountTypeEnum `url:"one_drive_account_type,omitempty" json:"one_drive_account_type,omitempty" path:"one_drive_account_type"`
	// If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
	PinToSiteRegion *bool `url:"pin_to_site_region,omitempty" json:"pin_to_site_region,omitempty" path:"pin_to_site_region"`
	// Port for remote server. For Agent Remote Servers, the Agent reports its downstream proxy port at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not change the running Agent.
	Port int64 `url:"port,omitempty" json:"port,omitempty" path:"port"`
	// Upload staging path. Applies to SFTP only. If a path is provided here, files will first be uploaded to this path on the remote folder and the moved into the final correct path via an SFTP move command. This is required by some remote MFT systems to emulate atomic uploads, which are otherwise not supoprted by SFTP.
	UploadStagingPath string `url:"upload_staging_path,omitempty" json:"upload_staging_path,omitempty" path:"upload_staging_path"`
	// ID of Remote Server Credential, if applicable.
	RemoteServerCredentialId int64 `url:"remote_server_credential_id,omitempty" json:"remote_server_credential_id,omitempty" path:"remote_server_credential_id"`
	// AWS IAM Role ARN for AssumeRole authentication.
	S3AssumeRoleArn string `url:"s3_assume_role_arn,omitempty" json:"s3_assume_role_arn,omitempty" path:"s3_assume_role_arn"`
	// Session duration in seconds for AssumeRole authentication (900-43200).
	S3AssumeRoleDurationSeconds int64 `` /* 135-byte string literal not displayed */
	// S3 bucket name.
	S3Bucket string `url:"s3_bucket,omitempty" json:"s3_bucket,omitempty" path:"s3_bucket"`
	// S3-compatible: Access Key.
	S3CompatibleAccessKey string `url:"s3_compatible_access_key,omitempty" json:"s3_compatible_access_key,omitempty" path:"s3_compatible_access_key"`
	// S3-compatible: Bucket name.
	S3CompatibleBucket string `url:"s3_compatible_bucket,omitempty" json:"s3_compatible_bucket,omitempty" path:"s3_compatible_bucket"`
	// S3-compatible: endpoint.
	S3CompatibleEndpoint string `url:"s3_compatible_endpoint,omitempty" json:"s3_compatible_endpoint,omitempty" path:"s3_compatible_endpoint"`
	// S3-compatible: region.
	S3CompatibleRegion string `url:"s3_compatible_region,omitempty" json:"s3_compatible_region,omitempty" path:"s3_compatible_region"`
	// S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs.
	S3CompatibleVirtualHostedStyle *bool `` /* 144-byte string literal not displayed */
	// ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
	S3KmsKeyId string `url:"s3_kms_key_id,omitempty" json:"s3_kms_key_id,omitempty" path:"s3_kms_key_id"`
	// S3 region.
	S3Region string `url:"s3_region,omitempty" json:"s3_region,omitempty" path:"s3_region"`
	// Remote server certificate. Values: require_match, allow_any.
	ServerCertificate RemoteServerServerCertificateEnum `url:"server_certificate,omitempty" json:"server_certificate,omitempty" path:"server_certificate"`
	// Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
	ServerHostKey string `url:"server_host_key,omitempty" json:"server_host_key,omitempty" path:"server_host_key"`
	// Remote server type. Values: ftp, sftp, s3, google_cloud_storage, webdav, wasabi, backblaze_b2, one_drive, box, dropbox, google_drive, azure, sharepoint, s3_compatible, azure_files, files_agent, filebase, cloudflare, linode, files_com.
	ServerType RemoteServerServerTypeEnum `url:"server_type,omitempty" json:"server_type,omitempty" path:"server_type"`
	// SharePoint: Microsoft Entra application client ID for app-only authentication.
	SharepointClientId string `url:"sharepoint_client_id,omitempty" json:"sharepoint_client_id,omitempty" path:"sharepoint_client_id"`
	// SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
	SharepointSiteUrl string `url:"sharepoint_site_url,omitempty" json:"sharepoint_site_url,omitempty" path:"sharepoint_site_url"`
	// SharePoint: Microsoft Entra tenant ID for app-only authentication.
	SharepointTenantId string `url:"sharepoint_tenant_id,omitempty" json:"sharepoint_tenant_id,omitempty" path:"sharepoint_tenant_id"`
	// Should we require SSL? Values: if_available, require, require_implicit, never.
	Ssl RemoteServerSslEnum `url:"ssl,omitempty" json:"ssl,omitempty" path:"ssl"`
	// Remote server username.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
	// Wasabi: Access Key.
	WasabiAccessKey string `url:"wasabi_access_key,omitempty" json:"wasabi_access_key,omitempty" path:"wasabi_access_key"`
	// Wasabi: Bucket name.
	WasabiBucket string `url:"wasabi_bucket,omitempty" json:"wasabi_bucket,omitempty" path:"wasabi_bucket"`
	// Wasabi: Region.
	WasabiRegion string `url:"wasabi_region,omitempty" json:"wasabi_region,omitempty" path:"wasabi_region"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

RemoteServerCreateParams contains the request parameters for POST /remote_servers.

type RemoteServerCredential ¶ added in v3.3.17

type RemoteServerCredential struct {
	// Remote Server Credential ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Internal name for your reference.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Internal description for your reference.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
	ServerType string `json:"server_type,omitempty" path:"server_type,omitempty" url:"server_type,omitempty"`
	// AWS Access Key.
	AwsAccessKey string `json:"aws_access_key,omitempty" path:"aws_access_key,omitempty" url:"aws_access_key,omitempty"`
	// AWS IAM Role ARN for AssumeRole authentication.
	S3AssumeRoleArn string `json:"s3_assume_role_arn,omitempty" path:"s3_assume_role_arn,omitempty" url:"s3_assume_role_arn,omitempty"`
	// Session duration in seconds for AssumeRole authentication (900-43200).
	S3AssumeRoleDurationSeconds int64 `` /* 145-byte string literal not displayed */
	// External ID for AssumeRole authentication.
	S3AssumeRoleExternalId string `` /* 130-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible Access Key.
	GoogleCloudStorageS3CompatibleAccessKey string `` /* 187-byte string literal not displayed */
	// Wasabi: Access Key.
	WasabiAccessKey string `json:"wasabi_access_key,omitempty" path:"wasabi_access_key,omitempty" url:"wasabi_access_key,omitempty"`
	// S3-compatible: Access Key.
	S3CompatibleAccessKey string `json:"s3_compatible_access_key,omitempty" path:"s3_compatible_access_key,omitempty" url:"s3_compatible_access_key,omitempty"`
	// Filebase: Access Key.
	FilebaseAccessKey string `json:"filebase_access_key,omitempty" path:"filebase_access_key,omitempty" url:"filebase_access_key,omitempty"`
	// Cloudflare: Access Key.
	CloudflareAccessKey string `json:"cloudflare_access_key,omitempty" path:"cloudflare_access_key,omitempty" url:"cloudflare_access_key,omitempty"`
	// Linode: Access Key.
	LinodeAccessKey string `json:"linode_access_key,omitempty" path:"linode_access_key,omitempty" url:"linode_access_key,omitempty"`
	// SharePoint: Microsoft Entra tenant ID for app-only authentication.
	SharepointTenantId string `json:"sharepoint_tenant_id,omitempty" path:"sharepoint_tenant_id,omitempty" url:"sharepoint_tenant_id,omitempty"`
	// SharePoint: Microsoft Entra application client ID for app-only authentication.
	SharepointClientId string `json:"sharepoint_client_id,omitempty" path:"sharepoint_client_id,omitempty" url:"sharepoint_client_id,omitempty"`
	// SharePoint: App-only credential type. Either secret or certificate.
	SharepointAppCredentialType string `` /* 142-byte string literal not displayed */
	// Remote server username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Password, if needed.
	Password string `json:"password,omitempty" path:"password,omitempty" url:"password,omitempty"`
	// Private key, if needed.
	PrivateKey string `json:"private_key,omitempty" path:"private_key,omitempty" url:"private_key,omitempty"`
	// Passphrase for private key if needed.
	PrivateKeyPassphrase string `json:"private_key_passphrase,omitempty" path:"private_key_passphrase,omitempty" url:"private_key_passphrase,omitempty"`
	// AWS: secret key.
	AwsSecretKey string `json:"aws_secret_key,omitempty" path:"aws_secret_key,omitempty" url:"aws_secret_key,omitempty"`
	// Azure Blob Storage: Access Key.
	AzureBlobStorageAccessKey string `` /* 139-byte string literal not displayed */
	// Azure Blob Storage: Shared Access Signature (SAS) token.
	AzureBlobStorageSasToken string `` /* 136-byte string literal not displayed */
	// Azure File Storage: Access Key.
	AzureFilesStorageAccessKey string `` /* 142-byte string literal not displayed */
	// Azure File Storage: Shared Access Signature (SAS) token.
	AzureFilesStorageSasToken string `` /* 139-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: applicationKey.
	BackblazeB2ApplicationKey string `` /* 136-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: keyID.
	BackblazeB2KeyId string `json:"backblaze_b2_key_id,omitempty" path:"backblaze_b2_key_id,omitempty" url:"backblaze_b2_key_id,omitempty"`
	// Cloudflare: Secret Key.
	CloudflareSecretKey string `json:"cloudflare_secret_key,omitempty" path:"cloudflare_secret_key,omitempty" url:"cloudflare_secret_key,omitempty"`
	// Filebase: Secret Key.
	FilebaseSecretKey string `json:"filebase_secret_key,omitempty" path:"filebase_secret_key,omitempty" url:"filebase_secret_key,omitempty"`
	// Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey.
	GoogleCloudStorageCredentialsJson string `` /* 163-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible secret key.
	GoogleCloudStorageS3CompatibleSecretKey string `` /* 187-byte string literal not displayed */
	// Linode: Secret Key.
	LinodeSecretKey string `json:"linode_secret_key,omitempty" path:"linode_secret_key,omitempty" url:"linode_secret_key,omitempty"`
	// S3-compatible: Secret Key.
	S3CompatibleSecretKey string `json:"s3_compatible_secret_key,omitempty" path:"s3_compatible_secret_key,omitempty" url:"s3_compatible_secret_key,omitempty"`
	// SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
	SharepointClientCertificate string `` /* 139-byte string literal not displayed */
	// SharePoint: Microsoft Entra application client secret for app-only authentication.
	SharepointClientSecret string `json:"sharepoint_client_secret,omitempty" path:"sharepoint_client_secret,omitempty" url:"sharepoint_client_secret,omitempty"`
	// Wasabi: Secret Key.
	WasabiSecretKey string `json:"wasabi_secret_key,omitempty" path:"wasabi_secret_key,omitempty" url:"wasabi_secret_key,omitempty"`
	// ID of Remote Server Credential to copy omitted values from.
	CopyValuesFromCredentialId int64 `` /* 142-byte string literal not displayed */
}

RemoteServerCredential is a Files.com API resource.

func (RemoteServerCredential) Identifier ¶ added in v3.3.17

func (r RemoteServerCredential) Identifier() interface{}

Identifier returns the resource ID.

func (*RemoteServerCredential) UnmarshalJSON ¶ added in v3.3.17

func (r *RemoteServerCredential) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type RemoteServerCredentialCollection ¶ added in v3.3.17

type RemoteServerCredentialCollection []RemoteServerCredential

RemoteServerCredentialCollection is a list of RemoteServerCredential resources.

func (*RemoteServerCredentialCollection) ToSlice ¶ added in v3.3.17

func (r *RemoteServerCredentialCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*RemoteServerCredentialCollection) UnmarshalJSON ¶ added in v3.3.17

func (r *RemoteServerCredentialCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type RemoteServerCredentialCreateParams ¶ added in v3.3.17

type RemoteServerCredentialCreateParams struct {
	// Internal name for your reference.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Internal description for your reference.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Remote server type. Remote Server Credentials are only valid for a single type of Remote Server. Values: ftp, sftp, s3, google_cloud_storage, webdav, wasabi, backblaze_b2, one_drive, box, dropbox, google_drive, azure, sharepoint, s3_compatible, azure_files, files_agent, filebase, cloudflare, linode, files_com.
	ServerType RemoteServerCredentialServerTypeEnum `url:"server_type,omitempty" json:"server_type,omitempty" path:"server_type"`
	// AWS Access Key.
	AwsAccessKey string `url:"aws_access_key,omitempty" json:"aws_access_key,omitempty" path:"aws_access_key"`
	// AWS IAM Role ARN for AssumeRole authentication.
	S3AssumeRoleArn string `url:"s3_assume_role_arn,omitempty" json:"s3_assume_role_arn,omitempty" path:"s3_assume_role_arn"`
	// Session duration in seconds for AssumeRole authentication (900-43200).
	S3AssumeRoleDurationSeconds int64 `` /* 135-byte string literal not displayed */
	// Cloudflare: Access Key.
	CloudflareAccessKey string `url:"cloudflare_access_key,omitempty" json:"cloudflare_access_key,omitempty" path:"cloudflare_access_key"`
	// Filebase: Access Key.
	FilebaseAccessKey string `url:"filebase_access_key,omitempty" json:"filebase_access_key,omitempty" path:"filebase_access_key"`
	// Google Cloud Storage: S3-compatible Access Key.
	GoogleCloudStorageS3CompatibleAccessKey string `` /* 177-byte string literal not displayed */
	// Linode: Access Key.
	LinodeAccessKey string `url:"linode_access_key,omitempty" json:"linode_access_key,omitempty" path:"linode_access_key"`
	// S3-compatible: Access Key.
	S3CompatibleAccessKey string `url:"s3_compatible_access_key,omitempty" json:"s3_compatible_access_key,omitempty" path:"s3_compatible_access_key"`
	// SharePoint: Microsoft Entra application client ID for app-only authentication.
	SharepointClientId string `url:"sharepoint_client_id,omitempty" json:"sharepoint_client_id,omitempty" path:"sharepoint_client_id"`
	// SharePoint: Microsoft Entra tenant ID for app-only authentication.
	SharepointTenantId string `url:"sharepoint_tenant_id,omitempty" json:"sharepoint_tenant_id,omitempty" path:"sharepoint_tenant_id"`
	// Remote server username.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
	// Wasabi: Access Key.
	WasabiAccessKey string `url:"wasabi_access_key,omitempty" json:"wasabi_access_key,omitempty" path:"wasabi_access_key"`
	// Password, if needed.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// Private key, if needed.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// Passphrase for private key if needed.
	PrivateKeyPassphrase string `url:"private_key_passphrase,omitempty" json:"private_key_passphrase,omitempty" path:"private_key_passphrase"`
	// AWS: secret key.
	AwsSecretKey string `url:"aws_secret_key,omitempty" json:"aws_secret_key,omitempty" path:"aws_secret_key"`
	// Azure Blob Storage: Access Key.
	AzureBlobStorageAccessKey string `` /* 129-byte string literal not displayed */
	// Azure Blob Storage: Shared Access Signature (SAS) token.
	AzureBlobStorageSasToken string `` /* 126-byte string literal not displayed */
	// Azure File Storage: Access Key.
	AzureFilesStorageAccessKey string `` /* 132-byte string literal not displayed */
	// Azure File Storage: Shared Access Signature (SAS) token.
	AzureFilesStorageSasToken string `` /* 129-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: applicationKey.
	BackblazeB2ApplicationKey string `` /* 126-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: keyID.
	BackblazeB2KeyId string `url:"backblaze_b2_key_id,omitempty" json:"backblaze_b2_key_id,omitempty" path:"backblaze_b2_key_id"`
	// Cloudflare: Secret Key.
	CloudflareSecretKey string `url:"cloudflare_secret_key,omitempty" json:"cloudflare_secret_key,omitempty" path:"cloudflare_secret_key"`
	// Filebase: Secret Key.
	FilebaseSecretKey string `url:"filebase_secret_key,omitempty" json:"filebase_secret_key,omitempty" path:"filebase_secret_key"`
	// Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey.
	GoogleCloudStorageCredentialsJson string `` /* 153-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible secret key.
	GoogleCloudStorageS3CompatibleSecretKey string `` /* 177-byte string literal not displayed */
	// Linode: Secret Key.
	LinodeSecretKey string `url:"linode_secret_key,omitempty" json:"linode_secret_key,omitempty" path:"linode_secret_key"`
	// S3-compatible: Secret Key.
	S3CompatibleSecretKey string `url:"s3_compatible_secret_key,omitempty" json:"s3_compatible_secret_key,omitempty" path:"s3_compatible_secret_key"`
	// SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
	SharepointClientCertificate string `` /* 129-byte string literal not displayed */
	// SharePoint: Microsoft Entra application client secret for app-only authentication.
	SharepointClientSecret string `url:"sharepoint_client_secret,omitempty" json:"sharepoint_client_secret,omitempty" path:"sharepoint_client_secret"`
	// Wasabi: Secret Key.
	WasabiSecretKey string `url:"wasabi_secret_key,omitempty" json:"wasabi_secret_key,omitempty" path:"wasabi_secret_key"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// ID of Remote Server Credential to copy omitted values from.
	CopyValuesFromCredentialId int64 `` /* 132-byte string literal not displayed */
}

RemoteServerCredentialCreateParams contains the request parameters for POST /remote_server_credentials.

type RemoteServerCredentialDeleteParams ¶ added in v3.3.17

type RemoteServerCredentialDeleteParams struct {
	// Remote Server Credential ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteServerCredentialDeleteParams contains the request parameters for DELETE /remote_server_credentials/{id}.

type RemoteServerCredentialFindParams ¶ added in v3.3.17

type RemoteServerCredentialFindParams struct {
	// Remote Server Credential ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteServerCredentialFindParams contains the request parameters for GET /remote_server_credentials/{id}.

type RemoteServerCredentialListParams ¶ added in v3.3.17

type RemoteServerCredentialListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id` and `name`. Valid field combinations are `[ workspace_id, name ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

RemoteServerCredentialListParams contains the request parameters for GET /remote_server_credentials.

type RemoteServerCredentialServerTypeEnum ¶ added in v3.3.17

type RemoteServerCredentialServerTypeEnum string

RemoteServerCredentialServerTypeEnum is a string value for server_type. Enum lists the values documented by the API.

func (RemoteServerCredentialServerTypeEnum) Enum ¶ added in v3.3.17

Enum returns the documented values keyed by their API strings.

func (RemoteServerCredentialServerTypeEnum) String ¶ added in v3.3.17

String returns the API parameter value.

type RemoteServerCredentialUpdateParams ¶ added in v3.3.17

type RemoteServerCredentialUpdateParams struct {
	// Remote Server Credential ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Internal name for your reference.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Internal description for your reference.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Remote server type. Remote Server Credentials are only valid for a single type of Remote Server. Values: ftp, sftp, s3, google_cloud_storage, webdav, wasabi, backblaze_b2, one_drive, box, dropbox, google_drive, azure, sharepoint, s3_compatible, azure_files, files_agent, filebase, cloudflare, linode, files_com.
	ServerType RemoteServerCredentialServerTypeEnum `url:"server_type,omitempty" json:"server_type,omitempty" path:"server_type"`
	// AWS Access Key.
	AwsAccessKey string `url:"aws_access_key,omitempty" json:"aws_access_key,omitempty" path:"aws_access_key"`
	// AWS IAM Role ARN for AssumeRole authentication.
	S3AssumeRoleArn string `url:"s3_assume_role_arn,omitempty" json:"s3_assume_role_arn,omitempty" path:"s3_assume_role_arn"`
	// Session duration in seconds for AssumeRole authentication (900-43200).
	S3AssumeRoleDurationSeconds int64 `` /* 135-byte string literal not displayed */
	// Cloudflare: Access Key.
	CloudflareAccessKey string `url:"cloudflare_access_key,omitempty" json:"cloudflare_access_key,omitempty" path:"cloudflare_access_key"`
	// Filebase: Access Key.
	FilebaseAccessKey string `url:"filebase_access_key,omitempty" json:"filebase_access_key,omitempty" path:"filebase_access_key"`
	// Google Cloud Storage: S3-compatible Access Key.
	GoogleCloudStorageS3CompatibleAccessKey string `` /* 177-byte string literal not displayed */
	// Linode: Access Key.
	LinodeAccessKey string `url:"linode_access_key,omitempty" json:"linode_access_key,omitempty" path:"linode_access_key"`
	// S3-compatible: Access Key.
	S3CompatibleAccessKey string `url:"s3_compatible_access_key,omitempty" json:"s3_compatible_access_key,omitempty" path:"s3_compatible_access_key"`
	// SharePoint: Microsoft Entra application client ID for app-only authentication.
	SharepointClientId string `url:"sharepoint_client_id,omitempty" json:"sharepoint_client_id,omitempty" path:"sharepoint_client_id"`
	// SharePoint: Microsoft Entra tenant ID for app-only authentication.
	SharepointTenantId string `url:"sharepoint_tenant_id,omitempty" json:"sharepoint_tenant_id,omitempty" path:"sharepoint_tenant_id"`
	// Remote server username.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
	// Wasabi: Access Key.
	WasabiAccessKey string `url:"wasabi_access_key,omitempty" json:"wasabi_access_key,omitempty" path:"wasabi_access_key"`
	// Password, if needed.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// Private key, if needed.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// Passphrase for private key if needed.
	PrivateKeyPassphrase string `url:"private_key_passphrase,omitempty" json:"private_key_passphrase,omitempty" path:"private_key_passphrase"`
	// AWS: secret key.
	AwsSecretKey string `url:"aws_secret_key,omitempty" json:"aws_secret_key,omitempty" path:"aws_secret_key"`
	// Azure Blob Storage: Access Key.
	AzureBlobStorageAccessKey string `` /* 129-byte string literal not displayed */
	// Azure Blob Storage: Shared Access Signature (SAS) token.
	AzureBlobStorageSasToken string `` /* 126-byte string literal not displayed */
	// Azure File Storage: Access Key.
	AzureFilesStorageAccessKey string `` /* 132-byte string literal not displayed */
	// Azure File Storage: Shared Access Signature (SAS) token.
	AzureFilesStorageSasToken string `` /* 129-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: applicationKey.
	BackblazeB2ApplicationKey string `` /* 126-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: keyID.
	BackblazeB2KeyId string `url:"backblaze_b2_key_id,omitempty" json:"backblaze_b2_key_id,omitempty" path:"backblaze_b2_key_id"`
	// Cloudflare: Secret Key.
	CloudflareSecretKey string `url:"cloudflare_secret_key,omitempty" json:"cloudflare_secret_key,omitempty" path:"cloudflare_secret_key"`
	// Filebase: Secret Key.
	FilebaseSecretKey string `url:"filebase_secret_key,omitempty" json:"filebase_secret_key,omitempty" path:"filebase_secret_key"`
	// Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey.
	GoogleCloudStorageCredentialsJson string `` /* 153-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible secret key.
	GoogleCloudStorageS3CompatibleSecretKey string `` /* 177-byte string literal not displayed */
	// Linode: Secret Key.
	LinodeSecretKey string `url:"linode_secret_key,omitempty" json:"linode_secret_key,omitempty" path:"linode_secret_key"`
	// S3-compatible: Secret Key.
	S3CompatibleSecretKey string `url:"s3_compatible_secret_key,omitempty" json:"s3_compatible_secret_key,omitempty" path:"s3_compatible_secret_key"`
	// SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
	SharepointClientCertificate string `` /* 129-byte string literal not displayed */
	// SharePoint: Microsoft Entra application client secret for app-only authentication.
	SharepointClientSecret string `url:"sharepoint_client_secret,omitempty" json:"sharepoint_client_secret,omitempty" path:"sharepoint_client_secret"`
	// Wasabi: Secret Key.
	WasabiSecretKey string `url:"wasabi_secret_key,omitempty" json:"wasabi_secret_key,omitempty" path:"wasabi_secret_key"`
}

RemoteServerCredentialUpdateParams contains the request parameters for PATCH /remote_server_credentials/{id}.

type RemoteServerDeleteParams ¶

type RemoteServerDeleteParams struct {
	// Remote Server ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteServerDeleteParams contains the request parameters for DELETE /remote_servers/{id}.

type RemoteServerFilesAgentPermissionSetEnum ¶

type RemoteServerFilesAgentPermissionSetEnum string

RemoteServerFilesAgentPermissionSetEnum is a string value for files_agent_permission_set. Enum lists the values documented by the API.

func (RemoteServerFilesAgentPermissionSetEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (RemoteServerFilesAgentPermissionSetEnum) String ¶

String returns the API parameter value.

type RemoteServerFindConfigurationFileParams ¶

type RemoteServerFindConfigurationFileParams struct {
	// Remote Server ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteServerFindConfigurationFileParams contains the request parameters for GET /remote_servers/{id}/configuration_file.

type RemoteServerFindParams ¶

type RemoteServerFindParams struct {
	// Remote Server ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RemoteServerFindParams contains the request parameters for GET /remote_servers/{id}.

type RemoteServerGoogleCloudStorageAuthenticationMethodEnum ¶ added in v3.3.146

type RemoteServerGoogleCloudStorageAuthenticationMethodEnum string

RemoteServerGoogleCloudStorageAuthenticationMethodEnum is a string value for google_cloud_storage_authentication_method. Enum lists the values documented by the API.

func (RemoteServerGoogleCloudStorageAuthenticationMethodEnum) Enum ¶ added in v3.3.146

Enum returns the documented values keyed by their API strings.

func (RemoteServerGoogleCloudStorageAuthenticationMethodEnum) String ¶ added in v3.3.146

String returns the API parameter value.

type RemoteServerListParams ¶

type RemoteServerListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `workspace_id`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ workspace_id, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]`, `[ linode_bucket, name ]`, `[ workspace_id, server_type ]` or `[ workspace_id, server_type, name ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

RemoteServerListParams contains the request parameters for GET /remote_servers.

type RemoteServerOneDriveAccountTypeEnum ¶

type RemoteServerOneDriveAccountTypeEnum string

RemoteServerOneDriveAccountTypeEnum is a string value for one_drive_account_type. Enum lists the values documented by the API.

func (RemoteServerOneDriveAccountTypeEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (RemoteServerOneDriveAccountTypeEnum) String ¶

String returns the API parameter value.

type RemoteServerServerCertificateEnum ¶

type RemoteServerServerCertificateEnum string

RemoteServerServerCertificateEnum is a string value for server_certificate. Enum lists the values documented by the API.

func (RemoteServerServerCertificateEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (RemoteServerServerCertificateEnum) String ¶

String returns the API parameter value.

type RemoteServerServerTypeEnum ¶

type RemoteServerServerTypeEnum string

RemoteServerServerTypeEnum is a string value for server_type. Enum lists the values documented by the API.

func (RemoteServerServerTypeEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (RemoteServerServerTypeEnum) String ¶

String returns the API parameter value.

type RemoteServerSslEnum ¶

type RemoteServerSslEnum string

RemoteServerSslEnum is a string value for ssl. Enum lists the values documented by the API.

func (RemoteServerSslEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (RemoteServerSslEnum) String ¶

func (u RemoteServerSslEnum) String() string

String returns the API parameter value.

type RemoteServerUpdateParams ¶

type RemoteServerUpdateParams struct {
	// Remote Server ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Password, if needed.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// Private key, if needed.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
	// Passphrase for private key if needed.
	PrivateKeyPassphrase string `url:"private_key_passphrase,omitempty" json:"private_key_passphrase,omitempty" path:"private_key_passphrase"`
	// Reset authenticated account?
	ResetAuthentication *bool `url:"reset_authentication,omitempty" json:"reset_authentication,omitempty" path:"reset_authentication"`
	// SharePoint: PEM-encoded certificate and unencrypted private key for app-only authentication.
	SharepointClientCertificate string `` /* 129-byte string literal not displayed */
	// SharePoint: Microsoft Entra application client secret for app-only authentication.
	SharepointClientSecret string `url:"sharepoint_client_secret,omitempty" json:"sharepoint_client_secret,omitempty" path:"sharepoint_client_secret"`
	// SSL client certificate.
	SslCertificate string `url:"ssl_certificate,omitempty" json:"ssl_certificate,omitempty" path:"ssl_certificate"`
	// AWS: secret key.
	AwsSecretKey string `url:"aws_secret_key,omitempty" json:"aws_secret_key,omitempty" path:"aws_secret_key"`
	// Azure Blob Storage: Access Key.
	AzureBlobStorageAccessKey string `` /* 129-byte string literal not displayed */
	// Azure Blob Storage: Shared Access Signature (SAS) token.
	AzureBlobStorageSasToken string `` /* 126-byte string literal not displayed */
	// Azure File Storage: Access Key.
	AzureFilesStorageAccessKey string `` /* 132-byte string literal not displayed */
	// Azure File Storage: Shared Access Signature (SAS) token.
	AzureFilesStorageSasToken string `` /* 129-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: applicationKey.
	BackblazeB2ApplicationKey string `` /* 126-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: keyID.
	BackblazeB2KeyId string `url:"backblaze_b2_key_id,omitempty" json:"backblaze_b2_key_id,omitempty" path:"backblaze_b2_key_id"`
	// Cloudflare: Secret Key.
	CloudflareSecretKey string `url:"cloudflare_secret_key,omitempty" json:"cloudflare_secret_key,omitempty" path:"cloudflare_secret_key"`
	// Filebase: Secret Key.
	FilebaseSecretKey string `url:"filebase_secret_key,omitempty" json:"filebase_secret_key,omitempty" path:"filebase_secret_key"`
	// Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey.
	GoogleCloudStorageCredentialsJson string `` /* 153-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible secret key.
	GoogleCloudStorageS3CompatibleSecretKey string `` /* 177-byte string literal not displayed */
	// Linode: Secret Key.
	LinodeSecretKey string `url:"linode_secret_key,omitempty" json:"linode_secret_key,omitempty" path:"linode_secret_key"`
	// S3-compatible: Secret Key.
	S3CompatibleSecretKey string `url:"s3_compatible_secret_key,omitempty" json:"s3_compatible_secret_key,omitempty" path:"s3_compatible_secret_key"`
	// Wasabi: Secret Key.
	WasabiSecretKey string `url:"wasabi_secret_key,omitempty" json:"wasabi_secret_key,omitempty" path:"wasabi_secret_key"`
	// Allow relative paths in SFTP. If true, paths will not be forced to be absolute, allowing operations relative to the user's home directory.
	AllowRelativePaths *bool `url:"allow_relative_paths,omitempty" json:"allow_relative_paths,omitempty" path:"allow_relative_paths"`
	// AWS Access Key.
	AwsAccessKey string `url:"aws_access_key,omitempty" json:"aws_access_key,omitempty" path:"aws_access_key"`
	// Azure Blob Storage: Account name.
	AzureBlobStorageAccount string `url:"azure_blob_storage_account,omitempty" json:"azure_blob_storage_account,omitempty" path:"azure_blob_storage_account"`
	// Azure Blob Storage: Container name.
	AzureBlobStorageContainer string `` /* 126-byte string literal not displayed */
	// Azure Blob Storage: Custom DNS suffix.
	AzureBlobStorageDnsSuffix string `` /* 129-byte string literal not displayed */
	// Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
	AzureBlobStorageHierarchicalNamespace *bool `` /* 165-byte string literal not displayed */
	// Azure Files: Storage Account name.
	AzureFilesStorageAccount string `url:"azure_files_storage_account,omitempty" json:"azure_files_storage_account,omitempty" path:"azure_files_storage_account"`
	// Azure Files: Custom DNS suffix.
	AzureFilesStorageDnsSuffix string `` /* 132-byte string literal not displayed */
	// Azure Files: Storage Share name.
	AzureFilesStorageShareName string `` /* 132-byte string literal not displayed */
	// Backblaze B2 Cloud Storage: Bucket name.
	BackblazeB2Bucket string `url:"backblaze_b2_bucket,omitempty" json:"backblaze_b2_bucket,omitempty" path:"backblaze_b2_bucket"`
	// Backblaze B2 Cloud Storage: S3 Endpoint.
	BackblazeB2S3Endpoint string `url:"backblaze_b2_s3_endpoint,omitempty" json:"backblaze_b2_s3_endpoint,omitempty" path:"backblaze_b2_s3_endpoint"`
	// If set to always, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com. If set to auto, we will perform this optimization if we believe it to be a benefit in a given situation. Values: auto, always, never.
	BufferUploads RemoteServerBufferUploadsEnum `url:"buffer_uploads,omitempty" json:"buffer_uploads,omitempty" path:"buffer_uploads"`
	// Cloudflare: Access Key.
	CloudflareAccessKey string `url:"cloudflare_access_key,omitempty" json:"cloudflare_access_key,omitempty" path:"cloudflare_access_key"`
	// Cloudflare: Bucket name.
	CloudflareBucket string `url:"cloudflare_bucket,omitempty" json:"cloudflare_bucket,omitempty" path:"cloudflare_bucket"`
	// Cloudflare: endpoint.
	CloudflareEndpoint string `url:"cloudflare_endpoint,omitempty" json:"cloudflare_endpoint,omitempty" path:"cloudflare_endpoint"`
	// Internal description for your reference.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Dropbox: If true, list Team folders in root?
	DropboxTeams *bool `url:"dropbox_teams,omitempty" json:"dropbox_teams,omitempty" path:"dropbox_teams"`
	// `true` if remote server only accepts connections from dedicated IPs.
	EnableDedicatedIps *bool `url:"enable_dedicated_ips,omitempty" json:"enable_dedicated_ips,omitempty" path:"enable_dedicated_ips"`
	// Filebase: Access Key.
	FilebaseAccessKey string `url:"filebase_access_key,omitempty" json:"filebase_access_key,omitempty" path:"filebase_access_key"`
	// Filebase: Bucket name.
	FilebaseBucket string `url:"filebase_bucket,omitempty" json:"filebase_bucket,omitempty" path:"filebase_bucket"`
	// Files.com direct link: API key used once to pair the remote server.
	FilesApiKey string `url:"files_api_key,omitempty" json:"files_api_key,omitempty" path:"files_api_key"`
	// Agent file permissions: `read_only`, `write_only`, or `read_write`. Files.com writes this value as `permission_set` in the configuration file generated for this Remote Server. Setting it on Create or Update changes the generated file, not a running Agent. The Agent enforces the permissions in its local configuration file, controlled by the host's system administrator, and reports them at registration, replacing the stored value. Values: read_write, read_only, write_only.
	FilesAgentPermissionSet RemoteServerFilesAgentPermissionSetEnum `url:"files_agent_permission_set,omitempty" json:"files_agent_permission_set,omitempty" path:"files_agent_permission_set"`
	// Agent local root path. Files.com writes this value as `root` in the configuration file generated for this Remote Server. Setting it on Create or Update changes the generated file, not a running Agent. The Agent enforces the root in its local configuration file, controlled by the host's system administrator, and reports it at registration, replacing the stored value.
	FilesAgentRoot string `url:"files_agent_root,omitempty" json:"files_agent_root,omitempty" path:"files_agent_root"`
	// Files.com Agent version reported by the Agent at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not update the running Agent.
	FilesAgentVersion string `url:"files_agent_version,omitempty" json:"files_agent_version,omitempty" path:"files_agent_version"`
	// Route traffic to outbound on a files-agent.
	OutboundAgentId int64 `url:"outbound_agent_id,omitempty" json:"outbound_agent_id,omitempty" path:"outbound_agent_id"`
	// Custom Domain ID whose dedicated IP addresses are selected when this Remote Server uses dedicated IPs. Must be available to this Remote Server's workspace. Requires enable_dedicated_ips and cannot be combined with an outbound Agent. Set to null to use the site's default dedicated IPs.
	CustomDomainId int64 `url:"custom_domain_id,omitempty" json:"custom_domain_id,omitempty" path:"custom_domain_id"`
	// Google Cloud Storage: Authentication method. Can be json, hmac, or oauth. Values: json, hmac, oauth.
	GoogleCloudStorageAuthenticationMethod RemoteServerGoogleCloudStorageAuthenticationMethodEnum `` /* 168-byte string literal not displayed */
	// Google Cloud Storage: Bucket Name.
	GoogleCloudStorageBucket string `url:"google_cloud_storage_bucket,omitempty" json:"google_cloud_storage_bucket,omitempty" path:"google_cloud_storage_bucket"`
	// Google Cloud Storage: OAuth scope. Can be https://www.googleapis.com/auth/devstorage.read_only or https://www.googleapis.com/auth/devstorage.read_write.
	GoogleCloudStorageOauthScope string `` /* 138-byte string literal not displayed */
	// Google Cloud Storage: Project ID.
	GoogleCloudStorageProjectId string `` /* 135-byte string literal not displayed */
	// Google Cloud Storage: S3-compatible Access Key.
	GoogleCloudStorageS3CompatibleAccessKey string `` /* 177-byte string literal not displayed */
	// Hostname or IP address. For Agent Remote Servers, the Agent reports the hostname it connects from at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not change the running Agent.
	Hostname string `url:"hostname,omitempty" json:"hostname,omitempty" path:"hostname"`
	// Linode: Access Key.
	LinodeAccessKey string `url:"linode_access_key,omitempty" json:"linode_access_key,omitempty" path:"linode_access_key"`
	// Linode: Bucket name.
	LinodeBucket string `url:"linode_bucket,omitempty" json:"linode_bucket,omitempty" path:"linode_bucket"`
	// Linode: region.
	LinodeRegion string `url:"linode_region,omitempty" json:"linode_region,omitempty" path:"linode_region"`
	// Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
	MaxConnections int64 `url:"max_connections,omitempty" json:"max_connections,omitempty" path:"max_connections"`
	// Internal name for your reference.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// OneDrive: Either personal or business_other account types. Values: personal, business_other.
	OneDriveAccountType RemoteServerOneDriveAccountTypeEnum `url:"one_drive_account_type,omitempty" json:"one_drive_account_type,omitempty" path:"one_drive_account_type"`
	// If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
	PinToSiteRegion *bool `url:"pin_to_site_region,omitempty" json:"pin_to_site_region,omitempty" path:"pin_to_site_region"`
	// Port for remote server. For Agent Remote Servers, the Agent reports its downstream proxy port at each registration, replacing the stored value. This field is not included in the generated Agent configuration file. Setting it on Create or Update does not change the running Agent.
	Port int64 `url:"port,omitempty" json:"port,omitempty" path:"port"`
	// Upload staging path. Applies to SFTP only. If a path is provided here, files will first be uploaded to this path on the remote folder and the moved into the final correct path via an SFTP move command. This is required by some remote MFT systems to emulate atomic uploads, which are otherwise not supoprted by SFTP.
	UploadStagingPath string `url:"upload_staging_path,omitempty" json:"upload_staging_path,omitempty" path:"upload_staging_path"`
	// ID of Remote Server Credential, if applicable.
	RemoteServerCredentialId int64 `url:"remote_server_credential_id,omitempty" json:"remote_server_credential_id,omitempty" path:"remote_server_credential_id"`
	// AWS IAM Role ARN for AssumeRole authentication.
	S3AssumeRoleArn string `url:"s3_assume_role_arn,omitempty" json:"s3_assume_role_arn,omitempty" path:"s3_assume_role_arn"`
	// Session duration in seconds for AssumeRole authentication (900-43200).
	S3AssumeRoleDurationSeconds int64 `` /* 135-byte string literal not displayed */
	// S3 bucket name.
	S3Bucket string `url:"s3_bucket,omitempty" json:"s3_bucket,omitempty" path:"s3_bucket"`
	// S3-compatible: Access Key.
	S3CompatibleAccessKey string `url:"s3_compatible_access_key,omitempty" json:"s3_compatible_access_key,omitempty" path:"s3_compatible_access_key"`
	// S3-compatible: Bucket name.
	S3CompatibleBucket string `url:"s3_compatible_bucket,omitempty" json:"s3_compatible_bucket,omitempty" path:"s3_compatible_bucket"`
	// S3-compatible: endpoint.
	S3CompatibleEndpoint string `url:"s3_compatible_endpoint,omitempty" json:"s3_compatible_endpoint,omitempty" path:"s3_compatible_endpoint"`
	// S3-compatible: region.
	S3CompatibleRegion string `url:"s3_compatible_region,omitempty" json:"s3_compatible_region,omitempty" path:"s3_compatible_region"`
	// S3-compatible: If true, use virtual-hosted-style URLs instead of path-style URLs.
	S3CompatibleVirtualHostedStyle *bool `` /* 144-byte string literal not displayed */
	// ARN of the AWS KMS key that encrypts files written to the bucket (SSE-KMS). Leave blank unless your bucket requires a specific key.
	S3KmsKeyId string `url:"s3_kms_key_id,omitempty" json:"s3_kms_key_id,omitempty" path:"s3_kms_key_id"`
	// S3 region.
	S3Region string `url:"s3_region,omitempty" json:"s3_region,omitempty" path:"s3_region"`
	// Remote server certificate. Values: require_match, allow_any.
	ServerCertificate RemoteServerServerCertificateEnum `url:"server_certificate,omitempty" json:"server_certificate,omitempty" path:"server_certificate"`
	// Pinned SSH host key or OpenSSH host certificate for SFTP. If omitted, Files.com detects and stores a host key, preferring plain keys over certificates. With `server_certificate=require_match` (the default), the server must present the exact pinned key or certificate and prove it holds the matching private key. A pinned certificate is compared in full, so renewal can require updating `server_host_key` even when its underlying key is unchanged. Files.com does not check certificate CA signatures, principals, or validity periods. Certificate expiration alone does not end the pin. Update `server_host_key` to replace the pin.
	ServerHostKey string `url:"server_host_key,omitempty" json:"server_host_key,omitempty" path:"server_host_key"`
	// Remote server type. Values: ftp, sftp, s3, google_cloud_storage, webdav, wasabi, backblaze_b2, one_drive, box, dropbox, google_drive, azure, sharepoint, s3_compatible, azure_files, files_agent, filebase, cloudflare, linode, files_com.
	ServerType RemoteServerServerTypeEnum `url:"server_type,omitempty" json:"server_type,omitempty" path:"server_type"`
	// SharePoint: Microsoft Entra application client ID for app-only authentication.
	SharepointClientId string `url:"sharepoint_client_id,omitempty" json:"sharepoint_client_id,omitempty" path:"sharepoint_client_id"`
	// SharePoint: Site URL to scope app-only authentication to a single site. Leave blank to browse all sites.
	SharepointSiteUrl string `url:"sharepoint_site_url,omitempty" json:"sharepoint_site_url,omitempty" path:"sharepoint_site_url"`
	// SharePoint: Microsoft Entra tenant ID for app-only authentication.
	SharepointTenantId string `url:"sharepoint_tenant_id,omitempty" json:"sharepoint_tenant_id,omitempty" path:"sharepoint_tenant_id"`
	// Should we require SSL? Values: if_available, require, require_implicit, never.
	Ssl RemoteServerSslEnum `url:"ssl,omitempty" json:"ssl,omitempty" path:"ssl"`
	// Remote server username.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
	// Wasabi: Access Key.
	WasabiAccessKey string `url:"wasabi_access_key,omitempty" json:"wasabi_access_key,omitempty" path:"wasabi_access_key"`
	// Wasabi: Bucket name.
	WasabiBucket string `url:"wasabi_bucket,omitempty" json:"wasabi_bucket,omitempty" path:"wasabi_bucket"`
	// Wasabi: Region.
	WasabiRegion string `url:"wasabi_region,omitempty" json:"wasabi_region,omitempty" path:"wasabi_region"`
}

RemoteServerUpdateParams contains the request parameters for PATCH /remote_servers/{id}.

type Request ¶

type Request struct {
	// Request ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Source filename, if applicable.
	Source string `json:"source,omitempty" path:"source,omitempty" url:"source,omitempty"`
	// Destination filename.
	Destination string `json:"destination,omitempty" path:"destination,omitempty" url:"destination,omitempty"`
	// ID of automation that created request.
	AutomationId int64 `json:"automation_id,omitempty" path:"automation_id,omitempty" url:"automation_id,omitempty"`
	// User making the request (if applicable).
	UserDisplayName string `json:"user_display_name,omitempty" path:"user_display_name,omitempty" url:"user_display_name,omitempty"`
	// A list of user IDs to request the file from. If sent as a string, it should be comma-delimited.
	UserIds string `json:"user_ids,omitempty" path:"user_ids,omitempty" url:"user_ids,omitempty"`
	// A list of group IDs to request the file from. If sent as a string, it should be comma-delimited.
	GroupIds string `json:"group_ids,omitempty" path:"group_ids,omitempty" url:"group_ids,omitempty"`
}

Request is a Files.com API resource.

func (Request) Identifier ¶

func (r Request) Identifier() interface{}

Identifier returns the resource ID.

func (*Request) UnmarshalJSON ¶

func (r *Request) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type RequestCollection ¶

type RequestCollection []Request

RequestCollection is a list of Request resources.

func (*RequestCollection) ToSlice ¶

func (r *RequestCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*RequestCollection) UnmarshalJSON ¶

func (r *RequestCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type RequestCreateParams ¶

type RequestCreateParams struct {
	// Folder path on which to request the file. Required.
	Path string `url:"path" json:"path" path:"path"`
	// Destination filename (without extension) to request. Required.
	Destination string `url:"destination" json:"destination" path:"destination"`
	// A list of user IDs to request the file from. If sent as a string, it should be comma-delimited.
	UserIds string `url:"user_ids,omitempty" json:"user_ids,omitempty" path:"user_ids"`
	// A list of group IDs to request the file from. If sent as a string, it should be comma-delimited.
	GroupIds string `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
}

RequestCreateParams contains the request parameters for POST /requests.

type RequestDeleteParams ¶

type RequestDeleteParams struct {
	// Request ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

RequestDeleteParams contains the request parameters for DELETE /requests/{id}.

type RequestGetFolderParams ¶

type RequestGetFolderParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// Only show requests of the current user? (Defaults to true if current user is not a site admin.).
	Mine *bool `url:"mine,omitempty" json:"mine,omitempty" path:"mine"`
	// Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

RequestGetFolderParams contains the request parameters for GET /requests/folders/{path}.

type RequestListParams ¶

type RequestListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// Only show requests of the current user? (Defaults to true if current user is not a site admin.).
	Mine *bool `url:"mine,omitempty" json:"mine,omitempty" path:"mine"`
	// Path to show requests for. If omitted, shows all paths. Send `/` to represent the root directory.
	Path string `url:"path,omitempty" json:"path,omitempty" path:"path"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

RequestListParams contains the request parameters for GET /requests.

type RequestResponseOption ¶

type RequestResponseOption func(*requestResponseOption) error

RequestResponseOption customizes an individual SDK request or response. Use WithContext for cancellation and deadlines. Use Config.APIKey, Config.SessionId, and Config.WorkspaceId for authentication and workspace scoping. Request mutation options support custom HTTP behavior; some higher-level helpers do not pass them through.

func RequestHeadersOption ¶

func RequestHeadersOption(headers *http.Header) RequestResponseOption

RequestHeadersOption sets request headers from headers. Only the first value of each header is used; each supplied header must have at least one value.

func RequestOption ¶

func RequestOption(call func(req *http.Request) error) RequestResponseOption

RequestOption calls call with the HTTP request before it is sent. An error from call stops the request.

func ResponseBodyOption ¶

func ResponseBodyOption(opt func(io.ReadCloser) error) RequestResponseOption

ResponseBodyOption calls opt with the response body before the SDK processes it. Reading the body consumes those bytes for subsequent response processing. If opt returns an error, the SDK closes the discarded body. Use ResponseOption when closing or replacing a body requires handing off a replacement.

func ResponseOption ¶

func ResponseOption(call func(req *http.Response) error) RequestResponseOption

ResponseOption calls call with the HTTP response before the SDK processes it. An error from call stops response processing and closes the discarded body. A callback that closes or replaces a body owns that handoff; after closing it, set res.Body to an appropriate replacement, such as http.NoBody, when later cleanup must not close the original again.

func WithContext ¶

func WithContext(ctx context.Context) RequestResponseOption

WithContext sets the context used for request cancellation and deadlines. A non-nil ctx replaces any context set by earlier options.

func WithWorkspaceId deprecated added in v3.3.151

func WithWorkspaceId(workspaceId int64) RequestResponseOption

WithWorkspaceId sets the workspace header for a request.

Deprecated: use Config.WorkspaceId; request/header mutations, including API-key headers, are not guaranteed through every helper.

func WithoutWorkspaceId deprecated added in v3.3.151

func WithoutWorkspaceId() RequestResponseOption

WithoutWorkspaceId removes the workspace header from a request.

Deprecated: use Config without WorkspaceId; request/header mutations, including API-key headers, are not guaranteed through every helper.

type ResourceIterator ¶

type ResourceIterator interface {
	Iterate(interface{}, ...RequestResponseOption) (IterI, error)
}

ResourceIterator creates a listing for a resource identifier.

type ResourceLoader ¶

type ResourceLoader interface {
	LoadResource(interface{}, ...RequestResponseOption) (interface{}, error)
}

ResourceLoader fetches a resource by its identifier.

type ResponseError ¶

type ResponseError struct {
	Type           string `json:"type,omitempty"`
	Title          string `json:"title,omitempty"`
	ErrorMessage   string `json:"error,omitempty"`
	HttpCode       int    `json:"http-code,omitempty"`
	Data           `json:"-"`
	RawData        map[string]interface{} `json:"data,omitempty"`
	Errors         []ResponseError        `json:"errors,omitempty"`
	Instance       string                 `json:"instance,omitempty"`
	ModelErrors    map[string]interface{} `json:"model_errors,omitempty"`
	ModelErrorKeys map[string]interface{} `json:"model_error_keys,omitempty"`
}

ResponseError describes an error returned by the Files.com API. Use errors.As to inspect its fields, or errors.Is with a ResponseErrorType or ResponseErrorGroup to classify it.

func (ResponseError) Error ¶

func (e ResponseError) Error() string

Error returns the error message, prefixed by the title when present.

func (ResponseError) Is ¶

func (e ResponseError) Is(err error) bool

Is matches API error types, error groups, and ResponseError targets. A ResponseError target with an empty Type matches any ResponseError.

func (ResponseError) IsNil ¶

func (e ResponseError) IsNil() bool

IsNil reports whether ErrorMessage is empty.

func (ResponseError) MarshalJSON ¶ added in v3.2.54

func (e ResponseError) MarshalJSON() ([]byte, error)

MarshalJSON encodes the error, including the structured fields in Data.

func (*ResponseError) UnmarshalJSON ¶

func (e *ResponseError) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API error and its structured data.

type ResponseErrorGroup ¶ added in v3.3.54

type ResponseErrorGroup string

ResponseErrorGroup identifies the portion of an API error type before its first slash. It can be used with errors.Is to match related error types.

const (
	ErrBadRequest         ResponseErrorGroup = "bad-request"
	ErrNotAuthenticated   ResponseErrorGroup = "not-authenticated"
	ErrNotAuthorized      ResponseErrorGroup = "not-authorized"
	ErrNotFound           ResponseErrorGroup = "not-found"
	ErrProcessingFailure  ResponseErrorGroup = "processing-failure"
	ErrRateLimited        ResponseErrorGroup = "rate-limited"
	ErrServiceUnavailable ResponseErrorGroup = "service-unavailable"
	ErrSiteConfiguration  ResponseErrorGroup = "site-configuration"
)

func (ResponseErrorGroup) Error ¶ added in v3.3.54

func (e ResponseErrorGroup) Error() string

Error returns the API error group.

type ResponseErrorType ¶ added in v3.3.54

type ResponseErrorType string

ResponseErrorType identifies an exact API error type and can be used with errors.Is.

const (
	ErrAgentUpgradeRequired                                                   ResponseErrorType = "bad-request/agent-upgrade-required"
	ErrAttachmentTooLarge                                                     ResponseErrorType = "bad-request/attachment-too-large"
	ErrCannotDownloadDirectory                                                ResponseErrorType = "bad-request/cannot-download-directory"
	ErrCantMoveWithMultipleLocations                                          ResponseErrorType = "bad-request/cant-move-with-multiple-locations"
	ErrDatetimeParse                                                          ResponseErrorType = "bad-request/datetime-parse"
	ErrDestinationSame                                                        ResponseErrorType = "bad-request/destination-same"
	ErrDestinationSiteMismatch                                                ResponseErrorType = "bad-request/destination-site-mismatch"
	ErrDoesNotSupportSorting                                                  ResponseErrorType = "bad-request/does-not-support-sorting"
	ErrFolderMustNotBeAFile                                                   ResponseErrorType = "bad-request/folder-must-not-be-a-file"
	ErrFoldersNotAllowed                                                      ResponseErrorType = "bad-request/folders-not-allowed"
	ErrInternalGeneralError                                                   ResponseErrorType = "bad-request/internal-general-error"
	ErrInvalidBody                                                            ResponseErrorType = "bad-request/invalid-body"
	ErrInvalidCursor                                                          ResponseErrorType = "bad-request/invalid-cursor"
	ErrInvalidCursorTypeForSort                                               ResponseErrorType = "bad-request/invalid-cursor-type-for-sort"
	ErrInvalidEtags                                                           ResponseErrorType = "bad-request/invalid-etags"
	ErrInvalidFilterAliasCombination                                          ResponseErrorType = "bad-request/invalid-filter-alias-combination"
	ErrInvalidFilterField                                                     ResponseErrorType = "bad-request/invalid-filter-field"
	ErrInvalidFilterParam                                                     ResponseErrorType = "bad-request/invalid-filter-param"
	ErrInvalidFilterParamFormat                                               ResponseErrorType = "bad-request/invalid-filter-param-format"
	ErrInvalidFilterParamValue                                                ResponseErrorType = "bad-request/invalid-filter-param-value"
	ErrInvalidInputEncoding                                                   ResponseErrorType = "bad-request/invalid-input-encoding"
	ErrInvalidInterface                                                       ResponseErrorType = "bad-request/invalid-interface"
	ErrInvalidOauthProvider                                                   ResponseErrorType = "bad-request/invalid-oauth-provider"
	ErrInvalidPath                                                            ResponseErrorType = "bad-request/invalid-path"
	ErrInvalidReturnToUrl                                                     ResponseErrorType = "bad-request/invalid-return-to-url"
	ErrInvalidSearchQuery                                                     ResponseErrorType = "bad-request/invalid-search-query"
	ErrInvalidSortField                                                       ResponseErrorType = "bad-request/invalid-sort-field"
	ErrInvalidSortFilterCombination                                           ResponseErrorType = "bad-request/invalid-sort-filter-combination"
	ErrInvalidUploadOffset                                                    ResponseErrorType = "bad-request/invalid-upload-offset"
	ErrInvalidUploadPartGap                                                   ResponseErrorType = "bad-request/invalid-upload-part-gap"
	ErrInvalidUploadPartSize                                                  ResponseErrorType = "bad-request/invalid-upload-part-size"
	ErrInvalidWorkspaceIdHeader                                               ResponseErrorType = "bad-request/invalid-workspace-id-header"
	ErrMethodNotAllowed                                                       ResponseErrorType = "bad-request/method-not-allowed"
	ErrMultipleSortParamsNotAllowed                                           ResponseErrorType = "bad-request/multiple-sort-params-not-allowed"
	ErrNoValidInputParams                                                     ResponseErrorType = "bad-request/no-valid-input-params"
	ErrOffsetUploadNotAllowedWithMalwareScanning                              ResponseErrorType = "bad-request/offset-upload-not-allowed-with-malware-scanning"
	ErrPartNumberTooLarge                                                     ResponseErrorType = "bad-request/part-number-too-large"
	ErrPathCannotHaveTrailingWhitespace                                       ResponseErrorType = "bad-request/path-cannot-have-trailing-whitespace"
	ErrReauthenticationNeededFields                                           ResponseErrorType = "bad-request/reauthentication-needed-fields"
	ErrRequestBodyTooLarge                                                    ResponseErrorType = "bad-request/request-body-too-large"
	ErrRequestParamsContainInvalidCharacter                                   ResponseErrorType = "bad-request/request-params-contain-invalid-character"
	ErrRequestParamsInvalid                                                   ResponseErrorType = "bad-request/request-params-invalid"
	ErrRequestParamsRequired                                                  ResponseErrorType = "bad-request/request-params-required"
	ErrSearchAllOnChildPath                                                   ResponseErrorType = "bad-request/search-all-on-child-path"
	ErrUnrecognizedSortIndex                                                  ResponseErrorType = "bad-request/unrecognized-sort-index"
	ErrUnsupportedCurrency                                                    ResponseErrorType = "bad-request/unsupported-currency"
	ErrUnsupportedHttpResponseFormat                                          ResponseErrorType = "bad-request/unsupported-http-response-format"
	ErrUnsupportedMediaType                                                   ResponseErrorType = "bad-request/unsupported-media-type"
	ErrUserIdInvalid                                                          ResponseErrorType = "bad-request/user-id-invalid"
	ErrUserIdOnUserEndpoint                                                   ResponseErrorType = "bad-request/user-id-on-user-endpoint"
	ErrUserRequired                                                           ResponseErrorType = "bad-request/user-required"
	ErrAdditionalAuthenticationRequired                                       ResponseErrorType = "not-authenticated/additional-authentication-required"
	ErrApiKeySessionsNotSupported                                             ResponseErrorType = "not-authenticated/api-key-sessions-not-supported"
	ErrAuthenticationRequired                                                 ResponseErrorType = "not-authenticated/authentication-required"
	ErrBundleRegistrationCodeFailed                                           ResponseErrorType = "not-authenticated/bundle-registration-code-failed"
	ErrInboxRegistrationCodeFailed                                            ResponseErrorType = "not-authenticated/inbox-registration-code-failed"
	ErrInvalidCredentials                                                     ResponseErrorType = "not-authenticated/invalid-credentials"
	ErrInvalidOauth                                                           ResponseErrorType = "not-authenticated/invalid-oauth"
	ErrInvalidOrExpiredCode                                                   ResponseErrorType = "not-authenticated/invalid-or-expired-code"
	ErrInvalidSession                                                         ResponseErrorType = "not-authenticated/invalid-session"
	ErrInvalidUsernameOrPassword                                              ResponseErrorType = "not-authenticated/invalid-username-or-password"
	ErrLockedOut                                                              ResponseErrorType = "not-authenticated/locked-out"
	ErrLockoutRegionMismatch                                                  ResponseErrorType = "not-authenticated/lockout-region-mismatch"
	ErrOneTimePasswordIncorrect                                               ResponseErrorType = "not-authenticated/one-time-password-incorrect"
	ErrTwoFactorAuthenticationError                                           ResponseErrorType = "not-authenticated/two-factor-authentication-error"
	ErrTwoFactorAuthenticationSetupExpired                                    ResponseErrorType = "not-authenticated/two-factor-authentication-setup-expired"
	ErrApiKeyIsDisabled                                                       ResponseErrorType = "not-authorized/api-key-is-disabled"
	ErrApiKeyIsPathRestricted                                                 ResponseErrorType = "not-authorized/api-key-is-path-restricted"
	ErrApiKeyOnlyForDesktopApp                                                ResponseErrorType = "not-authorized/api-key-only-for-desktop-app"
	ErrApiKeyOnlyForFileOperations                                            ResponseErrorType = "not-authorized/api-key-only-for-file-operations"
	ErrApiKeyOnlyForMobileApp                                                 ResponseErrorType = "not-authorized/api-key-only-for-mobile-app"
	ErrApiKeyOnlyForOfficeIntegration                                         ResponseErrorType = "not-authorized/api-key-only-for-office-integration"
	ErrBillingInformationHidden                                               ResponseErrorType = "not-authorized/billing-information-hidden"
	ErrBillingPermissionRequired                                              ResponseErrorType = "not-authorized/billing-permission-required"
	ErrBundleMaximumUsesReached                                               ResponseErrorType = "not-authorized/bundle-maximum-uses-reached"
	ErrBundlePermissionRequired                                               ResponseErrorType = "not-authorized/bundle-permission-required"
	ErrCannotAdministerHigherLevelUser                                        ResponseErrorType = "not-authorized/cannot-administer-higher-level-user"
	ErrCannotLoginWhileUsingKey                                               ResponseErrorType = "not-authorized/cannot-login-while-using-key"
	ErrCantActForOtherUser                                                    ResponseErrorType = "not-authorized/cant-act-for-other-user"
	ErrContactAdminForPasswordChangeHelp                                      ResponseErrorType = "not-authorized/contact-admin-for-password-change-help"
	ErrFilesAgentFailedAuthorization                                          ResponseErrorType = "not-authorized/files-agent-failed-authorization"
	ErrFolderAdminOrBillingPermissionRequired                                 ResponseErrorType = "not-authorized/folder-admin-or-billing-permission-required"
	ErrFolderAdminPermissionRequired                                          ResponseErrorType = "not-authorized/folder-admin-permission-required"
	ErrFullPermissionRequired                                                 ResponseErrorType = "not-authorized/full-permission-required"
	ErrHistoryPermissionRequired                                              ResponseErrorType = "not-authorized/history-permission-required"
	ErrInAppAiAssistantUnavailable                                            ResponseErrorType = "not-authorized/in-app-ai-assistant-unavailable"
	ErrInsufficientPermissionForParams                                        ResponseErrorType = "not-authorized/insufficient-permission-for-params"
	ErrInsufficientPermissionForSite                                          ResponseErrorType = "not-authorized/insufficient-permission-for-site"
	ErrMoverAccessDenied                                                      ResponseErrorType = "not-authorized/mover-access-denied"
	ErrMoverPackageRequired                                                   ResponseErrorType = "not-authorized/mover-package-required"
	ErrMustAuthenticateWithApiKey                                             ResponseErrorType = "not-authorized/must-authenticate-with-api-key"
	ErrNeedAdminPermissionForInbox                                            ResponseErrorType = "not-authorized/need-admin-permission-for-inbox"
	ErrNonAdminsMustQueryByFolderOrPath                                       ResponseErrorType = "not-authorized/non-admins-must-query-by-folder-or-path"
	ErrNotAllowedToCreateBundle                                               ResponseErrorType = "not-authorized/not-allowed-to-create-bundle"
	ErrNotEnqueuableSync                                                      ResponseErrorType = "not-authorized/not-enqueuable-sync"
	ErrPasswordChangeNotRequired                                              ResponseErrorType = "not-authorized/password-change-not-required"
	ErrPasswordChangeRequired                                                 ResponseErrorType = "not-authorized/password-change-required"
	ErrPaymentMethodError                                                     ResponseErrorType = "not-authorized/payment-method-error"
	ErrPreviewOnlyPermissionCannotDownload                                    ResponseErrorType = "not-authorized/preview-only-permission-cannot-download"
	ErrReadOnlySession                                                        ResponseErrorType = "not-authorized/read-only-session"
	ErrReadPermissionRequired                                                 ResponseErrorType = "not-authorized/read-permission-required"
	ErrReauthenticationFailed                                                 ResponseErrorType = "not-authorized/reauthentication-failed"
	ErrReauthenticationFailedFinal                                            ResponseErrorType = "not-authorized/reauthentication-failed-final"
	ErrReauthenticationNeededAction                                           ResponseErrorType = "not-authorized/reauthentication-needed-action"
	ErrRecaptchaFailed                                                        ResponseErrorType = "not-authorized/recaptcha-failed"
	ErrRemoteDesktopDebugLoggingDisabled                                      ResponseErrorType = "not-authorized/remote-desktop-debug-logging-disabled"
	ErrRootFolderBehaviorSiteAdminRequired                                    ResponseErrorType = "not-authorized/root-folder-behavior-site-admin-required"
	ErrRootFolderBehaviorSkipSiteAdminRequired                                ResponseErrorType = "not-authorized/root-folder-behavior-skip-site-admin-required"
	ErrSelfManagedRequired                                                    ResponseErrorType = "not-authorized/self-managed-required"
	ErrSiteAdminOrPartnerAdminPermissionRequired                              ResponseErrorType = "not-authorized/site-admin-or-partner-admin-permission-required"
	ErrSiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequired               ResponseErrorType = "not-authorized/site-admin-or-workspace-admin-or-folder-admin-permission-required"
	ErrSiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequired ResponseErrorType = "not-authorized/site-admin-or-workspace-admin-or-partner-admin-or-folder-admin-permission-required"
	ErrSiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequired              ResponseErrorType = "not-authorized/site-admin-or-workspace-admin-or-partner-admin-permission-required"
	ErrSiteAdminOrWorkspaceAdminPermissionRequired                            ResponseErrorType = "not-authorized/site-admin-or-workspace-admin-permission-required"
	ErrSiteAdminRequired                                                      ResponseErrorType = "not-authorized/site-admin-required"
	ErrSiteFilesAreImmutable                                                  ResponseErrorType = "not-authorized/site-files-are-immutable"
	ErrTwoFactorAuthenticationRequired                                        ResponseErrorType = "not-authorized/two-factor-authentication-required"
	ErrUserIdWithoutSiteAdmin                                                 ResponseErrorType = "not-authorized/user-id-without-site-admin"
	ErrWriteAndBundlePermissionRequired                                       ResponseErrorType = "not-authorized/write-and-bundle-permission-required"
	ErrWritePermissionRequired                                                ResponseErrorType = "not-authorized/write-permission-required"
	ErrApiKeyNotFound                                                         ResponseErrorType = "not-found/api-key-not-found"
	ErrBundlePathNotFound                                                     ResponseErrorType = "not-found/bundle-path-not-found"
	ErrBundleRegistrationNotFound                                             ResponseErrorType = "not-found/bundle-registration-not-found"
	ErrCodeNotFound                                                           ResponseErrorType = "not-found/code-not-found"
	ErrFileNotFound                                                           ResponseErrorType = "not-found/file-not-found"
	ErrFileUploadNotFound                                                     ResponseErrorType = "not-found/file-upload-not-found"
	ErrGroupNotFound                                                          ResponseErrorType = "not-found/group-not-found"
	ErrInboxNotFound                                                          ResponseErrorType = "not-found/inbox-not-found"
	ErrNestedNotFound                                                         ResponseErrorType = "not-found/nested-not-found"
	ErrPlanNotFound                                                           ResponseErrorType = "not-found/plan-not-found"
	ErrSiteNotFound                                                           ResponseErrorType = "not-found/site-not-found"
	ErrUserNotFound                                                           ResponseErrorType = "not-found/user-not-found"
	ErrAgentPushUpdateBlocked                                                 ResponseErrorType = "processing-failure/agent-push-update-blocked"
	ErrAgentUnavailable                                                       ResponseErrorType = "processing-failure/agent-unavailable"
	ErrAiTaskCannotBeRunManually                                              ResponseErrorType = "processing-failure/ai-task-cannot-be-run-manually"
	ErrAlreadyCompleted                                                       ResponseErrorType = "processing-failure/already-completed"
	ErrAutomationCannotBeRunManually                                          ResponseErrorType = "processing-failure/automation-cannot-be-run-manually"
	ErrBehaviorNotAllowedOnRemoteServer                                       ResponseErrorType = "processing-failure/behavior-not-allowed-on-remote-server"
	ErrBufferedUploadDisabledForThisDestination                               ResponseErrorType = "processing-failure/buffered-upload-disabled-for-this-destination"
	ErrBundleOnlyAllowsPreviews                                               ResponseErrorType = "processing-failure/bundle-only-allows-previews"
	ErrBundleOperationRequiresSubfolder                                       ResponseErrorType = "processing-failure/bundle-operation-requires-subfolder"
	ErrConfigurationLockedPath                                                ResponseErrorType = "processing-failure/configuration-locked-path"
	ErrCouldNotCreateParent                                                   ResponseErrorType = "processing-failure/could-not-create-parent"
	ErrDestinationExists                                                      ResponseErrorType = "processing-failure/destination-exists"
	ErrDestinationFolderLimited                                               ResponseErrorType = "processing-failure/destination-folder-limited"
	ErrDestinationParentConflict                                              ResponseErrorType = "processing-failure/destination-parent-conflict"
	ErrDestinationParentDoesNotExist                                          ResponseErrorType = "processing-failure/destination-parent-does-not-exist"
	ErrExceededRuntimeLimit                                                   ResponseErrorType = "processing-failure/exceeded-runtime-limit"
	ErrExpectationAlreadyHasOpenWindow                                        ResponseErrorType = "processing-failure/expectation-already-has-open-window"
	ErrExpectationNotManualTrigger                                            ResponseErrorType = "processing-failure/expectation-not-manual-trigger"
	ErrExpiredPrivateKey                                                      ResponseErrorType = "processing-failure/expired-private-key"
	ErrExpiredPublicKey                                                       ResponseErrorType = "processing-failure/expired-public-key"
	ErrExportFailure                                                          ResponseErrorType = "processing-failure/export-failure"
	ErrExportNotReady                                                         ResponseErrorType = "processing-failure/export-not-ready"
	ErrFailedToChangePassword                                                 ResponseErrorType = "processing-failure/failed-to-change-password"
	ErrFileLocked                                                             ResponseErrorType = "processing-failure/file-locked"
	ErrFileNotUploaded                                                        ResponseErrorType = "processing-failure/file-not-uploaded"
	ErrFilePendingProcessing                                                  ResponseErrorType = "processing-failure/file-pending-processing"
	ErrFileProcessingError                                                    ResponseErrorType = "processing-failure/file-processing-error"
	ErrFileTooBigToDecrypt                                                    ResponseErrorType = "processing-failure/file-too-big-to-decrypt"
	ErrFileTooBigToEncrypt                                                    ResponseErrorType = "processing-failure/file-too-big-to-encrypt"
	ErrFileUploadedToWrongRegion                                              ResponseErrorType = "processing-failure/file-uploaded-to-wrong-region"
	ErrFilenameTooLong                                                        ResponseErrorType = "processing-failure/filename-too-long"
	ErrFolderLocked                                                           ResponseErrorType = "processing-failure/folder-locked"
	ErrFolderNotEmpty                                                         ResponseErrorType = "processing-failure/folder-not-empty"
	ErrHistoryUnavailable                                                     ResponseErrorType = "processing-failure/history-unavailable"
	ErrInvalidBundleCode                                                      ResponseErrorType = "processing-failure/invalid-bundle-code"
	ErrInvalidFileType                                                        ResponseErrorType = "processing-failure/invalid-file-type"
	ErrInvalidFilename                                                        ResponseErrorType = "processing-failure/invalid-filename"
	ErrInvalidPriorityColor                                                   ResponseErrorType = "processing-failure/invalid-priority-color"
	ErrInvalidRange                                                           ResponseErrorType = "processing-failure/invalid-range"
	ErrInvalidSite                                                            ResponseErrorType = "processing-failure/invalid-site"
	ErrInvalidZipFile                                                         ResponseErrorType = "processing-failure/invalid-zip-file"
	ErrMetadataNotSupportedOnRemotes                                          ResponseErrorType = "processing-failure/metadata-not-supported-on-remotes"
	ErrModelSaveError                                                         ResponseErrorType = "processing-failure/model-save-error"
	ErrMultipleProcessingErrors                                               ResponseErrorType = "processing-failure/multiple-processing-errors"
	ErrPathTooLong                                                            ResponseErrorType = "processing-failure/path-too-long"
	ErrRecipientAlreadyShared                                                 ResponseErrorType = "processing-failure/recipient-already-shared"
	ErrRemoteEntryReadOnly                                                    ResponseErrorType = "processing-failure/remote-entry-read-only"
	ErrRemoteServerError                                                      ResponseErrorType = "processing-failure/remote-server-error"
	ErrResourceBelongsToParentSite                                            ResponseErrorType = "processing-failure/resource-belongs-to-parent-site"
	ErrResourceLocked                                                         ResponseErrorType = "processing-failure/resource-locked"
	ErrSubfolderLocked                                                        ResponseErrorType = "processing-failure/subfolder-locked"
	ErrSyncInProgress                                                         ResponseErrorType = "processing-failure/sync-in-progress"
	ErrTwoFactorAuthenticationCodeAlreadySent                                 ResponseErrorType = "processing-failure/two-factor-authentication-code-already-sent"
	ErrTwoFactorAuthenticationCountryBlacklisted                              ResponseErrorType = "processing-failure/two-factor-authentication-country-blacklisted"
	ErrTwoFactorAuthenticationGeneralError                                    ResponseErrorType = "processing-failure/two-factor-authentication-general-error"
	ErrTwoFactorAuthenticationMethodUnsupportedError                          ResponseErrorType = "processing-failure/two-factor-authentication-method-unsupported-error"
	ErrTwoFactorAuthenticationUnsubscribedRecipient                           ResponseErrorType = "processing-failure/two-factor-authentication-unsubscribed-recipient"
	ErrUpdatesNotAllowedForRemotes                                            ResponseErrorType = "processing-failure/updates-not-allowed-for-remotes"
	ErrDuplicateShareRecipient                                                ResponseErrorType = "rate-limited/duplicate-share-recipient"
	ErrReauthenticationRateLimited                                            ResponseErrorType = "rate-limited/reauthentication-rate-limited"
	ErrTooManyConcurrentLogins                                                ResponseErrorType = "rate-limited/too-many-concurrent-logins"
	ErrTooManyConcurrentRequests                                              ResponseErrorType = "rate-limited/too-many-concurrent-requests"
	ErrTooManyLoginAttempts                                                   ResponseErrorType = "rate-limited/too-many-login-attempts"
	ErrTooManyRequests                                                        ResponseErrorType = "rate-limited/too-many-requests"
	ErrTooManyShares                                                          ResponseErrorType = "rate-limited/too-many-shares"
	ErrAutomationsUnavailable                                                 ResponseErrorType = "service-unavailable/automations-unavailable"
	ErrLockOperationBusy                                                      ResponseErrorType = "service-unavailable/lock-operation-busy"
	ErrMigrationInProgress                                                    ResponseErrorType = "service-unavailable/migration-in-progress"
	ErrSearchUnavailable                                                      ResponseErrorType = "service-unavailable/search-unavailable"
	ErrSiteDisabled                                                           ResponseErrorType = "service-unavailable/site-disabled"
	ErrUploadsUnavailable                                                     ResponseErrorType = "service-unavailable/uploads-unavailable"
	ErrAccountAlreadyExists                                                   ResponseErrorType = "site-configuration/account-already-exists"
	ErrAccountOverdue                                                         ResponseErrorType = "site-configuration/account-overdue"
	ErrNoAccountForSite                                                       ResponseErrorType = "site-configuration/no-account-for-site"
	ErrSiteWasRemoved                                                         ResponseErrorType = "site-configuration/site-was-removed"
	ErrTrialExpired                                                           ResponseErrorType = "site-configuration/trial-expired"
	ErrTrialLocked                                                            ResponseErrorType = "site-configuration/trial-locked"
	ErrUserRequestsEnabledRequired                                            ResponseErrorType = "site-configuration/user-requests-enabled-required"
	ErrDownloadRequestExpired                                                 ResponseErrorType = "download_request_expired"
	ErrUploadRequestExpired                                                   ResponseErrorType = "upload_request_expired"
	// ErrDownloadSourceChanged is returned by download URLs whose source file
	// changed size after the URL was issued. Partial output from that URL must
	// be discarded and the download restarted from a new download request.
	ErrDownloadSourceChanged ResponseErrorType = "download_source_changed"
)

func ResponseErrorTypeOf ¶ added in v3.3.54

func ResponseErrorTypeOf(err error) (ResponseErrorType, bool)

ResponseErrorTypeOf returns the type of a ResponseError in err, including wrapped value and pointer errors. The boolean is false when no nonempty type is found.

func (ResponseErrorType) Error ¶ added in v3.3.54

func (e ResponseErrorType) Error() string

Error returns the API error type.

type Restore ¶ added in v3.2.142

type Restore struct {
	// Restore files or users deleted on or after this date/time. Don't set this earlier than you need. Can not be greater than 365 days prior to the restore request.
	EarliestDate *time.Time `json:"earliest_date,omitempty" path:"earliest_date,omitempty" url:"earliest_date,omitempty"`
	// Restore Record ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Number of directories that were successfully restored.
	DirsRestored int64 `json:"dirs_restored,omitempty" path:"dirs_restored,omitempty" url:"dirs_restored,omitempty"`
	// Number of directories that were not able to be restored.
	DirsErrored int64 `json:"dirs_errored,omitempty" path:"dirs_errored,omitempty" url:"dirs_errored,omitempty"`
	// Total number of directories processed.
	DirsTotal int64 `json:"dirs_total,omitempty" path:"dirs_total,omitempty" url:"dirs_total,omitempty"`
	// Number of files successfully restored.
	FilesRestored int64 `json:"files_restored,omitempty" path:"files_restored,omitempty" url:"files_restored,omitempty"`
	// Number of files that were not able to be restored.
	FilesErrored int64 `json:"files_errored,omitempty" path:"files_errored,omitempty" url:"files_errored,omitempty"`
	// Total number of files processed.
	FilesTotal int64 `json:"files_total,omitempty" path:"files_total,omitempty" url:"files_total,omitempty"`
	// Prefix of the files/folders to restore, or a case-insensitive username prefix for a user restore. A trailing slash selects that folder and its contents only; without it, the prefix matches any path beginning with that text. Do not use a leading slash. To restore all deleted items of the selected restoration type within the selected site or workspace scope, specify an empty string (`”`) or omit the field.
	Prefix string `json:"prefix,omitempty" path:"prefix,omitempty" url:"prefix,omitempty"`
	// Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated authentication records, plus permissions when `restore_deleted_permissions=true`. A 5-minute grace period allows for batch deletion processes: associated records deleted within the 5 minutes before the user are included, even if removed independently. Records deleted earlier, or before `earliest_date`, remain deleted.
	RestorationType string `json:"restoration_type,omitempty" path:"restoration_type,omitempty" url:"restoration_type,omitempty"`
	// If true, we will restore the files in place (into their original paths). If false, we will create a new restoration folder in the root and restore files there.
	RestoreInPlace *bool `json:"restore_in_place,omitempty" path:"restore_in_place,omitempty" url:"restore_in_place,omitempty"`
	// If true, a user restore restores permissions deleted along with the selected users, including permissions removed independently within the 5 minutes before user deletion. Permissions deleted earlier, or before `earliest_date`, remain deleted. An in-place file restore restores user and group permissions on returned folders and their subfolders that were deleted from the time of the folder's deletion through 24 hours afterward, including permissions removed independently within that window. File restores into a new folder do not restore permissions.
	RestoreDeletedPermissions *bool `` /* 133-byte string literal not displayed */
	// Number of users successfully restored (only present for `restoration_type=users`).
	UsersRestored int64 `json:"users_restored,omitempty" path:"users_restored,omitempty" url:"users_restored,omitempty"`
	// Number of users that failed to restore (only present for `restoration_type=users`).
	UsersErrored int64 `json:"users_errored,omitempty" path:"users_errored,omitempty" url:"users_errored,omitempty"`
	// Total number of users processed (only present for `restoration_type=users`).
	UsersTotal int64 `json:"users_total,omitempty" path:"users_total,omitempty" url:"users_total,omitempty"`
	// Number of API keys restored (only present for `restoration_type=users`).
	ApiKeysRestored int64 `json:"api_keys_restored,omitempty" path:"api_keys_restored,omitempty" url:"api_keys_restored,omitempty"`
	// Number of public keys restored (only present for `restoration_type=users`).
	PublicKeysRestored int64 `json:"public_keys_restored,omitempty" path:"public_keys_restored,omitempty" url:"public_keys_restored,omitempty"`
	// Number of two factor authentication methods restored (only present for `restoration_type=users`).
	TwoFactorAuthenticationMethodsRestored int64 `` /* 178-byte string literal not displayed */
	// Status of the restoration process.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// If true, we will update the last modified timestamp of restored files to today's date. If false, we might trigger File Expiration to delete the file again.
	UpdateTimestamps *bool `json:"update_timestamps,omitempty" path:"update_timestamps,omitempty" url:"update_timestamps,omitempty"`
	// Workspace ID for a workspace-scoped restore. `0` means the default site-wide scope.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Error messages received while restoring files and/or directories. Only present if there were errors.
	ErrorMessages []string `json:"error_messages,omitempty" path:"error_messages,omitempty" url:"error_messages,omitempty"`
}

Restore is a Files.com API resource.

func (Restore) Identifier ¶ added in v3.2.142

func (r Restore) Identifier() interface{}

Identifier returns the resource ID.

func (*Restore) UnmarshalJSON ¶ added in v3.2.142

func (r *Restore) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type RestoreCollection ¶ added in v3.2.142

type RestoreCollection []Restore

RestoreCollection is a list of Restore resources.

func (*RestoreCollection) ToSlice ¶ added in v3.2.142

func (r *RestoreCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*RestoreCollection) UnmarshalJSON ¶ added in v3.2.142

func (r *RestoreCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type RestoreCreateParams ¶ added in v3.2.142

type RestoreCreateParams struct {
	// Restore files or users deleted on or after this date/time. Don't set this earlier than you need. Can not be greater than 365 days prior to the restore request. Required.
	EarliestDate *time.Time `url:"earliest_date" json:"earliest_date" path:"earliest_date"`
	// Prefix of the files/folders to restore, or a case-insensitive username prefix for a user restore. A trailing slash selects that folder and its contents only; without it, the prefix matches any path beginning with that text. Do not use a leading slash. To restore all deleted items of the selected restoration type within the selected site or workspace scope, specify an empty string (`”`) or omit the field.
	Prefix string `url:"prefix,omitempty" json:"prefix,omitempty" path:"prefix"`
	// Type of restoration to perform. `files` restores deleted filesystem items. `users` restores deleted users and associated authentication records, plus permissions when `restore_deleted_permissions=true`. A 5-minute grace period allows for batch deletion processes: associated records deleted within the 5 minutes before the user are included, even if removed independently. Records deleted earlier, or before `earliest_date`, remain deleted. Values: files, users.
	RestorationType RestoreRestorationTypeEnum `url:"restoration_type,omitempty" json:"restoration_type,omitempty" path:"restoration_type"`
	// If true, a user restore restores permissions deleted along with the selected users, including permissions removed independently within the 5 minutes before user deletion. Permissions deleted earlier, or before `earliest_date`, remain deleted. An in-place file restore restores user and group permissions on returned folders and their subfolders that were deleted from the time of the folder's deletion through 24 hours afterward, including permissions removed independently within that window. File restores into a new folder do not restore permissions.
	RestoreDeletedPermissions *bool `url:"restore_deleted_permissions,omitempty" json:"restore_deleted_permissions,omitempty" path:"restore_deleted_permissions"`
	// If true, we will restore the files in place (into their original paths). If false, we will create a new restoration folder in the root and restore files there.
	RestoreInPlace *bool `url:"restore_in_place,omitempty" json:"restore_in_place,omitempty" path:"restore_in_place"`
	// If true, we will update the last modified timestamp of restored files to today's date. If false, we might trigger File Expiration to delete the file again.
	UpdateTimestamps *bool `url:"update_timestamps,omitempty" json:"update_timestamps,omitempty" path:"update_timestamps"`
	// Workspace ID for a workspace-scoped restore. `0` means the default site-wide scope.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

RestoreCreateParams contains the request parameters for POST /restores.

type RestoreListParams ¶ added in v3.2.142

type RestoreListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `restoration_type`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

RestoreListParams contains the request parameters for GET /restores.

type RestoreRestorationTypeEnum ¶ added in v3.3.21

type RestoreRestorationTypeEnum string

RestoreRestorationTypeEnum is a string value for restoration_type. Enum lists the values documented by the API.

func (RestoreRestorationTypeEnum) Enum ¶ added in v3.3.21

Enum returns the documented values keyed by their API strings.

func (RestoreRestorationTypeEnum) String ¶ added in v3.3.21

String returns the API parameter value.

type Schedule ¶ added in v3.3.223

type Schedule struct {
	// Schedule ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Schedule name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// 0-based weekdays used by the Schedule. 0 is Sunday.
	ScheduleDaysOfWeek []int64 `json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week,omitempty" url:"schedule_days_of_week,omitempty"`
	// Times of day in HH:MM format (24-hour).
	ScheduleTimesOfDay []string `json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day,omitempty" url:"schedule_times_of_day,omitempty"`
	// Time zone for scheduled times. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `json:"schedule_time_zone,omitempty" path:"schedule_time_zone,omitempty" url:"schedule_time_zone,omitempty"`
	// Optional holiday region on which linked resources do not run.
	HolidayRegion string `json:"holiday_region,omitempty" path:"holiday_region,omitempty" url:"holiday_region,omitempty"`
	// Human-readable Schedule description.
	HumanReadableSchedule string `json:"human_readable_schedule,omitempty" path:"human_readable_schedule,omitempty" url:"human_readable_schedule,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

Schedule is a Files.com API resource.

func (Schedule) Identifier ¶ added in v3.3.223

func (s Schedule) Identifier() interface{}

Identifier returns the resource ID.

func (*Schedule) UnmarshalJSON ¶ added in v3.3.223

func (s *Schedule) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ScheduleCollection ¶ added in v3.3.223

type ScheduleCollection []Schedule

ScheduleCollection is a list of Schedule resources.

func (*ScheduleCollection) ToSlice ¶ added in v3.3.223

func (s *ScheduleCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ScheduleCollection) UnmarshalJSON ¶ added in v3.3.223

func (s *ScheduleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ScheduleCreateParams ¶ added in v3.3.223

type ScheduleCreateParams struct {
	// Schedule name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// 0-based weekdays used by the Schedule. 0 is Sunday. Required.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week" json:"schedule_days_of_week" path:"schedule_days_of_week"`
	// Times of day in HH:MM format (24-hour). Required.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day" json:"schedule_times_of_day" path:"schedule_times_of_day"`
	// Time zone for scheduled times. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Optional holiday region on which linked resources do not run.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
}

ScheduleCreateParams contains the request parameters for POST /schedules.

type ScheduleDeleteParams ¶ added in v3.3.223

type ScheduleDeleteParams struct {
	// Schedule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ScheduleDeleteParams contains the request parameters for DELETE /schedules/{id}.

type ScheduleFindParams ¶ added in v3.3.223

type ScheduleFindParams struct {
	// Schedule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ScheduleFindParams contains the request parameters for GET /schedules/{id}.

type ScheduleListParams ¶ added in v3.3.223

type ScheduleListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ScheduleListParams contains the request parameters for GET /schedules.

type ScheduleUpdateParams ¶ added in v3.3.223

type ScheduleUpdateParams struct {
	// Schedule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Schedule name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// 0-based weekdays used by the Schedule. 0 is Sunday.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Times of day in HH:MM format (24-hour).
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Time zone for scheduled times. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Optional holiday region on which linked resources do not run.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
}

ScheduleUpdateParams contains the request parameters for PATCH /schedules/{id}.

type ScheduledExport ¶ added in v3.3.134

type ScheduledExport struct {
	// Scheduled Export ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Name for this scheduled export.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Export report type. Valid values: folder_size_audit, group_membership_audit, permission_audit, share_link_audit.
	ExportType string `json:"export_type,omitempty" path:"export_type,omitempty" url:"export_type,omitempty"`
	// Human-readable report name.
	ReportName string `json:"report_name,omitempty" path:"report_name,omitempty" url:"report_name,omitempty"`
	// Report-specific options. `permission_audit` supports `group_by` with `user` or `path`.
	ExportOptions interface{} `json:"export_options,omitempty" path:"export_options,omitempty" url:"export_options,omitempty"`
	// Site Admin user who receives the completed export e-mail.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// If true, this scheduled export will not run.
	Disabled *bool `json:"disabled,omitempty" path:"disabled,omitempty" url:"disabled,omitempty"`
	// Schedule trigger type: `daily` or `custom_schedule`.
	Trigger string `json:"trigger,omitempty" path:"trigger,omitempty" url:"trigger,omitempty"`
	// If trigger is `daily`, this specifies how often to run the scheduled export.
	Interval string `json:"interval,omitempty" path:"interval,omitempty" url:"interval,omitempty"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `json:"recurring_day,omitempty" path:"recurring_day,omitempty" url:"recurring_day,omitempty"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `json:"recurring_days,omitempty" path:"recurring_days,omitempty" url:"recurring_days,omitempty"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
	ScheduleId int64 `json:"schedule_id,omitempty" path:"schedule_id,omitempty" url:"schedule_id,omitempty"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week,omitempty" url:"schedule_days_of_week,omitempty"`
	// Times of day in HH:MM format for the scheduled export schedule.
	ScheduleTimesOfDay []string `json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day,omitempty" url:"schedule_times_of_day,omitempty"`
	// Time zone used by the scheduled export schedule.
	ScheduleTimeZone string `json:"schedule_time_zone,omitempty" path:"schedule_time_zone,omitempty" url:"schedule_time_zone,omitempty"`
	// Optional holiday region used by the scheduled export schedule.
	HolidayRegion string `json:"holiday_region,omitempty" path:"holiday_region,omitempty" url:"holiday_region,omitempty"`
	// Human-readable schedule description.
	HumanReadableSchedule string `json:"human_readable_schedule,omitempty" path:"human_readable_schedule,omitempty" url:"human_readable_schedule,omitempty"`
	// Most recent scheduled attempt time, including attempts that failed validation.
	LastRunAt *time.Time `json:"last_run_at,omitempty" path:"last_run_at,omitempty" url:"last_run_at,omitempty"`
	// Most recent Export ID created by this schedule.
	LastExportId int64 `json:"last_export_id,omitempty" path:"last_export_id,omitempty" url:"last_export_id,omitempty"`
	// Validation error from the most recent scheduled attempt. The schedule remains enabled and retries at its next scheduled time. Cleared when an export is successfully created; does not describe errors during export generation.
	LastError string `json:"last_error,omitempty" path:"last_error,omitempty" url:"last_error,omitempty"`
	// Creation time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Last update time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

ScheduledExport is a Files.com API resource.

func (ScheduledExport) Identifier ¶ added in v3.3.134

func (s ScheduledExport) Identifier() interface{}

Identifier returns the resource ID.

func (*ScheduledExport) UnmarshalJSON ¶ added in v3.3.134

func (s *ScheduledExport) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ScheduledExportCollection ¶ added in v3.3.134

type ScheduledExportCollection []ScheduledExport

ScheduledExportCollection is a list of ScheduledExport resources.

func (*ScheduledExportCollection) ToSlice ¶ added in v3.3.134

func (s *ScheduledExportCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ScheduledExportCollection) UnmarshalJSON ¶ added in v3.3.134

func (s *ScheduledExportCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ScheduledExportCreateParams ¶ added in v3.3.134

type ScheduledExportCreateParams struct {
	// Name for this scheduled export. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Export report type. Valid values: folder_size_audit, group_membership_audit, permission_audit, share_link_audit. Required.
	ExportType string `url:"export_type" json:"export_type" path:"export_type"`
	// Report-specific options. `permission_audit` supports `group_by` with `user` or `path`.
	ExportOptions interface{} `url:"export_options,omitempty" json:"export_options,omitempty" path:"export_options"`
	// Site Admin user who receives the completed export e-mail.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If true, this scheduled export will not run.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// Schedule trigger type: `daily` or `custom_schedule`. Values: daily, custom_schedule.
	Trigger ScheduledExportTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `daily`, this specifies how often to run the scheduled export.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Times of day in HH:MM format for the scheduled export schedule.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Time zone used by the scheduled export schedule.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Optional holiday region used by the scheduled export schedule.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
}

ScheduledExportCreateParams contains the request parameters for POST /scheduled_exports.

type ScheduledExportDeleteParams ¶ added in v3.3.134

type ScheduledExportDeleteParams struct {
	// Scheduled Export ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ScheduledExportDeleteParams contains the request parameters for DELETE /scheduled_exports/{id}.

type ScheduledExportFindParams ¶ added in v3.3.134

type ScheduledExportFindParams struct {
	// Scheduled Export ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ScheduledExportFindParams contains the request parameters for GET /scheduled_exports/{id}.

type ScheduledExportListParams ¶ added in v3.3.134

type ScheduledExportListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `export_type` or `disabled`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled` and `export_type`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `export_type`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ScheduledExportListParams contains the request parameters for GET /scheduled_exports.

type ScheduledExportTriggerEnum ¶ added in v3.3.134

type ScheduledExportTriggerEnum string

ScheduledExportTriggerEnum is a string value for trigger. Enum lists the values documented by the API.

func (ScheduledExportTriggerEnum) Enum ¶ added in v3.3.134

Enum returns the documented values keyed by their API strings.

func (ScheduledExportTriggerEnum) String ¶ added in v3.3.134

String returns the API parameter value.

type ScheduledExportUpdateParams ¶ added in v3.3.134

type ScheduledExportUpdateParams struct {
	// Scheduled Export ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Name for this scheduled export.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Export report type. Valid values: folder_size_audit, group_membership_audit, permission_audit, share_link_audit.
	ExportType string `url:"export_type,omitempty" json:"export_type,omitempty" path:"export_type"`
	// Report-specific options. `permission_audit` supports `group_by` with `user` or `path`.
	ExportOptions interface{} `url:"export_options,omitempty" json:"export_options,omitempty" path:"export_options"`
	// Site Admin user who receives the completed export e-mail.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If true, this scheduled export will not run.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// Schedule trigger type: `daily` or `custom_schedule`. Values: daily, custom_schedule.
	Trigger ScheduledExportTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// If trigger is `daily`, this specifies how often to run the scheduled export.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// If trigger is `daily`, this selects the day number inside the chosen interval.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger is `daily`, this selects one or more day numbers inside a `week`, `month`, `quarter`, or `year` interval.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the scheduled export's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, the 0-based weekdays used by the schedule.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Times of day in HH:MM format for the scheduled export schedule.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Time zone used by the scheduled export schedule.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Optional holiday region used by the scheduled export schedule.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
}

ScheduledExportUpdateParams contains the request parameters for PATCH /scheduled_exports/{id}.

type ScimLog ¶ added in v3.2.246

type ScimLog struct {
	// The unique ID of this SCIM request.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// The date and time when this SCIM request occurred.
	CreatedAt string `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// The path portion of the URL requested.
	RequestPath string `json:"request_path,omitempty" path:"request_path,omitempty" url:"request_path,omitempty"`
	// The HTTP method used for this request.
	RequestMethod string `json:"request_method,omitempty" path:"request_method,omitempty" url:"request_method,omitempty"`
	// The HTTP response code returned for this request.
	HttpResponseCode string `json:"http_response_code,omitempty" path:"http_response_code,omitempty" url:"http_response_code,omitempty"`
	// The User-Agent header sent with the request.
	UserAgent string `json:"user_agent,omitempty" path:"user_agent,omitempty" url:"user_agent,omitempty"`
	// The JSON payload sent with the request.
	RequestJson string `json:"request_json,omitempty" path:"request_json,omitempty" url:"request_json,omitempty"`
	// The JSON payload returned in the response.
	ResponseJson string `json:"response_json,omitempty" path:"response_json,omitempty" url:"response_json,omitempty"`
}

ScimLog is a Files.com API resource.

func (ScimLog) Identifier ¶ added in v3.2.246

func (s ScimLog) Identifier() interface{}

Identifier returns the resource ID.

func (*ScimLog) UnmarshalJSON ¶ added in v3.2.246

func (s *ScimLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ScimLogCollection ¶ added in v3.2.246

type ScimLogCollection []ScimLog

ScimLogCollection is a list of ScimLog resources.

func (*ScimLogCollection) ToSlice ¶ added in v3.2.246

func (s *ScimLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ScimLogCollection) UnmarshalJSON ¶ added in v3.2.246

func (s *ScimLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ScimLogFindParams ¶ added in v3.2.254

type ScimLogFindParams struct {
	// Scim Log ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ScimLogFindParams contains the request parameters for GET /scim_logs/{id}.

type ScimLogListParams ¶ added in v3.2.246

type ScimLogListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ScimLogListParams contains the request parameters for GET /scim_logs.

type Secret ¶ added in v3.3.181

type Secret struct {
	// Secret ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace ID. 0 means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Secret name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Internal description for your reference.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Secret type.
	SecretType string `json:"secret_type,omitempty" path:"secret_type,omitempty" url:"secret_type,omitempty"`
	// Non-secret metadata for the Secret type.
	Metadata interface{} `json:"metadata,omitempty" path:"metadata,omitempty" url:"metadata,omitempty"`
	// Names of configured secret value fields. Secret values are never returned.
	ValueFieldNames []string `json:"value_field_names,omitempty" path:"value_field_names,omitempty" url:"value_field_names,omitempty"`
	// Secret create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Secret update date/time.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

Secret is a Files.com API resource.

func (Secret) Identifier ¶ added in v3.3.181

func (s Secret) Identifier() interface{}

Identifier returns the resource ID.

func (*Secret) UnmarshalJSON ¶ added in v3.3.181

func (s *Secret) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SecretCollection ¶ added in v3.3.181

type SecretCollection []Secret

SecretCollection is a list of Secret resources.

func (*SecretCollection) ToSlice ¶ added in v3.3.181

func (s *SecretCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SecretCollection) UnmarshalJSON ¶ added in v3.3.181

func (s *SecretCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SecretCreateParams ¶ added in v3.3.181

type SecretCreateParams struct {
	// Secret name. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Internal description for your reference.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Secret type. Values: basic, token, headers, certificate, key_value. Required.
	SecretType SecretSecretTypeEnum `url:"secret_type" json:"secret_type" path:"secret_type"`
	// Non-secret metadata for the Secret type.
	Metadata interface{} `url:"metadata,omitempty" json:"metadata,omitempty" path:"metadata"`
	// Workspace ID. 0 means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

SecretCreateParams contains the request parameters for POST /secrets.

type SecretDeleteParams ¶ added in v3.3.181

type SecretDeleteParams struct {
	// Secret ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SecretDeleteParams contains the request parameters for DELETE /secrets/{id}.

type SecretFindParams ¶ added in v3.3.181

type SecretFindParams struct {
	// Secret ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SecretFindParams contains the request parameters for GET /secrets/{id}.

type SecretListParams ¶ added in v3.3.181

type SecretListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `name` or `secret_type`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `name` or `secret_type`. Valid field combinations are `[ workspace_id, name ]`, `[ workspace_id, secret_type ]`, `[ secret_type, name ]` or `[ workspace_id, secret_type, name ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SecretListParams contains the request parameters for GET /secrets.

type SecretSecretTypeEnum ¶ added in v3.3.181

type SecretSecretTypeEnum string

SecretSecretTypeEnum is a string value for secret_type. Enum lists the values documented by the API.

func (SecretSecretTypeEnum) Enum ¶ added in v3.3.181

Enum returns the documented values keyed by their API strings.

func (SecretSecretTypeEnum) String ¶ added in v3.3.181

func (u SecretSecretTypeEnum) String() string

String returns the API parameter value.

type SecretUpdateParams ¶ added in v3.3.181

type SecretUpdateParams struct {
	// Secret ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Secret name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Internal description for your reference.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Secret type. Values: basic, token, headers, certificate, key_value.
	SecretType SecretSecretTypeEnum `url:"secret_type,omitempty" json:"secret_type,omitempty" path:"secret_type"`
	// Non-secret metadata for the Secret type.
	Metadata interface{} `url:"metadata,omitempty" json:"metadata,omitempty" path:"metadata"`
}

SecretUpdateParams contains the request parameters for PATCH /secrets/{id}.

type Session ¶

type Session struct {
	// Session ID.
	Id string `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Session language.
	Language string `json:"language,omitempty" path:"language,omitempty" url:"language,omitempty"`
	// Is this session read only?
	ReadOnly *bool `json:"read_only,omitempty" path:"read_only,omitempty" url:"read_only,omitempty"`
	// Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.).
	SftpInsecureCiphers *bool `json:"sftp_insecure_ciphers,omitempty" path:"sftp_insecure_ciphers,omitempty" url:"sftp_insecure_ciphers,omitempty"`
	// Username to sign in as.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Password for sign in.
	Password string `json:"password,omitempty" path:"password,omitempty" url:"password,omitempty"`
	// If this user has a 2FA device, provide its OTP or code here.
	Otp string `json:"otp,omitempty" path:"otp,omitempty" url:"otp,omitempty"`
	// Identifier for a partially-completed login.
	PartialSessionId string `json:"partial_session_id,omitempty" path:"partial_session_id,omitempty" url:"partial_session_id,omitempty"`
}

Session is a Files.com API resource.

func (Session) Identifier ¶

func (s Session) Identifier() interface{}

Identifier returns the resource ID.

func (*Session) UnmarshalJSON ¶

func (s *Session) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SessionCollection ¶

type SessionCollection []Session

SessionCollection is a list of Session resources.

func (*SessionCollection) ToSlice ¶

func (s *SessionCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SessionCollection) UnmarshalJSON ¶

func (s *SessionCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SessionCreateParams ¶

type SessionCreateParams struct {
	// Username to sign in as.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
	// Password for sign in.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// If this user has a 2FA device, provide its OTP or code here.
	Otp string `url:"otp,omitempty" json:"otp,omitempty" path:"otp"`
	// Identifier for a partially-completed login.
	PartialSessionId string `url:"partial_session_id,omitempty" json:"partial_session_id,omitempty" path:"partial_session_id"`
}

SessionCreateParams contains the request parameters for POST /sessions.

type Settings ¶ added in v3.3.65

type Settings struct {
	DesktopDriveMappings map[string]string `json:"desktop_drive_mappings,omitempty" path:"desktop_drive_mappings,omitempty" url:"desktop_drive_mappings,omitempty"`
	DisableDriveMounting bool              `json:"disable_drive_mounting,omitempty" path:"disable_drive_mounting,omitempty" url:"disable_drive_mounting,omitempty"`
}

Settings contains the API settings used by desktop clients.

func (Settings) Identifier ¶ added in v3.3.65

func (s Settings) Identifier() interface{}

Identifier returns nil because settings are not identified by an ID or path.

func (*Settings) UnmarshalJSON ¶ added in v3.3.65

func (s *Settings) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes the settings response.

type SettingsChange ¶

type SettingsChange struct {
	// The API key id responsible for this change.
	ApiKeyId int64 `json:"api_key_id,omitempty" path:"api_key_id,omitempty" url:"api_key_id,omitempty"`
	// Markdown-formatted change messages.
	Changes []string `json:"changes,omitempty" path:"changes,omitempty" url:"changes,omitempty"`
	// The time this change was made.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// The user id responsible for this change.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// true if this change was performed by Files.com support.
	UserIsFilesSupport *bool `json:"user_is_files_support,omitempty" path:"user_is_files_support,omitempty" url:"user_is_files_support,omitempty"`
	// true if this change was performed by a user on a parent site.
	UserIsFromParentSite *bool `json:"user_is_from_parent_site,omitempty" path:"user_is_from_parent_site,omitempty" url:"user_is_from_parent_site,omitempty"`
	// The username of the user responsible for this change.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
}

SettingsChange is a Files.com API resource.

func (*SettingsChange) UnmarshalJSON ¶

func (s *SettingsChange) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SettingsChangeCollection ¶

type SettingsChangeCollection []SettingsChange

SettingsChangeCollection is a list of SettingsChange resources.

func (*SettingsChangeCollection) ToSlice ¶

func (s *SettingsChangeCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SettingsChangeCollection) UnmarshalJSON ¶

func (s *SettingsChangeCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SettingsChangeListParams ¶

type SettingsChangeListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `api_key_id` or `user_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `api_key_id` and `user_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SettingsChangeListParams contains the request parameters for GET /settings_changes.

type SftpActionLog ¶ added in v3.1.48

type SftpActionLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// IP Address of SFTP Client.
	RemoteIp string `json:"remote_ip,omitempty" path:"remote_ip,omitempty" url:"remote_ip,omitempty"`
	// IP Address of SFTP Server.
	ServerIp string `json:"server_ip,omitempty" path:"server_ip,omitempty" url:"server_ip,omitempty"`
	// Username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Name of the SFTP Client provided at initial connection.
	SshClientIdentification string `` /* 127-byte string literal not displayed */
	// Unique ID of the Session.
	SessionUuid string `json:"session_uuid,omitempty" path:"session_uuid,omitempty" url:"session_uuid,omitempty"`
	// SFTP Sequence ID.
	SeqId int64 `json:"seq_id,omitempty" path:"seq_id,omitempty" url:"seq_id,omitempty"`
	// Authentication Method.
	AuthMethod string `json:"auth_method,omitempty" path:"auth_method,omitempty" url:"auth_method,omitempty"`
	// Authentication Ciphers.
	AuthCiphers string `json:"auth_ciphers,omitempty" path:"auth_ciphers,omitempty" url:"auth_ciphers,omitempty"`
	// Action Type.
	ActionType string `json:"action_type,omitempty" path:"action_type,omitempty" url:"action_type,omitempty"`
	// Path as sent by the Client (may not match Files.com path due to user root folders for SFTP). This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Path on Files.com.
	TruePath string `json:"true_path,omitempty" path:"true_path,omitempty" url:"true_path,omitempty"`
	// Name of File.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// SFTP Response Code Returned to the Client.
	SftpResponseCode string `json:"sftp_response_code,omitempty" path:"sftp_response_code,omitempty" url:"sftp_response_code,omitempty"`
	// SFTP Response Message Returned to the Client.
	SftpResponseMessage string `json:"sftp_response_message,omitempty" path:"sftp_response_message,omitempty" url:"sftp_response_message,omitempty"`
	// MD5 Hash of the file. Not always available.
	Md5 string `json:"md5,omitempty" path:"md5,omitempty" url:"md5,omitempty"`
	// Size of File That was Uploaded or Downloaded.
	Size int64 `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
	// Data Length in Bytes. Present for actions that transfer data.
	DataLength int64 `json:"data_length,omitempty" path:"data_length,omitempty" url:"data_length,omitempty"`
	// The number of bytes transferred for uploads and downloads.
	BytesTransferred int64 `json:"bytes_transferred,omitempty" path:"bytes_transferred,omitempty" url:"bytes_transferred,omitempty"`
	// Number of entries returned when listing files and folders.
	EntriesReturned int64 `json:"entries_returned,omitempty" path:"entries_returned,omitempty" url:"entries_returned,omitempty"`
	// Whether SFTP Action was successful.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// SFTP Action status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

SftpActionLog is a Files.com API resource.

func (SftpActionLog) Identifier ¶ added in v3.1.48

func (s SftpActionLog) Identifier() interface{}

Identifier returns the resource path.

func (*SftpActionLog) UnmarshalJSON ¶ added in v3.1.48

func (s *SftpActionLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SftpActionLogCollection ¶ added in v3.1.48

type SftpActionLogCollection []SftpActionLog

SftpActionLogCollection is a list of SftpActionLog resources.

func (*SftpActionLogCollection) ToSlice ¶ added in v3.1.48

func (s *SftpActionLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SftpActionLogCollection) UnmarshalJSON ¶ added in v3.1.48

func (s *SftpActionLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SftpActionLogListParams ¶ added in v3.1.48

type SftpActionLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `true_path`, `remote_ip`, `session_uuid`, `success`, `status`, `action_type`, `username` or `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`, `true_path`, `action_type` or `username`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ session_uuid ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, session_uuid ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, session_uuid ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, session_uuid ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ session_uuid, success ]`, `[ session_uuid, status ]`, `[ session_uuid, action_type ]`, `[ session_uuid, username ]`, `[ session_uuid, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, session_uuid ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, session_uuid ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, session_uuid, success ]`, `[ path, session_uuid, status ]`, `[ path, session_uuid, action_type ]`, `[ path, session_uuid, username ]`, `[ path, session_uuid, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, session_uuid ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, session_uuid, success ]`, `[ true_path, session_uuid, status ]`, `[ true_path, session_uuid, action_type ]`, `[ true_path, session_uuid, username ]`, `[ true_path, session_uuid, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, session_uuid, success ]`, `[ remote_ip, session_uuid, status ]`, `[ remote_ip, session_uuid, action_type ]`, `[ remote_ip, session_uuid, username ]`, `[ remote_ip, session_uuid, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ session_uuid, success, status ]`, `[ session_uuid, success, action_type ]`, `[ session_uuid, success, username ]`, `[ session_uuid, success, created_at ]`, `[ session_uuid, status, action_type ]`, `[ session_uuid, status, username ]`, `[ session_uuid, status, created_at ]`, `[ session_uuid, action_type, username ]`, `[ session_uuid, action_type, created_at ]`, `[ session_uuid, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, session_uuid, success ]`, `[ path, true_path, session_uuid, status ]`, `[ path, true_path, session_uuid, action_type ]`, `[ path, true_path, session_uuid, username ]`, `[ path, true_path, session_uuid, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, session_uuid, success ]`, `[ path, remote_ip, session_uuid, status ]`, `[ path, remote_ip, session_uuid, action_type ]`, `[ path, remote_ip, session_uuid, username ]`, `[ path, remote_ip, session_uuid, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, session_uuid, success, status ]`, `[ path, session_uuid, success, action_type ]`, `[ path, session_uuid, success, username ]`, `[ path, session_uuid, success, created_at ]`, `[ path, session_uuid, status, action_type ]`, `[ path, session_uuid, status, username ]`, `[ path, session_uuid, status, created_at ]`, `[ path, session_uuid, action_type, username ]`, `[ path, session_uuid, action_type, created_at ]`, `[ path, session_uuid, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success ]`, `[ true_path, remote_ip, session_uuid, status ]`, `[ true_path, remote_ip, session_uuid, action_type ]`, `[ true_path, remote_ip, session_uuid, username ]`, `[ true_path, remote_ip, session_uuid, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, session_uuid, success, status ]`, `[ true_path, session_uuid, success, action_type ]`, `[ true_path, session_uuid, success, username ]`, `[ true_path, session_uuid, success, created_at ]`, `[ true_path, session_uuid, status, action_type ]`, `[ true_path, session_uuid, status, username ]`, `[ true_path, session_uuid, status, created_at ]`, `[ true_path, session_uuid, action_type, username ]`, `[ true_path, session_uuid, action_type, created_at ]`, `[ true_path, session_uuid, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status ]`, `[ remote_ip, session_uuid, success, action_type ]`, `[ remote_ip, session_uuid, success, username ]`, `[ remote_ip, session_uuid, success, created_at ]`, `[ remote_ip, session_uuid, status, action_type ]`, `[ remote_ip, session_uuid, status, username ]`, `[ remote_ip, session_uuid, status, created_at ]`, `[ remote_ip, session_uuid, action_type, username ]`, `[ remote_ip, session_uuid, action_type, created_at ]`, `[ remote_ip, session_uuid, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type ]`, `[ session_uuid, success, status, username ]`, `[ session_uuid, success, status, created_at ]`, `[ session_uuid, success, action_type, username ]`, `[ session_uuid, success, action_type, created_at ]`, `[ session_uuid, success, username, created_at ]`, `[ session_uuid, status, action_type, username ]`, `[ session_uuid, status, action_type, created_at ]`, `[ session_uuid, status, username, created_at ]`, `[ session_uuid, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success ]`, `[ path, true_path, remote_ip, session_uuid, status ]`, `[ path, true_path, remote_ip, session_uuid, action_type ]`, `[ path, true_path, remote_ip, session_uuid, username ]`, `[ path, true_path, remote_ip, session_uuid, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, session_uuid, success, status ]`, `[ path, true_path, session_uuid, success, action_type ]`, `[ path, true_path, session_uuid, success, username ]`, `[ path, true_path, session_uuid, success, created_at ]`, `[ path, true_path, session_uuid, status, action_type ]`, `[ path, true_path, session_uuid, status, username ]`, `[ path, true_path, session_uuid, status, created_at ]`, `[ path, true_path, session_uuid, action_type, username ]`, `[ path, true_path, session_uuid, action_type, created_at ]`, `[ path, true_path, session_uuid, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status ]`, `[ path, remote_ip, session_uuid, success, action_type ]`, `[ path, remote_ip, session_uuid, success, username ]`, `[ path, remote_ip, session_uuid, success, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type ]`, `[ path, remote_ip, session_uuid, status, username ]`, `[ path, remote_ip, session_uuid, status, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username ]`, `[ path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, remote_ip, session_uuid, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type ]`, `[ path, session_uuid, success, status, username ]`, `[ path, session_uuid, success, status, created_at ]`, `[ path, session_uuid, success, action_type, username ]`, `[ path, session_uuid, success, action_type, created_at ]`, `[ path, session_uuid, success, username, created_at ]`, `[ path, session_uuid, status, action_type, username ]`, `[ path, session_uuid, status, action_type, created_at ]`, `[ path, session_uuid, status, username, created_at ]`, `[ path, session_uuid, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status ]`, `[ true_path, remote_ip, session_uuid, success, action_type ]`, `[ true_path, remote_ip, session_uuid, success, username ]`, `[ true_path, remote_ip, session_uuid, success, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type ]`, `[ true_path, remote_ip, session_uuid, status, username ]`, `[ true_path, remote_ip, session_uuid, status, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username ]`, `[ true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type ]`, `[ true_path, session_uuid, success, status, username ]`, `[ true_path, session_uuid, success, status, created_at ]`, `[ true_path, session_uuid, success, action_type, username ]`, `[ true_path, session_uuid, success, action_type, created_at ]`, `[ true_path, session_uuid, success, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username ]`, `[ true_path, session_uuid, status, action_type, created_at ]`, `[ true_path, session_uuid, status, username, created_at ]`, `[ true_path, session_uuid, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type ]`, `[ remote_ip, session_uuid, success, status, username ]`, `[ remote_ip, session_uuid, success, status, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username ]`, `[ remote_ip, session_uuid, success, action_type, created_at ]`, `[ remote_ip, session_uuid, success, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username ]`, `[ remote_ip, session_uuid, status, action_type, created_at ]`, `[ remote_ip, session_uuid, status, username, created_at ]`, `[ remote_ip, session_uuid, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username ]`, `[ session_uuid, success, status, action_type, created_at ]`, `[ session_uuid, success, status, username, created_at ]`, `[ session_uuid, success, action_type, username, created_at ]`, `[ session_uuid, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, username ]`, `[ path, true_path, remote_ip, session_uuid, success, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, status, username ]`, `[ path, true_path, remote_ip, session_uuid, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type ]`, `[ path, true_path, session_uuid, success, status, username ]`, `[ path, true_path, session_uuid, success, status, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username ]`, `[ path, true_path, session_uuid, success, action_type, created_at ]`, `[ path, true_path, session_uuid, success, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username ]`, `[ path, true_path, session_uuid, status, action_type, created_at ]`, `[ path, true_path, session_uuid, status, username, created_at ]`, `[ path, true_path, session_uuid, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, remote_ip, session_uuid, success, status, username ]`, `[ path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username ]`, `[ path, session_uuid, success, status, action_type, created_at ]`, `[ path, session_uuid, success, status, username, created_at ]`, `[ path, session_uuid, success, action_type, username, created_at ]`, `[ path, session_uuid, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ true_path, remote_ip, session_uuid, success, status, username ]`, `[ true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username ]`, `[ true_path, session_uuid, success, status, action_type, created_at ]`, `[ true_path, session_uuid, success, status, username, created_at ]`, `[ true_path, session_uuid, success, action_type, username, created_at ]`, `[ true_path, session_uuid, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username ]`, `[ remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ remote_ip, session_uuid, success, status, username, created_at ]`, `[ remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username ]`, `[ path, true_path, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, session_uuid, success, status, username, created_at ]`, `[ path, true_path, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username ]`, `[ path, true_path, remote_ip, session_uuid, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, status, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, session_uuid, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, session_uuid, success, status, action_type, username, created_at ]`, `[ path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, session_uuid, success, status, action_type, username, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SftpActionLogListParams contains the request parameters for GET /sftp_action_logs.

type SftpHostKey ¶

type SftpHostKey struct {
	// If true, use this SFTP Host Key.
	Active *bool `json:"active,omitempty" path:"active,omitempty" url:"active,omitempty"`
	// Custom Domain ID. If set, this key is used only for that Custom Domain.
	CustomDomainId int64 `json:"custom_domain_id,omitempty" path:"custom_domain_id,omitempty" url:"custom_domain_id,omitempty"`
	// SFTP Host Key ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// The friendly name of this SFTP Host Key.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// SSH key type.
	KeyType string `json:"key_type,omitempty" path:"key_type,omitempty" url:"key_type,omitempty"`
	// MD5 Fingerprint of the public key.
	FingerprintMd5 string `json:"fingerprint_md5,omitempty" path:"fingerprint_md5,omitempty" url:"fingerprint_md5,omitempty"`
	// SHA256 Fingerprint of the public key.
	FingerprintSha256 string `json:"fingerprint_sha256,omitempty" path:"fingerprint_sha256,omitempty" url:"fingerprint_sha256,omitempty"`
	// The private key data.
	PrivateKey string `json:"private_key,omitempty" path:"private_key,omitempty" url:"private_key,omitempty"`
}

SftpHostKey is a Files.com API resource.

func (SftpHostKey) Identifier ¶

func (s SftpHostKey) Identifier() interface{}

Identifier returns the resource ID.

func (*SftpHostKey) UnmarshalJSON ¶

func (s *SftpHostKey) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SftpHostKeyCollection ¶

type SftpHostKeyCollection []SftpHostKey

SftpHostKeyCollection is a list of SftpHostKey resources.

func (*SftpHostKeyCollection) ToSlice ¶

func (s *SftpHostKeyCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SftpHostKeyCollection) UnmarshalJSON ¶

func (s *SftpHostKeyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SftpHostKeyCreateParams ¶

type SftpHostKeyCreateParams struct {
	// If true, use this SFTP Host Key.
	Active *bool `url:"active,omitempty" json:"active,omitempty" path:"active"`
	// Custom Domain ID. If set, this key is used only for that Custom Domain.
	CustomDomainId int64 `url:"custom_domain_id,omitempty" json:"custom_domain_id,omitempty" path:"custom_domain_id"`
	// The friendly name of this SFTP Host Key.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// The private key data.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
}

SftpHostKeyCreateParams contains the request parameters for POST /sftp_host_keys.

type SftpHostKeyDeleteParams ¶

type SftpHostKeyDeleteParams struct {
	// Sftp Host Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SftpHostKeyDeleteParams contains the request parameters for DELETE /sftp_host_keys/{id}.

type SftpHostKeyFindParams ¶

type SftpHostKeyFindParams struct {
	// Sftp Host Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SftpHostKeyFindParams contains the request parameters for GET /sftp_host_keys/{id}.

type SftpHostKeyListParams ¶

type SftpHostKeyListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SftpHostKeyListParams contains the request parameters for GET /sftp_host_keys.

type SftpHostKeyUpdateParams ¶

type SftpHostKeyUpdateParams struct {
	// Sftp Host Key ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// If true, use this SFTP Host Key.
	Active *bool `url:"active,omitempty" json:"active,omitempty" path:"active"`
	// Custom Domain ID. If set, this key is used only for that Custom Domain.
	CustomDomainId int64 `url:"custom_domain_id,omitempty" json:"custom_domain_id,omitempty" path:"custom_domain_id"`
	// The friendly name of this SFTP Host Key.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// The private key data.
	PrivateKey string `url:"private_key,omitempty" json:"private_key,omitempty" path:"private_key"`
}

SftpHostKeyUpdateParams contains the request parameters for PATCH /sftp_host_keys/{id}.

type ShareGroup ¶

type ShareGroup struct {
	// Share Group ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Name of the share group.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Additional notes of the share group.
	Notes string `json:"notes,omitempty" path:"notes,omitempty" url:"notes,omitempty"`
	// Owner User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// A list of share group members.
	Members []ShareGroupMember `json:"members,omitempty" path:"members,omitempty" url:"members,omitempty"`
}

ShareGroup is a Files.com API resource.

func (ShareGroup) Identifier ¶

func (s ShareGroup) Identifier() interface{}

Identifier returns the resource ID.

func (*ShareGroup) UnmarshalJSON ¶

func (s *ShareGroup) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ShareGroupCollection ¶

type ShareGroupCollection []ShareGroup

ShareGroupCollection is a list of ShareGroup resources.

func (*ShareGroupCollection) ToSlice ¶

func (s *ShareGroupCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ShareGroupCollection) UnmarshalJSON ¶

func (s *ShareGroupCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ShareGroupCreateParams ¶

type ShareGroupCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Additional notes of the share group.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// Name of the share group. Required.
	Name string `url:"name" json:"name" path:"name"`
	// A list of share group members. Required.
	Members []map[string]interface{} `url:"members" json:"members" path:"members"`
}

ShareGroupCreateParams contains the request parameters for POST /share_groups.

type ShareGroupDeleteParams ¶

type ShareGroupDeleteParams struct {
	// Share Group ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ShareGroupDeleteParams contains the request parameters for DELETE /share_groups/{id}.

type ShareGroupFindParams ¶

type ShareGroupFindParams struct {
	// Share Group ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

ShareGroupFindParams contains the request parameters for GET /share_groups/{id}.

type ShareGroupListParams ¶

type ShareGroupListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

ShareGroupListParams contains the request parameters for GET /share_groups.

type ShareGroupMember ¶

type ShareGroupMember struct {
	// Name of the share group member.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Company of the share group member.
	Company string `json:"company,omitempty" path:"company,omitempty" url:"company,omitempty"`
	// Email of the share group member.
	Email string `json:"email,omitempty" path:"email,omitempty" url:"email,omitempty"`
}

ShareGroupMember is a Files.com API resource.

func (*ShareGroupMember) UnmarshalJSON ¶

func (s *ShareGroupMember) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ShareGroupMemberCollection ¶

type ShareGroupMemberCollection []ShareGroupMember

ShareGroupMemberCollection is a list of ShareGroupMember resources.

func (*ShareGroupMemberCollection) ToSlice ¶

func (s *ShareGroupMemberCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ShareGroupMemberCollection) UnmarshalJSON ¶

func (s *ShareGroupMemberCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type ShareGroupUpdateParams ¶

type ShareGroupUpdateParams struct {
	// Share Group ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Additional notes of the share group.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// Name of the share group.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// A list of share group members.
	Members []map[string]interface{} `url:"members,omitempty" json:"members,omitempty" path:"members"`
}

ShareGroupUpdateParams contains the request parameters for PATCH /share_groups/{id}.

type SiemHttpDestination ¶ added in v3.2.49

type SiemHttpDestination struct {
	// SIEM HTTP Destination ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Name for this Destination.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Destination Type.
	DestinationType string `json:"destination_type,omitempty" path:"destination_type,omitempty" url:"destination_type,omitempty"`
	// Destination Url.
	DestinationUrl string `json:"destination_url,omitempty" path:"destination_url,omitempty" url:"destination_url,omitempty"`
	// Applicable only for destination type: file. Destination folder path on Files.com.
	FileDestinationPath string `json:"file_destination_path,omitempty" path:"file_destination_path,omitempty" url:"file_destination_path,omitempty"`
	// Applicable only for destination type: file. Generated file format.
	FileFormat string `json:"file_format,omitempty" path:"file_format,omitempty" url:"file_format,omitempty"`
	// Applicable only for destination type: file. Interval, in minutes, between file deliveries.
	FileIntervalMinutes int64 `json:"file_interval_minutes,omitempty" path:"file_interval_minutes,omitempty" url:"file_interval_minutes,omitempty"`
	// Additional HTTP Headers included in calls to the destination URL.
	AdditionalHeaders interface{} `json:"additional_headers,omitempty" path:"additional_headers,omitempty" url:"additional_headers,omitempty"`
	// Whether this SIEM HTTP Destination is currently being sent to or not.
	SendingActive *bool `json:"sending_active,omitempty" path:"sending_active,omitempty" url:"sending_active,omitempty"`
	// Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON.
	GenericPayloadType string `json:"generic_payload_type,omitempty" path:"generic_payload_type,omitempty" url:"generic_payload_type,omitempty"`
	// Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
	SplunkTokenMasked string `json:"splunk_token_masked,omitempty" path:"splunk_token_masked,omitempty" url:"splunk_token_masked,omitempty"`
	// Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
	CrowdstrikeTokenMasked string `json:"crowdstrike_token_masked,omitempty" path:"crowdstrike_token_masked,omitempty" url:"crowdstrike_token_masked,omitempty"`
	// Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
	AzureDcrImmutableId string `json:"azure_dcr_immutable_id,omitempty" path:"azure_dcr_immutable_id,omitempty" url:"azure_dcr_immutable_id,omitempty"`
	// Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
	AzureStreamName string `json:"azure_stream_name,omitempty" path:"azure_stream_name,omitempty" url:"azure_stream_name,omitempty"`
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
	AzureOauthClientCredentialsTenantId string `` /* 172-byte string literal not displayed */
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
	AzureOauthClientCredentialsClientId string `` /* 172-byte string literal not displayed */
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client Secret.
	AzureOauthClientCredentialsClientSecretMasked string `` /* 205-byte string literal not displayed */
	// Applicable only for destination type: qradar. Basic auth username provided by QRadar.
	QradarUsername string `json:"qradar_username,omitempty" path:"qradar_username,omitempty" url:"qradar_username,omitempty"`
	// Applicable only for destination type: qradar. Basic auth password provided by QRadar.
	QradarPasswordMasked string `json:"qradar_password_masked,omitempty" path:"qradar_password_masked,omitempty" url:"qradar_password_masked,omitempty"`
	// Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
	SolarWindsTokenMasked string `json:"solar_winds_token_masked,omitempty" path:"solar_winds_token_masked,omitempty" url:"solar_winds_token_masked,omitempty"`
	// Applicable only for destination type: new_relic. API key provided by New Relic.
	NewRelicApiKeyMasked string `json:"new_relic_api_key_masked,omitempty" path:"new_relic_api_key_masked,omitempty" url:"new_relic_api_key_masked,omitempty"`
	// Applicable only for destination type: datadog. API key provided by Datadog.
	DatadogApiKeyMasked string `json:"datadog_api_key_masked,omitempty" path:"datadog_api_key_masked,omitempty" url:"datadog_api_key_masked,omitempty"`
	// Whether or not sending is enabled for action logs.
	ActionSendEnabled *bool `json:"action_send_enabled,omitempty" path:"action_send_enabled,omitempty" url:"action_send_enabled,omitempty"`
	// Number of log entries sent for the lifetime of this destination.
	ActionEntriesSent int64 `json:"action_entries_sent,omitempty" path:"action_entries_sent,omitempty" url:"action_entries_sent,omitempty"`
	// Whether or not sending is enabled for sftp_action logs.
	SftpActionSendEnabled *bool `json:"sftp_action_send_enabled,omitempty" path:"sftp_action_send_enabled,omitempty" url:"sftp_action_send_enabled,omitempty"`
	// Number of log entries sent for the lifetime of this destination.
	SftpActionEntriesSent int64 `json:"sftp_action_entries_sent,omitempty" path:"sftp_action_entries_sent,omitempty" url:"sftp_action_entries_sent,omitempty"`
	// Whether or not sending is enabled for ftp_action logs.
	FtpActionSendEnabled *bool `json:"ftp_action_send_enabled,omitempty" path:"ftp_action_send_enabled,omitempty" url:"ftp_action_send_enabled,omitempty"`
	// Number of log entries sent for the lifetime of this destination.
	FtpActionEntriesSent int64 `json:"ftp_action_entries_sent,omitempty" path:"ftp_action_entries_sent,omitempty" url:"ftp_action_entries_sent,omitempty"`
	// Whether or not sending is enabled for web_dav_action logs.
	WebDavActionSendEnabled *bool `` /* 133-byte string literal not displayed */
	// Number of log entries sent for the lifetime of this destination.
	WebDavActionEntriesSent int64 `` /* 133-byte string literal not displayed */
	// Whether or not sending is enabled for sync logs.
	SyncSendEnabled *bool `json:"sync_send_enabled,omitempty" path:"sync_send_enabled,omitempty" url:"sync_send_enabled,omitempty"`
	// Number of log entries sent for the lifetime of this destination.
	SyncEntriesSent int64 `json:"sync_entries_sent,omitempty" path:"sync_entries_sent,omitempty" url:"sync_entries_sent,omitempty"`
	// Whether or not sending is enabled for outbound_connection logs.
	OutboundConnectionSendEnabled *bool `` /* 148-byte string literal not displayed */
	// Number of log entries sent for the lifetime of this destination.
	OutboundConnectionEntriesSent int64 `` /* 148-byte string literal not displayed */
	// Whether or not sending is enabled for automation logs.
	AutomationSendEnabled *bool `json:"automation_send_enabled,omitempty" path:"automation_send_enabled,omitempty" url:"automation_send_enabled,omitempty"`
	// Number of log entries sent for the lifetime of this destination.
	AutomationEntriesSent int64 `json:"automation_entries_sent,omitempty" path:"automation_entries_sent,omitempty" url:"automation_entries_sent,omitempty"`
	// Whether or not sending is enabled for api_request logs.
	ApiRequestSendEnabled *bool `json:"api_request_send_enabled,omitempty" path:"api_request_send_enabled,omitempty" url:"api_request_send_enabled,omitempty"`
	// Number of log entries sent for the lifetime of this destination.
	ApiRequestEntriesSent int64 `json:"api_request_entries_sent,omitempty" path:"api_request_entries_sent,omitempty" url:"api_request_entries_sent,omitempty"`
	// Whether or not sending is enabled for public_hosting_request logs.
	PublicHostingRequestSendEnabled *bool `` /* 157-byte string literal not displayed */
	// Number of log entries sent for the lifetime of this destination.
	PublicHostingRequestEntriesSent int64 `` /* 157-byte string literal not displayed */
	// Whether or not sending is enabled for email logs.
	EmailSendEnabled *bool `json:"email_send_enabled,omitempty" path:"email_send_enabled,omitempty" url:"email_send_enabled,omitempty"`
	// Number of log entries sent for the lifetime of this destination.
	EmailEntriesSent int64 `json:"email_entries_sent,omitempty" path:"email_entries_sent,omitempty" url:"email_entries_sent,omitempty"`
	// Whether or not sending is enabled for exavault_api_request logs.
	ExavaultApiRequestSendEnabled *bool `` /* 151-byte string literal not displayed */
	// Number of log entries sent for the lifetime of this destination.
	ExavaultApiRequestEntriesSent int64 `` /* 151-byte string literal not displayed */
	// Whether or not sending is enabled for settings_change logs.
	SettingsChangeSendEnabled *bool `` /* 136-byte string literal not displayed */
	// Number of log entries sent for the lifetime of this destination.
	SettingsChangeEntriesSent int64 `` /* 136-byte string literal not displayed */
	// Type of URL that was last called. Can be `destination_url` or `azure_oauth_client_credentials_url`.
	LastHttpCallTargetType string `` /* 130-byte string literal not displayed */
	// Was the last HTTP call made successful?
	LastHttpCallSuccess *bool `json:"last_http_call_success,omitempty" path:"last_http_call_success,omitempty" url:"last_http_call_success,omitempty"`
	// Last HTTP Call Response Code.
	LastHttpCallResponseCode int64 `` /* 136-byte string literal not displayed */
	// Last HTTP Call Response Body. Large responses are truncated.
	LastHttpCallResponseBody string `` /* 136-byte string literal not displayed */
	// Last HTTP Call Error Message if applicable.
	LastHttpCallErrorMessage string `` /* 136-byte string literal not displayed */
	// Time of Last HTTP Call.
	LastHttpCallTime string `json:"last_http_call_time,omitempty" path:"last_http_call_time,omitempty" url:"last_http_call_time,omitempty"`
	// Duration of the last HTTP Call in milliseconds.
	LastHttpCallDurationMs int64 `` /* 130-byte string literal not displayed */
	// Time of Most Recent Successful HTTP Call.
	MostRecentHttpCallSuccessTime string `` /* 154-byte string literal not displayed */
	// Connection Test Entry.
	ConnectionTestEntry string `json:"connection_test_entry,omitempty" path:"connection_test_entry,omitempty" url:"connection_test_entry,omitempty"`
	// Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
	SplunkToken string `json:"splunk_token,omitempty" path:"splunk_token,omitempty" url:"splunk_token,omitempty"`
	// Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
	CrowdstrikeToken string `json:"crowdstrike_token,omitempty" path:"crowdstrike_token,omitempty" url:"crowdstrike_token,omitempty"`
	// Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
	AzureOauthClientCredentialsClientSecret string `` /* 184-byte string literal not displayed */
	// Applicable only for destination type: qradar. Basic auth password provided by QRadar.
	QradarPassword string `json:"qradar_password,omitempty" path:"qradar_password,omitempty" url:"qradar_password,omitempty"`
	// Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
	SolarWindsToken string `json:"solar_winds_token,omitempty" path:"solar_winds_token,omitempty" url:"solar_winds_token,omitempty"`
	// Applicable only for destination type: new_relic. API key provided by New Relic.
	NewRelicApiKey string `json:"new_relic_api_key,omitempty" path:"new_relic_api_key,omitempty" url:"new_relic_api_key,omitempty"`
	// Applicable only for destination type: datadog. API key provided by Datadog.
	DatadogApiKey string `json:"datadog_api_key,omitempty" path:"datadog_api_key,omitempty" url:"datadog_api_key,omitempty"`
}

SiemHttpDestination is a Files.com API resource.

func (SiemHttpDestination) Identifier ¶ added in v3.2.49

func (s SiemHttpDestination) Identifier() interface{}

Identifier returns the resource ID.

func (*SiemHttpDestination) UnmarshalJSON ¶ added in v3.2.49

func (s *SiemHttpDestination) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SiemHttpDestinationCollection ¶ added in v3.2.49

type SiemHttpDestinationCollection []SiemHttpDestination

SiemHttpDestinationCollection is a list of SiemHttpDestination resources.

func (*SiemHttpDestinationCollection) ToSlice ¶ added in v3.2.49

func (s *SiemHttpDestinationCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SiemHttpDestinationCollection) UnmarshalJSON ¶ added in v3.2.49

func (s *SiemHttpDestinationCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SiemHttpDestinationCreateParams ¶ added in v3.2.49

type SiemHttpDestinationCreateParams struct {
	// Name for this Destination.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Additional HTTP Headers included in calls to the destination URL.
	AdditionalHeaders interface{} `url:"additional_headers,omitempty" json:"additional_headers,omitempty" path:"additional_headers"`
	// Whether this SIEM HTTP Destination is currently being sent to or not.
	SendingActive *bool `url:"sending_active,omitempty" json:"sending_active,omitempty" path:"sending_active"`
	// Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON. Values: json_newline, json_array.
	GenericPayloadType SiemHttpDestinationGenericPayloadTypeEnum `url:"generic_payload_type,omitempty" json:"generic_payload_type,omitempty" path:"generic_payload_type"`
	// Applicable only for destination type: file. Destination folder path on Files.com.
	FileDestinationPath string `url:"file_destination_path,omitempty" json:"file_destination_path,omitempty" path:"file_destination_path"`
	// Applicable only for destination type: file. Generated file format. Values: json, csv.
	FileFormat SiemHttpDestinationFileFormatEnum `url:"file_format,omitempty" json:"file_format,omitempty" path:"file_format"`
	// Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
	FileIntervalMinutes int64 `url:"file_interval_minutes,omitempty" json:"file_interval_minutes,omitempty" path:"file_interval_minutes"`
	// Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
	SplunkToken string `url:"splunk_token,omitempty" json:"splunk_token,omitempty" path:"splunk_token"`
	// Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
	CrowdstrikeToken string `url:"crowdstrike_token,omitempty" json:"crowdstrike_token,omitempty" path:"crowdstrike_token"`
	// Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
	AzureDcrImmutableId string `url:"azure_dcr_immutable_id,omitempty" json:"azure_dcr_immutable_id,omitempty" path:"azure_dcr_immutable_id"`
	// Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
	AzureStreamName string `url:"azure_stream_name,omitempty" json:"azure_stream_name,omitempty" path:"azure_stream_name"`
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
	AzureOauthClientCredentialsTenantId string `` /* 162-byte string literal not displayed */
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
	AzureOauthClientCredentialsClientId string `` /* 162-byte string literal not displayed */
	// Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
	AzureOauthClientCredentialsClientSecret string `` /* 174-byte string literal not displayed */
	// Applicable only for destination type: qradar. Basic auth username provided by QRadar.
	QradarUsername string `url:"qradar_username,omitempty" json:"qradar_username,omitempty" path:"qradar_username"`
	// Applicable only for destination type: qradar. Basic auth password provided by QRadar.
	QradarPassword string `url:"qradar_password,omitempty" json:"qradar_password,omitempty" path:"qradar_password"`
	// Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
	SolarWindsToken string `url:"solar_winds_token,omitempty" json:"solar_winds_token,omitempty" path:"solar_winds_token"`
	// Applicable only for destination type: new_relic. API key provided by New Relic.
	NewRelicApiKey string `url:"new_relic_api_key,omitempty" json:"new_relic_api_key,omitempty" path:"new_relic_api_key"`
	// Applicable only for destination type: datadog. API key provided by Datadog.
	DatadogApiKey string `url:"datadog_api_key,omitempty" json:"datadog_api_key,omitempty" path:"datadog_api_key"`
	// Whether or not sending is enabled for action logs.
	ActionSendEnabled *bool `url:"action_send_enabled,omitempty" json:"action_send_enabled,omitempty" path:"action_send_enabled"`
	// Whether or not sending is enabled for sftp_action logs.
	SftpActionSendEnabled *bool `url:"sftp_action_send_enabled,omitempty" json:"sftp_action_send_enabled,omitempty" path:"sftp_action_send_enabled"`
	// Whether or not sending is enabled for ftp_action logs.
	FtpActionSendEnabled *bool `url:"ftp_action_send_enabled,omitempty" json:"ftp_action_send_enabled,omitempty" path:"ftp_action_send_enabled"`
	// Whether or not sending is enabled for web_dav_action logs.
	WebDavActionSendEnabled *bool `url:"web_dav_action_send_enabled,omitempty" json:"web_dav_action_send_enabled,omitempty" path:"web_dav_action_send_enabled"`
	// Whether or not sending is enabled for sync logs.
	SyncSendEnabled *bool `url:"sync_send_enabled,omitempty" json:"sync_send_enabled,omitempty" path:"sync_send_enabled"`
	// Whether or not sending is enabled for outbound_connection logs.
	OutboundConnectionSendEnabled *bool `` /* 138-byte string literal not displayed */
	// Whether or not sending is enabled for automation logs.
	AutomationSendEnabled *bool `url:"automation_send_enabled,omitempty" json:"automation_send_enabled,omitempty" path:"automation_send_enabled"`
	// Whether or not sending is enabled for api_request logs.
	ApiRequestSendEnabled *bool `url:"api_request_send_enabled,omitempty" json:"api_request_send_enabled,omitempty" path:"api_request_send_enabled"`
	// Whether or not sending is enabled for public_hosting_request logs.
	PublicHostingRequestSendEnabled *bool `` /* 147-byte string literal not displayed */
	// Whether or not sending is enabled for email logs.
	EmailSendEnabled *bool `url:"email_send_enabled,omitempty" json:"email_send_enabled,omitempty" path:"email_send_enabled"`
	// Whether or not sending is enabled for exavault_api_request logs.
	ExavaultApiRequestSendEnabled *bool `` /* 141-byte string literal not displayed */
	// Whether or not sending is enabled for settings_change logs.
	SettingsChangeSendEnabled *bool `` /* 126-byte string literal not displayed */
	// Destination Type. Values: generic, splunk, azure_legacy, qradar, sumo, rapid7, solar_winds, new_relic, datadog, azure, file, crowdstrike, splunk_compatible. Required.
	DestinationType SiemHttpDestinationDestinationTypeEnum `url:"destination_type" json:"destination_type" path:"destination_type"`
	// Destination Url.
	DestinationUrl string `url:"destination_url,omitempty" json:"destination_url,omitempty" path:"destination_url"`
}

SiemHttpDestinationCreateParams contains the request parameters for POST /siem_http_destinations.

type SiemHttpDestinationDeleteParams ¶ added in v3.2.49

type SiemHttpDestinationDeleteParams struct {
	// Siem Http Destination ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SiemHttpDestinationDeleteParams contains the request parameters for DELETE /siem_http_destinations/{id}.

type SiemHttpDestinationDestinationTypeEnum ¶ added in v3.2.49

type SiemHttpDestinationDestinationTypeEnum string

SiemHttpDestinationDestinationTypeEnum is a string value for destination_type. Enum lists the values documented by the API.

func (SiemHttpDestinationDestinationTypeEnum) Enum ¶ added in v3.2.49

Enum returns the documented values keyed by their API strings.

func (SiemHttpDestinationDestinationTypeEnum) String ¶ added in v3.2.49

String returns the API parameter value.

type SiemHttpDestinationEvent ¶ added in v3.3.111

type SiemHttpDestinationEvent struct {
	// Event ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Type of SIEM event being recorded.
	EventType string `json:"event_type,omitempty" path:"event_type,omitempty" url:"event_type,omitempty"`
	// Status of event.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Event body.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Event errors.
	EventErrors []string `json:"event_errors,omitempty" path:"event_errors,omitempty" url:"event_errors,omitempty"`
	// Event create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Link to log file.
	BodyUrl string `json:"body_url,omitempty" path:"body_url,omitempty" url:"body_url,omitempty"`
	// SIEM ID.
	SiemHttpDestinationId int64 `json:"siem_http_destination_id,omitempty" path:"siem_http_destination_id,omitempty" url:"siem_http_destination_id,omitempty"`
}

SiemHttpDestinationEvent is a Files.com API resource.

func (SiemHttpDestinationEvent) Identifier ¶ added in v3.3.111

func (s SiemHttpDestinationEvent) Identifier() interface{}

Identifier returns the resource ID.

func (*SiemHttpDestinationEvent) UnmarshalJSON ¶ added in v3.3.111

func (s *SiemHttpDestinationEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SiemHttpDestinationEventCollection ¶ added in v3.3.111

type SiemHttpDestinationEventCollection []SiemHttpDestinationEvent

SiemHttpDestinationEventCollection is a list of SiemHttpDestinationEvent resources.

func (*SiemHttpDestinationEventCollection) ToSlice ¶ added in v3.3.111

func (s *SiemHttpDestinationEventCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SiemHttpDestinationEventCollection) UnmarshalJSON ¶ added in v3.3.111

func (s *SiemHttpDestinationEventCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SiemHttpDestinationEventFindParams ¶ added in v3.3.111

type SiemHttpDestinationEventFindParams struct {
	// Siem Http Destination Event ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SiemHttpDestinationEventFindParams contains the request parameters for GET /siem_http_destination_events/{id}.

type SiemHttpDestinationEventListParams ¶ added in v3.3.111

type SiemHttpDestinationEventListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `status` or `siem_http_destination_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `siem_http_destination_id` or `status`. Valid field combinations are `[ siem_http_destination_id, created_at ]`, `[ status, created_at ]`, `[ siem_http_destination_id, status ]` or `[ siem_http_destination_id, status, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SiemHttpDestinationEventListParams contains the request parameters for GET /siem_http_destination_events.

type SiemHttpDestinationFileFormatEnum ¶ added in v3.3.2

type SiemHttpDestinationFileFormatEnum string

SiemHttpDestinationFileFormatEnum is a string value for file_format. Enum lists the values documented by the API.

func (SiemHttpDestinationFileFormatEnum) Enum ¶ added in v3.3.2

Enum returns the documented values keyed by their API strings.

func (SiemHttpDestinationFileFormatEnum) String ¶ added in v3.3.2

String returns the API parameter value.

type SiemHttpDestinationFindParams ¶ added in v3.2.49

type SiemHttpDestinationFindParams struct {
	// Siem Http Destination ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SiemHttpDestinationFindParams contains the request parameters for GET /siem_http_destinations/{id}.

type SiemHttpDestinationGenericPayloadTypeEnum ¶ added in v3.2.49

type SiemHttpDestinationGenericPayloadTypeEnum string

SiemHttpDestinationGenericPayloadTypeEnum is a string value for generic_payload_type. Enum lists the values documented by the API.

func (SiemHttpDestinationGenericPayloadTypeEnum) Enum ¶ added in v3.2.49

Enum returns the documented values keyed by their API strings.

func (SiemHttpDestinationGenericPayloadTypeEnum) String ¶ added in v3.2.49

String returns the API parameter value.

type SiemHttpDestinationListParams ¶ added in v3.2.49

type SiemHttpDestinationListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SiemHttpDestinationListParams contains the request parameters for GET /siem_http_destinations.

type SiemHttpDestinationSendTestEntryParams ¶ added in v3.2.49

type SiemHttpDestinationSendTestEntryParams struct {
	// SIEM HTTP Destination ID.
	SiemHttpDestinationId int64 `url:"siem_http_destination_id,omitempty" json:"siem_http_destination_id,omitempty" path:"siem_http_destination_id"`
	// Destination Type. Values: generic, splunk, azure_legacy, qradar, sumo, rapid7, solar_winds, new_relic, datadog, azure, file, crowdstrike, splunk_compatible.
	DestinationType SiemHttpDestinationDestinationTypeEnum `url:"destination_type,omitempty" json:"destination_type,omitempty" path:"destination_type"`
	// Destination Url.
	DestinationUrl string `url:"destination_url,omitempty" json:"destination_url,omitempty" path:"destination_url"`
	// Name for this Destination.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Additional HTTP Headers included in calls to the destination URL.
	AdditionalHeaders interface{} `url:"additional_headers,omitempty" json:"additional_headers,omitempty" path:"additional_headers"`
	// Whether this SIEM HTTP Destination is currently being sent to or not.
	SendingActive *bool `url:"sending_active,omitempty" json:"sending_active,omitempty" path:"sending_active"`
	// Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON. Values: json_newline, json_array.
	GenericPayloadType SiemHttpDestinationGenericPayloadTypeEnum `url:"generic_payload_type,omitempty" json:"generic_payload_type,omitempty" path:"generic_payload_type"`
	// Applicable only for destination type: file. Destination folder path on Files.com.
	FileDestinationPath string `url:"file_destination_path,omitempty" json:"file_destination_path,omitempty" path:"file_destination_path"`
	// Applicable only for destination type: file. Generated file format. Values: json, csv.
	FileFormat SiemHttpDestinationFileFormatEnum `url:"file_format,omitempty" json:"file_format,omitempty" path:"file_format"`
	// Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
	FileIntervalMinutes int64 `url:"file_interval_minutes,omitempty" json:"file_interval_minutes,omitempty" path:"file_interval_minutes"`
	// Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
	SplunkToken string `url:"splunk_token,omitempty" json:"splunk_token,omitempty" path:"splunk_token"`
	// Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
	CrowdstrikeToken string `url:"crowdstrike_token,omitempty" json:"crowdstrike_token,omitempty" path:"crowdstrike_token"`
	// Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
	AzureDcrImmutableId string `url:"azure_dcr_immutable_id,omitempty" json:"azure_dcr_immutable_id,omitempty" path:"azure_dcr_immutable_id"`
	// Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
	AzureStreamName string `url:"azure_stream_name,omitempty" json:"azure_stream_name,omitempty" path:"azure_stream_name"`
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
	AzureOauthClientCredentialsTenantId string `` /* 162-byte string literal not displayed */
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
	AzureOauthClientCredentialsClientId string `` /* 162-byte string literal not displayed */
	// Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
	AzureOauthClientCredentialsClientSecret string `` /* 174-byte string literal not displayed */
	// Applicable only for destination type: qradar. Basic auth username provided by QRadar.
	QradarUsername string `url:"qradar_username,omitempty" json:"qradar_username,omitempty" path:"qradar_username"`
	// Applicable only for destination type: qradar. Basic auth password provided by QRadar.
	QradarPassword string `url:"qradar_password,omitempty" json:"qradar_password,omitempty" path:"qradar_password"`
	// Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
	SolarWindsToken string `url:"solar_winds_token,omitempty" json:"solar_winds_token,omitempty" path:"solar_winds_token"`
	// Applicable only for destination type: new_relic. API key provided by New Relic.
	NewRelicApiKey string `url:"new_relic_api_key,omitempty" json:"new_relic_api_key,omitempty" path:"new_relic_api_key"`
	// Applicable only for destination type: datadog. API key provided by Datadog.
	DatadogApiKey string `url:"datadog_api_key,omitempty" json:"datadog_api_key,omitempty" path:"datadog_api_key"`
	// Whether or not sending is enabled for action logs.
	ActionSendEnabled *bool `url:"action_send_enabled,omitempty" json:"action_send_enabled,omitempty" path:"action_send_enabled"`
	// Whether or not sending is enabled for sftp_action logs.
	SftpActionSendEnabled *bool `url:"sftp_action_send_enabled,omitempty" json:"sftp_action_send_enabled,omitempty" path:"sftp_action_send_enabled"`
	// Whether or not sending is enabled for ftp_action logs.
	FtpActionSendEnabled *bool `url:"ftp_action_send_enabled,omitempty" json:"ftp_action_send_enabled,omitempty" path:"ftp_action_send_enabled"`
	// Whether or not sending is enabled for web_dav_action logs.
	WebDavActionSendEnabled *bool `url:"web_dav_action_send_enabled,omitempty" json:"web_dav_action_send_enabled,omitempty" path:"web_dav_action_send_enabled"`
	// Whether or not sending is enabled for sync logs.
	SyncSendEnabled *bool `url:"sync_send_enabled,omitempty" json:"sync_send_enabled,omitempty" path:"sync_send_enabled"`
	// Whether or not sending is enabled for outbound_connection logs.
	OutboundConnectionSendEnabled *bool `` /* 138-byte string literal not displayed */
	// Whether or not sending is enabled for automation logs.
	AutomationSendEnabled *bool `url:"automation_send_enabled,omitempty" json:"automation_send_enabled,omitempty" path:"automation_send_enabled"`
	// Whether or not sending is enabled for api_request logs.
	ApiRequestSendEnabled *bool `url:"api_request_send_enabled,omitempty" json:"api_request_send_enabled,omitempty" path:"api_request_send_enabled"`
	// Whether or not sending is enabled for public_hosting_request logs.
	PublicHostingRequestSendEnabled *bool `` /* 147-byte string literal not displayed */
	// Whether or not sending is enabled for email logs.
	EmailSendEnabled *bool `url:"email_send_enabled,omitempty" json:"email_send_enabled,omitempty" path:"email_send_enabled"`
	// Whether or not sending is enabled for exavault_api_request logs.
	ExavaultApiRequestSendEnabled *bool `` /* 141-byte string literal not displayed */
	// Whether or not sending is enabled for settings_change logs.
	SettingsChangeSendEnabled *bool `` /* 126-byte string literal not displayed */
}

SiemHttpDestinationSendTestEntryParams contains the request parameters for POST /siem_http_destinations/send_test_entry.

type SiemHttpDestinationUpdateParams ¶ added in v3.2.49

type SiemHttpDestinationUpdateParams struct {
	// Siem Http Destination ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Name for this Destination.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Additional HTTP Headers included in calls to the destination URL.
	AdditionalHeaders interface{} `url:"additional_headers,omitempty" json:"additional_headers,omitempty" path:"additional_headers"`
	// Whether this SIEM HTTP Destination is currently being sent to or not.
	SendingActive *bool `url:"sending_active,omitempty" json:"sending_active,omitempty" path:"sending_active"`
	// Applicable only for destination type: generic. Indicates the type of HTTP body. Can be json_newline or json_array. json_newline is multiple log entries as JSON separated by newlines. json_array is a single JSON array containing multiple log entries as JSON. Values: json_newline, json_array.
	GenericPayloadType SiemHttpDestinationGenericPayloadTypeEnum `url:"generic_payload_type,omitempty" json:"generic_payload_type,omitempty" path:"generic_payload_type"`
	// Applicable only for destination type: file. Destination folder path on Files.com.
	FileDestinationPath string `url:"file_destination_path,omitempty" json:"file_destination_path,omitempty" path:"file_destination_path"`
	// Applicable only for destination type: file. Generated file format. Values: json, csv.
	FileFormat SiemHttpDestinationFileFormatEnum `url:"file_format,omitempty" json:"file_format,omitempty" path:"file_format"`
	// Applicable only for destination type: file. Interval, in minutes, between file deliveries. Valid values are 5, 10, 15, 20, 30, 60, 90, 180, 240, 360.
	FileIntervalMinutes int64 `url:"file_interval_minutes,omitempty" json:"file_interval_minutes,omitempty" path:"file_interval_minutes"`
	// Applicable only for destination types: splunk, splunk_compatible. Authentication token for the destination.
	SplunkToken string `url:"splunk_token,omitempty" json:"splunk_token,omitempty" path:"splunk_token"`
	// Applicable only for destination type: crowdstrike. Authentication token provided by Crowdstrike.
	CrowdstrikeToken string `url:"crowdstrike_token,omitempty" json:"crowdstrike_token,omitempty" path:"crowdstrike_token"`
	// Applicable only for destination types: azure, azure_legacy. Immutable ID of the Data Collection Rule.
	AzureDcrImmutableId string `url:"azure_dcr_immutable_id,omitempty" json:"azure_dcr_immutable_id,omitempty" path:"azure_dcr_immutable_id"`
	// Applicable only for destination type: azure. Name of the stream in the DCR that represents the destination table.
	AzureStreamName string `url:"azure_stream_name,omitempty" json:"azure_stream_name,omitempty" path:"azure_stream_name"`
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Tenant ID.
	AzureOauthClientCredentialsTenantId string `` /* 162-byte string literal not displayed */
	// Applicable only for destination types: azure, azure_legacy. Client Credentials OAuth Client ID.
	AzureOauthClientCredentialsClientId string `` /* 162-byte string literal not displayed */
	// Applicable only for destination type: azure. Client Credentials OAuth Client Secret.
	AzureOauthClientCredentialsClientSecret string `` /* 174-byte string literal not displayed */
	// Applicable only for destination type: qradar. Basic auth username provided by QRadar.
	QradarUsername string `url:"qradar_username,omitempty" json:"qradar_username,omitempty" path:"qradar_username"`
	// Applicable only for destination type: qradar. Basic auth password provided by QRadar.
	QradarPassword string `url:"qradar_password,omitempty" json:"qradar_password,omitempty" path:"qradar_password"`
	// Applicable only for destination type: solar_winds. Authentication token provided by Solar Winds.
	SolarWindsToken string `url:"solar_winds_token,omitempty" json:"solar_winds_token,omitempty" path:"solar_winds_token"`
	// Applicable only for destination type: new_relic. API key provided by New Relic.
	NewRelicApiKey string `url:"new_relic_api_key,omitempty" json:"new_relic_api_key,omitempty" path:"new_relic_api_key"`
	// Applicable only for destination type: datadog. API key provided by Datadog.
	DatadogApiKey string `url:"datadog_api_key,omitempty" json:"datadog_api_key,omitempty" path:"datadog_api_key"`
	// Whether or not sending is enabled for action logs.
	ActionSendEnabled *bool `url:"action_send_enabled,omitempty" json:"action_send_enabled,omitempty" path:"action_send_enabled"`
	// Whether or not sending is enabled for sftp_action logs.
	SftpActionSendEnabled *bool `url:"sftp_action_send_enabled,omitempty" json:"sftp_action_send_enabled,omitempty" path:"sftp_action_send_enabled"`
	// Whether or not sending is enabled for ftp_action logs.
	FtpActionSendEnabled *bool `url:"ftp_action_send_enabled,omitempty" json:"ftp_action_send_enabled,omitempty" path:"ftp_action_send_enabled"`
	// Whether or not sending is enabled for web_dav_action logs.
	WebDavActionSendEnabled *bool `url:"web_dav_action_send_enabled,omitempty" json:"web_dav_action_send_enabled,omitempty" path:"web_dav_action_send_enabled"`
	// Whether or not sending is enabled for sync logs.
	SyncSendEnabled *bool `url:"sync_send_enabled,omitempty" json:"sync_send_enabled,omitempty" path:"sync_send_enabled"`
	// Whether or not sending is enabled for outbound_connection logs.
	OutboundConnectionSendEnabled *bool `` /* 138-byte string literal not displayed */
	// Whether or not sending is enabled for automation logs.
	AutomationSendEnabled *bool `url:"automation_send_enabled,omitempty" json:"automation_send_enabled,omitempty" path:"automation_send_enabled"`
	// Whether or not sending is enabled for api_request logs.
	ApiRequestSendEnabled *bool `url:"api_request_send_enabled,omitempty" json:"api_request_send_enabled,omitempty" path:"api_request_send_enabled"`
	// Whether or not sending is enabled for public_hosting_request logs.
	PublicHostingRequestSendEnabled *bool `` /* 147-byte string literal not displayed */
	// Whether or not sending is enabled for email logs.
	EmailSendEnabled *bool `url:"email_send_enabled,omitempty" json:"email_send_enabled,omitempty" path:"email_send_enabled"`
	// Whether or not sending is enabled for exavault_api_request logs.
	ExavaultApiRequestSendEnabled *bool `` /* 141-byte string literal not displayed */
	// Whether or not sending is enabled for settings_change logs.
	SettingsChangeSendEnabled *bool `` /* 126-byte string literal not displayed */
	// Destination Type. Values: generic, splunk, azure_legacy, qradar, sumo, rapid7, solar_winds, new_relic, datadog, azure, file, crowdstrike, splunk_compatible.
	DestinationType SiemHttpDestinationDestinationTypeEnum `url:"destination_type,omitempty" json:"destination_type,omitempty" path:"destination_type"`
	// Destination Url.
	DestinationUrl string `url:"destination_url,omitempty" json:"destination_url,omitempty" path:"destination_url"`
}

SiemHttpDestinationUpdateParams contains the request parameters for PATCH /siem_http_destinations/{id}.

type SignRequest ¶

type SignRequest struct {
	Version   string `json:"version"`
	KeyHandle string `json:"keyHandle"`
}

SignRequest contains a U2F signing request returned during authentication.

type Site ¶

type Site struct {
	// Site Id.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Site name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Additional extensions that are considered text files.
	AdditionalTextFileTypes []string `` /* 130-byte string literal not displayed */
	// Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
	AiFeatureAvailability interface{} `json:"ai_feature_availability,omitempty" path:"ai_feature_availability,omitempty" url:"ai_feature_availability,omitempty"`
	// Is SMS two factor authentication allowed?
	Allowed2faMethodSms *bool `json:"allowed_2fa_method_sms,omitempty" path:"allowed_2fa_method_sms,omitempty" url:"allowed_2fa_method_sms,omitempty"`
	// Is TOTP two factor authentication allowed?
	Allowed2faMethodTotp *bool `json:"allowed_2fa_method_totp,omitempty" path:"allowed_2fa_method_totp,omitempty" url:"allowed_2fa_method_totp,omitempty"`
	// Is WebAuthn two factor authentication allowed?
	Allowed2faMethodWebauthn *bool `` /* 133-byte string literal not displayed */
	// Is yubikey two factor authentication allowed?
	Allowed2faMethodYubi *bool `json:"allowed_2fa_method_yubi,omitempty" path:"allowed_2fa_method_yubi,omitempty" url:"allowed_2fa_method_yubi,omitempty"`
	// Is OTP via email two factor authentication allowed?
	Allowed2faMethodEmail *bool `json:"allowed_2fa_method_email,omitempty" path:"allowed_2fa_method_email,omitempty" url:"allowed_2fa_method_email,omitempty"`
	// Is OTP via static codes for two factor authentication allowed?
	Allowed2faMethodStatic *bool `` /* 127-byte string literal not displayed */
	// Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
	Allowed2faMethodBypassForFtpSftpDav *bool `` /* 178-byte string literal not displayed */
	// User ID for the main site administrator.
	AdminUserId int64 `json:"admin_user_id,omitempty" path:"admin_user_id,omitempty" url:"admin_user_id,omitempty"`
	// Allow admins to bypass the locked subfolders setting.
	AdminsBypassLockedSubfolders *bool `` /* 145-byte string literal not displayed */
	// Are manual Bundle names allowed?
	AllowBundleNames *bool `json:"allow_bundle_names,omitempty" path:"allow_bundle_names,omitempty" url:"allow_bundle_names,omitempty"`
	// Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
	AllowUserLevel2faOverride *bool `` /* 139-byte string literal not displayed */
	// Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
	AllowUserLevelAllowedIpOverride *bool `` /* 160-byte string literal not displayed */
	// Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
	AllowUserLevelSslOverride *bool `` /* 139-byte string literal not displayed */
	// Comma separated list of allowed Country codes.
	AllowedCountries string `json:"allowed_countries,omitempty" path:"allowed_countries,omitempty" url:"allowed_countries,omitempty"`
	// List of allowed IP addresses.
	AllowedIps string `json:"allowed_ips,omitempty" path:"allowed_ips,omitempty" url:"allowed_ips,omitempty"`
	// Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
	AlwaysMkdirParents *bool `json:"always_mkdir_parents,omitempty" path:"always_mkdir_parents,omitempty" url:"always_mkdir_parents,omitempty"`
	// Number of days to retain AS2 messages (incoming and outgoing).
	As2MessageRetentionDays int64 `` /* 130-byte string literal not displayed */
	// If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
	AskAboutOverwrites *bool `json:"ask_about_overwrites,omitempty" path:"ask_about_overwrites,omitempty" url:"ask_about_overwrites,omitempty"`
	// Do Bundle owners receive activity notifications?
	BundleActivityNotifications string `` /* 139-byte string literal not displayed */
	// Site-wide Bundle expiration in days.
	BundleExpiration int64 `json:"bundle_expiration,omitempty" path:"bundle_expiration,omitempty" url:"bundle_expiration,omitempty"`
	// Custom error message to show when bundle is not found.
	BundleNotFoundMessage string `json:"bundle_not_found_message,omitempty" path:"bundle_not_found_message,omitempty" url:"bundle_not_found_message,omitempty"`
	// Do Bundles require password protection?
	BundlePasswordRequired *bool `json:"bundle_password_required,omitempty" path:"bundle_password_required,omitempty" url:"bundle_password_required,omitempty"`
	// If true, new Share Links created by a user with a primary group will default to that group as owner.
	BundlesDefaultOwnedByPrimaryGroup *bool `` /* 166-byte string literal not displayed */
	// List of email domains to disallow when entering a Bundle/Inbox recipients.
	BundleRecipientBlacklistDomains []string `` /* 154-byte string literal not displayed */
	// Disallow free email domains for Bundle/Inbox recipients?
	BundleRecipientBlacklistFreeEmailDomains *bool `` /* 187-byte string literal not displayed */
	// Do Bundle owners receive registration notification?
	BundleRegistrationNotifications string `` /* 151-byte string literal not displayed */
	// Do Bundles require registration?
	BundleRequireRegistration *bool `` /* 133-byte string literal not displayed */
	// Do Bundles require recipients for sharing?
	BundleRequireShareRecipient *bool `` /* 142-byte string literal not displayed */
	// If true, new Share Links must send a one-time password to the recipient when they register. Requires bundle_require_share_recipient and cannot be enabled with bundle_password_required.
	BundleSendOneTimePasswordToRecipientAtRegistration *bool `` /* 226-byte string literal not displayed */
	// Do Bundles require internal notes?
	BundleRequireNote *bool `json:"bundle_require_note,omitempty" path:"bundle_require_note,omitempty" url:"bundle_require_note,omitempty"`
	// Do Bundle creators receive receipts of invitations?
	BundleSendSharedReceipts *bool `` /* 133-byte string literal not displayed */
	// Do Bundle uploaders receive upload confirmation notifications?
	BundleUploadReceiptNotifications string `` /* 157-byte string literal not displayed */
	// Preview watermark image applied to all bundle items.
	BundleWatermarkAttachment Image `` /* 133-byte string literal not displayed */
	// Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value.
	BundleWatermarkValue interface{} `json:"bundle_watermark_value,omitempty" path:"bundle_watermark_value,omitempty" url:"bundle_watermark_value,omitempty"`
	// Calculate CRC32 checksums for files?
	CalculateFileChecksumsCrc32 *bool `` /* 142-byte string literal not displayed */
	// Calculate MD5 checksums for files?
	CalculateFileChecksumsMd5 *bool `` /* 136-byte string literal not displayed */
	// Calculate SHA1 checksums for files?
	CalculateFileChecksumsSha1 *bool `` /* 139-byte string literal not displayed */
	// Calculate SHA256 checksums for files?
	CalculateFileChecksumsSha256 *bool `` /* 145-byte string literal not displayed */
	// If true, administrators on this site's Child Sites, including Folder Admins, can list this site's Default Workspace users and groups and grant them folder permissions and notifications on Child Site paths.
	ChildSiteFolderAdminsCanSeeParentSiteDirectory *bool `` /* 214-byte string literal not displayed */
	// If true, Workspace Administrators and Folder Admins in a Custom Workspace can list the Default Workspace users and groups that have permissions in that Workspace and choose them as Email Notification recipients.
	WorkspaceFolderAdminsCanSeeDefaultWorkspaceDirectory *bool `` /* 229-byte string literal not displayed */
	// Require email authentication, virus, and spam checks for incoming emails to Inboxes and Incoming Email Automations in every Workspace on this site?
	UploadsViaEmailAuthentication *bool `` /* 148-byte string literal not displayed */
	// Page link and button color.
	Color2Left string `json:"color2_left,omitempty" path:"color2_left,omitempty" url:"color2_left,omitempty"`
	// Top bar link color.
	Color2Link string `json:"color2_link,omitempty" path:"color2_link,omitempty" url:"color2_link,omitempty"`
	// Page link and button color.
	Color2Text string `json:"color2_text,omitempty" path:"color2_text,omitempty" url:"color2_text,omitempty"`
	// Top bar background color.
	Color2Top string `json:"color2_top,omitempty" path:"color2_top,omitempty" url:"color2_top,omitempty"`
	// Top bar text color.
	Color2TopText string `json:"color2_top_text,omitempty" path:"color2_top_text,omitempty" url:"color2_top_text,omitempty"`
	// Site main contact name.
	ContactName string `json:"contact_name,omitempty" path:"contact_name,omitempty" url:"contact_name,omitempty"`
	// Time this site was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Preferred currency.
	Currency string `json:"currency,omitempty" path:"currency,omitempty" url:"currency,omitempty"`
	// Is this site using a custom namespace for users?
	CustomNamespace *bool `json:"custom_namespace,omitempty" path:"custom_namespace,omitempty" url:"custom_namespace,omitempty"`
	// Is WebDAV enabled?
	DavEnabled *bool `json:"dav_enabled,omitempty" path:"dav_enabled,omitempty" url:"dav_enabled,omitempty"`
	// Use user FTP roots also for WebDAV?
	DavUserRootEnabled *bool `json:"dav_user_root_enabled,omitempty" path:"dav_user_root_enabled,omitempty" url:"dav_user_root_enabled,omitempty"`
	// Number of days to keep deleted files.
	DaysToRetainBackups int64 `json:"days_to_retain_backups,omitempty" path:"days_to_retain_backups,omitempty" url:"days_to_retain_backups,omitempty"`
	// If true, allow public viewers of Bundles with full permissions to use document editing integrations.
	DocumentEditsInBundleAllowed *bool `` /* 148-byte string literal not displayed */
	// Site default time zone.
	DefaultTimeZone string `json:"default_time_zone,omitempty" path:"default_time_zone,omitempty" url:"default_time_zone,omitempty"`
	// Is the desktop app enabled?
	DesktopApp *bool `json:"desktop_app,omitempty" path:"desktop_app,omitempty" url:"desktop_app,omitempty"`
	// Is desktop app session IP pinning enabled?
	DesktopAppSessionIpPinning *bool `` /* 142-byte string literal not displayed */
	// Desktop app session lifetime (in hours).
	DesktopAppSessionLifetime int64 `` /* 136-byte string literal not displayed */
	// Use legacy checksums mode?
	LegacyChecksumsMode *bool `json:"legacy_checksums_mode,omitempty" path:"legacy_checksums_mode,omitempty" url:"legacy_checksums_mode,omitempty"`
	// If true, we will migrate all remote server syncs to the new Sync model.
	MigrateRemoteServerSyncToSync *bool `` /* 154-byte string literal not displayed */
	// Is OAuth DCR (dynamic client registration) for MCP enabled?
	McpDcrEnabled *bool `json:"mcp_dcr_enabled,omitempty" path:"mcp_dcr_enabled,omitempty" url:"mcp_dcr_enabled,omitempty"`
	// Is the mobile app enabled?
	MobileApp *bool `json:"mobile_app,omitempty" path:"mobile_app,omitempty" url:"mobile_app,omitempty"`
	// Is mobile app session IP pinning enabled?
	MobileAppSessionIpPinning *bool `` /* 139-byte string literal not displayed */
	// Mobile app session lifetime (in hours).
	MobileAppSessionLifetime int64 `` /* 133-byte string literal not displayed */
	// Comma separated list of disallowed Country codes.
	DisallowedCountries string `json:"disallowed_countries,omitempty" path:"disallowed_countries,omitempty" url:"disallowed_countries,omitempty"`
	// If true, all AI features are disabled for this site.
	DisableAllAiFeatures *bool `json:"disable_all_ai_features,omitempty" path:"disable_all_ai_features,omitempty" url:"disable_all_ai_features,omitempty"`
	// If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
	DisableFilesCertificateGeneration *bool `` /* 160-byte string literal not displayed */
	// Are notifications disabled?
	DisableNotifications *bool `json:"disable_notifications,omitempty" path:"disable_notifications,omitempty" url:"disable_notifications,omitempty"`
	// If true, file operations produce file_action.activity.v1 EventChannel events in all workspaces. Defaults to false; subscription filters and workspace access still control delivery.
	FileActivityEventsEnabled *bool `` /* 136-byte string literal not displayed */
	// Is password reset disabled?
	DisablePasswordReset *bool `json:"disable_password_reset,omitempty" path:"disable_password_reset,omitempty" url:"disable_password_reset,omitempty"`
	// Custom domain.
	Domain string `json:"domain,omitempty" path:"domain,omitempty" url:"domain,omitempty"`
	// Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
	DomainHstsHeader *bool `json:"domain_hsts_header,omitempty" path:"domain_hsts_header,omitempty" url:"domain_hsts_header,omitempty"`
	// Letsencrypt chain to use when registering SSL Certificate for domain. No longer used as of 2026.
	DomainLetsencryptChain string `json:"domain_letsencrypt_chain,omitempty" path:"domain_letsencrypt_chain,omitempty" url:"domain_letsencrypt_chain,omitempty"`
	// Main email for this site.
	Email string `json:"email,omitempty" path:"email,omitempty" url:"email,omitempty"`
	// Are FedRAMP security restrictions enabled for this site?
	Fedramp *bool `json:"fedramp,omitempty" path:"fedramp,omitempty" url:"fedramp,omitempty"`
	// Allow other Files.com sites to use this site's API keys for native Files.com Remote Server connections? Defaults to true and applies to all keys and workspaces on this site. When false, new pairings and access through existing connections are rejected without revoking keys or deleting connections. Re-enabling permits access again with usable keys. Does not disable this site's connections to other sites, ordinary API access, or Connected Sites.
	FilesComRemoteServerEnabled *bool `` /* 145-byte string literal not displayed */
	// Is FTP enabled?
	FtpEnabled *bool `json:"ftp_enabled,omitempty" path:"ftp_enabled,omitempty" url:"ftp_enabled,omitempty"`
	// Reply-to email for this site.
	ReplyToEmail string `json:"reply_to_email,omitempty" path:"reply_to_email,omitempty" url:"reply_to_email,omitempty"`
	// If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
	NonSsoGroupsAllowed *bool `json:"non_sso_groups_allowed,omitempty" path:"non_sso_groups_allowed,omitempty" url:"non_sso_groups_allowed,omitempty"`
	// If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
	NonSsoUsersAllowed *bool `json:"non_sso_users_allowed,omitempty" path:"non_sso_users_allowed,omitempty" url:"non_sso_users_allowed,omitempty"`
	// If true, permissions for this site must be bound to a group (not a user).
	FolderPermissionsGroupsOnly *bool `` /* 142-byte string literal not displayed */
	// Allow group admins to create users in their groups.
	GroupAdminsCanAddUsers *bool `` /* 130-byte string literal not displayed */
	// Allow group admins to add or remove existing users in their groups.
	GroupAdminsCanManageGroupMemberships *bool `` /* 175-byte string literal not displayed */
	// Allow group admins to delete users in their groups.
	GroupAdminsCanDeleteUsers *bool `` /* 139-byte string literal not displayed */
	// Allow group admins to enable or disable users in their groups.
	GroupAdminsCanEnableDisableUsers *bool `` /* 163-byte string literal not displayed */
	// Allow group admins to modify users in their groups.
	GroupAdminsCanModifyUsers *bool `` /* 139-byte string literal not displayed */
	// Allow group admins to exempt users in their groups from lifecycle rules.
	GroupAdminsCanBypassUserLifecycleRules *bool `` /* 184-byte string literal not displayed */
	// Allow group admins to reset passwords for users in their groups.
	GroupAdminsCanResetPasswords *bool `` /* 148-byte string literal not displayed */
	// Allow group admins to set password authentication method.
	GroupAdminsCanSetUserPassword *bool `` /* 154-byte string literal not displayed */
	// Is there a signed HIPAA BAA between Files.com and this site?
	Hipaa *bool `json:"hipaa,omitempty" path:"hipaa,omitempty" url:"hipaa,omitempty"`
	// Branded icon 128x128.
	Icon128 Image `json:"icon128,omitempty" path:"icon128,omitempty" url:"icon128,omitempty"`
	// Branded icon 16x16.
	Icon16 Image `json:"icon16,omitempty" path:"icon16,omitempty" url:"icon16,omitempty"`
	// Branded icon 32x32.
	Icon32 Image `json:"icon32,omitempty" path:"icon32,omitempty" url:"icon32,omitempty"`
	// Branded icon 48x48.
	Icon48 Image `json:"icon48,omitempty" path:"icon48,omitempty" url:"icon48,omitempty"`
	// Can files be modified?
	ImmutableFilesSetAt *time.Time `json:"immutable_files_set_at,omitempty" path:"immutable_files_set_at,omitempty" url:"immutable_files_set_at,omitempty"`
	// Include password in emails to new users?
	IncludePasswordInWelcomeEmail *bool `` /* 151-byte string literal not displayed */
	// Site default language.
	Language string `json:"language,omitempty" path:"language,omitempty" url:"language,omitempty"`
	// Base DN for looking up users in LDAP server.
	LdapBaseDn string `json:"ldap_base_dn,omitempty" path:"ldap_base_dn,omitempty" url:"ldap_base_dn,omitempty"`
	// Domain name that will be appended to usernames.
	LdapDomain string `json:"ldap_domain,omitempty" path:"ldap_domain,omitempty" url:"ldap_domain,omitempty"`
	// Main LDAP setting: is LDAP enabled?
	LdapEnabled *bool `json:"ldap_enabled,omitempty" path:"ldap_enabled,omitempty" url:"ldap_enabled,omitempty"`
	// Should we sync groups from LDAP server?
	LdapGroupAction string `json:"ldap_group_action,omitempty" path:"ldap_group_action,omitempty" url:"ldap_group_action,omitempty"`
	// Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
	LdapGroupExclusion string `json:"ldap_group_exclusion,omitempty" path:"ldap_group_exclusion,omitempty" url:"ldap_group_exclusion,omitempty"`
	// Comma or newline separated list of group names (with optional wildcards) to include when syncing.
	LdapGroupInclusion string `json:"ldap_group_inclusion,omitempty" path:"ldap_group_inclusion,omitempty" url:"ldap_group_inclusion,omitempty"`
	// LDAP host.
	LdapHost string `json:"ldap_host,omitempty" path:"ldap_host,omitempty" url:"ldap_host,omitempty"`
	// LDAP backup host.
	LdapHost2 string `json:"ldap_host_2,omitempty" path:"ldap_host_2,omitempty" url:"ldap_host_2,omitempty"`
	// LDAP backup host.
	LdapHost3 string `json:"ldap_host_3,omitempty" path:"ldap_host_3,omitempty" url:"ldap_host_3,omitempty"`
	// LDAP port.
	LdapPort int64 `json:"ldap_port,omitempty" path:"ldap_port,omitempty" url:"ldap_port,omitempty"`
	// Use secure LDAP?
	LdapSecure *bool `json:"ldap_secure,omitempty" path:"ldap_secure,omitempty" url:"ldap_secure,omitempty"`
	// How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
	LdapServerCertificate string `json:"ldap_server_certificate,omitempty" path:"ldap_server_certificate,omitempty" url:"ldap_server_certificate,omitempty"`
	// LDAP type.
	LdapType string `json:"ldap_type,omitempty" path:"ldap_type,omitempty" url:"ldap_type,omitempty"`
	// Should we sync users from LDAP server?
	LdapUserAction string `json:"ldap_user_action,omitempty" path:"ldap_user_action,omitempty" url:"ldap_user_action,omitempty"`
	// Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
	LdapUserIncludeGroups string `json:"ldap_user_include_groups,omitempty" path:"ldap_user_include_groups,omitempty" url:"ldap_user_include_groups,omitempty"`
	// Username for signing in to LDAP server.
	LdapUsername string `json:"ldap_username,omitempty" path:"ldap_username,omitempty" url:"ldap_username,omitempty"`
	// LDAP username field.
	LdapUsernameField string `json:"ldap_username_field,omitempty" path:"ldap_username_field,omitempty" url:"ldap_username_field,omitempty"`
	// Login help text.
	LoginHelpText string `json:"login_help_text,omitempty" path:"login_help_text,omitempty" url:"login_help_text,omitempty"`
	Logo Image `json:"logo,omitempty" path:"logo,omitempty" url:"logo,omitempty"`
	// Branded login page background.
	LoginPageBackgroundImage Image `` /* 133-byte string literal not displayed */
	// Number of prior passwords to disallow.
	MaxPriorPasswords int64 `json:"max_prior_passwords,omitempty" path:"max_prior_passwords,omitempty" url:"max_prior_passwords,omitempty"`
	// Site settings managed by the parent site. Each key identifies a managed setting, with a null value. Non-secret effective values are returned in their own Site settings fields.
	ManagedSiteSettings interface{} `json:"managed_site_settings,omitempty" path:"managed_site_settings,omitempty" url:"managed_site_settings,omitempty"`
	// A message to show users when they connect via FTP or SFTP.
	MotdText string `json:"motd_text,omitempty" path:"motd_text,omitempty" url:"motd_text,omitempty"`
	// Show message to users connecting via FTP.
	MotdUseForFtp *bool `json:"motd_use_for_ftp,omitempty" path:"motd_use_for_ftp,omitempty" url:"motd_use_for_ftp,omitempty"`
	// Show message to users connecting via SFTP.
	MotdUseForSftp *bool `json:"motd_use_for_sftp,omitempty" path:"motd_use_for_sftp,omitempty" url:"motd_use_for_sftp,omitempty"`
	// Next billing amount.
	NextBillingAmount string `json:"next_billing_amount,omitempty" path:"next_billing_amount,omitempty" url:"next_billing_amount,omitempty"`
	// Next billing date.
	NextBillingDate string `json:"next_billing_date,omitempty" path:"next_billing_date,omitempty" url:"next_billing_date,omitempty"`
	// If true, allows users to use a document editing integration.
	OfficeIntegrationAvailable *bool `` /* 136-byte string literal not displayed */
	// Which document editing integration to support. Files.com Editor or Microsoft Office for the Web.
	OfficeIntegrationType string `json:"office_integration_type,omitempty" path:"office_integration_type,omitempty" url:"office_integration_type,omitempty"`
	// Link to scheduling a meeting with our Sales team.
	OncehubLink string `json:"oncehub_link,omitempty" path:"oncehub_link,omitempty" url:"oncehub_link,omitempty"`
	// Use servers in the USA only?
	OptOutGlobal *bool `json:"opt_out_global,omitempty" path:"opt_out_global,omitempty" url:"opt_out_global,omitempty"`
	// Is this site's billing overdue?
	Overdue *bool `json:"overdue,omitempty" path:"overdue,omitempty" url:"overdue,omitempty"`
	// Shortest password length for users.
	PasswordMinLength int64 `json:"password_min_length,omitempty" path:"password_min_length,omitempty" url:"password_min_length,omitempty"`
	// Require a letter in passwords?
	PasswordRequireLetter *bool `json:"password_require_letter,omitempty" path:"password_require_letter,omitempty" url:"password_require_letter,omitempty"`
	// Require lower and upper case letters in passwords?
	PasswordRequireMixed *bool `json:"password_require_mixed,omitempty" path:"password_require_mixed,omitempty" url:"password_require_mixed,omitempty"`
	// Require a number in passwords?
	PasswordRequireNumber *bool `json:"password_require_number,omitempty" path:"password_require_number,omitempty" url:"password_require_number,omitempty"`
	// Require special characters in password?
	PasswordRequireSpecial *bool `json:"password_require_special,omitempty" path:"password_require_special,omitempty" url:"password_require_special,omitempty"`
	// Require passwords that have not been previously breached? (see https://haveibeenpwned.com/).
	PasswordRequireUnbreached *bool `` /* 133-byte string literal not displayed */
	// Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
	PasswordRequirementsApplyToBundles *bool `` /* 166-byte string literal not displayed */
	// Number of days password is valid.
	PasswordValidityDays int64 `json:"password_validity_days,omitempty" path:"password_validity_days,omitempty" url:"password_validity_days,omitempty"`
	// Site phone number.
	Phone string `json:"phone,omitempty" path:"phone,omitempty" url:"phone,omitempty"`
	// If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
	PinAllRemoteServersToSiteRegion *bool `` /* 163-byte string literal not displayed */
	// If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
	PreventRootPermissionsForNonSiteAdmins *bool `` /* 184-byte string literal not displayed */
	// If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
	ProtocolAccessGroupsOnly *bool `` /* 133-byte string literal not displayed */
	// Require two-factor authentication for all users?
	Require2fa *bool `json:"require_2fa,omitempty" path:"require_2fa,omitempty" url:"require_2fa,omitempty"`
	// If true, only site admins may create, modify, or delete any behavior at the site root, or a skip that would disable one.
	RestrictRootFolderBehaviorsToSiteAdmins *bool `` /* 187-byte string literal not displayed */
	// If true, supported protective behaviors at the site root also apply within named workspaces. Requires restrict_root_folder_behaviors_to_site_admins to be enabled.
	RootFolderBehaviorsApplyToWorkspaces *bool `` /* 175-byte string literal not displayed */
	// If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
	Require2faExemptAllSsoUsers *bool `` /* 148-byte string literal not displayed */
	// If set, requirement for two-factor authentication has been scheduled to end on this date-time.
	Require2faStopTime *time.Time `json:"require_2fa_stop_time,omitempty" path:"require_2fa_stop_time,omitempty" url:"require_2fa_stop_time,omitempty"`
	// Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
	RevokeBundleAccessOnDisableOrDelete *bool `` /* 175-byte string literal not displayed */
	// What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
	Require2faUserType string `json:"require_2fa_user_type,omitempty" path:"require_2fa_user_type,omitempty" url:"require_2fa_user_type,omitempty"`
	// If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
	RequireLogoutFromBundlesAndInboxes *bool `` /* 169-byte string literal not displayed */
	// Current session.
	Session Session `json:"session,omitempty" path:"session,omitempty" url:"session,omitempty"`
	// Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
	S3CompatibleEndpointEnabled *bool `` /* 142-byte string literal not displayed */
	// Is SFTP enabled?
	SftpEnabled *bool `json:"sftp_enabled,omitempty" path:"sftp_enabled,omitempty" url:"sftp_enabled,omitempty"`
	// Finalize partial SFTP uploads from interrupted connections? Default: true.
	SftpFinalizePartialUploads *bool `` /* 139-byte string literal not displayed */
	// Sftp Host Key Type.
	SftpHostKeyType string `json:"sftp_host_key_type,omitempty" path:"sftp_host_key_type,omitempty" url:"sftp_host_key_type,omitempty"`
	// Id of the currently selected custom SFTP Host Key.
	ActiveSftpHostKeyId int64 `json:"active_sftp_host_key_id,omitempty" path:"active_sftp_host_key_id,omitempty" url:"active_sftp_host_key_id,omitempty"`
	// Ids of the selected custom SFTP Host Keys.
	ActiveSftpHostKeyIds []int64 `json:"active_sftp_host_key_ids,omitempty" path:"active_sftp_host_key_ids,omitempty" url:"active_sftp_host_key_ids,omitempty"`
	// If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
	SftpInsecureCiphers *bool `json:"sftp_insecure_ciphers,omitempty" path:"sftp_insecure_ciphers,omitempty" url:"sftp_insecure_ciphers,omitempty"`
	// If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
	SftpInsecureDiffieHellman *bool `` /* 136-byte string literal not displayed */
	// Use user FTP roots also for SFTP?
	SftpUserRootEnabled *bool `json:"sftp_user_root_enabled,omitempty" path:"sftp_user_root_enabled,omitempty" url:"sftp_user_root_enabled,omitempty"`
	// Allow bundle creation.
	SharingEnabled *bool `json:"sharing_enabled,omitempty" path:"sharing_enabled,omitempty" url:"sharing_enabled,omitempty"`
	// Show log in link in user notifications?
	ShowUserNotificationsLogInLink *bool `` /* 157-byte string literal not displayed */
	// Show request access link for users without access? Currently unused.
	ShowRequestAccessLink *bool `json:"show_request_access_link,omitempty" path:"show_request_access_link,omitempty" url:"show_request_access_link,omitempty"`
	// Custom site footer text for authenticated pages.
	SiteFooter string `json:"site_footer,omitempty" path:"site_footer,omitempty" url:"site_footer,omitempty"`
	// Custom site header text for authenticated pages.
	SiteHeader string `json:"site_header,omitempty" path:"site_header,omitempty" url:"site_header,omitempty"`
	// Custom site footer text for public pages.
	SitePublicFooter string `json:"site_public_footer,omitempty" path:"site_public_footer,omitempty" url:"site_public_footer,omitempty"`
	// Custom site header text for public pages.
	SitePublicHeader string `json:"site_public_header,omitempty" path:"site_public_header,omitempty" url:"site_public_header,omitempty"`
	// SMTP server hostname or IP.
	SmtpAddress string `json:"smtp_address,omitempty" path:"smtp_address,omitempty" url:"smtp_address,omitempty"`
	// SMTP server authentication type.
	SmtpAuthentication string `json:"smtp_authentication,omitempty" path:"smtp_authentication,omitempty" url:"smtp_authentication,omitempty"`
	// From address to use when mailing through custom SMTP.
	SmtpFrom string `json:"smtp_from,omitempty" path:"smtp_from,omitempty" url:"smtp_from,omitempty"`
	// SMTP server port.
	SmtpPort int64 `json:"smtp_port,omitempty" path:"smtp_port,omitempty" url:"smtp_port,omitempty"`
	// Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted. A certificate-verified STARTTLS connection automatically changes if_available to require unless smtp_ssl is managed by a parent policy. require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address. Encryption is never automatically downgraded.
	SmtpSsl string `json:"smtp_ssl,omitempty" path:"smtp_ssl,omitempty" url:"smtp_ssl,omitempty"`
	// SMTP server username.
	SmtpUsername string `json:"smtp_username,omitempty" path:"smtp_username,omitempty" url:"smtp_username,omitempty"`
	// Session expiry in minutes.
	SessionExpiryMinutes int64 `json:"session_expiry_minutes,omitempty" path:"session_expiry_minutes,omitempty" url:"session_expiry_minutes,omitempty"`
	// Allow snapshot share links creation.
	SnapshotSharingEnabled *bool `json:"snapshot_sharing_enabled,omitempty" path:"snapshot_sharing_enabled,omitempty" url:"snapshot_sharing_enabled,omitempty"`
	// Is SSL required? Disabling this is insecure.
	SslRequired *bool `json:"ssl_required,omitempty" path:"ssl_required,omitempty" url:"ssl_required,omitempty"`
	// Site subdomain.
	Subdomain string `json:"subdomain,omitempty" path:"subdomain,omitempty" url:"subdomain,omitempty"`
	// If switching plans, when does the new plan take effect?
	SwitchToPlanDate *time.Time `json:"switch_to_plan_date,omitempty" path:"switch_to_plan_date,omitempty" url:"switch_to_plan_date,omitempty"`
	// Number of days left in trial.
	TrialDaysLeft int64 `json:"trial_days_left,omitempty" path:"trial_days_left,omitempty" url:"trial_days_left,omitempty"`
	// When does this Site trial expire?
	TrialUntil *time.Time `json:"trial_until,omitempty" path:"trial_until,omitempty" url:"trial_until,omitempty"`
	// If using custom SMTP, should we use dedicated IPs to deliver emails?
	UseDedicatedIpsForSmtp *bool `` /* 130-byte string literal not displayed */
	// Allow uploaders to set `provided_modified_at` for uploaded files?
	UseProvidedModifiedAt *bool `json:"use_provided_modified_at,omitempty" path:"use_provided_modified_at,omitempty" url:"use_provided_modified_at,omitempty"`
	// User of current session.
	User User `json:"user,omitempty" path:"user,omitempty" url:"user,omitempty"`
	// Will users be locked out after incorrect login attempts?
	UserLockout *bool `json:"user_lockout,omitempty" path:"user_lockout,omitempty" url:"user_lockout,omitempty"`
	// How many hours to lock user out for failed password?
	UserLockoutLockPeriod int64 `json:"user_lockout_lock_period,omitempty" path:"user_lockout_lock_period,omitempty" url:"user_lockout_lock_period,omitempty"`
	// Number of login tries within `user_lockout_within` hours before users are locked out.
	UserLockoutTries int64 `json:"user_lockout_tries,omitempty" path:"user_lockout_tries,omitempty" url:"user_lockout_tries,omitempty"`
	// Number of hours for user lockout window.
	UserLockoutWithin int64 `json:"user_lockout_within,omitempty" path:"user_lockout_within,omitempty" url:"user_lockout_within,omitempty"`
	// Enable User Requests feature.
	UserRequestsEnabled *bool `json:"user_requests_enabled,omitempty" path:"user_requests_enabled,omitempty" url:"user_requests_enabled,omitempty"`
	// Send email to site admins when a user request is received?
	UserRequestsNotifyAdmins *bool `` /* 133-byte string literal not displayed */
	// Allow users to create their own API keys?
	UsersCanCreateApiKeys *bool `` /* 127-byte string literal not displayed */
	// Allow users to create their own SSH keys?
	UsersCanCreateSshKeys *bool `` /* 127-byte string literal not displayed */
	// How usernames are displayed in the web UI. Can be `username_only`, `full_name_only`, `full_name_username`, `full_name_company`, or `full_name_username_company`.
	UsernameDisplay string `json:"username_display,omitempty" path:"username_display,omitempty" url:"username_display,omitempty"`
	// Custom text send in user welcome email.
	WelcomeCustomText string `json:"welcome_custom_text,omitempty" path:"welcome_custom_text,omitempty" url:"welcome_custom_text,omitempty"`
	// Custom footer text for system-generated emails (as Markdown). Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
	EmailFooterCustomText string `json:"email_footer_custom_text,omitempty" path:"email_footer_custom_text,omitempty" url:"email_footer_custom_text,omitempty"`
	// Include this email in welcome emails if enabled.
	WelcomeEmailCc string `json:"welcome_email_cc,omitempty" path:"welcome_email_cc,omitempty" url:"welcome_email_cc,omitempty"`
	// Include this email subject in welcome emails if enabled.
	WelcomeEmailSubject string `json:"welcome_email_subject,omitempty" path:"welcome_email_subject,omitempty" url:"welcome_email_subject,omitempty"`
	// Will the welcome email be sent to new users?
	WelcomeEmailEnabled *bool `json:"welcome_email_enabled,omitempty" path:"welcome_email_enabled,omitempty" url:"welcome_email_enabled,omitempty"`
	// Does the welcome screen appear?
	WelcomeScreen string `json:"welcome_screen,omitempty" path:"welcome_screen,omitempty" url:"welcome_screen,omitempty"`
	// Does FTP user Windows emulation mode?
	WindowsModeFtp *bool `json:"windows_mode_ftp,omitempty" path:"windows_mode_ftp,omitempty" url:"windows_mode_ftp,omitempty"`
}

Site is a Files.com API resource.

func (Site) Identifier ¶ added in v3.2.47

func (s Site) Identifier() interface{}

Identifier returns the resource ID.

func (*Site) UnmarshalJSON ¶

func (s *Site) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SiteCollection ¶

type SiteCollection []Site

SiteCollection is a list of Site resources.

func (*SiteCollection) ToSlice ¶

func (s *SiteCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SiteCollection) UnmarshalJSON ¶

func (s *SiteCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SiteSubdomainRedirect ¶ added in v3.3.102

type SiteSubdomainRedirect struct {
	// Site subdomain redirect ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Files.com subdomain that continues to route to the current site subdomain.
	Subdomain string `json:"subdomain,omitempty" path:"subdomain,omitempty" url:"subdomain,omitempty"`
	// When this redirect was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// When this redirect was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

SiteSubdomainRedirect is a Files.com API resource.

func (SiteSubdomainRedirect) Identifier ¶ added in v3.3.102

func (s SiteSubdomainRedirect) Identifier() interface{}

Identifier returns the resource ID.

func (*SiteSubdomainRedirect) UnmarshalJSON ¶ added in v3.3.102

func (s *SiteSubdomainRedirect) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SiteSubdomainRedirectCollection ¶ added in v3.3.102

type SiteSubdomainRedirectCollection []SiteSubdomainRedirect

SiteSubdomainRedirectCollection is a list of SiteSubdomainRedirect resources.

func (*SiteSubdomainRedirectCollection) ToSlice ¶ added in v3.3.102

func (s *SiteSubdomainRedirectCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SiteSubdomainRedirectCollection) UnmarshalJSON ¶ added in v3.3.102

func (s *SiteSubdomainRedirectCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SiteSubdomainRedirectDeleteParams ¶ added in v3.3.102

type SiteSubdomainRedirectDeleteParams struct {
	// Site Subdomain Redirect ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SiteSubdomainRedirectDeleteParams contains the request parameters for DELETE /site_subdomain_redirects/{id}.

type SiteSubdomainRedirectFindParams ¶ added in v3.3.102

type SiteSubdomainRedirectFindParams struct {
	// Site Subdomain Redirect ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SiteSubdomainRedirectFindParams contains the request parameters for GET /site_subdomain_redirects/{id}.

type SiteSubdomainRedirectListParams ¶ added in v3.3.102

type SiteSubdomainRedirectListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SiteSubdomainRedirectListParams contains the request parameters for GET /site_subdomain_redirects.

type SiteUpdateParams ¶

type SiteUpdateParams struct {
	// Site name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// Site subdomain.
	Subdomain string `url:"subdomain,omitempty" json:"subdomain,omitempty" path:"subdomain"`
	// Custom domain.
	Domain string `url:"domain,omitempty" json:"domain,omitempty" path:"domain"`
	// Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
	DomainHstsHeader *bool `url:"domain_hsts_header,omitempty" json:"domain_hsts_header,omitempty" path:"domain_hsts_header"`
	// Letsencrypt chain to use when registering SSL Certificate for domain. No longer used as of 2026.
	DomainLetsencryptChain string `url:"domain_letsencrypt_chain,omitempty" json:"domain_letsencrypt_chain,omitempty" path:"domain_letsencrypt_chain"`
	// Main email for this site.
	Email string `url:"email,omitempty" json:"email,omitempty" path:"email"`
	// Reply-to email for this site.
	ReplyToEmail string `url:"reply_to_email,omitempty" json:"reply_to_email,omitempty" path:"reply_to_email"`
	// Are manual Bundle names allowed?
	AllowBundleNames *bool `url:"allow_bundle_names,omitempty" json:"allow_bundle_names,omitempty" path:"allow_bundle_names"`
	// Site-wide Bundle expiration in days.
	BundleExpiration int64 `url:"bundle_expiration,omitempty" json:"bundle_expiration,omitempty" path:"bundle_expiration"`
	// Will the welcome email be sent to new users?
	WelcomeEmailEnabled *bool `url:"welcome_email_enabled,omitempty" json:"welcome_email_enabled,omitempty" path:"welcome_email_enabled"`
	// If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
	AskAboutOverwrites *bool `url:"ask_about_overwrites,omitempty" json:"ask_about_overwrites,omitempty" path:"ask_about_overwrites"`
	// Show request access link for users without access? Currently unused.
	ShowRequestAccessLink *bool `url:"show_request_access_link,omitempty" json:"show_request_access_link,omitempty" path:"show_request_access_link"`
	// Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
	AlwaysMkdirParents *bool `url:"always_mkdir_parents,omitempty" json:"always_mkdir_parents,omitempty" path:"always_mkdir_parents"`
	// Include this email in welcome emails if enabled.
	WelcomeEmailCc string `url:"welcome_email_cc,omitempty" json:"welcome_email_cc,omitempty" path:"welcome_email_cc"`
	// Include this email subject in welcome emails if enabled.
	WelcomeEmailSubject string `url:"welcome_email_subject,omitempty" json:"welcome_email_subject,omitempty" path:"welcome_email_subject"`
	// Custom text send in user welcome email.
	WelcomeCustomText string `url:"welcome_custom_text,omitempty" json:"welcome_custom_text,omitempty" path:"welcome_custom_text"`
	// Site default language.
	Language string `url:"language,omitempty" json:"language,omitempty" path:"language"`
	// Does FTP user Windows emulation mode?
	WindowsModeFtp *bool `url:"windows_mode_ftp,omitempty" json:"windows_mode_ftp,omitempty" path:"windows_mode_ftp"`
	// Site default time zone.
	DefaultTimeZone string `url:"default_time_zone,omitempty" json:"default_time_zone,omitempty" path:"default_time_zone"`
	// Is the desktop app enabled?
	DesktopApp *bool `url:"desktop_app,omitempty" json:"desktop_app,omitempty" path:"desktop_app"`
	// Is desktop app session IP pinning enabled?
	DesktopAppSessionIpPinning *bool `` /* 132-byte string literal not displayed */
	// Desktop app session lifetime (in hours).
	DesktopAppSessionLifetime int64 `` /* 126-byte string literal not displayed */
	// Is the mobile app enabled?
	MobileApp *bool `url:"mobile_app,omitempty" json:"mobile_app,omitempty" path:"mobile_app"`
	// Is mobile app session IP pinning enabled?
	MobileAppSessionIpPinning *bool `` /* 129-byte string literal not displayed */
	// Mobile app session lifetime (in hours).
	MobileAppSessionLifetime int64 `url:"mobile_app_session_lifetime,omitempty" json:"mobile_app_session_lifetime,omitempty" path:"mobile_app_session_lifetime"`
	// If true, permissions for this site must be bound to a group (not a user).
	FolderPermissionsGroupsOnly *bool `` /* 132-byte string literal not displayed */
	// Does the welcome screen appear?
	WelcomeScreen string `url:"welcome_screen,omitempty" json:"welcome_screen,omitempty" path:"welcome_screen"`
	// If true, allows users to use a document editing integration.
	OfficeIntegrationAvailable *bool `` /* 126-byte string literal not displayed */
	// Which document editing integration to support. Files.com Editor or Microsoft Office for the Web.
	OfficeIntegrationType string `url:"office_integration_type,omitempty" json:"office_integration_type,omitempty" path:"office_integration_type"`
	// If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
	PinAllRemoteServersToSiteRegion *bool `` /* 153-byte string literal not displayed */
	// A message to show users when they connect via FTP or SFTP.
	MotdText string `url:"motd_text,omitempty" json:"motd_text,omitempty" path:"motd_text"`
	// Show message to users connecting via FTP.
	MotdUseForFtp *bool `url:"motd_use_for_ftp,omitempty" json:"motd_use_for_ftp,omitempty" path:"motd_use_for_ftp"`
	// Show message to users connecting via SFTP.
	MotdUseForSftp *bool `url:"motd_use_for_sftp,omitempty" json:"motd_use_for_sftp,omitempty" path:"motd_use_for_sftp"`
	// Visibility settings for account navigation.
	LeftNavigationVisibility interface{} `url:"left_navigation_visibility,omitempty" json:"left_navigation_visibility,omitempty" path:"left_navigation_visibility"`
	// If true, all AI features are disabled for this site.
	DisableAllAiFeatures *bool `url:"disable_all_ai_features,omitempty" json:"disable_all_ai_features,omitempty" path:"disable_all_ai_features"`
	// Availability settings for AI features. Each feature requires the site_admins, workspace_admins, folder_admins, and all_users keys. Optional selected_group_members defaults to false; when true, members of at least one group in group_ids get access regardless of the other options. All availability options are additive: any enabled option matching the user grants access. Optional group_ids is an array of integer IDs of active groups on this site, from any workspace. Omitted or empty group_ids grants no access through selected_group_members and does not affect other options. Disabling all AI features overrides these settings.
	AiFeatureAvailability interface{} `url:"ai_feature_availability,omitempty" json:"ai_feature_availability,omitempty" path:"ai_feature_availability"`
	// Is OAuth DCR (dynamic client registration) for MCP enabled?
	McpDcrEnabled *bool `url:"mcp_dcr_enabled,omitempty" json:"mcp_dcr_enabled,omitempty" path:"mcp_dcr_enabled"`
	// Additional extensions that are considered text files.
	AdditionalTextFileTypes []string `url:"additional_text_file_types,omitempty" json:"additional_text_file_types,omitempty" path:"additional_text_file_types"`
	// Do Bundles require internal notes?
	BundleRequireNote *bool `url:"bundle_require_note,omitempty" json:"bundle_require_note,omitempty" path:"bundle_require_note"`
	// Do Bundle creators receive receipts of invitations?
	BundleSendSharedReceipts *bool `url:"bundle_send_shared_receipts,omitempty" json:"bundle_send_shared_receipts,omitempty" path:"bundle_send_shared_receipts"`
	// If true, new Share Links created by a user with a primary group will default to that group as owner.
	BundlesDefaultOwnedByPrimaryGroup *bool `` /* 156-byte string literal not displayed */
	// Calculate CRC32 checksums for files?
	CalculateFileChecksumsCrc32 *bool `` /* 132-byte string literal not displayed */
	// Calculate MD5 checksums for files?
	CalculateFileChecksumsMd5 *bool `` /* 126-byte string literal not displayed */
	// Calculate SHA1 checksums for files?
	CalculateFileChecksumsSha1 *bool `` /* 129-byte string literal not displayed */
	// Calculate SHA256 checksums for files?
	CalculateFileChecksumsSha256 *bool `` /* 135-byte string literal not displayed */
	// Use legacy checksums mode?
	LegacyChecksumsMode *bool `url:"legacy_checksums_mode,omitempty" json:"legacy_checksums_mode,omitempty" path:"legacy_checksums_mode"`
	// If true, we will migrate all remote server syncs to the new Sync model.
	MigrateRemoteServerSyncToSync *bool `` /* 144-byte string literal not displayed */
	// Number of days to retain AS2 messages (incoming and outgoing).
	As2MessageRetentionDays int64 `url:"as2_message_retention_days,omitempty" json:"as2_message_retention_days,omitempty" path:"as2_message_retention_days"`
	// If true, file operations produce file_action.activity.v1 EventChannel events in all workspaces. Defaults to false; subscription filters and workspace access still control delivery.
	FileActivityEventsEnabled *bool `` /* 126-byte string literal not displayed */
	// How usernames are displayed in the web UI. Can be `username_only`, `full_name_only`, `full_name_username`, `full_name_company`, or `full_name_username_company`.
	UsernameDisplay string `url:"username_display,omitempty" json:"username_display,omitempty" path:"username_display"`
	// Session expiry in minutes.
	SessionExpiryMinutes int64 `url:"session_expiry_minutes,omitempty" json:"session_expiry_minutes,omitempty" path:"session_expiry_minutes"`
	// Is SSL required? Disabling this is insecure.
	SslRequired *bool `url:"ssl_required,omitempty" json:"ssl_required,omitempty" path:"ssl_required"`
	// If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
	SftpInsecureCiphers *bool `url:"sftp_insecure_ciphers,omitempty" json:"sftp_insecure_ciphers,omitempty" path:"sftp_insecure_ciphers"`
	// If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
	SftpInsecureDiffieHellman *bool `` /* 126-byte string literal not displayed */
	// If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
	DisableFilesCertificateGeneration *bool `` /* 150-byte string literal not displayed */
	// Are FedRAMP security restrictions enabled for this site?
	Fedramp *bool `url:"fedramp,omitempty" json:"fedramp,omitempty" path:"fedramp"`
	// Will users be locked out after incorrect login attempts?
	UserLockout *bool `url:"user_lockout,omitempty" json:"user_lockout,omitempty" path:"user_lockout"`
	// Number of login tries within `user_lockout_within` hours before users are locked out.
	UserLockoutTries int64 `url:"user_lockout_tries,omitempty" json:"user_lockout_tries,omitempty" path:"user_lockout_tries"`
	// Number of hours for user lockout window.
	UserLockoutWithin int64 `url:"user_lockout_within,omitempty" json:"user_lockout_within,omitempty" path:"user_lockout_within"`
	// How many hours to lock user out for failed password?
	UserLockoutLockPeriod int64 `url:"user_lockout_lock_period,omitempty" json:"user_lockout_lock_period,omitempty" path:"user_lockout_lock_period"`
	// Include password in emails to new users?
	IncludePasswordInWelcomeEmail *bool `` /* 141-byte string literal not displayed */
	// Comma separated list of allowed Country codes.
	AllowedCountries string `url:"allowed_countries,omitempty" json:"allowed_countries,omitempty" path:"allowed_countries"`
	// List of allowed IP addresses.
	AllowedIps string `url:"allowed_ips,omitempty" json:"allowed_ips,omitempty" path:"allowed_ips"`
	// Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
	AllowUserLevel2faOverride *bool `` /* 129-byte string literal not displayed */
	// Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
	AllowUserLevelAllowedIpOverride *bool `` /* 150-byte string literal not displayed */
	// Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
	AllowUserLevelSslOverride *bool `` /* 129-byte string literal not displayed */
	// Comma separated list of disallowed Country codes.
	DisallowedCountries string `url:"disallowed_countries,omitempty" json:"disallowed_countries,omitempty" path:"disallowed_countries"`
	// Number of days to keep deleted files.
	DaysToRetainBackups int64 `url:"days_to_retain_backups,omitempty" json:"days_to_retain_backups,omitempty" path:"days_to_retain_backups"`
	// Number of prior passwords to disallow.
	MaxPriorPasswords int64 `url:"max_prior_passwords,omitempty" json:"max_prior_passwords,omitempty" path:"max_prior_passwords"`
	// Number of days password is valid.
	PasswordValidityDays int64 `url:"password_validity_days,omitempty" json:"password_validity_days,omitempty" path:"password_validity_days"`
	// Shortest password length for users.
	PasswordMinLength int64 `url:"password_min_length,omitempty" json:"password_min_length,omitempty" path:"password_min_length"`
	// Require a letter in passwords?
	PasswordRequireLetter *bool `url:"password_require_letter,omitempty" json:"password_require_letter,omitempty" path:"password_require_letter"`
	// Require lower and upper case letters in passwords?
	PasswordRequireMixed *bool `url:"password_require_mixed,omitempty" json:"password_require_mixed,omitempty" path:"password_require_mixed"`
	// Require special characters in password?
	PasswordRequireSpecial *bool `url:"password_require_special,omitempty" json:"password_require_special,omitempty" path:"password_require_special"`
	// Require a number in passwords?
	PasswordRequireNumber *bool `url:"password_require_number,omitempty" json:"password_require_number,omitempty" path:"password_require_number"`
	// Require passwords that have not been previously breached? (see https://haveibeenpwned.com/).
	PasswordRequireUnbreached *bool `url:"password_require_unbreached,omitempty" json:"password_require_unbreached,omitempty" path:"password_require_unbreached"`
	// If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
	RequireLogoutFromBundlesAndInboxes *bool `` /* 159-byte string literal not displayed */
	// Use user FTP roots also for WebDAV?
	DavUserRootEnabled *bool `url:"dav_user_root_enabled,omitempty" json:"dav_user_root_enabled,omitempty" path:"dav_user_root_enabled"`
	// Use user FTP roots also for SFTP?
	SftpUserRootEnabled *bool `url:"sftp_user_root_enabled,omitempty" json:"sftp_user_root_enabled,omitempty" path:"sftp_user_root_enabled"`
	// Is password reset disabled?
	DisablePasswordReset *bool `url:"disable_password_reset,omitempty" json:"disable_password_reset,omitempty" path:"disable_password_reset"`
	// Are files protected from modification?
	ImmutableFiles *bool `url:"immutable_files,omitempty" json:"immutable_files,omitempty" path:"immutable_files"`
	// Custom error message to show when bundle is not found.
	BundleNotFoundMessage string `url:"bundle_not_found_message,omitempty" json:"bundle_not_found_message,omitempty" path:"bundle_not_found_message"`
	// Do Bundles require password protection?
	BundlePasswordRequired *bool `url:"bundle_password_required,omitempty" json:"bundle_password_required,omitempty" path:"bundle_password_required"`
	// Do Bundles require registration?
	BundleRequireRegistration *bool `url:"bundle_require_registration,omitempty" json:"bundle_require_registration,omitempty" path:"bundle_require_registration"`
	// Do Bundles require recipients for sharing?
	BundleRequireShareRecipient *bool `` /* 132-byte string literal not displayed */
	// If true, new Share Links must send a one-time password to the recipient when they register. Requires bundle_require_share_recipient and cannot be enabled with bundle_password_required.
	BundleSendOneTimePasswordToRecipientAtRegistration *bool `` /* 216-byte string literal not displayed */
	// Do Bundle owners receive registration notification?
	BundleRegistrationNotifications string `` /* 141-byte string literal not displayed */
	// Do Bundle owners receive activity notifications?
	BundleActivityNotifications string `` /* 129-byte string literal not displayed */
	// Do Bundle uploaders receive upload confirmation notifications?
	BundleUploadReceiptNotifications string `` /* 147-byte string literal not displayed */
	// If true, allow public viewers of Bundles with full permissions to use document editing integrations.
	DocumentEditsInBundleAllowed *bool `` /* 138-byte string literal not displayed */
	// Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
	PasswordRequirementsApplyToBundles *bool `` /* 156-byte string literal not displayed */
	// If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
	PreventRootPermissionsForNonSiteAdmins *bool `` /* 174-byte string literal not displayed */
	// If true, only site admins may create, modify, or delete any behavior at the site root, or a skip that would disable one.
	RestrictRootFolderBehaviorsToSiteAdmins *bool `` /* 177-byte string literal not displayed */
	// If true, supported protective behaviors at the site root also apply within named workspaces. Requires restrict_root_folder_behaviors_to_site_admins to be enabled.
	RootFolderBehaviorsApplyToWorkspaces *bool `` /* 165-byte string literal not displayed */
	// Use servers in the USA only?
	OptOutGlobal *bool `url:"opt_out_global,omitempty" json:"opt_out_global,omitempty" path:"opt_out_global"`
	// Allow uploaders to set `provided_modified_at` for uploaded files?
	UseProvidedModifiedAt *bool `url:"use_provided_modified_at,omitempty" json:"use_provided_modified_at,omitempty" path:"use_provided_modified_at"`
	// Is this site using a custom namespace for users?
	CustomNamespace *bool `url:"custom_namespace,omitempty" json:"custom_namespace,omitempty" path:"custom_namespace"`
	// If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
	NonSsoGroupsAllowed *bool `url:"non_sso_groups_allowed,omitempty" json:"non_sso_groups_allowed,omitempty" path:"non_sso_groups_allowed"`
	// If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
	NonSsoUsersAllowed *bool `url:"non_sso_users_allowed,omitempty" json:"non_sso_users_allowed,omitempty" path:"non_sso_users_allowed"`
	// Allow bundle creation.
	SharingEnabled *bool `url:"sharing_enabled,omitempty" json:"sharing_enabled,omitempty" path:"sharing_enabled"`
	// Allow snapshot share links creation.
	SnapshotSharingEnabled *bool `url:"snapshot_sharing_enabled,omitempty" json:"snapshot_sharing_enabled,omitempty" path:"snapshot_sharing_enabled"`
	// Enable User Requests feature.
	UserRequestsEnabled *bool `url:"user_requests_enabled,omitempty" json:"user_requests_enabled,omitempty" path:"user_requests_enabled"`
	// Send email to site admins when a user request is received?
	UserRequestsNotifyAdmins *bool `url:"user_requests_notify_admins,omitempty" json:"user_requests_notify_admins,omitempty" path:"user_requests_notify_admins"`
	// Is WebDAV enabled?
	DavEnabled *bool `url:"dav_enabled,omitempty" json:"dav_enabled,omitempty" path:"dav_enabled"`
	// Allow other Files.com sites to use this site's API keys for native Files.com Remote Server connections? Defaults to true and applies to all keys and workspaces on this site. When false, new pairings and access through existing connections are rejected without revoking keys or deleting connections. Re-enabling permits access again with usable keys. Does not disable this site's connections to other sites, ordinary API access, or Connected Sites.
	FilesComRemoteServerEnabled *bool `` /* 135-byte string literal not displayed */
	// Is FTP enabled?
	FtpEnabled *bool `url:"ftp_enabled,omitempty" json:"ftp_enabled,omitempty" path:"ftp_enabled"`
	// Is the S3-compatible endpoint enabled for all users and workspaces on this site? Defaults to true. When false, user and group S3 permissions do not allow access.
	S3CompatibleEndpointEnabled *bool `` /* 132-byte string literal not displayed */
	// Is SFTP enabled?
	SftpEnabled *bool `url:"sftp_enabled,omitempty" json:"sftp_enabled,omitempty" path:"sftp_enabled"`
	// Finalize partial SFTP uploads from interrupted connections? Default: true.
	SftpFinalizePartialUploads *bool `` /* 129-byte string literal not displayed */
	// Allow users to create their own API keys?
	UsersCanCreateApiKeys *bool `url:"users_can_create_api_keys,omitempty" json:"users_can_create_api_keys,omitempty" path:"users_can_create_api_keys"`
	// Allow users to create their own SSH keys?
	UsersCanCreateSshKeys *bool `url:"users_can_create_ssh_keys,omitempty" json:"users_can_create_ssh_keys,omitempty" path:"users_can_create_ssh_keys"`
	// Show log in link in user notifications?
	ShowUserNotificationsLogInLink *bool `` /* 147-byte string literal not displayed */
	// Sftp Host Key Type.
	SftpHostKeyType string `url:"sftp_host_key_type,omitempty" json:"sftp_host_key_type,omitempty" path:"sftp_host_key_type"`
	// Id of the currently selected custom SFTP Host Key.
	ActiveSftpHostKeyId int64 `url:"active_sftp_host_key_id,omitempty" json:"active_sftp_host_key_id,omitempty" path:"active_sftp_host_key_id"`
	// Ids of the selected custom SFTP Host Keys.
	ActiveSftpHostKeyIds []int64 `url:"active_sftp_host_key_ids,omitempty" json:"active_sftp_host_key_ids,omitempty" path:"active_sftp_host_key_ids"`
	// If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
	ProtocolAccessGroupsOnly *bool `url:"protocol_access_groups_only,omitempty" json:"protocol_access_groups_only,omitempty" path:"protocol_access_groups_only"`
	// Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
	RevokeBundleAccessOnDisableOrDelete *bool `` /* 165-byte string literal not displayed */
	// Allow group admins to create users in their groups.
	GroupAdminsCanAddUsers *bool `url:"group_admins_can_add_users,omitempty" json:"group_admins_can_add_users,omitempty" path:"group_admins_can_add_users"`
	// Allow group admins to add or remove existing users in their groups.
	GroupAdminsCanManageGroupMemberships *bool `` /* 165-byte string literal not displayed */
	// Allow group admins to delete users in their groups.
	GroupAdminsCanDeleteUsers *bool `` /* 129-byte string literal not displayed */
	// Allow group admins to enable or disable users in their groups.
	GroupAdminsCanEnableDisableUsers *bool `` /* 153-byte string literal not displayed */
	// Allow group admins to modify users in their groups.
	GroupAdminsCanModifyUsers *bool `` /* 129-byte string literal not displayed */
	// Allow group admins to exempt users in their groups from lifecycle rules.
	GroupAdminsCanBypassUserLifecycleRules *bool `` /* 174-byte string literal not displayed */
	// Allow group admins to reset passwords for users in their groups.
	GroupAdminsCanResetPasswords *bool `` /* 138-byte string literal not displayed */
	// Allow group admins to set password authentication method.
	GroupAdminsCanSetUserPassword *bool `` /* 144-byte string literal not displayed */
	// If true, administrators on this site's Child Sites, including Folder Admins, can list this site's Default Workspace users and groups and grant them folder permissions and notifications on Child Site paths.
	ChildSiteFolderAdminsCanSeeParentSiteDirectory *bool `` /* 204-byte string literal not displayed */
	// If true, Workspace Administrators and Folder Admins in a Custom Workspace can list the Default Workspace users and groups that have permissions in that Workspace and choose them as Email Notification recipients.
	WorkspaceFolderAdminsCanSeeDefaultWorkspaceDirectory *bool `` /* 219-byte string literal not displayed */
	// Disallow free email domains for Bundle/Inbox recipients?
	BundleRecipientBlacklistFreeEmailDomains *bool `` /* 177-byte string literal not displayed */
	// List of email domains to disallow when entering a Bundle/Inbox recipients.
	BundleRecipientBlacklistDomains []string `` /* 144-byte string literal not displayed */
	// Allow admins to bypass the locked subfolders setting.
	AdminsBypassLockedSubfolders *bool `` /* 135-byte string literal not displayed */
	// Is SMS two factor authentication allowed?
	Allowed2faMethodSms *bool `url:"allowed_2fa_method_sms,omitempty" json:"allowed_2fa_method_sms,omitempty" path:"allowed_2fa_method_sms"`
	// Is TOTP two factor authentication allowed?
	Allowed2faMethodTotp *bool `url:"allowed_2fa_method_totp,omitempty" json:"allowed_2fa_method_totp,omitempty" path:"allowed_2fa_method_totp"`
	// Is WebAuthn two factor authentication allowed?
	Allowed2faMethodWebauthn *bool `url:"allowed_2fa_method_webauthn,omitempty" json:"allowed_2fa_method_webauthn,omitempty" path:"allowed_2fa_method_webauthn"`
	// Is yubikey two factor authentication allowed?
	Allowed2faMethodYubi *bool `url:"allowed_2fa_method_yubi,omitempty" json:"allowed_2fa_method_yubi,omitempty" path:"allowed_2fa_method_yubi"`
	// Is OTP via email two factor authentication allowed?
	Allowed2faMethodEmail *bool `url:"allowed_2fa_method_email,omitempty" json:"allowed_2fa_method_email,omitempty" path:"allowed_2fa_method_email"`
	// Is OTP via static codes for two factor authentication allowed?
	Allowed2faMethodStatic *bool `url:"allowed_2fa_method_static,omitempty" json:"allowed_2fa_method_static,omitempty" path:"allowed_2fa_method_static"`
	// Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
	Allowed2faMethodBypassForFtpSftpDav *bool `` /* 168-byte string literal not displayed */
	// Require two-factor authentication for all users?
	Require2fa *bool `url:"require_2fa,omitempty" json:"require_2fa,omitempty" path:"require_2fa"`
	// If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
	Require2faExemptAllSsoUsers *bool `` /* 138-byte string literal not displayed */
	// What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
	Require2faUserType string `url:"require_2fa_user_type,omitempty" json:"require_2fa_user_type,omitempty" path:"require_2fa_user_type"`
	// Top bar background color.
	Color2Top string `url:"color2_top,omitempty" json:"color2_top,omitempty" path:"color2_top"`
	// Page link and button color.
	Color2Left string `url:"color2_left,omitempty" json:"color2_left,omitempty" path:"color2_left"`
	// Top bar link color.
	Color2Link string `url:"color2_link,omitempty" json:"color2_link,omitempty" path:"color2_link"`
	// Page link and button color.
	Color2Text string `url:"color2_text,omitempty" json:"color2_text,omitempty" path:"color2_text"`
	// Top bar text color.
	Color2TopText string `url:"color2_top_text,omitempty" json:"color2_top_text,omitempty" path:"color2_top_text"`
	// Custom site header text for authenticated pages.
	SiteHeader string `url:"site_header,omitempty" json:"site_header,omitempty" path:"site_header"`
	// Custom site footer text for authenticated pages.
	SiteFooter string `url:"site_footer,omitempty" json:"site_footer,omitempty" path:"site_footer"`
	// Custom site header text for public pages.
	SitePublicHeader string `url:"site_public_header,omitempty" json:"site_public_header,omitempty" path:"site_public_header"`
	// Custom site footer text for public pages.
	SitePublicFooter string `url:"site_public_footer,omitempty" json:"site_public_footer,omitempty" path:"site_public_footer"`
	// Login help text.
	LoginHelpText string `url:"login_help_text,omitempty" json:"login_help_text,omitempty" path:"login_help_text"`
	// If using custom SMTP, should we use dedicated IPs to deliver emails?
	UseDedicatedIpsForSmtp *bool `url:"use_dedicated_ips_for_smtp,omitempty" json:"use_dedicated_ips_for_smtp,omitempty" path:"use_dedicated_ips_for_smtp"`
	// Custom footer text for system-generated emails (as Markdown). Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
	EmailFooterCustomText string `url:"email_footer_custom_text,omitempty" json:"email_footer_custom_text,omitempty" path:"email_footer_custom_text"`
	// SMTP server hostname or IP.
	SmtpAddress string `url:"smtp_address,omitempty" json:"smtp_address,omitempty" path:"smtp_address"`
	// SMTP server authentication type.
	SmtpAuthentication string `url:"smtp_authentication,omitempty" json:"smtp_authentication,omitempty" path:"smtp_authentication"`
	// From address to use when mailing through custom SMTP.
	SmtpFrom string `url:"smtp_from,omitempty" json:"smtp_from,omitempty" path:"smtp_from"`
	// SMTP server username.
	SmtpUsername string `url:"smtp_username,omitempty" json:"smtp_username,omitempty" path:"smtp_username"`
	// SMTP server port.
	SmtpPort int64 `url:"smtp_port,omitempty" json:"smtp_port,omitempty" path:"smtp_port"`
	// Custom SMTP encryption mode: if_available (default) uses STARTTLS when offered and otherwise sends credentials and messages unencrypted. A certificate-verified STARTTLS connection automatically changes if_available to require unless smtp_ssl is managed by a parent policy. require requires STARTTLS before authentication; require_implicit uses TLS from connection start; never disables TLS. TLS verifies the server certificate against smtp_address. Encryption is never automatically downgraded.
	SmtpSsl string `url:"smtp_ssl,omitempty" json:"smtp_ssl,omitempty" path:"smtp_ssl"`
	// Main LDAP setting: is LDAP enabled?
	LdapEnabled *bool `url:"ldap_enabled,omitempty" json:"ldap_enabled,omitempty" path:"ldap_enabled"`
	// LDAP type.
	LdapType string `url:"ldap_type,omitempty" json:"ldap_type,omitempty" path:"ldap_type"`
	// LDAP host.
	LdapHost string `url:"ldap_host,omitempty" json:"ldap_host,omitempty" path:"ldap_host"`
	// LDAP backup host.
	LdapHost2 string `url:"ldap_host_2,omitempty" json:"ldap_host_2,omitempty" path:"ldap_host_2"`
	// LDAP backup host.
	LdapHost3 string `url:"ldap_host_3,omitempty" json:"ldap_host_3,omitempty" path:"ldap_host_3"`
	// LDAP port.
	LdapPort int64 `url:"ldap_port,omitempty" json:"ldap_port,omitempty" path:"ldap_port"`
	// Use secure LDAP?
	LdapSecure *bool `url:"ldap_secure,omitempty" json:"ldap_secure,omitempty" path:"ldap_secure"`
	// How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
	LdapServerCertificate string `url:"ldap_server_certificate,omitempty" json:"ldap_server_certificate,omitempty" path:"ldap_server_certificate"`
	// Username for signing in to LDAP server.
	LdapUsername string `url:"ldap_username,omitempty" json:"ldap_username,omitempty" path:"ldap_username"`
	// LDAP username field.
	LdapUsernameField string `url:"ldap_username_field,omitempty" json:"ldap_username_field,omitempty" path:"ldap_username_field"`
	// Domain name that will be appended to usernames.
	LdapDomain string `url:"ldap_domain,omitempty" json:"ldap_domain,omitempty" path:"ldap_domain"`
	// Should we sync users from LDAP server?
	LdapUserAction string `url:"ldap_user_action,omitempty" json:"ldap_user_action,omitempty" path:"ldap_user_action"`
	// Should we sync groups from LDAP server?
	LdapGroupAction string `url:"ldap_group_action,omitempty" json:"ldap_group_action,omitempty" path:"ldap_group_action"`
	// Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
	LdapUserIncludeGroups string `url:"ldap_user_include_groups,omitempty" json:"ldap_user_include_groups,omitempty" path:"ldap_user_include_groups"`
	// Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
	LdapGroupExclusion string `url:"ldap_group_exclusion,omitempty" json:"ldap_group_exclusion,omitempty" path:"ldap_group_exclusion"`
	// Comma or newline separated list of group names (with optional wildcards) to include when syncing.
	LdapGroupInclusion string `url:"ldap_group_inclusion,omitempty" json:"ldap_group_inclusion,omitempty" path:"ldap_group_inclusion"`
	// Base DN for looking up users in LDAP server.
	LdapBaseDn string `url:"ldap_base_dn,omitempty" json:"ldap_base_dn,omitempty" path:"ldap_base_dn"`
	// Require email authentication, virus, and spam checks for incoming emails to Inboxes and Incoming Email Automations in every Workspace on this site?
	UploadsViaEmailAuthentication *bool `` /* 138-byte string literal not displayed */
	// Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value.
	BundleWatermarkValue interface{} `url:"bundle_watermark_value,omitempty" json:"bundle_watermark_value,omitempty" path:"bundle_watermark_value"`
	Icon16File           io.Writer   `url:"icon16_file,omitempty" json:"icon16_file,omitempty" path:"icon16_file"`
	// Icon16FileAttachment sends file content as icon16_file; see lib.JSONAttachment. Leave Icon16File nil when you set it.
	Icon16FileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"icon16_file"`
	// If true, will delete the file stored in icon16.
	Icon16Delete *bool     `url:"icon16_delete,omitempty" json:"icon16_delete,omitempty" path:"icon16_delete"`
	Icon32File   io.Writer `url:"icon32_file,omitempty" json:"icon32_file,omitempty" path:"icon32_file"`
	// Icon32FileAttachment sends file content as icon32_file; see lib.JSONAttachment. Leave Icon32File nil when you set it.
	Icon32FileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"icon32_file"`
	// If true, will delete the file stored in icon32.
	Icon32Delete *bool     `url:"icon32_delete,omitempty" json:"icon32_delete,omitempty" path:"icon32_delete"`
	Icon48File   io.Writer `url:"icon48_file,omitempty" json:"icon48_file,omitempty" path:"icon48_file"`
	// Icon48FileAttachment sends file content as icon48_file; see lib.JSONAttachment. Leave Icon48File nil when you set it.
	Icon48FileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"icon48_file"`
	// If true, will delete the file stored in icon48.
	Icon48Delete *bool     `url:"icon48_delete,omitempty" json:"icon48_delete,omitempty" path:"icon48_delete"`
	Icon128File  io.Writer `url:"icon128_file,omitempty" json:"icon128_file,omitempty" path:"icon128_file"`
	// Icon128FileAttachment sends file content as icon128_file; see lib.JSONAttachment. Leave Icon128File nil when you set it.
	Icon128FileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"icon128_file"`
	// If true, will delete the file stored in icon128.
	Icon128Delete *bool     `url:"icon128_delete,omitempty" json:"icon128_delete,omitempty" path:"icon128_delete"`
	LogoFile      io.Writer `url:"logo_file,omitempty" json:"logo_file,omitempty" path:"logo_file"`
	// LogoFileAttachment sends file content as logo_file; see lib.JSONAttachment. Leave LogoFile nil when you set it.
	LogoFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"logo_file"`
	// If true, will delete the file stored in logo.
	LogoDelete                    *bool     `url:"logo_delete,omitempty" json:"logo_delete,omitempty" path:"logo_delete"`
	BundleWatermarkAttachmentFile io.Writer `` /* 138-byte string literal not displayed */
	// BundleWatermarkAttachmentFileAttachment sends file content as bundle_watermark_attachment_file; see lib.JSONAttachment. Leave BundleWatermarkAttachmentFile nil when you set it.
	BundleWatermarkAttachmentFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"bundle_watermark_attachment_file"`
	// If true, will delete the file stored in bundle_watermark_attachment.
	BundleWatermarkAttachmentDelete *bool     `` /* 144-byte string literal not displayed */
	LoginPageBackgroundImageFile    io.Writer `` /* 138-byte string literal not displayed */
	// LoginPageBackgroundImageFileAttachment sends file content as login_page_background_image_file; see lib.JSONAttachment. Leave LoginPageBackgroundImageFile nil when you set it.
	LoginPageBackgroundImageFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"login_page_background_image_file"`
	// If true, will delete the file stored in login_page_background_image.
	LoginPageBackgroundImageDelete *bool `` /* 144-byte string literal not displayed */
	// If set to true, we will begin the process of disabling 2FA on this site.
	Disable2faWithDelay *bool `url:"disable_2fa_with_delay,omitempty" json:"disable_2fa_with_delay,omitempty" path:"disable_2fa_with_delay"`
	// New LDAP password.
	LdapPasswordChange string `url:"ldap_password_change,omitempty" json:"ldap_password_change,omitempty" path:"ldap_password_change"`
	// Confirm new LDAP password.
	LdapPasswordChangeConfirmation string `` /* 141-byte string literal not displayed */
	// If true, and if changing the site subdomain, then create a redirect from the previous Files.com subdomain to the new Files.com subdomain.
	RedirectOldSubdomain *bool `url:"redirect_old_subdomain,omitempty" json:"redirect_old_subdomain,omitempty" path:"redirect_old_subdomain"`
	// Password for SMTP server.
	SmtpPassword string `url:"smtp_password,omitempty" json:"smtp_password,omitempty" path:"smtp_password"`
}

SiteUpdateParams contains the request parameters for PATCH /site.

type Snapshot ¶

type Snapshot struct {
	// The snapshot's unique ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// When the snapshot expires.
	ExpiresAt *time.Time `json:"expires_at,omitempty" path:"expires_at,omitempty" url:"expires_at,omitempty"`
	// When the snapshot was finalized.
	FinalizedAt *time.Time `json:"finalized_at,omitempty" path:"finalized_at,omitempty" url:"finalized_at,omitempty"`
	// A name for the snapshot.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// The user that created this snapshot, if applicable.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// The bundle using this snapshot, if applicable.
	BundleId int64 `json:"bundle_id,omitempty" path:"bundle_id,omitempty" url:"bundle_id,omitempty"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// An array of paths to add to the snapshot.
	Paths []string `json:"paths,omitempty" path:"paths,omitempty" url:"paths,omitempty"`
}

Snapshot is a Files.com API resource.

func (Snapshot) Identifier ¶

func (s Snapshot) Identifier() interface{}

Identifier returns the resource ID.

func (*Snapshot) UnmarshalJSON ¶

func (s *Snapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SnapshotCollection ¶

type SnapshotCollection []Snapshot

SnapshotCollection is a list of Snapshot resources.

func (*SnapshotCollection) ToSlice ¶

func (s *SnapshotCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SnapshotCollection) UnmarshalJSON ¶

func (s *SnapshotCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SnapshotCreateParams ¶

type SnapshotCreateParams struct {
	// When the snapshot expires.
	ExpiresAt *time.Time `url:"expires_at,omitempty" json:"expires_at,omitempty" path:"expires_at"`
	// A name for the snapshot.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// An array of paths to add to the snapshot.
	Paths []string `url:"paths,omitempty" json:"paths,omitempty" path:"paths"`
	// Workspace ID. `0` means the default workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

SnapshotCreateParams contains the request parameters for POST /snapshots.

type SnapshotDeleteParams ¶

type SnapshotDeleteParams struct {
	// Snapshot ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SnapshotDeleteParams contains the request parameters for DELETE /snapshots/{id}.

type SnapshotFinalizeParams ¶ added in v3.1.52

type SnapshotFinalizeParams struct {
	// Snapshot ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SnapshotFinalizeParams contains the request parameters for POST /snapshots/{id}/finalize.

Finalize Snapshot

type SnapshotFindParams ¶

type SnapshotFindParams struct {
	// Snapshot ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SnapshotFindParams contains the request parameters for GET /snapshots/{id}.

type SnapshotListParams ¶

type SnapshotListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SnapshotListParams contains the request parameters for GET /snapshots.

type SnapshotUpdateParams ¶

type SnapshotUpdateParams struct {
	// Snapshot ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// When the snapshot expires.
	ExpiresAt *time.Time `url:"expires_at,omitempty" json:"expires_at,omitempty" path:"expires_at"`
	// A name for the snapshot.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// An array of paths to add to the snapshot.
	Paths []string `url:"paths,omitempty" json:"paths,omitempty" path:"paths"`
}

SnapshotUpdateParams contains the request parameters for PATCH /snapshots/{id}.

type SsoEvent ¶ added in v3.3.111

type SsoEvent struct {
	// Event ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Type of SSO event being recorded.
	EventType string `json:"event_type,omitempty" path:"event_type,omitempty" url:"event_type,omitempty"`
	// Status of event.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Event body.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Event errors.
	EventErrors []string `json:"event_errors,omitempty" path:"event_errors,omitempty" url:"event_errors,omitempty"`
	// Event create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Link to log file.
	BodyUrl string `json:"body_url,omitempty" path:"body_url,omitempty" url:"body_url,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Username on Files.com for the SSO login attempt.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Identity Provider UID for the SSO login attempt.
	IdpUid string `json:"idp_uid,omitempty" path:"idp_uid,omitempty" url:"idp_uid,omitempty"`
	// SSO provider for the SSO login attempt.
	Provider string `json:"provider,omitempty" path:"provider,omitempty" url:"provider,omitempty"`
	// SSO provider label for the SSO login attempt.
	ProviderLabel string `json:"provider_label,omitempty" path:"provider_label,omitempty" url:"provider_label,omitempty"`
	// IP address for the SSO login attempt.
	Ip string `json:"ip,omitempty" path:"ip,omitempty" url:"ip,omitempty"`
	// Region for the SSO login attempt.
	Region string `json:"region,omitempty" path:"region,omitempty" url:"region,omitempty"`
}

SsoEvent is a Files.com API resource.

func (SsoEvent) Identifier ¶ added in v3.3.111

func (s SsoEvent) Identifier() interface{}

Identifier returns the resource ID.

func (*SsoEvent) UnmarshalJSON ¶ added in v3.3.111

func (s *SsoEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SsoEventCollection ¶ added in v3.3.111

type SsoEventCollection []SsoEvent

SsoEventCollection is a list of SsoEvent resources.

func (*SsoEventCollection) ToSlice ¶ added in v3.3.111

func (s *SsoEventCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SsoEventCollection) UnmarshalJSON ¶ added in v3.3.111

func (s *SsoEventCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SsoEventFindParams ¶ added in v3.3.111

type SsoEventFindParams struct {
	// Sso Event ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SsoEventFindParams contains the request parameters for GET /sso_events/{id}.

type SsoEventListParams ¶ added in v3.3.111

type SsoEventListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `event_type`, `status` or `user_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `idp_uid`, `ip`, `provider`, `status`, `user_id` or `username`. Valid field combinations are `[ event_type, created_at ]`, `[ idp_uid, created_at ]`, `[ ip, created_at ]`, `[ provider, created_at ]`, `[ status, created_at ]`, `[ user_id, created_at ]`, `[ username, created_at ]`, `[ event_type, status ]`, `[ idp_uid, status ]`, `[ ip, status ]`, `[ provider, status ]`, `[ user_id, status ]`, `[ username, status ]`, `[ event_type, status, created_at ]`, `[ idp_uid, status, created_at ]`, `[ ip, status, created_at ]`, `[ provider, status, created_at ]`, `[ user_id, status, created_at ]` or `[ username, status, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `idp_uid`, `ip`, `provider` or `username`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SsoEventListParams contains the request parameters for GET /sso_events.

type SsoStrategy ¶

type SsoStrategy struct {
	// SSO Protocol.
	Protocol string `json:"protocol,omitempty" path:"protocol,omitempty" url:"protocol,omitempty"`
	// Provider name.
	Provider string `json:"provider,omitempty" path:"provider,omitempty" url:"provider,omitempty"`
	// Custom label for the SSO provider on the login page.
	Label string `json:"label,omitempty" path:"label,omitempty" url:"label,omitempty"`
	// URL holding a custom logo for the SSO provider on the login page.
	LogoUrl string `json:"logo_url,omitempty" path:"logo_url,omitempty" url:"logo_url,omitempty"`
	// ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Is strategy enabled? This may become automatically set to `false` after a high number and duration of failures.
	Enabled *bool `json:"enabled,omitempty" path:"enabled,omitempty" url:"enabled,omitempty"`
	// Count of users with this SSO Strategy.
	UserCount int64 `json:"user_count,omitempty" path:"user_count,omitempty" url:"user_count,omitempty"`
	// Identity provider sha256 cert fingerprint if saml_provider_metadata_url is not available.
	SamlProviderCertFingerprint string `` /* 142-byte string literal not displayed */
	// Identity provider issuer url.
	SamlProviderIssuerUrl string `json:"saml_provider_issuer_url,omitempty" path:"saml_provider_issuer_url,omitempty" url:"saml_provider_issuer_url,omitempty"`
	// Custom identity provider metadata.
	SamlProviderMetadataContent string `` /* 142-byte string literal not displayed */
	// Metadata URL for the SAML identity provider.
	SamlProviderMetadataUrl string `` /* 130-byte string literal not displayed */
	// Identity provider SLO endpoint.
	SamlProviderSloTargetUrl string `` /* 136-byte string literal not displayed */
	// Identity provider SSO endpoint if saml_provider_metadata_url is not available.
	SamlProviderSsoTargetUrl string `` /* 136-byte string literal not displayed */
	// SCIM authentication type.
	ScimAuthenticationMethod string `` /* 130-byte string literal not displayed */
	// SCIM username.
	ScimUsername string `json:"scim_username,omitempty" path:"scim_username,omitempty" url:"scim_username,omitempty"`
	// SCIM OAuth Access Token. Only returned when the token is first issued or reset.
	ScimOauthAccessToken string `json:"scim_oauth_access_token,omitempty" path:"scim_oauth_access_token,omitempty" url:"scim_oauth_access_token,omitempty"`
	// SCIM OAuth Access Token Expiration Time.
	ScimOauthAccessTokenExpiresAt string `` /* 154-byte string literal not displayed */
	// Subdomain or domain name for your auth provider. Example: `https://[subdomain].okta.com/`.
	Subdomain string `json:"subdomain,omitempty" path:"subdomain,omitempty" url:"subdomain,omitempty"`
	// Auto-provision users?
	ProvisionUsers *bool `json:"provision_users,omitempty" path:"provision_users,omitempty" url:"provision_users,omitempty"`
	// Auto-provision group membership based on group memberships on the SSO side?
	ProvisionGroups *bool `json:"provision_groups,omitempty" path:"provision_groups,omitempty" url:"provision_groups,omitempty"`
	// Auto-deprovision users?
	DeprovisionUsers *bool `json:"deprovision_users,omitempty" path:"deprovision_users,omitempty" url:"deprovision_users,omitempty"`
	// Auto-deprovision group membership based on group memberships on the SSO side?
	DeprovisionGroups *bool `json:"deprovision_groups,omitempty" path:"deprovision_groups,omitempty" url:"deprovision_groups,omitempty"`
	// Method used for deprovisioning users.
	DeprovisionBehavior string `json:"deprovision_behavior,omitempty" path:"deprovision_behavior,omitempty" url:"deprovision_behavior,omitempty"`
	// Comma-separated list of group names for groups to automatically add all auto-provisioned users to.
	ProvisionGroupDefault string `json:"provision_group_default,omitempty" path:"provision_group_default,omitempty" url:"provision_group_default,omitempty"`
	// Comma-separated list of group names for groups (with optional wildcards) that will be excluded from auto-provisioning.
	ProvisionGroupExclusion string `` /* 127-byte string literal not displayed */
	// Comma-separated list of group names for groups (with optional wildcards) that will be auto-provisioned.
	ProvisionGroupInclusion string `` /* 127-byte string literal not displayed */
	// Comma or newline separated list of group names (with optional wildcards) to require membership for user provisioning.
	ProvisionGroupRequired string `json:"provision_group_required,omitempty" path:"provision_group_required,omitempty" url:"provision_group_required,omitempty"`
	// Comma-separated list of group names whose members will be created with email_signup authentication.
	ProvisionEmailSignupGroups string `` /* 139-byte string literal not displayed */
	// Comma-separated list of group names used to grant or remove Read-Only Site Admin access for users on this SSO provider. When this list is nonempty and a directory sync changes a user's group membership, membership in at least one listed group grants this access; membership in none removes it, including access granted manually. Directory syncs include SCIM requests from any provider on the site, LDAP syncs, and sign-ins that set the user's groups from the identity provider. Membership changes made any other way, including through the web app, API, SDKs, or CLI, do not affect administrator access.
	ProvisionReadonlySiteAdminGroups string `` /* 160-byte string literal not displayed */
	// Comma-separated list of group names used to grant or remove Site Admin access for users on this SSO provider. When this list is nonempty and a directory sync changes a user's group membership, membership in at least one listed group grants this access; membership in none removes it, including access granted manually. Directory syncs include SCIM requests from any provider on the site, LDAP syncs, and sign-ins that set the user's groups from the identity provider. Membership changes made any other way, including through the web app, API, SDKs, or CLI, do not affect administrator access.
	ProvisionSiteAdminGroups string `` /* 133-byte string literal not displayed */
	// Comma-separated list of group names whose members will be provisioned as Group Admins.
	ProvisionGroupAdminGroups      string `` /* 136-byte string literal not displayed */
	ProvisionAttachmentsPermission *bool  `` /* 148-byte string literal not displayed */
	// Auto-provisioned users get WebDAV permission?
	ProvisionDavPermission *bool `json:"provision_dav_permission,omitempty" path:"provision_dav_permission,omitempty" url:"provision_dav_permission,omitempty"`
	// Auto-provisioned users get FTP permission?
	ProvisionFtpPermission *bool `json:"provision_ftp_permission,omitempty" path:"provision_ftp_permission,omitempty" url:"provision_ftp_permission,omitempty"`
	// Auto-provisioned users get SFTP permission?
	ProvisionSftpPermission *bool `` /* 127-byte string literal not displayed */
	// Default time zone for auto provisioned users.
	ProvisionTimeZone string `json:"provision_time_zone,omitempty" path:"provision_time_zone,omitempty" url:"provision_time_zone,omitempty"`
	// Default company for auto provisioned users.
	ProvisionCompany string `json:"provision_company,omitempty" path:"provision_company,omitempty" url:"provision_company,omitempty"`
	// 2FA required setting for auto provisioned users. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
	ProvisionRequire2fa string `json:"provision_require_2fa,omitempty" path:"provision_require_2fa,omitempty" url:"provision_require_2fa,omitempty"`
	// File System layout to use for auto provisioned users.
	ProvisionFilesystemLayout string `` /* 133-byte string literal not displayed */
	// URL-friendly, unique identifier for Azure SAML configuration.
	ProviderIdentifier string `json:"provider_identifier,omitempty" path:"provider_identifier,omitempty" url:"provider_identifier,omitempty"`
	// Base DN for looking up users in LDAP server.
	LdapBaseDn string `json:"ldap_base_dn,omitempty" path:"ldap_base_dn,omitempty" url:"ldap_base_dn,omitempty"`
	// Domain name that will be appended to LDAP usernames.
	LdapDomain string `json:"ldap_domain,omitempty" path:"ldap_domain,omitempty" url:"ldap_domain,omitempty"`
	// Should this strategy be displayed on the login page?
	DisplayOnLoginPage *bool `json:"display_on_login_page,omitempty" path:"display_on_login_page,omitempty" url:"display_on_login_page,omitempty"`
	// LDAP host.
	LdapHost string `json:"ldap_host,omitempty" path:"ldap_host,omitempty" url:"ldap_host,omitempty"`
	// LDAP backup host.
	LdapHost2 string `json:"ldap_host_2,omitempty" path:"ldap_host_2,omitempty" url:"ldap_host_2,omitempty"`
	// LDAP backup host.
	LdapHost3 string `json:"ldap_host_3,omitempty" path:"ldap_host_3,omitempty" url:"ldap_host_3,omitempty"`
	// LDAP port.
	LdapPort int64 `json:"ldap_port,omitempty" path:"ldap_port,omitempty" url:"ldap_port,omitempty"`
	// Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
	LdapProvisioningEnabled *bool `` /* 127-byte string literal not displayed */
	// Use secure LDAP?
	LdapSecure *bool `json:"ldap_secure,omitempty" path:"ldap_secure,omitempty" url:"ldap_secure,omitempty"`
	// How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
	LdapServerCertificate string `json:"ldap_server_certificate,omitempty" path:"ldap_server_certificate,omitempty" url:"ldap_server_certificate,omitempty"`
	// LDAP server type.
	LdapType string `json:"ldap_type,omitempty" path:"ldap_type,omitempty" url:"ldap_type,omitempty"`
	// Username for signing in to LDAP server.
	LdapUsername string `json:"ldap_username,omitempty" path:"ldap_username,omitempty" url:"ldap_username,omitempty"`
	// LDAP username field.
	LdapUsernameField string `json:"ldap_username_field,omitempty" path:"ldap_username_field,omitempty" url:"ldap_username_field,omitempty"`
}

SsoStrategy is a Files.com API resource.

func (SsoStrategy) Identifier ¶

func (s SsoStrategy) Identifier() interface{}

Identifier returns the resource ID.

func (*SsoStrategy) UnmarshalJSON ¶

func (s *SsoStrategy) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SsoStrategyCollection ¶

type SsoStrategyCollection []SsoStrategy

SsoStrategyCollection is a list of SsoStrategy resources.

func (*SsoStrategyCollection) ToSlice ¶

func (s *SsoStrategyCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SsoStrategyCollection) UnmarshalJSON ¶

func (s *SsoStrategyCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SsoStrategyFindParams ¶

type SsoStrategyFindParams struct {
	// Sso Strategy ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SsoStrategyFindParams contains the request parameters for GET /sso_strategies/{id}.

type SsoStrategyListParams ¶

type SsoStrategyListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SsoStrategyListParams contains the request parameters for GET /sso_strategies.

type SsoStrategySyncParams ¶

type SsoStrategySyncParams struct {
	// Sso Strategy ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SsoStrategySyncParams contains the request parameters for POST /sso_strategies/{id}/sync.

Synchronize provisioning data with the SSO remote server

type Status ¶

type Status struct {
	// Status HTTP code.
	Code int64 `json:"code,omitempty" path:"code,omitempty" url:"code,omitempty"`
	// Error message.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Status message.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Additional data.
	Data Auto `json:"data,omitempty" path:"data,omitempty" url:"data,omitempty"`
	// A list of api errors.
	Errors []Errors `json:"errors,omitempty" path:"errors,omitempty" url:"errors,omitempty"`
	// Required Clickwrap id.
	ClickwrapId int64 `json:"clickwrap_id,omitempty" path:"clickwrap_id,omitempty" url:"clickwrap_id,omitempty"`
	// Required Clickwrap body.
	ClickwrapBody string `json:"clickwrap_body,omitempty" path:"clickwrap_body,omitempty" url:"clickwrap_body,omitempty"`
}

Status is a Files.com API resource.

func (*Status) UnmarshalJSON ¶

func (s *Status) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type StatusCollection ¶

type StatusCollection []Status

StatusCollection is a list of Status resources.

func (*StatusCollection) ToSlice ¶

func (s *StatusCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*StatusCollection) UnmarshalJSON ¶

func (s *StatusCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type Style ¶

type Style struct {
	// Style ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Folder path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	Logo Image `json:"logo,omitempty" path:"logo,omitempty" url:"logo,omitempty"`
	// URL to open when a public visitor clicks the logo.
	LogoClickHref string `json:"logo_click_href,omitempty" path:"logo_click_href,omitempty" url:"logo_click_href,omitempty"`
	// Logo thumbnail.
	Thumbnail Image `json:"thumbnail,omitempty" path:"thumbnail,omitempty" url:"thumbnail,omitempty"`
	// Logo for custom branding. Required when creating a new style.
	File io.Reader `json:"file,omitempty" path:"file,omitempty" url:"file,omitempty"`
}

Style is a Files.com API resource.

func (Style) Identifier ¶

func (s Style) Identifier() interface{}

Identifier returns the resource ID.

func (*Style) UnmarshalJSON ¶

func (s *Style) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type StyleCollection ¶

type StyleCollection []Style

StyleCollection is a list of Style resources.

func (*StyleCollection) ToSlice ¶

func (s *StyleCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*StyleCollection) UnmarshalJSON ¶

func (s *StyleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type StyleDeleteParams ¶

type StyleDeleteParams struct {
	// Style path. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
}

StyleDeleteParams contains the request parameters for DELETE /styles/{path}.

type StyleFindParams ¶

type StyleFindParams struct {
	// Style path. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
}

StyleFindParams contains the request parameters for GET /styles/{path}.

type StyleUpdateParams ¶

type StyleUpdateParams struct {
	// Style path. Required; sent in the request path.
	Path string `url:"-,omitempty" json:"-,omitempty" path:"path"`
	// Logo for custom branding. Required when creating a new style.
	File io.Writer `url:"file,omitempty" json:"file,omitempty" path:"file"`
	// FileAttachment sends file content as file; see lib.JSONAttachment. Leave File nil when you set it.
	FileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"file"`
	// URL to open when a public visitor clicks the logo.
	LogoClickHref string `url:"logo_click_href,omitempty" json:"logo_click_href,omitempty" path:"logo_click_href"`
}

StyleUpdateParams contains the request parameters for PATCH /styles/{path}.

type Sync ¶ added in v3.2.177

type Sync struct {
	// Sync ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Name for this sync job.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Description for this sync job.
	Description string `json:"description,omitempty" path:"description,omitempty" url:"description,omitempty"`
	// Site ID this sync belongs to.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// Workspace ID this sync belongs to.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// User who created or owns this sync.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Absolute source path for the sync.
	SrcPath string `json:"src_path,omitempty" path:"src_path,omitempty" url:"src_path,omitempty"`
	// Absolute destination path for the sync.
	DestPath string `json:"dest_path,omitempty" path:"dest_path,omitempty" url:"dest_path,omitempty"`
	// Remote server ID for the source (if remote).
	SrcRemoteServerId int64 `json:"src_remote_server_id,omitempty" path:"src_remote_server_id,omitempty" url:"src_remote_server_id,omitempty"`
	// Remote server ID for the destination (if remote).
	DestRemoteServerId int64 `json:"dest_remote_server_id,omitempty" path:"dest_remote_server_id,omitempty" url:"dest_remote_server_id,omitempty"`
	// Source site ID if syncing from a child or partner site.
	SrcSiteId int64 `json:"src_site_id,omitempty" path:"src_site_id,omitempty" url:"src_site_id,omitempty"`
	// Destination site ID if syncing to a child or partner site.
	DestSiteId int64 `json:"dest_site_id,omitempty" path:"dest_site_id,omitempty" url:"dest_site_id,omitempty"`
	// Is this a two-way sync?
	TwoWay *bool `json:"two_way,omitempty" path:"two_way,omitempty" url:"two_way,omitempty"`
	// Keep files after copying?
	KeepAfterCopy *bool `json:"keep_after_copy,omitempty" path:"keep_after_copy,omitempty" url:"keep_after_copy,omitempty"`
	// Delete empty folders after sync?
	DeleteEmptyFolders *bool `json:"delete_empty_folders,omitempty" path:"delete_empty_folders,omitempty" url:"delete_empty_folders,omitempty"`
	// Is this sync disabled?
	Disabled *bool `json:"disabled,omitempty" path:"disabled,omitempty" url:"disabled,omitempty"`
	// Trigger type: daily, custom_schedule, or manual.
	Trigger string `json:"trigger,omitempty" path:"trigger,omitempty" url:"trigger,omitempty"`
	// Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
	TriggerFile string `json:"trigger_file,omitempty" path:"trigger_file,omitempty" url:"trigger_file,omitempty"`
	// If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
	AlwaysWriteTriggerFile *bool `` /* 127-byte string literal not displayed */
	// Array of glob patterns to include.
	IncludePatterns []string `json:"include_patterns,omitempty" path:"include_patterns,omitempty" url:"include_patterns,omitempty"`
	// Array of glob patterns to exclude.
	ExcludePatterns []string `json:"exclude_patterns,omitempty" path:"exclude_patterns,omitempty" url:"exclude_patterns,omitempty"`
	// When this sync was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// When this sync was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
	// Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
	SyncIntervalMinutes int64 `json:"sync_interval_minutes,omitempty" path:"sync_interval_minutes,omitempty" url:"sync_interval_minutes,omitempty"`
	// If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`.
	Interval string `json:"interval,omitempty" path:"interval,omitempty" url:"interval,omitempty"`
	// If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDay int64 `json:"recurring_day,omitempty" path:"recurring_day,omitempty" url:"recurring_day,omitempty"`
	// If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDays []int64 `json:"recurring_days,omitempty" path:"recurring_days,omitempty" url:"recurring_days,omitempty"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
	ScheduleId int64 `json:"schedule_id,omitempty" path:"schedule_id,omitempty" url:"schedule_id,omitempty"`
	// If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
	ScheduleDaysOfWeek []int64 `json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week,omitempty" url:"schedule_days_of_week,omitempty"`
	// Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
	ScheduleTimesOfDay []string `json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day,omitempty" url:"schedule_times_of_day,omitempty"`
	// Time zone for the schedule. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `json:"schedule_time_zone,omitempty" path:"schedule_time_zone,omitempty" url:"schedule_time_zone,omitempty"`
	// Skip the sync if there is a formal, observed holiday for this region.
	HolidayRegion string `json:"holiday_region,omitempty" path:"holiday_region,omitempty" url:"holiday_region,omitempty"`
	// The latest run of this sync.
	LatestSyncRun SyncRun `json:"latest_sync_run,omitempty" path:"latest_sync_run,omitempty" url:"latest_sync_run,omitempty"`
}

Sync is a Files.com API resource.

func (Sync) Identifier ¶ added in v3.2.177

func (s Sync) Identifier() interface{}

Identifier returns the resource ID.

func (*Sync) UnmarshalJSON ¶ added in v3.2.177

func (s *Sync) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SyncCollection ¶ added in v3.2.177

type SyncCollection []Sync

SyncCollection is a list of Sync resources.

func (*SyncCollection) ToSlice ¶ added in v3.2.177

func (s *SyncCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SyncCollection) UnmarshalJSON ¶ added in v3.2.177

func (s *SyncCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SyncCreateParams ¶ added in v3.2.177

type SyncCreateParams struct {
	// Delete empty folders after sync?
	DeleteEmptyFolders *bool `url:"delete_empty_folders,omitempty" json:"delete_empty_folders,omitempty" path:"delete_empty_folders"`
	// Description for this sync job.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Absolute destination path for the sync.
	DestPath string `url:"dest_path,omitempty" json:"dest_path,omitempty" path:"dest_path"`
	// Remote server ID for the destination (if remote).
	DestRemoteServerId int64 `url:"dest_remote_server_id,omitempty" json:"dest_remote_server_id,omitempty" path:"dest_remote_server_id"`
	// Is this sync disabled?
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// Array of glob patterns to exclude.
	ExcludePatterns []string `url:"exclude_patterns,omitempty" json:"exclude_patterns,omitempty" path:"exclude_patterns"`
	// Skip the sync if there is a formal, observed holiday for this region.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// Array of glob patterns to include.
	IncludePatterns []string `url:"include_patterns,omitempty" json:"include_patterns,omitempty" path:"include_patterns"`
	// If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// Keep files after copying?
	KeepAfterCopy *bool `url:"keep_after_copy,omitempty" json:"keep_after_copy,omitempty" path:"keep_after_copy"`
	// Name for this sync job.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Time zone for the schedule. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Absolute source path for the sync.
	SrcPath string `url:"src_path,omitempty" json:"src_path,omitempty" path:"src_path"`
	// Remote server ID for the source (if remote).
	SrcRemoteServerId int64 `url:"src_remote_server_id,omitempty" json:"src_remote_server_id,omitempty" path:"src_remote_server_id"`
	// Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
	SyncIntervalMinutes int64 `url:"sync_interval_minutes,omitempty" json:"sync_interval_minutes,omitempty" path:"sync_interval_minutes"`
	// Trigger type: daily, custom_schedule, or manual. Values: daily, custom_schedule, manual.
	Trigger SyncTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
	TriggerFile string `url:"trigger_file,omitempty" json:"trigger_file,omitempty" path:"trigger_file"`
	// If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
	AlwaysWriteTriggerFile *bool `url:"always_write_trigger_file,omitempty" json:"always_write_trigger_file,omitempty" path:"always_write_trigger_file"`
	// Workspace ID this sync belongs to.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

SyncCreateParams contains the request parameters for POST /syncs.

type SyncDeleteParams ¶ added in v3.2.177

type SyncDeleteParams struct {
	// Sync ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SyncDeleteParams contains the request parameters for DELETE /syncs/{id}.

type SyncDryRunParams ¶ added in v3.2.212

type SyncDryRunParams struct {
	// Sync ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SyncDryRunParams contains the request parameters for POST /syncs/{id}/dry_run.

Dry Run Sync

type SyncFindParams ¶ added in v3.2.177

type SyncFindParams struct {
	// Sync ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SyncFindParams contains the request parameters for GET /syncs/{id}.

type SyncListParams ¶ added in v3.2.177

type SyncListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id` or `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`, `disabled`, `src_remote_server_id` or `dest_remote_server_id`. Valid field combinations are `[ workspace_id, disabled ]`, `[ workspace_id, src_remote_server_id ]`, `[ workspace_id, dest_remote_server_id ]`, `[ disabled, src_remote_server_id ]`, `[ disabled, dest_remote_server_id ]`, `[ workspace_id, disabled, src_remote_server_id ]` or `[ workspace_id, disabled, dest_remote_server_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SyncListParams contains the request parameters for GET /syncs.

type SyncLog ¶ added in v3.1.48

type SyncLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// Sync ID.
	SyncId int64 `json:"sync_id,omitempty" path:"sync_id,omitempty" url:"sync_id,omitempty"`
	// External Event ID used by legacy syncs.
	ExternalEventId int64 `json:"external_event_id,omitempty" path:"external_event_id,omitempty" url:"external_event_id,omitempty"`
	// Sync Run ID.
	SyncRunId int64 `json:"sync_run_id,omitempty" path:"sync_run_id,omitempty" url:"sync_run_id,omitempty"`
	// Error type, if applicable.
	ErrorType string `json:"error_type,omitempty" path:"error_type,omitempty" url:"error_type,omitempty"`
	// Message.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Operation type.
	Operation string `json:"operation,omitempty" path:"operation,omitempty" url:"operation,omitempty"`
	// File path. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// File size.
	Size int64 `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
	// File type.
	FileType string `json:"file_type,omitempty" path:"file_type,omitempty" url:"file_type,omitempty"`
	// Status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

SyncLog is a Files.com API resource.

func (SyncLog) Identifier ¶ added in v3.1.48

func (s SyncLog) Identifier() interface{}

Identifier returns the resource path.

func (*SyncLog) UnmarshalJSON ¶ added in v3.1.48

func (s *SyncLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SyncLogCollection ¶ added in v3.1.48

type SyncLogCollection []SyncLog

SyncLogCollection is a list of SyncLog resources.

func (*SyncLogCollection) ToSlice ¶ added in v3.1.48

func (s *SyncLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SyncLogCollection) UnmarshalJSON ¶ added in v3.1.48

func (s *SyncLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SyncLogListParams ¶ added in v3.1.48

type SyncLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `external_event_id`, `operation`, `status`, `sync_id`, `created_at` or `sync_run_id`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ external_event_id ]`, `[ operation ]`, `[ status ]`, `[ sync_id ]`, `[ created_at ]`, `[ sync_run_id ]`, `[ external_event_id, operation ]`, `[ external_event_id, status ]`, `[ external_event_id, sync_id ]`, `[ external_event_id, created_at ]`, `[ external_event_id, sync_run_id ]`, `[ operation, status ]`, `[ operation, sync_id ]`, `[ operation, created_at ]`, `[ operation, sync_run_id ]`, `[ status, sync_id ]`, `[ status, created_at ]`, `[ status, sync_run_id ]`, `[ sync_id, created_at ]`, `[ sync_id, sync_run_id ]`, `[ created_at, sync_run_id ]`, `[ external_event_id, operation, status ]`, `[ external_event_id, operation, sync_id ]`, `[ external_event_id, operation, created_at ]`, `[ external_event_id, operation, sync_run_id ]`, `[ external_event_id, status, sync_id ]`, `[ external_event_id, status, created_at ]`, `[ external_event_id, status, sync_run_id ]`, `[ external_event_id, sync_id, created_at ]`, `[ external_event_id, sync_id, sync_run_id ]`, `[ external_event_id, created_at, sync_run_id ]`, `[ operation, status, sync_id ]`, `[ operation, status, created_at ]`, `[ operation, status, sync_run_id ]`, `[ operation, sync_id, created_at ]`, `[ operation, sync_id, sync_run_id ]`, `[ operation, created_at, sync_run_id ]`, `[ status, sync_id, created_at ]`, `[ status, sync_id, sync_run_id ]`, `[ status, created_at, sync_run_id ]`, `[ sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id ]`, `[ external_event_id, operation, status, created_at ]`, `[ external_event_id, operation, status, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at ]`, `[ external_event_id, operation, sync_id, sync_run_id ]`, `[ external_event_id, operation, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at ]`, `[ external_event_id, status, sync_id, sync_run_id ]`, `[ external_event_id, status, created_at, sync_run_id ]`, `[ external_event_id, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at ]`, `[ operation, status, sync_id, sync_run_id ]`, `[ operation, status, created_at, sync_run_id ]`, `[ operation, sync_id, created_at, sync_run_id ]`, `[ status, sync_id, created_at, sync_run_id ]`, `[ external_event_id, operation, status, sync_id, created_at ]`, `[ external_event_id, operation, status, sync_id, sync_run_id ]`, `[ external_event_id, operation, status, created_at, sync_run_id ]`, `[ external_event_id, operation, sync_id, created_at, sync_run_id ]`, `[ external_event_id, status, sync_id, created_at, sync_run_id ]`, `[ operation, status, sync_id, created_at, sync_run_id ]` or `[ external_event_id, operation, status, sync_id, created_at, sync_run_id ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SyncLogListParams contains the request parameters for GET /sync_logs.

type SyncManualRunParams ¶ added in v3.2.179

type SyncManualRunParams struct {
	// Sync ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SyncManualRunParams contains the request parameters for POST /syncs/{id}/manual_run.

Manually Run Sync

type SyncRun ¶ added in v3.2.177

type SyncRun struct {
	// SyncRun ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Log or summary body for this run.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Total bytes synced in this run.
	BytesSynced int64 `json:"bytes_synced,omitempty" path:"bytes_synced,omitempty" url:"bytes_synced,omitempty"`
	// Number of files compared.
	ComparedFiles int64 `json:"compared_files,omitempty" path:"compared_files,omitempty" url:"compared_files,omitempty"`
	// Number of folders compared.
	ComparedFolders int64 `json:"compared_folders,omitempty" path:"compared_folders,omitempty" url:"compared_folders,omitempty"`
	// When this run was completed.
	CompletedAt *time.Time `json:"completed_at,omitempty" path:"completed_at,omitempty" url:"completed_at,omitempty"`
	// When this run was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Destination remote server type, if any.
	DestRemoteServerType string `json:"dest_remote_server_type,omitempty" path:"dest_remote_server_type,omitempty" url:"dest_remote_server_type,omitempty"`
	// Whether this run was a dry run (no actual changes made).
	DryRun *bool `json:"dry_run,omitempty" path:"dry_run,omitempty" url:"dry_run,omitempty"`
	// Number of files that errored.
	ErroredFiles int64 `json:"errored_files,omitempty" path:"errored_files,omitempty" url:"errored_files,omitempty"`
	// Estimated bytes count for this run.
	EstimatedBytesCount int64 `json:"estimated_bytes_count,omitempty" path:"estimated_bytes_count,omitempty" url:"estimated_bytes_count,omitempty"`
	// Array of errors encountered during the run.
	EventErrors []string `json:"event_errors,omitempty" path:"event_errors,omitempty" url:"event_errors,omitempty"`
	// Link to external log file.
	LogUrl string `json:"log_url,omitempty" path:"log_url,omitempty" url:"log_url,omitempty"`
	// Total runtime in seconds.
	Runtime float64 `json:"runtime,omitempty" path:"runtime,omitempty" url:"runtime,omitempty"`
	// Site ID.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// Workspace ID.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Source remote server type, if any.
	SrcRemoteServerType string `json:"src_remote_server_type,omitempty" path:"src_remote_server_type,omitempty" url:"src_remote_server_type,omitempty"`
	// Status of the sync run (success, failure, partial_failure, in_progress, skipped).
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Number of files successfully synced.
	SuccessfulFiles int64 `json:"successful_files,omitempty" path:"successful_files,omitempty" url:"successful_files,omitempty"`
	// ID of the Sync this run belongs to.
	SyncId int64 `json:"sync_id,omitempty" path:"sync_id,omitempty" url:"sync_id,omitempty"`
	// Name of the Sync this run belongs to.
	SyncName string `json:"sync_name,omitempty" path:"sync_name,omitempty" url:"sync_name,omitempty"`
	// When this run was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
	// Array of in-progress file transfers with progress data. Only present when the sync run status is in_progress.
	LiveTransfers []SyncRunLiveTransfer `json:"live_transfers,omitempty" path:"live_transfers,omitempty" url:"live_transfers,omitempty"`
}

SyncRun is a Files.com API resource.

func (SyncRun) Identifier ¶ added in v3.2.177

func (s SyncRun) Identifier() interface{}

Identifier returns the resource ID.

func (*SyncRun) UnmarshalJSON ¶ added in v3.2.177

func (s *SyncRun) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SyncRunCollection ¶ added in v3.2.177

type SyncRunCollection []SyncRun

SyncRunCollection is a list of SyncRun resources.

func (*SyncRunCollection) ToSlice ¶ added in v3.2.177

func (s *SyncRunCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SyncRunCollection) UnmarshalJSON ¶ added in v3.2.177

func (s *SyncRunCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SyncRunFindParams ¶ added in v3.2.177

type SyncRunFindParams struct {
	// Sync Run ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

SyncRunFindParams contains the request parameters for GET /sync_runs/{id}.

type SyncRunListParams ¶ added in v3.2.177

type SyncRunListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `sync_id`, `created_at` or `status`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `status`, `dry_run`, `workspace_id`, `src_remote_server_type`, `dest_remote_server_type` or `sync_id`. Valid field combinations are `[ status, created_at ]`, `[ workspace_id, created_at ]`, `[ src_remote_server_type, created_at ]`, `[ dest_remote_server_type, created_at ]`, `[ sync_id, created_at ]`, `[ workspace_id, status ]`, `[ src_remote_server_type, status ]`, `[ dest_remote_server_type, status ]`, `[ sync_id, status ]`, `[ workspace_id, src_remote_server_type ]`, `[ workspace_id, dest_remote_server_type ]`, `[ workspace_id, sync_id ]`, `[ workspace_id, status, created_at ]`, `[ src_remote_server_type, status, created_at ]`, `[ dest_remote_server_type, status, created_at ]`, `[ sync_id, status, created_at ]`, `[ workspace_id, src_remote_server_type, created_at ]`, `[ workspace_id, dest_remote_server_type, created_at ]`, `[ workspace_id, sync_id, created_at ]`, `[ workspace_id, src_remote_server_type, status ]`, `[ workspace_id, dest_remote_server_type, status ]`, `[ workspace_id, sync_id, status ]`, `[ workspace_id, src_remote_server_type, status, created_at ]`, `[ workspace_id, dest_remote_server_type, status, created_at ]` or `[ workspace_id, sync_id, status, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

SyncRunListParams contains the request parameters for GET /sync_runs.

type SyncRunLiveTransfer ¶ added in v3.3.83

type SyncRunLiveTransfer struct {
	// The file path being transferred. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Status of this individual transfer.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Bytes transferred so far.
	BytesCopied int64 `json:"bytes_copied,omitempty" path:"bytes_copied,omitempty" url:"bytes_copied,omitempty"`
	// Total bytes of the file being transferred.
	BytesTotal int64 `json:"bytes_total,omitempty" path:"bytes_total,omitempty" url:"bytes_total,omitempty"`
	// Transfer progress from 0.0 to 1.0.
	Percentage float64 `json:"percentage,omitempty" path:"percentage,omitempty" url:"percentage,omitempty"`
	// Estimated time remaining (human-readable).
	Eta string `json:"eta,omitempty" path:"eta,omitempty" url:"eta,omitempty"`
	// When this individual transfer started.
	StartedAt string `json:"started_at,omitempty" path:"started_at,omitempty" url:"started_at,omitempty"`
}

SyncRunLiveTransfer is a Files.com API resource.

func (SyncRunLiveTransfer) Identifier ¶ added in v3.3.83

func (s SyncRunLiveTransfer) Identifier() interface{}

Identifier returns the resource path.

func (*SyncRunLiveTransfer) UnmarshalJSON ¶ added in v3.3.83

func (s *SyncRunLiveTransfer) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type SyncRunLiveTransferCollection ¶ added in v3.3.83

type SyncRunLiveTransferCollection []SyncRunLiveTransfer

SyncRunLiveTransferCollection is a list of SyncRunLiveTransfer resources.

func (*SyncRunLiveTransferCollection) ToSlice ¶ added in v3.3.83

func (s *SyncRunLiveTransferCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*SyncRunLiveTransferCollection) UnmarshalJSON ¶ added in v3.3.83

func (s *SyncRunLiveTransferCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type SyncTriggerEnum ¶ added in v3.3.74

type SyncTriggerEnum string

SyncTriggerEnum is a string value for trigger. Enum lists the values documented by the API.

func (SyncTriggerEnum) Enum ¶ added in v3.3.74

func (u SyncTriggerEnum) Enum() map[string]SyncTriggerEnum

Enum returns the documented values keyed by their API strings.

func (SyncTriggerEnum) String ¶ added in v3.3.74

func (u SyncTriggerEnum) String() string

String returns the API parameter value.

type SyncUpdateParams ¶ added in v3.2.177

type SyncUpdateParams struct {
	// Sync ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Delete empty folders after sync?
	DeleteEmptyFolders *bool `url:"delete_empty_folders,omitempty" json:"delete_empty_folders,omitempty" path:"delete_empty_folders"`
	// Description for this sync job.
	Description string `url:"description,omitempty" json:"description,omitempty" path:"description"`
	// Absolute destination path for the sync.
	DestPath string `url:"dest_path,omitempty" json:"dest_path,omitempty" path:"dest_path"`
	// Remote server ID for the destination (if remote).
	DestRemoteServerId int64 `url:"dest_remote_server_id,omitempty" json:"dest_remote_server_id,omitempty" path:"dest_remote_server_id"`
	// Is this sync disabled?
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// Array of glob patterns to exclude.
	ExcludePatterns []string `url:"exclude_patterns,omitempty" json:"exclude_patterns,omitempty" path:"exclude_patterns"`
	// Skip the sync if there is a formal, observed holiday for this region.
	HolidayRegion string `url:"holiday_region,omitempty" json:"holiday_region,omitempty" path:"holiday_region"`
	// Array of glob patterns to include.
	IncludePatterns []string `url:"include_patterns,omitempty" json:"include_patterns,omitempty" path:"include_patterns"`
	// If trigger is `daily`, this specifies how often to run this sync. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`.
	Interval string `url:"interval,omitempty" json:"interval,omitempty" path:"interval"`
	// Keep files after copying?
	KeepAfterCopy *bool `url:"keep_after_copy,omitempty" json:"keep_after_copy,omitempty" path:"keep_after_copy"`
	// Name for this sync job.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDay int64 `url:"recurring_day,omitempty" json:"recurring_day,omitempty" path:"recurring_day"`
	// If trigger type is `daily`, this specifies one or more day numbers to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
	RecurringDays []int64 `url:"recurring_days,omitempty" json:"recurring_days,omitempty" path:"recurring_days"`
	// If trigger is `custom_schedule`, the reusable Schedule used instead of the sync's schedule fields.
	ScheduleId int64 `url:"schedule_id,omitempty" json:"schedule_id,omitempty" path:"schedule_id"`
	// If trigger is `custom_schedule`, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
	ScheduleDaysOfWeek []int64 `url:"schedule_days_of_week,omitempty" json:"schedule_days_of_week,omitempty" path:"schedule_days_of_week"`
	// Time zone for the schedule. If not set, times are interpreted as UTC.
	ScheduleTimeZone string `url:"schedule_time_zone,omitempty" json:"schedule_time_zone,omitempty" path:"schedule_time_zone"`
	// Times of day to run in HH:MM format. For `custom_schedule`, run at these times on specified days of week. For `daily`, run at these times on the scheduled interval date.
	ScheduleTimesOfDay []string `url:"schedule_times_of_day,omitempty" json:"schedule_times_of_day,omitempty" path:"schedule_times_of_day"`
	// Absolute source path for the sync.
	SrcPath string `url:"src_path,omitempty" json:"src_path,omitempty" path:"src_path"`
	// Remote server ID for the source (if remote).
	SrcRemoteServerId int64 `url:"src_remote_server_id,omitempty" json:"src_remote_server_id,omitempty" path:"src_remote_server_id"`
	// Frequency in minutes between syncs. If set, this value must be greater than or equal to the `remote_sync_interval` value for the site's plan. If left blank, the plan's `remote_sync_interval` will be used. This setting is only used if `trigger` is empty.
	SyncIntervalMinutes int64 `url:"sync_interval_minutes,omitempty" json:"sync_interval_minutes,omitempty" path:"sync_interval_minutes"`
	// Trigger type: daily, custom_schedule, or manual. Values: daily, custom_schedule, manual.
	Trigger SyncTriggerEnum `url:"trigger,omitempty" json:"trigger,omitempty" path:"trigger"`
	// Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If trigger_file is set, a zero-byte file will be sent at the end of the sync.
	TriggerFile string `url:"trigger_file,omitempty" json:"trigger_file,omitempty" path:"trigger_file"`
	// If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
	AlwaysWriteTriggerFile *bool `url:"always_write_trigger_file,omitempty" json:"always_write_trigger_file,omitempty" path:"always_write_trigger_file"`
}

SyncUpdateParams contains the request parameters for PATCH /syncs/{id}.

type TypedIterI ¶

type TypedIterI[T any] interface {
	Next() bool
	Current() interface{}
	Resource() T
	Err() error
}

TypedIterI adds typed resource access to an iterator.

type U2fSignRequests ¶

type U2fSignRequests struct {
	AppId       string      `json:"app_id"`
	Challenge   string      `json:"challenge"`
	SignRequest SignRequest `json:"sign_request"`
}

U2fSignRequests contains a U2F challenge and signing request.

type UsageByTopLevelDir ¶ added in v3.2.138

type UsageByTopLevelDir struct {
	// Directory name.
	Dir string `json:"dir,omitempty" path:"dir,omitempty" url:"dir,omitempty"`
	// Usage.
	Size int64 `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
	// File count.
	Count int64 `json:"count,omitempty" path:"count,omitempty" url:"count,omitempty"`
}

UsageByTopLevelDir is a Files.com API resource.

func (*UsageByTopLevelDir) UnmarshalJSON ¶ added in v3.2.138

func (u *UsageByTopLevelDir) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UsageByTopLevelDirCollection ¶ added in v3.2.138

type UsageByTopLevelDirCollection []UsageByTopLevelDir

UsageByTopLevelDirCollection is a list of UsageByTopLevelDir resources.

func (*UsageByTopLevelDirCollection) ToSlice ¶ added in v3.2.138

func (u *UsageByTopLevelDirCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UsageByTopLevelDirCollection) UnmarshalJSON ¶ added in v3.2.138

func (u *UsageByTopLevelDirCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UsageDailySnapshot ¶

type UsageDailySnapshot struct {
	// ID of the usage record.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// The date of this usage record.
	Date *calendar.Date `json:"date,omitempty" path:"date,omitempty" url:"date,omitempty"`
	// True if the API usage fields `read_api_usage` and `write_api_usage` can be relied upon. If this is false, we suggest hiding that value from any UI.
	ApiUsageAvailable *bool `json:"api_usage_available,omitempty" path:"api_usage_available,omitempty" url:"api_usage_available,omitempty"`
	// Read API Calls used on this day. Note: only updated for days before the current day.
	ReadApiUsage int64 `json:"read_api_usage,omitempty" path:"read_api_usage,omitempty" url:"read_api_usage,omitempty"`
	// Write API Calls used on this day. Note: only updated for days before the current day.
	WriteApiUsage int64 `json:"write_api_usage,omitempty" path:"write_api_usage,omitempty" url:"write_api_usage,omitempty"`
	// Transformation and AI credits used on this day. Note: only updated for days before the current day.
	TransformationCreditsUsage int64 `` /* 136-byte string literal not displayed */
	// Number of billable users as of this day.
	UserCount int64 `json:"user_count,omitempty" path:"user_count,omitempty" url:"user_count,omitempty"`
	// GB of Files Native Storage used on this day.
	CurrentStorage int64 `json:"current_storage,omitempty" path:"current_storage,omitempty" url:"current_storage,omitempty"`
	// GB of Files Native Storage used on this day for files that have been deleted and are stored as backups.
	DeletedFilesStorage int64 `json:"deleted_files_storage,omitempty" path:"deleted_files_storage,omitempty" url:"deleted_files_storage,omitempty"`
	// GB of Files Native Storage used on this day for files that have been permanently deleted but were uploaded less than 30 days ago, and are still billable.
	DeletedFilesCountedInMinimum int64 `` /* 148-byte string literal not displayed */
	// GB of Files Native Storage used for the root folder. Included here because this value will not be part of `usage_by_top_level_dir`.
	RootStorage int64 `json:"root_storage,omitempty" path:"root_storage,omitempty" url:"root_storage,omitempty"`
	// Usage broken down by each top-level folder.
	UsageByTopLevelDir []UsageByTopLevelDir `json:"usage_by_top_level_dir,omitempty" path:"usage_by_top_level_dir,omitempty" url:"usage_by_top_level_dir,omitempty"`
}

UsageDailySnapshot is a Files.com API resource.

func (UsageDailySnapshot) Identifier ¶

func (u UsageDailySnapshot) Identifier() interface{}

Identifier returns the resource ID.

func (*UsageDailySnapshot) UnmarshalJSON ¶

func (u *UsageDailySnapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UsageDailySnapshotCollection ¶

type UsageDailySnapshotCollection []UsageDailySnapshot

UsageDailySnapshotCollection is a list of UsageDailySnapshot resources.

func (*UsageDailySnapshotCollection) ToSlice ¶

func (u *UsageDailySnapshotCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UsageDailySnapshotCollection) UnmarshalJSON ¶

func (u *UsageDailySnapshotCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UsageDailySnapshotListParams ¶

type UsageDailySnapshotListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `date`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `date` and `usage_snapshot_id`. Valid field combinations are `[ usage_snapshot_id, date ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `date`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `date`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `date`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `date`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UsageDailySnapshotListParams contains the request parameters for GET /usage_daily_snapshots.

type UsageSnapshot ¶

type UsageSnapshot struct {
	// Usage snapshot ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Usage snapshot start date/time.
	StartAt *time.Time `json:"start_at,omitempty" path:"start_at,omitempty" url:"start_at,omitempty"`
	// Usage snapshot end date/time.
	EndAt *time.Time `json:"end_at,omitempty" path:"end_at,omitempty" url:"end_at,omitempty"`
	// Highest user count number in time period.
	HighWaterUserCount int64 `json:"high_water_user_count,omitempty" path:"high_water_user_count,omitempty" url:"high_water_user_count,omitempty"`
	// Total Transformation and AI credits used in this usage period. Updated daily. Does not include credits consumed today.
	TransformationCreditsUsage int64 `` /* 136-byte string literal not displayed */
	// Current total Storage Usage GB as of end date (not necessarily high water mark, which is used for billing).
	CurrentStorage int64 `json:"current_storage,omitempty" path:"current_storage,omitempty" url:"current_storage,omitempty"`
	// Highest Storage Usage GB recorded in time period (used for billing).
	HighWaterStorage int64 `json:"high_water_storage,omitempty" path:"high_water_storage,omitempty" url:"high_water_storage,omitempty"`
	// Storage Usage for root folder as of end date (not necessarily high water mark, which is used for billing).
	RootStorage int64 `json:"root_storage,omitempty" path:"root_storage,omitempty" url:"root_storage,omitempty"`
	// Storage Usage for files that are deleted but uploaded within last 30 days as of end date (not necessarily high water mark, which is used for billing).
	DeletedFilesCountedInMinimum int64 `` /* 148-byte string literal not displayed */
	// Storage Usage for files that are deleted but retained as backups as of end date (not necessarily high water mark, which is used for billing).
	DeletedFilesStorage int64 `json:"deleted_files_storage,omitempty" path:"deleted_files_storage,omitempty" url:"deleted_files_storage,omitempty"`
	// Storage + Transfer Usage - Total Billable amount.
	TotalBillableUsage int64 `json:"total_billable_usage,omitempty" path:"total_billable_usage,omitempty" url:"total_billable_usage,omitempty"`
	// Transfer usage for period - Total Billable amount.
	TotalBillableTransferUsage int64 `` /* 139-byte string literal not displayed */
	// Transfer Usage for period - Outbound GB from Files Native Storage.
	BytesSent int64 `json:"bytes_sent,omitempty" path:"bytes_sent,omitempty" url:"bytes_sent,omitempty"`
	// Transfer Usage for period - Inbound GB to Remote Servers (Sync/Mount).
	SyncBytesReceived int64 `json:"sync_bytes_received,omitempty" path:"sync_bytes_received,omitempty" url:"sync_bytes_received,omitempty"`
	// Transfer Usage for period - Outbound GB from Remote Servers (Sync/Mount).
	SyncBytesSent int64 `json:"sync_bytes_sent,omitempty" path:"sync_bytes_sent,omitempty" url:"sync_bytes_sent,omitempty"`
	// Storage Usage - map of root folders to their usage as of end date (not necessarily high water mark, which is used for billing).
	UsageByTopLevelDir []UsageByTopLevelDir `json:"usage_by_top_level_dir,omitempty" path:"usage_by_top_level_dir,omitempty" url:"usage_by_top_level_dir,omitempty"`
}

UsageSnapshot is a Files.com API resource.

func (UsageSnapshot) Identifier ¶

func (u UsageSnapshot) Identifier() interface{}

Identifier returns the resource ID.

func (*UsageSnapshot) UnmarshalJSON ¶

func (u *UsageSnapshot) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UsageSnapshotCollection ¶

type UsageSnapshotCollection []UsageSnapshot

UsageSnapshotCollection is a list of UsageSnapshot resources.

func (*UsageSnapshotCollection) ToSlice ¶

func (u *UsageSnapshotCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UsageSnapshotCollection) UnmarshalJSON ¶

func (u *UsageSnapshotCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UsageSnapshotListParams ¶

type UsageSnapshotListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UsageSnapshotListParams contains the request parameters for GET /usage_snapshots.

type User ¶

type User struct {
	// User ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// User's username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// List of group IDs of which this user is an administrator.
	AdminGroupIds []int64 `json:"admin_group_ids,omitempty" path:"admin_group_ids,omitempty" url:"admin_group_ids,omitempty"`
	// A list of allowed IPs if applicable. Newline delimited.
	AllowedIps string `json:"allowed_ips,omitempty" path:"allowed_ips,omitempty" url:"allowed_ips,omitempty"`
	// If `true`, the user can user create Bundles (aka Share Links). Use the bundle permission instead.
	AttachmentsPermission *bool `json:"attachments_permission,omitempty" path:"attachments_permission,omitempty" url:"attachments_permission,omitempty"`
	// Number of API keys associated with this user.
	ApiKeysCount int64 `json:"api_keys_count,omitempty" path:"api_keys_count,omitempty" url:"api_keys_count,omitempty"`
	// Scheduled Date/Time at which user will be deactivated.
	AuthenticateUntil *time.Time `json:"authenticate_until,omitempty" path:"authenticate_until,omitempty" url:"authenticate_until,omitempty"`
	// How is this user authenticated?
	AuthenticationMethod string `json:"authentication_method,omitempty" path:"authentication_method,omitempty" url:"authentication_method,omitempty"`
	// URL holding the user's avatar.
	AvatarUrl string `json:"avatar_url,omitempty" path:"avatar_url,omitempty" url:"avatar_url,omitempty"`
	// Is this a billable user record?
	Billable *bool `json:"billable,omitempty" path:"billable,omitempty" url:"billable,omitempty"`
	// Allow this user to perform operations on the account, payments, and invoices?
	BillingPermission *bool `json:"billing_permission,omitempty" path:"billing_permission,omitempty" url:"billing_permission,omitempty"`
	// Allow this user to skip site-wide IP blacklists?
	BypassSiteAllowedIps *bool `json:"bypass_site_allowed_ips,omitempty" path:"bypass_site_allowed_ips,omitempty" url:"bypass_site_allowed_ips,omitempty"`
	// Exempt this user from user lifecycle rules?
	BypassUserLifecycleRules *bool `` /* 133-byte string literal not displayed */
	// When this user was created.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Can the user connect with WebDAV?
	DavPermission *bool `json:"dav_permission,omitempty" path:"dav_permission,omitempty" url:"dav_permission,omitempty"`
	// Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
	Disabled *bool `json:"disabled,omitempty" path:"disabled,omitempty" url:"disabled,omitempty"`
	// Computed property that returns true if user disabled or expired or inactive.
	DisabledExpiredOrInactive *bool `` /* 136-byte string literal not displayed */
	// AI Assistant Personality ID assigned directly to this user, if any.
	AiAssistantPersonalityId int64 `` /* 133-byte string literal not displayed */
	// Desktop Configuration Profile ID assigned directly to this user, if any.
	DesktopConfigurationProfileId int64 `` /* 148-byte string literal not displayed */
	// Integration Centric Profile ID assigned directly to this user, if any.
	IntegrationCentricProfileId int64 `` /* 142-byte string literal not displayed */
	// User email address.
	Email string `json:"email,omitempty" path:"email,omitempty" url:"email,omitempty"`
	// File system layout.
	FilesystemLayout string `json:"filesystem_layout,omitempty" path:"filesystem_layout,omitempty" url:"filesystem_layout,omitempty"`
	// User's first login time.
	FirstLoginAt *time.Time `json:"first_login_at,omitempty" path:"first_login_at,omitempty" url:"first_login_at,omitempty"`
	// Can the user access with FTP/FTPS?
	FtpPermission *bool `json:"ftp_permission,omitempty" path:"ftp_permission,omitempty" url:"ftp_permission,omitempty"`
	// Comma-separated list of group IDs of which this user is a member.
	GroupIds string `json:"group_ids,omitempty" path:"group_ids,omitempty" url:"group_ids,omitempty"`
	// Text to display to the user in the header of the UI.
	HeaderText string `json:"header_text,omitempty" path:"header_text,omitempty" url:"header_text,omitempty"`
	// Preferred language.
	Language string `json:"language,omitempty" path:"language,omitempty" url:"language,omitempty"`
	// User's most recent login time via any protocol.
	LastLoginAt *time.Time `json:"last_login_at,omitempty" path:"last_login_at,omitempty" url:"last_login_at,omitempty"`
	// User's most recent login time via web.
	LastWebLoginAt *time.Time `json:"last_web_login_at,omitempty" path:"last_web_login_at,omitempty" url:"last_web_login_at,omitempty"`
	// User's most recent login time via FTP.
	LastFtpLoginAt *time.Time `json:"last_ftp_login_at,omitempty" path:"last_ftp_login_at,omitempty" url:"last_ftp_login_at,omitempty"`
	// User's most recent login time via SFTP.
	LastSftpLoginAt *time.Time `json:"last_sftp_login_at,omitempty" path:"last_sftp_login_at,omitempty" url:"last_sftp_login_at,omitempty"`
	// User's most recent login time via WebDAV.
	LastDavLoginAt *time.Time `json:"last_dav_login_at,omitempty" path:"last_dav_login_at,omitempty" url:"last_dav_login_at,omitempty"`
	// User's most recent login time via Desktop app.
	LastDesktopLoginAt *time.Time `json:"last_desktop_login_at,omitempty" path:"last_desktop_login_at,omitempty" url:"last_desktop_login_at,omitempty"`
	// User's most recent login time via Rest API.
	LastRestapiLoginAt *time.Time `json:"last_restapi_login_at,omitempty" path:"last_restapi_login_at,omitempty" url:"last_restapi_login_at,omitempty"`
	// User's most recent API use time.
	LastApiUseAt *time.Time `json:"last_api_use_at,omitempty" path:"last_api_use_at,omitempty" url:"last_api_use_at,omitempty"`
	// User's most recent activity time, which is the latest of most recent login, most recent API use, enablement, or creation.
	LastActiveAt *time.Time `json:"last_active_at,omitempty" path:"last_active_at,omitempty" url:"last_active_at,omitempty"`
	// The most recent protocol and cipher used.
	LastProtocolCipher string `json:"last_protocol_cipher,omitempty" path:"last_protocol_cipher,omitempty" url:"last_protocol_cipher,omitempty"`
	// Time in the future that the user will no longer be locked out if applicable.
	LockoutExpires *time.Time `json:"lockout_expires,omitempty" path:"lockout_expires,omitempty" url:"lockout_expires,omitempty"`
	// User's full name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// User's company.
	Company string `json:"company,omitempty" path:"company,omitempty" url:"company,omitempty"`
	// Any internal notes on the user.
	Notes string `json:"notes,omitempty" path:"notes,omitempty" url:"notes,omitempty"`
	// Hour of the day at which daily notifications should be sent. Can be in range 0 to 23.
	NotificationDailySendTime int64 `` /* 136-byte string literal not displayed */
	// Enable integration with Office for the web?
	OfficeIntegrationEnabled *bool `` /* 130-byte string literal not displayed */
	// Is this user a Partner administrator?
	PartnerAdmin *bool `json:"partner_admin,omitempty" path:"partner_admin,omitempty" url:"partner_admin,omitempty"`
	// Partner ID if this user belongs to a Partner.
	PartnerId int64 `json:"partner_id,omitempty" path:"partner_id,omitempty" url:"partner_id,omitempty"`
	// Name of the Partner if this user belongs to a Partner.
	PartnerName string `json:"partner_name,omitempty" path:"partner_name,omitempty" url:"partner_name,omitempty"`
	// Last time the user's password was set.
	PasswordSetAt *time.Time `json:"password_set_at,omitempty" path:"password_set_at,omitempty" url:"password_set_at,omitempty"`
	// Number of days to allow user to use the same password.
	PasswordValidityDays int64 `json:"password_validity_days,omitempty" path:"password_validity_days,omitempty" url:"password_validity_days,omitempty"`
	// Primary group ID for Group Admin scoping.
	PrimaryGroupId int64 `json:"primary_group_id,omitempty" path:"primary_group_id,omitempty" url:"primary_group_id,omitempty"`
	// Number of public keys associated with this user.
	PublicKeysCount int64 `json:"public_keys_count,omitempty" path:"public_keys_count,omitempty" url:"public_keys_count,omitempty"`
	// Deprecated. Use notify_on_all_site_warnings and granular failure notification preferences instead.
	ReceiveAdminAlerts *bool `json:"receive_admin_alerts,omitempty" path:"receive_admin_alerts,omitempty" url:"receive_admin_alerts,omitempty"`
	// Should the user receive site warnings via email?
	NotifyOnAllSiteWarnings *bool `` /* 133-byte string literal not displayed */
	// Should the user receive sso/scim/ldap configuration/sync failures via email?
	NotifyOnAllSsoFailures *bool `` /* 130-byte string literal not displayed */
	// Should the user receive user security events via email?
	NotifyOnAllUserSecurityEvents *bool `` /* 154-byte string literal not displayed */
	// Should the user receive pending work failures via email?
	NotifyOnAllPendingWorkFailures *bool `` /* 157-byte string literal not displayed */
	// Should the user receive siem failures via email?
	NotifyOnAllSiemHttpDestinationFailures *bool `` /* 184-byte string literal not displayed */
	// Should the user receive sync failures via email?
	NotifyOnAllSyncFailures *bool `` /* 133-byte string literal not displayed */
	// Should the user receive automation failures via email?
	NotifyOnAllAutomationFailures *bool `` /* 151-byte string literal not displayed */
	// Should the user receive expectation failures and misses via email?
	NotifyOnAllExpectationFailures *bool `` /* 154-byte string literal not displayed */
	// 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed.
	Require2fa string `json:"require_2fa,omitempty" path:"require_2fa,omitempty" url:"require_2fa,omitempty"`
	// Require user to login by specified date otherwise it will be disabled.
	RequireLoginBy *time.Time `json:"require_login_by,omitempty" path:"require_login_by,omitempty" url:"require_login_by,omitempty"`
	// Is 2fa active for the user?
	Active2fa *bool `json:"active_2fa,omitempty" path:"active_2fa,omitempty" url:"active_2fa,omitempty"`
	// Is a password change required upon next user login?
	RequirePasswordChange *bool `json:"require_password_change,omitempty" path:"require_password_change,omitempty" url:"require_password_change,omitempty"`
	// Is user's password expired?
	PasswordExpired *bool `json:"password_expired,omitempty" path:"password_expired,omitempty" url:"password_expired,omitempty"`
	// ID of the internal Group responsible for this Partner User, overriding the Partner default.
	ResponsibleGroupId int64 `json:"responsible_group_id,omitempty" path:"responsible_group_id,omitempty" url:"responsible_group_id,omitempty"`
	// ID of the internal User responsible for this Partner User, overriding the Partner default.
	ResponsibleUserId int64 `json:"responsible_user_id,omitempty" path:"responsible_user_id,omitempty" url:"responsible_user_id,omitempty"`
	// Is the user an allowed to view all (non-billing) site configuration for this site?
	ReadonlySiteAdmin *bool `json:"readonly_site_admin,omitempty" path:"readonly_site_admin,omitempty" url:"readonly_site_admin,omitempty"`
	// Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.).
	RestapiPermission *bool `json:"restapi_permission,omitempty" path:"restapi_permission,omitempty" url:"restapi_permission,omitempty"`
	// Can the user access the S3-compatible endpoint? Defaults to true.
	S3CompatibleEndpointPermission *bool `` /* 151-byte string literal not displayed */
	// Does this user manage it's own credentials or is it a shared/bot user?
	SelfManaged *bool `json:"self_managed,omitempty" path:"self_managed,omitempty" url:"self_managed,omitempty"`
	// Can the user access with SFTP?
	SftpPermission *bool `json:"sftp_permission,omitempty" path:"sftp_permission,omitempty" url:"sftp_permission,omitempty"`
	// Is the user an administrator for this site?
	SiteAdmin *bool `json:"site_admin,omitempty" path:"site_admin,omitempty" url:"site_admin,omitempty"`
	// Whether the user is an administrator of their own Custom Workspace. Does not reflect administration granted through Permissions.
	WorkspaceAdmin *bool `json:"workspace_admin,omitempty" path:"workspace_admin,omitempty" url:"workspace_admin,omitempty"`
	// Site ID.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// ID of the Workspace the user belongs to. 0 is the Default Workspace.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Workspace ID the user should land in by default when more than one Workspace is available.
	DefaultWorkspaceId int64 `json:"default_workspace_id,omitempty" path:"default_workspace_id,omitempty" url:"default_workspace_id,omitempty"`
	// Skip Welcome page in the UI?
	SkipWelcomeScreen *bool `json:"skip_welcome_screen,omitempty" path:"skip_welcome_screen,omitempty" url:"skip_welcome_screen,omitempty"`
	// SSL required setting.
	SslRequired string `json:"ssl_required,omitempty" path:"ssl_required,omitempty" url:"ssl_required,omitempty"`
	// SSO (Single Sign On) strategy ID for the user, if applicable.
	SsoStrategyId int64 `json:"sso_strategy_id,omitempty" path:"sso_strategy_id,omitempty" url:"sso_strategy_id,omitempty"`
	// Is the user subscribed to the newsletter?
	SubscribeToNewsletter *bool `json:"subscribe_to_newsletter,omitempty" path:"subscribe_to_newsletter,omitempty" url:"subscribe_to_newsletter,omitempty"`
	// Is this user managed by a SsoStrategy?
	ExternallyManaged *bool `json:"externally_managed,omitempty" path:"externally_managed,omitempty" url:"externally_managed,omitempty"`
	// Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
	Tags string `json:"tags,omitempty" path:"tags,omitempty" url:"tags,omitempty"`
	// User time zone.
	TimeZone string `json:"time_zone,omitempty" path:"time_zone,omitempty" url:"time_zone,omitempty"`
	// Type(s) of 2FA methods in use, for programmatic use. Will be either `sms`, `totp`, `webauthn`, `yubi`, `email`, or multiple values sorted alphabetically and joined by an underscore. Does not specify whether user has more than one of a given method.
	TypeOf2fa string `json:"type_of_2fa,omitempty" path:"type_of_2fa,omitempty" url:"type_of_2fa,omitempty"`
	// Type(s) of 2FA methods in use, formatted for displaying in the UI. Unlike `type_of_2fa`, this value will make clear when a user has more than 1 of the same type of method.
	TypeOf2faForDisplay string `json:"type_of_2fa_for_display,omitempty" path:"type_of_2fa_for_display,omitempty" url:"type_of_2fa_for_display,omitempty"`
	// If filesystem layout is user_root, this path is the root path the user is fixed to for all interfaces. If the filesystem layout is site_root or partner_root, this acts as a root folder only for FTP and SFTP (SFTP applicability also requires a site-wide setting to be set). For partner_root layout, this path is relative to the Partner root folder for all callers and blank opts out of an additional protocol root. In this situation, this path is not applied to the API, Desktop, or Web interface.
	UserRoot string `json:"user_root,omitempty" path:"user_root,omitempty" url:"user_root,omitempty"`
	// Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface.
	UserHome string `json:"user_home,omitempty" path:"user_home,omitempty" url:"user_home,omitempty"`
	// Number of days remaining until password expires.
	DaysRemainingUntilPasswordExpire int64 `` /* 160-byte string literal not displayed */
	// Password expiration datetime.
	PasswordExpireAt *time.Time `json:"password_expire_at,omitempty" path:"password_expire_at,omitempty" url:"password_expire_at,omitempty"`
	// An image file for your user avatar.
	AvatarFile io.Reader `json:"avatar_file,omitempty" path:"avatar_file,omitempty" url:"avatar_file,omitempty"`
	// If true, the avatar will be deleted.
	AvatarDelete *bool `json:"avatar_delete,omitempty" path:"avatar_delete,omitempty" url:"avatar_delete,omitempty"`
	// Used for changing a password on an existing user.
	ChangePassword string `json:"change_password,omitempty" path:"change_password,omitempty" url:"change_password,omitempty"`
	// Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
	ChangePasswordConfirmation string `` /* 136-byte string literal not displayed */
	// Permission to grant on the User Root upon creation, or on the Workspace root when the User Root is blank. For the Default Workspace, a blank User Root uses the site root. `admin` on a Custom Workspace's root grants Workspace Administrator access; on a subfolder it grants Folder Admin access. Can be blank or `admin`, `full`, `read`, `write`, `list`, `read+write`, `list+write`, or `history`.
	GrantPermission string `json:"grant_permission,omitempty" path:"grant_permission,omitempty" url:"grant_permission,omitempty"`
	// Group ID to associate this user with.
	GroupId int64 `json:"group_id,omitempty" path:"group_id,omitempty" url:"group_id,omitempty"`
	// Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
	ImportedPasswordHash string `json:"imported_password_hash,omitempty" path:"imported_password_hash,omitempty" url:"imported_password_hash,omitempty"`
	// User password.
	Password string `json:"password,omitempty" path:"password,omitempty" url:"password,omitempty"`
	// Optional, but if provided, we will ensure that it matches the value sent in `password`.
	PasswordConfirmation string `json:"password_confirmation,omitempty" path:"password_confirmation,omitempty" url:"password_confirmation,omitempty"`
	// Signifies that the user has read all the announcements in the UI.
	AnnouncementsRead *bool `json:"announcements_read,omitempty" path:"announcements_read,omitempty" url:"announcements_read,omitempty"`
	// If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
	Clear2fa *bool `json:"clear_2fa,omitempty" path:"clear_2fa,omitempty" url:"clear_2fa,omitempty"`
	// Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
	ConvertToPartnerUser *bool `json:"convert_to_partner_user,omitempty" path:"convert_to_partner_user,omitempty" url:"convert_to_partner_user,omitempty"`
}

User is a Files.com API resource.

func (User) Identifier ¶

func (u User) Identifier() interface{}

Identifier returns the resource ID.

func (*User) UnmarshalJSON ¶

func (u *User) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UserAdditionalEmailRecipient ¶ added in v3.3.198

type UserAdditionalEmailRecipient struct {
	// User additional email recipient ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Workspace ID (0 for default workspace).
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// Additional email recipient address.
	Email string `json:"email,omitempty" path:"email,omitempty" url:"email,omitempty"`
	// Created at date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

UserAdditionalEmailRecipient is a Files.com API resource.

func (UserAdditionalEmailRecipient) Identifier ¶ added in v3.3.198

func (u UserAdditionalEmailRecipient) Identifier() interface{}

Identifier returns the resource ID.

func (*UserAdditionalEmailRecipient) UnmarshalJSON ¶ added in v3.3.198

func (u *UserAdditionalEmailRecipient) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UserAdditionalEmailRecipientCollection ¶ added in v3.3.198

type UserAdditionalEmailRecipientCollection []UserAdditionalEmailRecipient

UserAdditionalEmailRecipientCollection is a list of UserAdditionalEmailRecipient resources.

func (*UserAdditionalEmailRecipientCollection) ToSlice ¶ added in v3.3.198

func (u *UserAdditionalEmailRecipientCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UserAdditionalEmailRecipientCollection) UnmarshalJSON ¶ added in v3.3.198

func (u *UserAdditionalEmailRecipientCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UserAdditionalEmailRecipientCreateParams ¶ added in v3.3.198

type UserAdditionalEmailRecipientCreateParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// Additional email recipient address. Required.
	Email string `url:"email" json:"email" path:"email"`
}

UserAdditionalEmailRecipientCreateParams contains the request parameters for POST /user_additional_email_recipients.

type UserAdditionalEmailRecipientDeleteParams ¶ added in v3.3.198

type UserAdditionalEmailRecipientDeleteParams struct {
	// User Additional Email Recipient ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserAdditionalEmailRecipientDeleteParams contains the request parameters for DELETE /user_additional_email_recipients/{id}.

type UserAdditionalEmailRecipientFindParams ¶ added in v3.3.198

type UserAdditionalEmailRecipientFindParams struct {
	// User Additional Email Recipient ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserAdditionalEmailRecipientFindParams contains the request parameters for GET /user_additional_email_recipients/{id}.

type UserAdditionalEmailRecipientListParams ¶ added in v3.3.198

type UserAdditionalEmailRecipientListParams struct {
	// User ID. Provide a value of `0` to operate the current session's user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `email`, `user_id` or `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `email`, `workspace_id` or `user_id`. Valid field combinations are `[ workspace_id, email ]`, `[ user_id, email ]`, `[ workspace_id, user_id ]` or `[ workspace_id, user_id, email ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `email`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UserAdditionalEmailRecipientListParams contains the request parameters for GET /user_additional_email_recipients.

type UserAdditionalEmailRecipientUpdateParams ¶ added in v3.3.198

type UserAdditionalEmailRecipientUpdateParams struct {
	// User Additional Email Recipient ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Additional email recipient address.
	Email string `url:"email,omitempty" json:"email,omitempty" path:"email"`
}

UserAdditionalEmailRecipientUpdateParams contains the request parameters for PATCH /user_additional_email_recipients/{id}.

type UserAuthenticationMethodEnum ¶

type UserAuthenticationMethodEnum string

UserAuthenticationMethodEnum is a string value for authentication_method. Enum lists the values documented by the API.

func (UserAuthenticationMethodEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (UserAuthenticationMethodEnum) String ¶

String returns the API parameter value.

type UserCipherUse ¶

type UserCipherUse struct {
	// UserCipherUse ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// ID of the user who performed this access.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
	// Username of the user who performed this access.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// The protocol and cipher employed.
	ProtocolCipher string `json:"protocol_cipher,omitempty" path:"protocol_cipher,omitempty" url:"protocol_cipher,omitempty"`
	// The earliest recorded use of this combination of interface and protocol and cipher (for this user).
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Is this cipher considered insecure?
	Insecure *bool `json:"insecure,omitempty" path:"insecure,omitempty" url:"insecure,omitempty"`
	// The interface accessed.
	Interface string `json:"interface,omitempty" path:"interface,omitempty" url:"interface,omitempty"`
	// The most recent use of this combination of interface and protocol and cipher (for this user).
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
}

UserCipherUse is a Files.com API resource.

func (UserCipherUse) Identifier ¶

func (u UserCipherUse) Identifier() interface{}

Identifier returns the resource ID.

func (*UserCipherUse) UnmarshalJSON ¶

func (u *UserCipherUse) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UserCipherUseCollection ¶

type UserCipherUseCollection []UserCipherUse

UserCipherUseCollection is a list of UserCipherUse resources.

func (*UserCipherUseCollection) ToSlice ¶

func (u *UserCipherUseCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UserCipherUseCollection) UnmarshalJSON ¶

func (u *UserCipherUseCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UserCipherUseListParams ¶

type UserCipherUseListParams struct {
	// User ID. If provided, will return uses for this user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `updated_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `insecure` and `updated_at`. Valid field combinations are `[ insecure, updated_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `updated_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `updated_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `updated_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `updated_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UserCipherUseListParams contains the request parameters for GET /user_cipher_uses.

type UserCollection ¶

type UserCollection []User

UserCollection is a list of User resources.

func (*UserCollection) ToSlice ¶

func (u *UserCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UserCollection) UnmarshalJSON ¶

func (u *UserCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UserCreateParams ¶

type UserCreateParams struct {
	// An image file for your user avatar.
	AvatarFile io.Writer `url:"avatar_file,omitempty" json:"avatar_file,omitempty" path:"avatar_file"`
	// AvatarFileAttachment sends file content as avatar_file; see lib.JSONAttachment. Leave AvatarFile nil when you set it.
	AvatarFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"avatar_file"`
	// If true, the avatar will be deleted.
	AvatarDelete *bool `url:"avatar_delete,omitempty" json:"avatar_delete,omitempty" path:"avatar_delete"`
	// Used for changing a password on an existing user.
	ChangePassword string `url:"change_password,omitempty" json:"change_password,omitempty" path:"change_password"`
	// Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
	ChangePasswordConfirmation string `` /* 126-byte string literal not displayed */
	// User's email.
	Email string `url:"email,omitempty" json:"email,omitempty" path:"email"`
	// Permission to grant on the User Root upon creation, or on the Workspace root when the User Root is blank. For the Default Workspace, a blank User Root uses the site root. `admin` on a Custom Workspace's root grants Workspace Administrator access; on a subfolder it grants Folder Admin access. Can be blank or `admin`, `full`, `read`, `write`, `list`, `read+write`, `list+write`, or `history`.
	GrantPermission string `url:"grant_permission,omitempty" json:"grant_permission,omitempty" path:"grant_permission"`
	// Group ID to associate this user with.
	GroupId int64 `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// A list of group ids to associate this user with. Comma delimited.
	GroupIds string `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
	ImportedPasswordHash string `url:"imported_password_hash,omitempty" json:"imported_password_hash,omitempty" path:"imported_password_hash"`
	// User password.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// Optional, but if provided, we will ensure that it matches the value sent in `password`.
	PasswordConfirmation string `url:"password_confirmation,omitempty" json:"password_confirmation,omitempty" path:"password_confirmation"`
	// Signifies that the user has read all the announcements in the UI.
	AnnouncementsRead *bool `url:"announcements_read,omitempty" json:"announcements_read,omitempty" path:"announcements_read"`
	// AI Assistant Personality ID assigned directly to this user, if any.
	AiAssistantPersonalityId int64 `url:"ai_assistant_personality_id,omitempty" json:"ai_assistant_personality_id,omitempty" path:"ai_assistant_personality_id"`
	// A list of allowed IPs if applicable. Newline delimited.
	AllowedIps string `url:"allowed_ips,omitempty" json:"allowed_ips,omitempty" path:"allowed_ips"`
	// DEPRECATED: If `true`, the user can user create Bundles (aka Share Links). Use the bundle permission instead.
	AttachmentsPermission *bool `url:"attachments_permission,omitempty" json:"attachments_permission,omitempty" path:"attachments_permission"`
	// Scheduled Date/Time at which user will be deactivated.
	AuthenticateUntil *time.Time `url:"authenticate_until,omitempty" json:"authenticate_until,omitempty" path:"authenticate_until"`
	// How is this user authenticated? Values: password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key.
	AuthenticationMethod UserAuthenticationMethodEnum `url:"authentication_method,omitempty" json:"authentication_method,omitempty" path:"authentication_method"`
	// Allow this user to perform operations on the account, payments, and invoices?
	BillingPermission *bool `url:"billing_permission,omitempty" json:"billing_permission,omitempty" path:"billing_permission"`
	// Exempt this user from user lifecycle rules?
	BypassUserLifecycleRules *bool `url:"bypass_user_lifecycle_rules,omitempty" json:"bypass_user_lifecycle_rules,omitempty" path:"bypass_user_lifecycle_rules"`
	// Allow this user to skip site-wide IP blacklists?
	BypassSiteAllowedIps *bool `url:"bypass_site_allowed_ips,omitempty" json:"bypass_site_allowed_ips,omitempty" path:"bypass_site_allowed_ips"`
	// Can the user connect with WebDAV?
	DavPermission *bool `url:"dav_permission,omitempty" json:"dav_permission,omitempty" path:"dav_permission"`
	// Desktop Configuration Profile ID assigned directly to this user, if any.
	DesktopConfigurationProfileId int64 `` /* 138-byte string literal not displayed */
	// Workspace ID the user should land in by default when more than one Workspace is available.
	DefaultWorkspaceId int64 `url:"default_workspace_id,omitempty" json:"default_workspace_id,omitempty" path:"default_workspace_id"`
	// Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// File system layout. Values: site_root, user_root, partner_root, integration_centric, workspace_root.
	FilesystemLayout UserFilesystemLayoutEnum `url:"filesystem_layout,omitempty" json:"filesystem_layout,omitempty" path:"filesystem_layout"`
	// Can the user access with FTP/FTPS?
	FtpPermission *bool `url:"ftp_permission,omitempty" json:"ftp_permission,omitempty" path:"ftp_permission"`
	// Text to display to the user in the header of the UI.
	HeaderText string `url:"header_text,omitempty" json:"header_text,omitempty" path:"header_text"`
	// Integration Centric Profile ID assigned directly to this user, if any.
	IntegrationCentricProfileId int64 `` /* 132-byte string literal not displayed */
	// Preferred language.
	Language string `url:"language,omitempty" json:"language,omitempty" path:"language"`
	// Hour of the day at which daily notifications should be sent. Can be in range 0 to 23.
	NotificationDailySendTime int64 `` /* 126-byte string literal not displayed */
	// User's full name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// User's company.
	Company string `url:"company,omitempty" json:"company,omitempty" path:"company"`
	// Any internal notes on the user.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// Enable integration with Office for the web?
	OfficeIntegrationEnabled *bool `url:"office_integration_enabled,omitempty" json:"office_integration_enabled,omitempty" path:"office_integration_enabled"`
	// Is this user a Partner administrator?
	PartnerAdmin *bool `url:"partner_admin,omitempty" json:"partner_admin,omitempty" path:"partner_admin"`
	// Partner ID if this user belongs to a Partner.
	PartnerId int64 `url:"partner_id,omitempty" json:"partner_id,omitempty" path:"partner_id"`
	// Number of days to allow user to use the same password.
	PasswordValidityDays int64 `url:"password_validity_days,omitempty" json:"password_validity_days,omitempty" path:"password_validity_days"`
	// Primary group ID for Group Admin scoping.
	PrimaryGroupId int64 `url:"primary_group_id,omitempty" json:"primary_group_id,omitempty" path:"primary_group_id"`
	// Is the user an allowed to view all (non-billing) site configuration for this site?
	ReadonlySiteAdmin *bool `url:"readonly_site_admin,omitempty" json:"readonly_site_admin,omitempty" path:"readonly_site_admin"`
	// Deprecated. Use notify_on_all_site_warnings and granular failure notification preferences instead.
	ReceiveAdminAlerts *bool `url:"receive_admin_alerts,omitempty" json:"receive_admin_alerts,omitempty" path:"receive_admin_alerts"`
	// Should the user receive site warnings via email?
	NotifyOnAllSiteWarnings *bool `url:"notify_on_all_site_warnings,omitempty" json:"notify_on_all_site_warnings,omitempty" path:"notify_on_all_site_warnings"`
	// Should the user receive sso/scim/ldap configuration/sync failures via email?
	NotifyOnAllSsoFailures *bool `url:"notify_on_all_sso_failures,omitempty" json:"notify_on_all_sso_failures,omitempty" path:"notify_on_all_sso_failures"`
	// Should the user receive user security events via email?
	NotifyOnAllUserSecurityEvents *bool `` /* 144-byte string literal not displayed */
	// Should the user receive pending work failures via email?
	NotifyOnAllPendingWorkFailures *bool `` /* 147-byte string literal not displayed */
	// Should the user receive siem failures via email?
	NotifyOnAllSiemHttpDestinationFailures *bool `` /* 174-byte string literal not displayed */
	// Should the user receive sync failures via email?
	NotifyOnAllSyncFailures *bool `url:"notify_on_all_sync_failures,omitempty" json:"notify_on_all_sync_failures,omitempty" path:"notify_on_all_sync_failures"`
	// Should the user receive automation failures via email?
	NotifyOnAllAutomationFailures *bool `` /* 141-byte string literal not displayed */
	// Should the user receive expectation failures and misses via email?
	NotifyOnAllExpectationFailures *bool `` /* 144-byte string literal not displayed */
	// Require user to login by specified date otherwise it will be disabled.
	RequireLoginBy *time.Time `url:"require_login_by,omitempty" json:"require_login_by,omitempty" path:"require_login_by"`
	// Is a password change required upon next user login?
	RequirePasswordChange *bool `url:"require_password_change,omitempty" json:"require_password_change,omitempty" path:"require_password_change"`
	// ID of the internal Group responsible for this Partner User, overriding the Partner default.
	ResponsibleGroupId int64 `url:"responsible_group_id,omitempty" json:"responsible_group_id,omitempty" path:"responsible_group_id"`
	// ID of the internal User responsible for this Partner User, overriding the Partner default.
	ResponsibleUserId int64 `url:"responsible_user_id,omitempty" json:"responsible_user_id,omitempty" path:"responsible_user_id"`
	// Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.).
	RestapiPermission *bool `url:"restapi_permission,omitempty" json:"restapi_permission,omitempty" path:"restapi_permission"`
	// Can the user access the S3-compatible endpoint? Defaults to true.
	S3CompatibleEndpointPermission *bool `` /* 141-byte string literal not displayed */
	// Does this user manage it's own credentials or is it a shared/bot user?
	SelfManaged *bool `url:"self_managed,omitempty" json:"self_managed,omitempty" path:"self_managed"`
	// Can the user access with SFTP?
	SftpPermission *bool `url:"sftp_permission,omitempty" json:"sftp_permission,omitempty" path:"sftp_permission"`
	// Is the user an administrator for this site?
	SiteAdmin *bool `url:"site_admin,omitempty" json:"site_admin,omitempty" path:"site_admin"`
	// Skip Welcome page in the UI?
	SkipWelcomeScreen *bool `url:"skip_welcome_screen,omitempty" json:"skip_welcome_screen,omitempty" path:"skip_welcome_screen"`
	// SSL required setting. Values: use_system_setting, always_require, never_require.
	SslRequired UserSslRequiredEnum `url:"ssl_required,omitempty" json:"ssl_required,omitempty" path:"ssl_required"`
	// SSO (Single Sign On) strategy ID for the user, if applicable.
	SsoStrategyId int64 `url:"sso_strategy_id,omitempty" json:"sso_strategy_id,omitempty" path:"sso_strategy_id"`
	// Is the user subscribed to the newsletter?
	SubscribeToNewsletter *bool `url:"subscribe_to_newsletter,omitempty" json:"subscribe_to_newsletter,omitempty" path:"subscribe_to_newsletter"`
	// 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed. Values: use_system_setting, always_require, never_require.
	Require2fa UserRequire2faEnum `url:"require_2fa,omitempty" json:"require_2fa,omitempty" path:"require_2fa"`
	// Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
	Tags string `url:"tags,omitempty" json:"tags,omitempty" path:"tags"`
	// User time zone.
	TimeZone string `url:"time_zone,omitempty" json:"time_zone,omitempty" path:"time_zone"`
	// If filesystem layout is user_root, this path is the root path the user is fixed to for all interfaces. If the filesystem layout is site_root or partner_root, this acts as a root folder only for FTP and SFTP (SFTP applicability also requires a site-wide setting to be set). For partner_root layout, this path is relative to the Partner root folder for all callers and blank opts out of an additional protocol root. In this situation, this path is not applied to the API, Desktop, or Web interface.
	UserRoot string `url:"user_root,omitempty" json:"user_root,omitempty" path:"user_root"`
	// Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface.
	UserHome string `url:"user_home,omitempty" json:"user_home,omitempty" path:"user_home"`
	// Whether the user is an administrator of their own Custom Workspace. Does not reflect administration granted through Permissions.
	WorkspaceAdmin *bool `url:"workspace_admin,omitempty" json:"workspace_admin,omitempty" path:"workspace_admin"`
	// User's username. Required.
	Username string `url:"username" json:"username" path:"username"`
	// ID of the Workspace the user belongs to. 0 is the Default Workspace.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

UserCreateParams contains the request parameters for POST /users.

type UserDeleteParams ¶

type UserDeleteParams struct {
	// User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Provide a User ID here to transfer ownership of certain resources such as Automations and Share Links (Bundles) to that new user.
	NewOwnerId int64 `url:"new_owner_id,omitempty" json:"new_owner_id,omitempty" path:"new_owner_id"`
}

UserDeleteParams contains the request parameters for DELETE /users/{id}.

type UserFilesystemLayoutEnum ¶ added in v3.2.249

type UserFilesystemLayoutEnum string

UserFilesystemLayoutEnum is a string value for filesystem_layout. Enum lists the values documented by the API.

func (UserFilesystemLayoutEnum) Enum ¶ added in v3.2.249

Enum returns the documented values keyed by their API strings.

func (UserFilesystemLayoutEnum) String ¶ added in v3.2.249

func (u UserFilesystemLayoutEnum) String() string

String returns the API parameter value.

type UserFindParams ¶

type UserFindParams struct {
	// User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserFindParams contains the request parameters for GET /users/{id}.

type UserLifecycleRule ¶ added in v3.2.157

type UserLifecycleRule struct {
	// User Lifecycle Rule ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule.
	AuthenticationMethod string `json:"authentication_method,omitempty" path:"authentication_method,omitempty" url:"authentication_method,omitempty"`
	// Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
	GroupIds []int64 `json:"group_ids,omitempty" path:"group_ids,omitempty" url:"group_ids,omitempty"`
	// Action to take on inactive users (disable or delete).
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// Number of days of inactivity before the rule applies.
	InactivityDays int64 `json:"inactivity_days,omitempty" path:"inactivity_days,omitempty" url:"inactivity_days,omitempty"`
	// If true, the rule will apply to folder admins.
	IncludeFolderAdmins *bool `json:"include_folder_admins,omitempty" path:"include_folder_admins,omitempty" url:"include_folder_admins,omitempty"`
	// If true, the rule includes Site Administrators, who always belong to the Default Workspace. Can only be enabled when `workspace_id` is `0`.
	IncludeSiteAdmins *bool `json:"include_site_admins,omitempty" path:"include_site_admins,omitempty" url:"include_site_admins,omitempty"`
	// If true, a Default Workspace rule also applies to users in all Custom Workspaces. Can only be enabled when `workspace_id` is `0`.
	ApplyToAllWorkspaces *bool `json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces,omitempty" url:"apply_to_all_workspaces,omitempty"`
	// User Lifecycle Rule name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// If true, users will be emailed before the rule disables or deletes them.
	NotifyUsers *bool `json:"notify_users,omitempty" path:"notify_users,omitempty" url:"notify_users,omitempty"`
	// If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
	PartnerTag string `json:"partner_tag,omitempty" path:"partner_tag,omitempty" url:"partner_tag,omitempty"`
	// Site ID.
	SiteId int64 `json:"site_id,omitempty" path:"site_id,omitempty" url:"site_id,omitempty"`
	// Workspace whose users the rule applies to. `0` means the Default Workspace. A Custom Workspace rule applies only to users who belong to that Workspace, regardless of access granted to other users.
	WorkspaceId int64 `json:"workspace_id,omitempty" path:"workspace_id,omitempty" url:"workspace_id,omitempty"`
	// State of the users to apply the rule to (inactive or disabled).
	UserState string `json:"user_state,omitempty" path:"user_state,omitempty" url:"user_state,omitempty"`
	// If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
	UserTag string `json:"user_tag,omitempty" path:"user_tag,omitempty" url:"user_tag,omitempty"`
}

UserLifecycleRule is a Files.com API resource.

func (UserLifecycleRule) Identifier ¶ added in v3.2.157

func (u UserLifecycleRule) Identifier() interface{}

Identifier returns the resource ID.

func (*UserLifecycleRule) UnmarshalJSON ¶ added in v3.2.157

func (u *UserLifecycleRule) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UserLifecycleRuleActionEnum ¶ added in v3.2.157

type UserLifecycleRuleActionEnum string

UserLifecycleRuleActionEnum is a string value for action. Enum lists the values documented by the API.

func (UserLifecycleRuleActionEnum) Enum ¶ added in v3.2.157

Enum returns the documented values keyed by their API strings.

func (UserLifecycleRuleActionEnum) String ¶ added in v3.2.157

String returns the API parameter value.

type UserLifecycleRuleAuthenticationMethodEnum ¶ added in v3.2.157

type UserLifecycleRuleAuthenticationMethodEnum string

UserLifecycleRuleAuthenticationMethodEnum is a string value for authentication_method. Enum lists the values documented by the API.

func (UserLifecycleRuleAuthenticationMethodEnum) Enum ¶ added in v3.2.157

Enum returns the documented values keyed by their API strings.

func (UserLifecycleRuleAuthenticationMethodEnum) String ¶ added in v3.2.157

String returns the API parameter value.

type UserLifecycleRuleCollection ¶ added in v3.2.157

type UserLifecycleRuleCollection []UserLifecycleRule

UserLifecycleRuleCollection is a list of UserLifecycleRule resources.

func (*UserLifecycleRuleCollection) ToSlice ¶ added in v3.2.157

func (u *UserLifecycleRuleCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UserLifecycleRuleCollection) UnmarshalJSON ¶ added in v3.2.157

func (u *UserLifecycleRuleCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UserLifecycleRuleCreateParams ¶ added in v3.2.157

type UserLifecycleRuleCreateParams struct {
	// Action to take on inactive users (disable or delete). Values: disable, delete.
	Action UserLifecycleRuleActionEnum `url:"action,omitempty" json:"action,omitempty" path:"action"`
	// If true, a Default Workspace rule also applies to users in all Custom Workspaces. Can only be enabled when `workspace_id` is `0`.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule. Values: all, password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key, all_non_sso.
	AuthenticationMethod UserLifecycleRuleAuthenticationMethodEnum `url:"authentication_method,omitempty" json:"authentication_method,omitempty" path:"authentication_method"`
	// Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
	GroupIds []int64 `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// Number of days of inactivity before the rule applies.
	InactivityDays int64 `url:"inactivity_days,omitempty" json:"inactivity_days,omitempty" path:"inactivity_days"`
	// If true, the rule includes Site Administrators, who always belong to the Default Workspace. Can only be enabled when `workspace_id` is `0`.
	IncludeSiteAdmins *bool `url:"include_site_admins,omitempty" json:"include_site_admins,omitempty" path:"include_site_admins"`
	// If true, the rule will apply to folder admins.
	IncludeFolderAdmins *bool `url:"include_folder_admins,omitempty" json:"include_folder_admins,omitempty" path:"include_folder_admins"`
	// User Lifecycle Rule name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// If true, users will be emailed before the rule disables or deletes them.
	NotifyUsers *bool `url:"notify_users,omitempty" json:"notify_users,omitempty" path:"notify_users"`
	// If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
	PartnerTag string `url:"partner_tag,omitempty" json:"partner_tag,omitempty" path:"partner_tag"`
	// State of the users to apply the rule to (inactive or disabled). Values: inactive, disabled.
	UserState UserLifecycleRuleUserStateEnum `url:"user_state,omitempty" json:"user_state,omitempty" path:"user_state"`
	// If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
	UserTag string `url:"user_tag,omitempty" json:"user_tag,omitempty" path:"user_tag"`
	// Workspace whose users the rule applies to. `0` means the Default Workspace. A Custom Workspace rule applies only to users who belong to that Workspace, regardless of access granted to other users.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

UserLifecycleRuleCreateParams contains the request parameters for POST /user_lifecycle_rules.

type UserLifecycleRuleDeleteParams ¶ added in v3.2.157

type UserLifecycleRuleDeleteParams struct {
	// User Lifecycle Rule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserLifecycleRuleDeleteParams contains the request parameters for DELETE /user_lifecycle_rules/{id}.

type UserLifecycleRuleFindParams ¶ added in v3.2.157

type UserLifecycleRuleFindParams struct {
	// User Lifecycle Rule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserLifecycleRuleFindParams contains the request parameters for GET /user_lifecycle_rules/{id}.

type UserLifecycleRuleListParams ¶ added in v3.2.157

type UserLifecycleRuleListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id` and `workspace_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UserLifecycleRuleListParams contains the request parameters for GET /user_lifecycle_rules.

type UserLifecycleRuleUpdateParams ¶ added in v3.2.158

type UserLifecycleRuleUpdateParams struct {
	// User Lifecycle Rule ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Action to take on inactive users (disable or delete). Values: disable, delete.
	Action UserLifecycleRuleActionEnum `url:"action,omitempty" json:"action,omitempty" path:"action"`
	// If true, a Default Workspace rule also applies to users in all Custom Workspaces. Can only be enabled when `workspace_id` is `0`.
	ApplyToAllWorkspaces *bool `url:"apply_to_all_workspaces,omitempty" json:"apply_to_all_workspaces,omitempty" path:"apply_to_all_workspaces"`
	// User authentication method for which the rule will apply. Use `all_non_sso` to target every non-SSO authentication method with one rule. Values: all, password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key, all_non_sso.
	AuthenticationMethod UserLifecycleRuleAuthenticationMethodEnum `url:"authentication_method,omitempty" json:"authentication_method,omitempty" path:"authentication_method"`
	// Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users.
	GroupIds []int64 `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// Number of days of inactivity before the rule applies.
	InactivityDays int64 `url:"inactivity_days,omitempty" json:"inactivity_days,omitempty" path:"inactivity_days"`
	// If true, the rule includes Site Administrators, who always belong to the Default Workspace. Can only be enabled when `workspace_id` is `0`.
	IncludeSiteAdmins *bool `url:"include_site_admins,omitempty" json:"include_site_admins,omitempty" path:"include_site_admins"`
	// If true, the rule will apply to folder admins.
	IncludeFolderAdmins *bool `url:"include_folder_admins,omitempty" json:"include_folder_admins,omitempty" path:"include_folder_admins"`
	// User Lifecycle Rule name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// If true, users will be emailed before the rule disables or deletes them.
	NotifyUsers *bool `url:"notify_users,omitempty" json:"notify_users,omitempty" path:"notify_users"`
	// If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
	PartnerTag string `url:"partner_tag,omitempty" json:"partner_tag,omitempty" path:"partner_tag"`
	// State of the users to apply the rule to (inactive or disabled). Values: inactive, disabled.
	UserState UserLifecycleRuleUserStateEnum `url:"user_state,omitempty" json:"user_state,omitempty" path:"user_state"`
	// If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens.
	UserTag string `url:"user_tag,omitempty" json:"user_tag,omitempty" path:"user_tag"`
	// Workspace whose users the rule applies to. `0` means the Default Workspace. A Custom Workspace rule applies only to users who belong to that Workspace, regardless of access granted to other users.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
}

UserLifecycleRuleUpdateParams contains the request parameters for PATCH /user_lifecycle_rules/{id}.

type UserLifecycleRuleUserStateEnum ¶ added in v3.2.186

type UserLifecycleRuleUserStateEnum string

UserLifecycleRuleUserStateEnum is a string value for user_state. Enum lists the values documented by the API.

func (UserLifecycleRuleUserStateEnum) Enum ¶ added in v3.2.186

Enum returns the documented values keyed by their API strings.

func (UserLifecycleRuleUserStateEnum) String ¶ added in v3.2.186

String returns the API parameter value.

type UserListParams ¶

type UserListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `company`, `name`, `disabled`, `authenticate_until`, `username`, `email`, `site_admin`, `last_desktop_login_at`, `last_login_at`, `password_validity_days` or `ssl_required`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id`, `primary_group_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, site_admin ]`, `[ workspace_id, not_site_admin ]`, `[ workspace_id, disabled ]`, `[ workspace_id, partner_id ]`, `[ workspace_id, site_admin, username ]`, `[ workspace_id, not_site_admin, username ]`, `[ workspace_id, disabled, username ]`, `[ workspace_id, partner_id, username ]` or `[ workspace_id, company, name ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// comma-separated list of User IDs.
	Ids string `url:"ids,omitempty" json:"ids,omitempty" path:"ids"`
	// Include users from the parent site.
	IncludeParentSiteUsers *bool `url:"include_parent_site_users,omitempty" json:"include_parent_site_users,omitempty" path:"include_parent_site_users"`
	// When scoped to a Custom Workspace, include Default Workspace users who have permissions in that Workspace. Available to Site Administrators, and to Workspace Administrators and Folder Admins in that Workspace when the site shares its Default Workspace directory with Workspaces.
	IncludeDefaultWorkspaceUsers *bool `` /* 135-byte string literal not displayed */
	// Searches for partial matches of name, username, or email.
	Search string `url:"search,omitempty" json:"search,omitempty" path:"search"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UserListParams contains the request parameters for GET /users.

type UserRequest ¶

type UserRequest struct {
	// ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// User's full name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// User email address.
	Email string `json:"email,omitempty" path:"email,omitempty" url:"email,omitempty"`
	// Details of the user's request.
	Details string `json:"details,omitempty" path:"details,omitempty" url:"details,omitempty"`
	// User's company name.
	Company string `json:"company,omitempty" path:"company,omitempty" url:"company,omitempty"`
}

UserRequest is a Files.com API resource.

func (UserRequest) Identifier ¶

func (u UserRequest) Identifier() interface{}

Identifier returns the resource ID.

func (*UserRequest) UnmarshalJSON ¶

func (u *UserRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UserRequestCollection ¶

type UserRequestCollection []UserRequest

UserRequestCollection is a list of UserRequest resources.

func (*UserRequestCollection) ToSlice ¶

func (u *UserRequestCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UserRequestCollection) UnmarshalJSON ¶

func (u *UserRequestCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UserRequestCreateParams ¶

type UserRequestCreateParams struct {
	// Name of user requested. Required.
	Name string `url:"name" json:"name" path:"name"`
	// Email of user requested. Required.
	Email string `url:"email" json:"email" path:"email"`
	// Details of the user request. Required.
	Details string `url:"details" json:"details" path:"details"`
	// Company of the user requested.
	Company string `url:"company,omitempty" json:"company,omitempty" path:"company"`
}

UserRequestCreateParams contains the request parameters for POST /user_requests.

type UserRequestDeleteParams ¶

type UserRequestDeleteParams struct {
	// User Request ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserRequestDeleteParams contains the request parameters for DELETE /user_requests/{id}.

type UserRequestFindParams ¶

type UserRequestFindParams struct {
	// User Request ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserRequestFindParams contains the request parameters for GET /user_requests/{id}.

type UserRequestListParams ¶

type UserRequestListParams struct {
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UserRequestListParams contains the request parameters for GET /user_requests.

type UserRequire2faEnum ¶

type UserRequire2faEnum string

UserRequire2faEnum is a string value for require_2fa. Enum lists the values documented by the API.

func (UserRequire2faEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (UserRequire2faEnum) String ¶

func (u UserRequire2faEnum) String() string

String returns the API parameter value.

type UserResendWelcomeEmailParams ¶

type UserResendWelcomeEmailParams struct {
	// User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserResendWelcomeEmailParams contains the request parameters for POST /users/{id}/resend_welcome_email.

Resend user welcome email

type UserSecurityEvent ¶ added in v3.3.111

type UserSecurityEvent struct {
	// Event ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Type of user security event being recorded.
	EventType string `json:"event_type,omitempty" path:"event_type,omitempty" url:"event_type,omitempty"`
	// Event body.
	Body string `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// Event errors.
	EventErrors []string `json:"event_errors,omitempty" path:"event_errors,omitempty" url:"event_errors,omitempty"`
	// Event create date/time.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// Link to log file.
	BodyUrl string `json:"body_url,omitempty" path:"body_url,omitempty" url:"body_url,omitempty"`
	// User ID.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
}

UserSecurityEvent is a Files.com API resource.

func (UserSecurityEvent) Identifier ¶ added in v3.3.111

func (u UserSecurityEvent) Identifier() interface{}

Identifier returns the resource ID.

func (*UserSecurityEvent) UnmarshalJSON ¶ added in v3.3.111

func (u *UserSecurityEvent) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UserSecurityEventCollection ¶ added in v3.3.111

type UserSecurityEventCollection []UserSecurityEvent

UserSecurityEventCollection is a list of UserSecurityEvent resources.

func (*UserSecurityEventCollection) ToSlice ¶ added in v3.3.111

func (u *UserSecurityEventCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UserSecurityEventCollection) UnmarshalJSON ¶ added in v3.3.111

func (u *UserSecurityEventCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UserSecurityEventFindParams ¶ added in v3.3.111

type UserSecurityEventFindParams struct {
	// User Security Event ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserSecurityEventFindParams contains the request parameters for GET /user_security_events/{id}.

type UserSecurityEventListParams ¶ added in v3.3.111

type UserSecurityEventListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `user_id`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at` and `user_id`. Valid field combinations are `[ user_id, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UserSecurityEventListParams contains the request parameters for GET /user_security_events.

type UserSftpClientUse ¶ added in v3.2.64

type UserSftpClientUse struct {
	// UserSftpClientUse ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// The SFTP client used.
	SftpClient string `json:"sftp_client,omitempty" path:"sftp_client,omitempty" url:"sftp_client,omitempty"`
	// The earliest recorded use of this SFTP client (for this user).
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
	// The most recent use of this SFTP client (for this user).
	UpdatedAt *time.Time `json:"updated_at,omitempty" path:"updated_at,omitempty" url:"updated_at,omitempty"`
	// ID of the user who performed this access.
	UserId int64 `json:"user_id,omitempty" path:"user_id,omitempty" url:"user_id,omitempty"`
}

UserSftpClientUse is a Files.com API resource.

func (UserSftpClientUse) Identifier ¶ added in v3.2.64

func (u UserSftpClientUse) Identifier() interface{}

Identifier returns the resource ID.

func (*UserSftpClientUse) UnmarshalJSON ¶ added in v3.2.64

func (u *UserSftpClientUse) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type UserSftpClientUseCollection ¶ added in v3.2.64

type UserSftpClientUseCollection []UserSftpClientUse

UserSftpClientUseCollection is a list of UserSftpClientUse resources.

func (*UserSftpClientUseCollection) ToSlice ¶ added in v3.2.64

func (u *UserSftpClientUseCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*UserSftpClientUseCollection) UnmarshalJSON ¶ added in v3.2.64

func (u *UserSftpClientUseCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type UserSftpClientUseListParams ¶ added in v3.2.64

type UserSftpClientUseListParams struct {
	// User ID. If provided, will return uses for this user.
	UserId int64 `url:"user_id,omitempty" json:"user_id,omitempty" path:"user_id"`
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

UserSftpClientUseListParams contains the request parameters for GET /user_sftp_client_uses.

type UserSslRequiredEnum ¶

type UserSslRequiredEnum string

UserSslRequiredEnum is a string value for ssl_required. Enum lists the values documented by the API.

func (UserSslRequiredEnum) Enum ¶

Enum returns the documented values keyed by their API strings.

func (UserSslRequiredEnum) String ¶

func (u UserSslRequiredEnum) String() string

String returns the API parameter value.

type UserUnlockParams ¶

type UserUnlockParams struct {
	// User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserUnlockParams contains the request parameters for POST /users/{id}/unlock.

Unlock user who has been locked out due to failed logins

type UserUpdateParams ¶

type UserUpdateParams struct {
	// User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// An image file for your user avatar.
	AvatarFile io.Writer `url:"avatar_file,omitempty" json:"avatar_file,omitempty" path:"avatar_file"`
	// AvatarFileAttachment sends file content as avatar_file; see lib.JSONAttachment. Leave AvatarFile nil when you set it.
	AvatarFileAttachment *lib.JSONAttachment `json:"-" url:"-" path:"-" attachment:"avatar_file"`
	// If true, the avatar will be deleted.
	AvatarDelete *bool `url:"avatar_delete,omitempty" json:"avatar_delete,omitempty" path:"avatar_delete"`
	// Used for changing a password on an existing user.
	ChangePassword string `url:"change_password,omitempty" json:"change_password,omitempty" path:"change_password"`
	// Optional, but if provided, we will ensure that it matches the value sent in `change_password`.
	ChangePasswordConfirmation string `` /* 126-byte string literal not displayed */
	// User's email.
	Email string `url:"email,omitempty" json:"email,omitempty" path:"email"`
	// Permission to grant on the User Root upon creation, or on the Workspace root when the User Root is blank. For the Default Workspace, a blank User Root uses the site root. `admin` on a Custom Workspace's root grants Workspace Administrator access; on a subfolder it grants Folder Admin access. Can be blank or `admin`, `full`, `read`, `write`, `list`, `read+write`, `list+write`, or `history`.
	GrantPermission string `url:"grant_permission,omitempty" json:"grant_permission,omitempty" path:"grant_permission"`
	// Group ID to associate this user with.
	GroupId int64 `url:"group_id,omitempty" json:"group_id,omitempty" path:"group_id"`
	// A list of group ids to associate this user with. Comma delimited.
	GroupIds string `url:"group_ids,omitempty" json:"group_ids,omitempty" path:"group_ids"`
	// Pre-calculated hash of the user's password. If supplied, this will be used to authenticate the user on first login. Supported hash methods are MD5, SHA1, and SHA256.
	ImportedPasswordHash string `url:"imported_password_hash,omitempty" json:"imported_password_hash,omitempty" path:"imported_password_hash"`
	// User password.
	Password string `url:"password,omitempty" json:"password,omitempty" path:"password"`
	// Optional, but if provided, we will ensure that it matches the value sent in `password`.
	PasswordConfirmation string `url:"password_confirmation,omitempty" json:"password_confirmation,omitempty" path:"password_confirmation"`
	// Signifies that the user has read all the announcements in the UI.
	AnnouncementsRead *bool `url:"announcements_read,omitempty" json:"announcements_read,omitempty" path:"announcements_read"`
	// AI Assistant Personality ID assigned directly to this user, if any.
	AiAssistantPersonalityId int64 `url:"ai_assistant_personality_id,omitempty" json:"ai_assistant_personality_id,omitempty" path:"ai_assistant_personality_id"`
	// A list of allowed IPs if applicable. Newline delimited.
	AllowedIps string `url:"allowed_ips,omitempty" json:"allowed_ips,omitempty" path:"allowed_ips"`
	// DEPRECATED: If `true`, the user can user create Bundles (aka Share Links). Use the bundle permission instead.
	AttachmentsPermission *bool `url:"attachments_permission,omitempty" json:"attachments_permission,omitempty" path:"attachments_permission"`
	// Scheduled Date/Time at which user will be deactivated.
	AuthenticateUntil *time.Time `url:"authenticate_until,omitempty" json:"authenticate_until,omitempty" path:"authenticate_until"`
	// How is this user authenticated? Values: password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key.
	AuthenticationMethod UserAuthenticationMethodEnum `url:"authentication_method,omitempty" json:"authentication_method,omitempty" path:"authentication_method"`
	// Allow this user to perform operations on the account, payments, and invoices?
	BillingPermission *bool `url:"billing_permission,omitempty" json:"billing_permission,omitempty" path:"billing_permission"`
	// Exempt this user from user lifecycle rules?
	BypassUserLifecycleRules *bool `url:"bypass_user_lifecycle_rules,omitempty" json:"bypass_user_lifecycle_rules,omitempty" path:"bypass_user_lifecycle_rules"`
	// Allow this user to skip site-wide IP blacklists?
	BypassSiteAllowedIps *bool `url:"bypass_site_allowed_ips,omitempty" json:"bypass_site_allowed_ips,omitempty" path:"bypass_site_allowed_ips"`
	// Can the user connect with WebDAV?
	DavPermission *bool `url:"dav_permission,omitempty" json:"dav_permission,omitempty" path:"dav_permission"`
	// Desktop Configuration Profile ID assigned directly to this user, if any.
	DesktopConfigurationProfileId int64 `` /* 138-byte string literal not displayed */
	// Workspace ID the user should land in by default when more than one Workspace is available.
	DefaultWorkspaceId int64 `url:"default_workspace_id,omitempty" json:"default_workspace_id,omitempty" path:"default_workspace_id"`
	// Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
	Disabled *bool `url:"disabled,omitempty" json:"disabled,omitempty" path:"disabled"`
	// File system layout. Values: site_root, user_root, partner_root, integration_centric, workspace_root.
	FilesystemLayout UserFilesystemLayoutEnum `url:"filesystem_layout,omitempty" json:"filesystem_layout,omitempty" path:"filesystem_layout"`
	// Can the user access with FTP/FTPS?
	FtpPermission *bool `url:"ftp_permission,omitempty" json:"ftp_permission,omitempty" path:"ftp_permission"`
	// Text to display to the user in the header of the UI.
	HeaderText string `url:"header_text,omitempty" json:"header_text,omitempty" path:"header_text"`
	// Integration Centric Profile ID assigned directly to this user, if any.
	IntegrationCentricProfileId int64 `` /* 132-byte string literal not displayed */
	// Preferred language.
	Language string `url:"language,omitempty" json:"language,omitempty" path:"language"`
	// Hour of the day at which daily notifications should be sent. Can be in range 0 to 23.
	NotificationDailySendTime int64 `` /* 126-byte string literal not displayed */
	// User's full name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
	// User's company.
	Company string `url:"company,omitempty" json:"company,omitempty" path:"company"`
	// Any internal notes on the user.
	Notes string `url:"notes,omitempty" json:"notes,omitempty" path:"notes"`
	// Enable integration with Office for the web?
	OfficeIntegrationEnabled *bool `url:"office_integration_enabled,omitempty" json:"office_integration_enabled,omitempty" path:"office_integration_enabled"`
	// Is this user a Partner administrator?
	PartnerAdmin *bool `url:"partner_admin,omitempty" json:"partner_admin,omitempty" path:"partner_admin"`
	// Partner ID if this user belongs to a Partner.
	PartnerId int64 `url:"partner_id,omitempty" json:"partner_id,omitempty" path:"partner_id"`
	// Number of days to allow user to use the same password.
	PasswordValidityDays int64 `url:"password_validity_days,omitempty" json:"password_validity_days,omitempty" path:"password_validity_days"`
	// Primary group ID for Group Admin scoping.
	PrimaryGroupId int64 `url:"primary_group_id,omitempty" json:"primary_group_id,omitempty" path:"primary_group_id"`
	// Is the user an allowed to view all (non-billing) site configuration for this site?
	ReadonlySiteAdmin *bool `url:"readonly_site_admin,omitempty" json:"readonly_site_admin,omitempty" path:"readonly_site_admin"`
	// Deprecated. Use notify_on_all_site_warnings and granular failure notification preferences instead.
	ReceiveAdminAlerts *bool `url:"receive_admin_alerts,omitempty" json:"receive_admin_alerts,omitempty" path:"receive_admin_alerts"`
	// Should the user receive site warnings via email?
	NotifyOnAllSiteWarnings *bool `url:"notify_on_all_site_warnings,omitempty" json:"notify_on_all_site_warnings,omitempty" path:"notify_on_all_site_warnings"`
	// Should the user receive sso/scim/ldap configuration/sync failures via email?
	NotifyOnAllSsoFailures *bool `url:"notify_on_all_sso_failures,omitempty" json:"notify_on_all_sso_failures,omitempty" path:"notify_on_all_sso_failures"`
	// Should the user receive user security events via email?
	NotifyOnAllUserSecurityEvents *bool `` /* 144-byte string literal not displayed */
	// Should the user receive pending work failures via email?
	NotifyOnAllPendingWorkFailures *bool `` /* 147-byte string literal not displayed */
	// Should the user receive siem failures via email?
	NotifyOnAllSiemHttpDestinationFailures *bool `` /* 174-byte string literal not displayed */
	// Should the user receive sync failures via email?
	NotifyOnAllSyncFailures *bool `url:"notify_on_all_sync_failures,omitempty" json:"notify_on_all_sync_failures,omitempty" path:"notify_on_all_sync_failures"`
	// Should the user receive automation failures via email?
	NotifyOnAllAutomationFailures *bool `` /* 141-byte string literal not displayed */
	// Should the user receive expectation failures and misses via email?
	NotifyOnAllExpectationFailures *bool `` /* 144-byte string literal not displayed */
	// Require user to login by specified date otherwise it will be disabled.
	RequireLoginBy *time.Time `url:"require_login_by,omitempty" json:"require_login_by,omitempty" path:"require_login_by"`
	// Is a password change required upon next user login?
	RequirePasswordChange *bool `url:"require_password_change,omitempty" json:"require_password_change,omitempty" path:"require_password_change"`
	// ID of the internal Group responsible for this Partner User, overriding the Partner default.
	ResponsibleGroupId int64 `url:"responsible_group_id,omitempty" json:"responsible_group_id,omitempty" path:"responsible_group_id"`
	// ID of the internal User responsible for this Partner User, overriding the Partner default.
	ResponsibleUserId int64 `url:"responsible_user_id,omitempty" json:"responsible_user_id,omitempty" path:"responsible_user_id"`
	// Can this user access the Web app, Desktop app, SDKs, or REST API? (All of these tools use the API internally, so this is one unified permission set.).
	RestapiPermission *bool `url:"restapi_permission,omitempty" json:"restapi_permission,omitempty" path:"restapi_permission"`
	// Can the user access the S3-compatible endpoint? Defaults to true.
	S3CompatibleEndpointPermission *bool `` /* 141-byte string literal not displayed */
	// Does this user manage it's own credentials or is it a shared/bot user?
	SelfManaged *bool `url:"self_managed,omitempty" json:"self_managed,omitempty" path:"self_managed"`
	// Can the user access with SFTP?
	SftpPermission *bool `url:"sftp_permission,omitempty" json:"sftp_permission,omitempty" path:"sftp_permission"`
	// Is the user an administrator for this site?
	SiteAdmin *bool `url:"site_admin,omitempty" json:"site_admin,omitempty" path:"site_admin"`
	// Skip Welcome page in the UI?
	SkipWelcomeScreen *bool `url:"skip_welcome_screen,omitempty" json:"skip_welcome_screen,omitempty" path:"skip_welcome_screen"`
	// SSL required setting. Values: use_system_setting, always_require, never_require.
	SslRequired UserSslRequiredEnum `url:"ssl_required,omitempty" json:"ssl_required,omitempty" path:"ssl_required"`
	// SSO (Single Sign On) strategy ID for the user, if applicable.
	SsoStrategyId int64 `url:"sso_strategy_id,omitempty" json:"sso_strategy_id,omitempty" path:"sso_strategy_id"`
	// Is the user subscribed to the newsletter?
	SubscribeToNewsletter *bool `url:"subscribe_to_newsletter,omitempty" json:"subscribe_to_newsletter,omitempty" path:"subscribe_to_newsletter"`
	// 2FA required setting. `use_system_setting` uses the site-wide setting, including SSO exemptions. `always_require` and `never_require` override the site-wide setting when user-level overrides are allowed. Values: use_system_setting, always_require, never_require.
	Require2fa UserRequire2faEnum `url:"require_2fa,omitempty" json:"require_2fa,omitempty" path:"require_2fa"`
	// Comma-separated list of Tags for this user. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
	Tags string `url:"tags,omitempty" json:"tags,omitempty" path:"tags"`
	// User time zone.
	TimeZone string `url:"time_zone,omitempty" json:"time_zone,omitempty" path:"time_zone"`
	// If filesystem layout is user_root, this path is the root path the user is fixed to for all interfaces. If the filesystem layout is site_root or partner_root, this acts as a root folder only for FTP and SFTP (SFTP applicability also requires a site-wide setting to be set). For partner_root layout, this path is relative to the Partner root folder for all callers and blank opts out of an additional protocol root. In this situation, this path is not applied to the API, Desktop, or Web interface.
	UserRoot string `url:"user_root,omitempty" json:"user_root,omitempty" path:"user_root"`
	// Home folder for FTP/SFTP. For users with the partner_root filesystem layout, this path is relative to the Partner root folder. In all other cases, it is an absolute path. Only applies to FTP and SFTP, and not any other interface.
	UserHome string `url:"user_home,omitempty" json:"user_home,omitempty" path:"user_home"`
	// Whether the user is an administrator of their own Custom Workspace. Does not reflect administration granted through Permissions.
	WorkspaceAdmin *bool `url:"workspace_admin,omitempty" json:"workspace_admin,omitempty" path:"workspace_admin"`
	// User's username.
	Username string `url:"username,omitempty" json:"username,omitempty" path:"username"`
	// Workspace ID. Only Site Administrators can change this field. Values supplied by Workspace Administrators, Group Administrators, or other non-Site Administrators using `/user` are ignored.
	WorkspaceId int64 `url:"workspace_id,omitempty" json:"workspace_id,omitempty" path:"workspace_id"`
	// If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
	Clear2fa *bool `url:"clear_2fa,omitempty" json:"clear_2fa,omitempty" path:"clear_2fa"`
	// Required when assigning a Partner to an existing non-Partner user. If true, convert the user by assigning the partner_id provided.
	ConvertToPartnerUser *bool `url:"convert_to_partner_user,omitempty" json:"convert_to_partner_user,omitempty" path:"convert_to_partner_user"`
}

UserUpdateParams contains the request parameters for PATCH /users/{id}.

type UserUser2faResetParams ¶

type UserUser2faResetParams struct {
	// User ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

UserUser2faResetParams contains the request parameters for POST /users/{id}/2fa/reset.

Trigger 2FA Reset process for user who has lost access to their existing 2FA methods

type WebDavActionLog ¶ added in v3.2.10

type WebDavActionLog struct {
	// Start Time of Action. Deprecrated: Use created_at.
	Timestamp *time.Time `json:"timestamp,omitempty" path:"timestamp,omitempty" url:"timestamp,omitempty"`
	// IP Address of WebDAV Client.
	RemoteIp string `json:"remote_ip,omitempty" path:"remote_ip,omitempty" url:"remote_ip,omitempty"`
	// IP Address of WebDAV Server.
	ServerIp string `json:"server_ip,omitempty" path:"server_ip,omitempty" url:"server_ip,omitempty"`
	// Username.
	Username string `json:"username,omitempty" path:"username,omitempty" url:"username,omitempty"`
	// Authentication Ciphers.
	AuthCiphers string `json:"auth_ciphers,omitempty" path:"auth_ciphers,omitempty" url:"auth_ciphers,omitempty"`
	// Action Type.
	ActionType string `json:"action_type,omitempty" path:"action_type,omitempty" url:"action_type,omitempty"`
	// Path as sent by the Client (may not match Files.com path due to user root folders for WebDAV). This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Path on Files.com.
	TruePath string `json:"true_path,omitempty" path:"true_path,omitempty" url:"true_path,omitempty"`
	// Name of File.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
	// Method of the HTTP call.
	HttpMethod string `json:"http_method,omitempty" path:"http_method,omitempty" url:"http_method,omitempty"`
	// Path of the HTTP call.
	HttpPath string `json:"http_path,omitempty" path:"http_path,omitempty" url:"http_path,omitempty"`
	// HTTP Response Code returned to the WebDAV Client.
	HttpResponseCode int64 `json:"http_response_code,omitempty" path:"http_response_code,omitempty" url:"http_response_code,omitempty"`
	// Size of File That was Uploaded or Downloaded.
	Size int64 `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
	// Number of entries returned when listing files and folders.
	EntriesReturned int64 `json:"entries_returned,omitempty" path:"entries_returned,omitempty" url:"entries_returned,omitempty"`
	// Whether WebDAV Action was successful.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// WebDAV Action status.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Duration (in milliseconds).
	DurationMs int64 `json:"duration_ms,omitempty" path:"duration_ms,omitempty" url:"duration_ms,omitempty"`
	// Start Time of Action.
	CreatedAt *time.Time `json:"created_at,omitempty" path:"created_at,omitempty" url:"created_at,omitempty"`
}

WebDavActionLog is a Files.com API resource.

func (WebDavActionLog) Identifier ¶ added in v3.2.10

func (w WebDavActionLog) Identifier() interface{}

Identifier returns the resource path.

func (*WebDavActionLog) UnmarshalJSON ¶ added in v3.2.10

func (w *WebDavActionLog) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type WebDavActionLogCollection ¶ added in v3.2.10

type WebDavActionLogCollection []WebDavActionLog

WebDavActionLogCollection is a list of WebDavActionLog resources.

func (*WebDavActionLogCollection) ToSlice ¶ added in v3.2.10

func (w *WebDavActionLogCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*WebDavActionLogCollection) UnmarshalJSON ¶ added in v3.2.10

func (w *WebDavActionLogCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type WebDavActionLogListParams ¶ added in v3.2.10

type WebDavActionLogListParams struct {
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `true_path`, `remote_ip`, `success`, `status`, `action_type`, `username` or `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`.
	FilterGt interface{} `url:"filter_gt,omitempty" json:"filter_gt,omitempty" path:"filter_gt"`
	// If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`.
	FilterGteq interface{} `url:"filter_gteq,omitempty" json:"filter_gteq,omitempty" path:"filter_gteq"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`, `true_path`, `action_type` or `username`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`.
	FilterLt interface{} `url:"filter_lt,omitempty" json:"filter_lt,omitempty" path:"filter_lt"`
	// If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ true_path ]`, `[ remote_ip ]`, `[ success ]`, `[ status ]`, `[ action_type ]`, `[ username ]`, `[ created_at ]`, `[ path, true_path ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, status ]`, `[ path, action_type ]`, `[ path, username ]`, `[ path, created_at ]`, `[ true_path, remote_ip ]`, `[ true_path, success ]`, `[ true_path, status ]`, `[ true_path, action_type ]`, `[ true_path, username ]`, `[ true_path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, status ]`, `[ remote_ip, action_type ]`, `[ remote_ip, username ]`, `[ remote_ip, created_at ]`, `[ success, status ]`, `[ success, action_type ]`, `[ success, username ]`, `[ success, created_at ]`, `[ status, action_type ]`, `[ status, username ]`, `[ status, created_at ]`, `[ action_type, username ]`, `[ action_type, created_at ]`, `[ username, created_at ]`, `[ path, true_path, remote_ip ]`, `[ path, true_path, success ]`, `[ path, true_path, status ]`, `[ path, true_path, action_type ]`, `[ path, true_path, username ]`, `[ path, true_path, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, status ]`, `[ path, remote_ip, action_type ]`, `[ path, remote_ip, username ]`, `[ path, remote_ip, created_at ]`, `[ path, success, status ]`, `[ path, success, action_type ]`, `[ path, success, username ]`, `[ path, success, created_at ]`, `[ path, status, action_type ]`, `[ path, status, username ]`, `[ path, status, created_at ]`, `[ path, action_type, username ]`, `[ path, action_type, created_at ]`, `[ path, username, created_at ]`, `[ true_path, remote_ip, success ]`, `[ true_path, remote_ip, status ]`, `[ true_path, remote_ip, action_type ]`, `[ true_path, remote_ip, username ]`, `[ true_path, remote_ip, created_at ]`, `[ true_path, success, status ]`, `[ true_path, success, action_type ]`, `[ true_path, success, username ]`, `[ true_path, success, created_at ]`, `[ true_path, status, action_type ]`, `[ true_path, status, username ]`, `[ true_path, status, created_at ]`, `[ true_path, action_type, username ]`, `[ true_path, action_type, created_at ]`, `[ true_path, username, created_at ]`, `[ remote_ip, success, status ]`, `[ remote_ip, success, action_type ]`, `[ remote_ip, success, username ]`, `[ remote_ip, success, created_at ]`, `[ remote_ip, status, action_type ]`, `[ remote_ip, status, username ]`, `[ remote_ip, status, created_at ]`, `[ remote_ip, action_type, username ]`, `[ remote_ip, action_type, created_at ]`, `[ remote_ip, username, created_at ]`, `[ success, status, action_type ]`, `[ success, status, username ]`, `[ success, status, created_at ]`, `[ success, action_type, username ]`, `[ success, action_type, created_at ]`, `[ success, username, created_at ]`, `[ status, action_type, username ]`, `[ status, action_type, created_at ]`, `[ status, username, created_at ]`, `[ action_type, username, created_at ]`, `[ path, true_path, remote_ip, success ]`, `[ path, true_path, remote_ip, status ]`, `[ path, true_path, remote_ip, action_type ]`, `[ path, true_path, remote_ip, username ]`, `[ path, true_path, remote_ip, created_at ]`, `[ path, true_path, success, status ]`, `[ path, true_path, success, action_type ]`, `[ path, true_path, success, username ]`, `[ path, true_path, success, created_at ]`, `[ path, true_path, status, action_type ]`, `[ path, true_path, status, username ]`, `[ path, true_path, status, created_at ]`, `[ path, true_path, action_type, username ]`, `[ path, true_path, action_type, created_at ]`, `[ path, true_path, username, created_at ]`, `[ path, remote_ip, success, status ]`, `[ path, remote_ip, success, action_type ]`, `[ path, remote_ip, success, username ]`, `[ path, remote_ip, success, created_at ]`, `[ path, remote_ip, status, action_type ]`, `[ path, remote_ip, status, username ]`, `[ path, remote_ip, status, created_at ]`, `[ path, remote_ip, action_type, username ]`, `[ path, remote_ip, action_type, created_at ]`, `[ path, remote_ip, username, created_at ]`, `[ path, success, status, action_type ]`, `[ path, success, status, username ]`, `[ path, success, status, created_at ]`, `[ path, success, action_type, username ]`, `[ path, success, action_type, created_at ]`, `[ path, success, username, created_at ]`, `[ path, status, action_type, username ]`, `[ path, status, action_type, created_at ]`, `[ path, status, username, created_at ]`, `[ path, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status ]`, `[ true_path, remote_ip, success, action_type ]`, `[ true_path, remote_ip, success, username ]`, `[ true_path, remote_ip, success, created_at ]`, `[ true_path, remote_ip, status, action_type ]`, `[ true_path, remote_ip, status, username ]`, `[ true_path, remote_ip, status, created_at ]`, `[ true_path, remote_ip, action_type, username ]`, `[ true_path, remote_ip, action_type, created_at ]`, `[ true_path, remote_ip, username, created_at ]`, `[ true_path, success, status, action_type ]`, `[ true_path, success, status, username ]`, `[ true_path, success, status, created_at ]`, `[ true_path, success, action_type, username ]`, `[ true_path, success, action_type, created_at ]`, `[ true_path, success, username, created_at ]`, `[ true_path, status, action_type, username ]`, `[ true_path, status, action_type, created_at ]`, `[ true_path, status, username, created_at ]`, `[ true_path, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type ]`, `[ remote_ip, success, status, username ]`, `[ remote_ip, success, status, created_at ]`, `[ remote_ip, success, action_type, username ]`, `[ remote_ip, success, action_type, created_at ]`, `[ remote_ip, success, username, created_at ]`, `[ remote_ip, status, action_type, username ]`, `[ remote_ip, status, action_type, created_at ]`, `[ remote_ip, status, username, created_at ]`, `[ remote_ip, action_type, username, created_at ]`, `[ success, status, action_type, username ]`, `[ success, status, action_type, created_at ]`, `[ success, status, username, created_at ]`, `[ success, action_type, username, created_at ]`, `[ status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status ]`, `[ path, true_path, remote_ip, success, action_type ]`, `[ path, true_path, remote_ip, success, username ]`, `[ path, true_path, remote_ip, success, created_at ]`, `[ path, true_path, remote_ip, status, action_type ]`, `[ path, true_path, remote_ip, status, username ]`, `[ path, true_path, remote_ip, status, created_at ]`, `[ path, true_path, remote_ip, action_type, username ]`, `[ path, true_path, remote_ip, action_type, created_at ]`, `[ path, true_path, remote_ip, username, created_at ]`, `[ path, true_path, success, status, action_type ]`, `[ path, true_path, success, status, username ]`, `[ path, true_path, success, status, created_at ]`, `[ path, true_path, success, action_type, username ]`, `[ path, true_path, success, action_type, created_at ]`, `[ path, true_path, success, username, created_at ]`, `[ path, true_path, status, action_type, username ]`, `[ path, true_path, status, action_type, created_at ]`, `[ path, true_path, status, username, created_at ]`, `[ path, true_path, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type ]`, `[ path, remote_ip, success, status, username ]`, `[ path, remote_ip, success, status, created_at ]`, `[ path, remote_ip, success, action_type, username ]`, `[ path, remote_ip, success, action_type, created_at ]`, `[ path, remote_ip, success, username, created_at ]`, `[ path, remote_ip, status, action_type, username ]`, `[ path, remote_ip, status, action_type, created_at ]`, `[ path, remote_ip, status, username, created_at ]`, `[ path, remote_ip, action_type, username, created_at ]`, `[ path, success, status, action_type, username ]`, `[ path, success, status, action_type, created_at ]`, `[ path, success, status, username, created_at ]`, `[ path, success, action_type, username, created_at ]`, `[ path, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type ]`, `[ true_path, remote_ip, success, status, username ]`, `[ true_path, remote_ip, success, status, created_at ]`, `[ true_path, remote_ip, success, action_type, username ]`, `[ true_path, remote_ip, success, action_type, created_at ]`, `[ true_path, remote_ip, success, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username ]`, `[ true_path, remote_ip, status, action_type, created_at ]`, `[ true_path, remote_ip, status, username, created_at ]`, `[ true_path, remote_ip, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username ]`, `[ true_path, success, status, action_type, created_at ]`, `[ true_path, success, status, username, created_at ]`, `[ true_path, success, action_type, username, created_at ]`, `[ true_path, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username ]`, `[ remote_ip, success, status, action_type, created_at ]`, `[ remote_ip, success, status, username, created_at ]`, `[ remote_ip, success, action_type, username, created_at ]`, `[ remote_ip, status, action_type, username, created_at ]`, `[ success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type ]`, `[ path, true_path, remote_ip, success, status, username ]`, `[ path, true_path, remote_ip, success, status, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username ]`, `[ path, true_path, remote_ip, success, action_type, created_at ]`, `[ path, true_path, remote_ip, success, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username ]`, `[ path, true_path, remote_ip, status, action_type, created_at ]`, `[ path, true_path, remote_ip, status, username, created_at ]`, `[ path, true_path, remote_ip, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username ]`, `[ path, true_path, success, status, action_type, created_at ]`, `[ path, true_path, success, status, username, created_at ]`, `[ path, true_path, success, action_type, username, created_at ]`, `[ path, true_path, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username ]`, `[ path, remote_ip, success, status, action_type, created_at ]`, `[ path, remote_ip, success, status, username, created_at ]`, `[ path, remote_ip, success, action_type, username, created_at ]`, `[ path, remote_ip, status, action_type, username, created_at ]`, `[ path, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username ]`, `[ true_path, remote_ip, success, status, action_type, created_at ]`, `[ true_path, remote_ip, success, status, username, created_at ]`, `[ true_path, remote_ip, success, action_type, username, created_at ]`, `[ true_path, remote_ip, status, action_type, username, created_at ]`, `[ true_path, success, status, action_type, username, created_at ]`, `[ remote_ip, success, status, action_type, username, created_at ]`, `[ path, true_path, remote_ip, success, status, action_type, username ]`, `[ path, true_path, remote_ip, success, status, action_type, created_at ]`, `[ path, true_path, remote_ip, success, status, username, created_at ]`, `[ path, true_path, remote_ip, success, action_type, username, created_at ]`, `[ path, true_path, remote_ip, status, action_type, username, created_at ]`, `[ path, true_path, success, status, action_type, username, created_at ]`, `[ path, remote_ip, success, status, action_type, username, created_at ]`, `[ true_path, remote_ip, success, status, action_type, username, created_at ]` or `[ path, true_path, remote_ip, success, status, action_type, username, created_at ]`.
	FilterLteq interface{} `url:"filter_lteq,omitempty" json:"filter_lteq,omitempty" path:"filter_lteq"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

WebDavActionLogListParams contains the request parameters for GET /web_dav_action_logs.

type WebhookTest ¶

type WebhookTest struct {
	// Status HTTP code.
	Code int64 `json:"code,omitempty" path:"code,omitempty" url:"code,omitempty"`
	// Error message.
	Message string `json:"message,omitempty" path:"message,omitempty" url:"message,omitempty"`
	// Status message.
	Status string `json:"status,omitempty" path:"status,omitempty" url:"status,omitempty"`
	// Additional data.
	Data Auto `json:"data,omitempty" path:"data,omitempty" url:"data,omitempty"`
	// The success status of the webhook test.
	Success *bool `json:"success,omitempty" path:"success,omitempty" url:"success,omitempty"`
	// URL for testing the webhook.
	Url string `json:"url,omitempty" path:"url,omitempty" url:"url,omitempty"`
	// HTTP method(GET or POST).
	Method string `json:"method,omitempty" path:"method,omitempty" url:"method,omitempty"`
	// HTTP encoding method. Can be JSON, XML, or RAW (form data).
	Encoding string `json:"encoding,omitempty" path:"encoding,omitempty" url:"encoding,omitempty"`
	// Additional request headers.
	Headers interface{} `json:"headers,omitempty" path:"headers,omitempty" url:"headers,omitempty"`
	// Additional body parameters.
	Body interface{} `json:"body,omitempty" path:"body,omitempty" url:"body,omitempty"`
	// raw body text.
	RawBody string `json:"raw_body,omitempty" path:"raw_body,omitempty" url:"raw_body,omitempty"`
	// Send the file data as the request body?
	FileAsBody *bool `json:"file_as_body,omitempty" path:"file_as_body,omitempty" url:"file_as_body,omitempty"`
	// Send the file data as a named parameter in the request POST body.
	FileFormField string `json:"file_form_field,omitempty" path:"file_form_field,omitempty" url:"file_form_field,omitempty"`
	// action for test body.
	Action string `json:"action,omitempty" path:"action,omitempty" url:"action,omitempty"`
	// Use dedicated IPs for sending the webhook?
	UseDedicatedIps *bool `json:"use_dedicated_ips,omitempty" path:"use_dedicated_ips,omitempty" url:"use_dedicated_ips,omitempty"`
}

WebhookTest is a Files.com API resource.

func (*WebhookTest) UnmarshalJSON ¶

func (w *WebhookTest) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type WebhookTestCollection ¶

type WebhookTestCollection []WebhookTest

WebhookTestCollection is a list of WebhookTest resources.

func (*WebhookTestCollection) ToSlice ¶

func (w *WebhookTestCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*WebhookTestCollection) UnmarshalJSON ¶

func (w *WebhookTestCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type WebhookTestCreateParams ¶

type WebhookTestCreateParams struct {
	// URL for testing the webhook. Required.
	Url string `url:"url" json:"url" path:"url"`
	// HTTP method(GET or POST).
	Method string `url:"method,omitempty" json:"method,omitempty" path:"method"`
	// HTTP encoding method. Can be JSON, XML, or RAW (form data).
	Encoding string `url:"encoding,omitempty" json:"encoding,omitempty" path:"encoding"`
	// Additional request headers.
	Headers interface{} `url:"headers,omitempty" json:"headers,omitempty" path:"headers"`
	// Additional body parameters.
	Body interface{} `url:"body,omitempty" json:"body,omitempty" path:"body"`
	// raw body text.
	RawBody string `url:"raw_body,omitempty" json:"raw_body,omitempty" path:"raw_body"`
	// Send the file data as the request body?
	FileAsBody *bool `url:"file_as_body,omitempty" json:"file_as_body,omitempty" path:"file_as_body"`
	// Send the file data as a named parameter in the request POST body.
	FileFormField string `url:"file_form_field,omitempty" json:"file_form_field,omitempty" path:"file_form_field"`
	// action for test body.
	Action string `url:"action,omitempty" json:"action,omitempty" path:"action"`
	// Use dedicated IPs for sending the webhook?
	UseDedicatedIps *bool `url:"use_dedicated_ips,omitempty" json:"use_dedicated_ips,omitempty" path:"use_dedicated_ips"`
}

WebhookTestCreateParams contains the request parameters for POST /webhook_tests.

type Workspace ¶ added in v3.3.23

type Workspace struct {
	// Workspace ID.
	Id int64 `json:"id,omitempty" path:"id,omitempty" url:"id,omitempty"`
	// Workspace name.
	Name string `json:"name,omitempty" path:"name,omitempty" url:"name,omitempty"`
}

Workspace is a Files.com API resource.

func (Workspace) Identifier ¶ added in v3.3.23

func (w Workspace) Identifier() interface{}

Identifier returns the resource ID.

func (*Workspace) UnmarshalJSON ¶ added in v3.3.23

func (w *Workspace) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type WorkspaceCollection ¶ added in v3.3.23

type WorkspaceCollection []Workspace

WorkspaceCollection is a list of Workspace resources.

func (*WorkspaceCollection) ToSlice ¶ added in v3.3.23

func (w *WorkspaceCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*WorkspaceCollection) UnmarshalJSON ¶ added in v3.3.23

func (w *WorkspaceCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

type WorkspaceCreateParams ¶ added in v3.3.23

type WorkspaceCreateParams struct {
	// Workspace name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
}

WorkspaceCreateParams contains the request parameters for POST /workspaces.

type WorkspaceDeleteParams ¶ added in v3.3.23

type WorkspaceDeleteParams struct {
	// Workspace ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

WorkspaceDeleteParams contains the request parameters for DELETE /workspaces/{id}.

type WorkspaceFindParams ¶ added in v3.3.23

type WorkspaceFindParams struct {
	// Workspace ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
}

WorkspaceFindParams contains the request parameters for GET /workspaces/{id}.

type WorkspaceListParams ¶ added in v3.3.23

type WorkspaceListParams struct {
	// If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
	SortBy interface{} `url:"sort_by,omitempty" json:"sort_by,omitempty" path:"sort_by"`
	// If set, return records where the specified field is equal to the supplied value. Valid fields are `name`.
	Filter interface{} `url:"filter,omitempty" json:"filter,omitempty" path:"filter"`
	// If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`.
	FilterPrefix interface{} `url:"filter_prefix,omitempty" json:"filter_prefix,omitempty" path:"filter_prefix"`
	// ListParams controls cursor-based pagination: PerPage and Cursor are sent to the API, and MaxPages, which is not sent, limits the number of pages requested when positive; zero allows all pages.
	ListParams
}

WorkspaceListParams contains the request parameters for GET /workspaces.

type WorkspaceUpdateParams ¶ added in v3.3.23

type WorkspaceUpdateParams struct {
	// Workspace ID. Required; sent in the request path.
	Id int64 `url:"-,omitempty" json:"-,omitempty" path:"id"`
	// Workspace name.
	Name string `url:"name,omitempty" json:"name,omitempty" path:"name"`
}

WorkspaceUpdateParams contains the request parameters for PATCH /workspaces/{id}.

type ZipListEntry ¶ added in v3.3.33

type ZipListEntry struct {
	// Entry path inside the ZIP. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
	Path string `json:"path,omitempty" path:"path,omitempty" url:"path,omitempty"`
	// Uncompressed size in bytes.
	Size int64 `json:"size,omitempty" path:"size,omitempty" url:"size,omitempty"`
}

ZipListEntry is a Files.com API resource.

func (ZipListEntry) Identifier ¶ added in v3.3.33

func (z ZipListEntry) Identifier() interface{}

Identifier returns the resource path.

func (*ZipListEntry) UnmarshalJSON ¶ added in v3.3.33

func (z *ZipListEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes an API resource. A decoding error leaves the receiver unchanged.

type ZipListEntryCollection ¶ added in v3.3.33

type ZipListEntryCollection []ZipListEntry

ZipListEntryCollection is a list of ZipListEntry resources.

func (*ZipListEntryCollection) ToSlice ¶ added in v3.3.33

func (z *ZipListEntryCollection) ToSlice() *[]interface{}

ToSlice returns a new slice containing the resources as interface values.

func (*ZipListEntryCollection) UnmarshalJSON ¶ added in v3.3.33

func (z *ZipListEntryCollection) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a list of API resources. A decoding error leaves the receiver unchanged.

Source Files ¶

Directories ¶

Path Synopsis
Package account_line_item is the Files.com API client package for the files_sdk.AccountLineItem model.
Package account_line_item is the Files.com API client package for the files_sdk.AccountLineItem model.
Package action is the Files.com API client package for the files_sdk.Action model.
Package action is the Files.com API client package for the files_sdk.Action model.
Package action_log is the Files.com API client package for the files_sdk.ActionLog model.
Package action_log is the Files.com API client package for the files_sdk.ActionLog model.
Package action_notification_export is the Files.com API client package for the files_sdk.ActionNotificationExport model.
Package action_notification_export is the Files.com API client package for the files_sdk.ActionNotificationExport model.
Package action_notification_export_result is the Files.com API client package for the files_sdk.ActionNotificationExportResult model.
Package action_notification_export_result is the Files.com API client package for the files_sdk.ActionNotificationExportResult model.
Package agent_node is the Files.com API client package for the files_sdk.AgentNode model.
Package agent_node is the Files.com API client package for the files_sdk.AgentNode model.
Package agent_node_connection is the Files.com API client package for the files_sdk.AgentNodeConnection model.
Package agent_node_connection is the Files.com API client package for the files_sdk.AgentNodeConnection model.
Package agent_node_instance is the Files.com API client package for the files_sdk.AgentNodeInstance model.
Package agent_node_instance is the Files.com API client package for the files_sdk.AgentNodeInstance model.
Package agent_push_update is the Files.com API client package for the files_sdk.AgentPushUpdate model.
Package agent_push_update is the Files.com API client package for the files_sdk.AgentPushUpdate model.
Package ai_assistant_personality is the Files.com API client package for the files_sdk.AiAssistantPersonality model.
Package ai_assistant_personality is the Files.com API client package for the files_sdk.AiAssistantPersonality model.
Package ai_task is the Files.com API client package for the files_sdk.AiTask model.
Package ai_task is the Files.com API client package for the files_sdk.AiTask model.
Package api_key is the Files.com API client package for the files_sdk.ApiKey model.
Package api_key is the Files.com API client package for the files_sdk.ApiKey model.
Package api_request_log is the Files.com API client package for the files_sdk.ApiRequestLog model.
Package api_request_log is the Files.com API client package for the files_sdk.ApiRequestLog model.
Package app is the Files.com API client package for the files_sdk.App model.
Package app is the Files.com API client package for the files_sdk.App model.
Package as2_incoming_message is the Files.com API client package for the files_sdk.As2IncomingMessage model.
Package as2_incoming_message is the Files.com API client package for the files_sdk.As2IncomingMessage model.
Package as2_outgoing_message is the Files.com API client package for the files_sdk.As2OutgoingMessage model.
Package as2_outgoing_message is the Files.com API client package for the files_sdk.As2OutgoingMessage model.
Package as2_partner is the Files.com API client package for the files_sdk.As2Partner model.
Package as2_partner is the Files.com API client package for the files_sdk.As2Partner model.
Package as2_station is the Files.com API client package for the files_sdk.As2Station model.
Package as2_station is the Files.com API client package for the files_sdk.As2Station model.
Package auto is the Files.com API client package for the files_sdk.Auto model.
Package auto is the Files.com API client package for the files_sdk.Auto model.
Package automation is the Files.com API client package for the files_sdk.Automation model.
Package automation is the Files.com API client package for the files_sdk.Automation model.
Package automation_authoring_schema is the Files.com API client package for the files_sdk.AutomationAuthoringSchema model.
Package automation_authoring_schema is the Files.com API client package for the files_sdk.AutomationAuthoringSchema model.
Package automation_execution_node is the Files.com API client package for the files_sdk.AutomationExecutionNode model.
Package automation_execution_node is the Files.com API client package for the files_sdk.AutomationExecutionNode model.
Package automation_log is the Files.com API client package for the files_sdk.AutomationLog model.
Package automation_log is the Files.com API client package for the files_sdk.AutomationLog model.
Package automation_run is the Files.com API client package for the files_sdk.AutomationRun model.
Package automation_run is the Files.com API client package for the files_sdk.AutomationRun model.
Package bandwidth_snapshot is the Files.com API client package for the files_sdk.BandwidthSnapshot model.
Package bandwidth_snapshot is the Files.com API client package for the files_sdk.BandwidthSnapshot model.
Package behavior is the Files.com API client package for the files_sdk.Behavior model.
Package behavior is the Files.com API client package for the files_sdk.Behavior model.
Package bundle is the Files.com API client package for the files_sdk.Bundle model.
Package bundle is the Files.com API client package for the files_sdk.Bundle model.
Package bundle_action is the Files.com API client package for the files_sdk.BundleAction model.
Package bundle_action is the Files.com API client package for the files_sdk.BundleAction model.
Package bundle_download is the Files.com API client package for the files_sdk.BundleDownload model.
Package bundle_download is the Files.com API client package for the files_sdk.BundleDownload model.
Package bundle_notification is the Files.com API client package for the files_sdk.BundleNotification model.
Package bundle_notification is the Files.com API client package for the files_sdk.BundleNotification model.
Package bundle_path is the Files.com API client package for the files_sdk.BundlePath model.
Package bundle_path is the Files.com API client package for the files_sdk.BundlePath model.
Package bundle_recipient is the Files.com API client package for the files_sdk.BundleRecipient model.
Package bundle_recipient is the Files.com API client package for the files_sdk.BundleRecipient model.
Package bundle_registration is the Files.com API client package for the files_sdk.BundleRegistration model.
Package bundle_registration is the Files.com API client package for the files_sdk.BundleRegistration model.
Package chat_message is the Files.com API client package for the files_sdk.ChatMessage model.
Package chat_message is the Files.com API client package for the files_sdk.ChatMessage model.
Package chat_session is the Files.com API client package for the files_sdk.ChatSession model.
Package chat_session is the Files.com API client package for the files_sdk.ChatSession model.
Package child_site_management_policy is the Files.com API client package for the files_sdk.ChildSiteManagementPolicy model.
Package child_site_management_policy is the Files.com API client package for the files_sdk.ChildSiteManagementPolicy model.
Package clickwrap is the Files.com API client package for the files_sdk.Clickwrap model.
Package clickwrap is the Files.com API client package for the files_sdk.Clickwrap model.
Package custom_domain is the Files.com API client package for the files_sdk.CustomDomain model.
Package custom_domain is the Files.com API client package for the files_sdk.CustomDomain model.
Package desktop_configuration_profile is the Files.com API client package for the files_sdk.DesktopConfigurationProfile model.
Package desktop_configuration_profile is the Files.com API client package for the files_sdk.DesktopConfigurationProfile model.
Package direct_connection_info is the Files.com API client package for the files_sdk.DirectConnectionInfo model.
Package direct_connection_info is the Files.com API client package for the files_sdk.DirectConnectionInfo model.
Package dns_record is the Files.com API client package for the files_sdk.DnsRecord model.
Package dns_record is the Files.com API client package for the files_sdk.DnsRecord model.
Package email_incoming_message is the Files.com API client package for the files_sdk.EmailIncomingMessage model.
Package email_incoming_message is the Files.com API client package for the files_sdk.EmailIncomingMessage model.
Package email_log is the Files.com API client package for the files_sdk.EmailLog model.
Package email_log is the Files.com API client package for the files_sdk.EmailLog model.
Package errors is the Files.com API client package for the files_sdk.Errors model.
Package errors is the Files.com API client package for the files_sdk.Errors model.
Package event_channel is the Files.com API client package for the files_sdk.EventChannel model.
Package event_channel is the Files.com API client package for the files_sdk.EventChannel model.
Package event_delivery_attempt is the Files.com API client package for the files_sdk.EventDeliveryAttempt model.
Package event_delivery_attempt is the Files.com API client package for the files_sdk.EventDeliveryAttempt model.
Package event_record is the Files.com API client package for the files_sdk.EventRecord model.
Package event_record is the Files.com API client package for the files_sdk.EventRecord model.
Package event_subscription is the Files.com API client package for the files_sdk.EventSubscription model.
Package event_subscription is the Files.com API client package for the files_sdk.EventSubscription model.
Package event_target is the Files.com API client package for the files_sdk.EventTarget model.
Package event_target is the Files.com API client package for the files_sdk.EventTarget model.
Package exavault_api_request_log is the Files.com API client package for the files_sdk.ExavaultApiRequestLog model.
Package exavault_api_request_log is the Files.com API client package for the files_sdk.ExavaultApiRequestLog model.
Package expectation is the Files.com API client package for the files_sdk.Expectation model.
Package expectation is the Files.com API client package for the files_sdk.Expectation model.
Package expectation_evaluation is the Files.com API client package for the files_sdk.ExpectationEvaluation model.
Package expectation_evaluation is the Files.com API client package for the files_sdk.ExpectationEvaluation model.
Package expectation_incident is the Files.com API client package for the files_sdk.ExpectationIncident model.
Package expectation_incident is the Files.com API client package for the files_sdk.ExpectationIncident model.
Package external_event is the Files.com API client package for the files_sdk.ExternalEvent model.
Package external_event is the Files.com API client package for the files_sdk.ExternalEvent model.
Package file is the Files.com API client package for the files_sdk.File model.
Package file is the Files.com API client package for the files_sdk.File model.
Package file_action is the Files.com API client package for the files_sdk.FileAction model.
Package file_action is the Files.com API client package for the files_sdk.FileAction model.
Package file_comment is the Files.com API client package for the files_sdk.FileComment model.
Package file_comment is the Files.com API client package for the files_sdk.FileComment model.
Package file_comment_reaction is the Files.com API client package for the files_sdk.FileCommentReaction model.
Package file_comment_reaction is the Files.com API client package for the files_sdk.FileCommentReaction model.
Package file_migration is the Files.com API client package for the files_sdk.FileMigration model.
Package file_migration is the Files.com API client package for the files_sdk.FileMigration model.
Package file_migration_log is the Files.com API client package for the files_sdk.FileMigrationLog model.
Package file_migration_log is the Files.com API client package for the files_sdk.FileMigrationLog model.
Package file_upload_part is the Files.com API client package for the files_sdk.FileUploadPart model.
Package file_upload_part is the Files.com API client package for the files_sdk.FileUploadPart model.
Package folder is the Files.com API client package for the files_sdk.Folder model.
Package folder is the Files.com API client package for the files_sdk.Folder model.
Package form_field is the Files.com API client package for the files_sdk.FormField model.
Package form_field is the Files.com API client package for the files_sdk.FormField model.
Package form_field_set is the Files.com API client package for the files_sdk.FormFieldSet model.
Package form_field_set is the Files.com API client package for the files_sdk.FormFieldSet model.
Package fsmount provides functionality to mount a Files.com file system using FUSE.
Package fsmount provides functionality to mount a Files.com file system using FUSE.
events
Package events provides event types and publishing interfaces for filesystem mount operations.
Package events provides event types and publishing interfaces for filesystem mount operations.
internal/cache/disk
Package disk implements a disk-based cache for file data.
Package disk implements a disk-based cache for file data.
internal/flags
Package flags provides utilities for working with FUSE file open flags.
Package flags provides utilities for working with FUSE file open flags.
internal/log
Package log provides logging interfaces and implementations for Files.com FUSE mount.
Package log provides logging interfaces and implementations for Files.com FUSE mount.
Package ftp_action_log is the Files.com API client package for the files_sdk.FtpActionLog model.
Package ftp_action_log is the Files.com API client package for the files_sdk.FtpActionLog model.
Package gpg_key is the Files.com API client package for the files_sdk.GpgKey model.
Package gpg_key is the Files.com API client package for the files_sdk.GpgKey model.
Package group is the Files.com API client package for the files_sdk.Group model.
Package group is the Files.com API client package for the files_sdk.Group model.
Package group_user is the Files.com API client package for the files_sdk.GroupUser model.
Package group_user is the Files.com API client package for the files_sdk.GroupUser model.
Package history is the Files.com API client package for the files_sdk.History model.
Package history is the Files.com API client package for the files_sdk.History model.
Package history_export is the Files.com API client package for the files_sdk.HistoryExport model.
Package history_export is the Files.com API client package for the files_sdk.HistoryExport model.
Package history_export_result is the Files.com API client package for the files_sdk.HistoryExportResult model.
Package history_export_result is the Files.com API client package for the files_sdk.HistoryExportResult model.
Package holiday_calendar is the Files.com API client package for the files_sdk.HolidayCalendar model.
Package holiday_calendar is the Files.com API client package for the files_sdk.HolidayCalendar model.
Package holiday_region is the Files.com API client package for the files_sdk.HolidayRegion model.
Package holiday_region is the Files.com API client package for the files_sdk.HolidayRegion model.
Package image is the Files.com API client package for the files_sdk.Image model.
Package image is the Files.com API client package for the files_sdk.Image model.
Package inbound_s3_log is the Files.com API client package for the files_sdk.InboundS3Log model.
Package inbound_s3_log is the Files.com API client package for the files_sdk.InboundS3Log model.
Package inbox_recipient is the Files.com API client package for the files_sdk.InboxRecipient model.
Package inbox_recipient is the Files.com API client package for the files_sdk.InboxRecipient model.
Package inbox_registration is the Files.com API client package for the files_sdk.InboxRegistration model.
Package inbox_registration is the Files.com API client package for the files_sdk.InboxRegistration model.
Package inbox_upload is the Files.com API client package for the files_sdk.InboxUpload model.
Package inbox_upload is the Files.com API client package for the files_sdk.InboxUpload model.
Package integration_centric_profile is the Files.com API client package for the files_sdk.IntegrationCentricProfile model.
Package integration_centric_profile is the Files.com API client package for the files_sdk.IntegrationCentricProfile model.
Package invoice is the Files.com API client package for the files_sdk.Invoice model.
Package invoice is the Files.com API client package for the files_sdk.Invoice model.
Package invoice_line_item is the Files.com API client package for the files_sdk.InvoiceLineItem model.
Package invoice_line_item is the Files.com API client package for the files_sdk.InvoiceLineItem model.
Package ip_address is the Files.com API client package for the files_sdk.IpAddress model.
Package ip_address is the Files.com API client package for the files_sdk.IpAddress model.
Package key_lifecycle_rule is the Files.com API client package for the files_sdk.KeyLifecycleRule model.
Package key_lifecycle_rule is the Files.com API client package for the files_sdk.KeyLifecycleRule model.
lib
privatefile
Package privatefile creates and maintains local files and directories that only the current user can read.
Package privatefile creates and maintains local files and directories that only the current user can read.
Package lock is the Files.com API client package for the files_sdk.Lock model.
Package lock is the Files.com API client package for the files_sdk.Lock model.
Package metadata_category is the Files.com API client package for the files_sdk.MetadataCategory model.
Package metadata_category is the Files.com API client package for the files_sdk.MetadataCategory model.
Package notification is the Files.com API client package for the files_sdk.Notification model.
Package notification is the Files.com API client package for the files_sdk.Notification model.
Package outbound_connection_log is the Files.com API client package for the files_sdk.OutboundConnectionLog model.
Package outbound_connection_log is the Files.com API client package for the files_sdk.OutboundConnectionLog model.
Package partner is the Files.com API client package for the files_sdk.Partner model.
Package partner is the Files.com API client package for the files_sdk.Partner model.
Package partner_channel is the Files.com API client package for the files_sdk.PartnerChannel model.
Package partner_channel is the Files.com API client package for the files_sdk.PartnerChannel model.
Package partner_channel_template is the Files.com API client package for the files_sdk.PartnerChannelTemplate model.
Package partner_channel_template is the Files.com API client package for the files_sdk.PartnerChannelTemplate model.
Package partner_connection is the Files.com API client package for the files_sdk.PartnerConnection model.
Package partner_connection is the Files.com API client package for the files_sdk.PartnerConnection model.
Package partner_site is the Files.com API client package for the files_sdk.PartnerSite model.
Package partner_site is the Files.com API client package for the files_sdk.PartnerSite model.
Package partner_site_request is the Files.com API client package for the files_sdk.PartnerSiteRequest model.
Package partner_site_request is the Files.com API client package for the files_sdk.PartnerSiteRequest model.
Package payment is the Files.com API client package for the files_sdk.Payment model.
Package payment is the Files.com API client package for the files_sdk.Payment model.
Package payment_line_item is the Files.com API client package for the files_sdk.PaymentLineItem model.
Package payment_line_item is the Files.com API client package for the files_sdk.PaymentLineItem model.
Package pending_work_event is the Files.com API client package for the files_sdk.PendingWorkEvent model.
Package pending_work_event is the Files.com API client package for the files_sdk.PendingWorkEvent model.
Package permission is the Files.com API client package for the files_sdk.Permission model.
Package permission is the Files.com API client package for the files_sdk.Permission model.
Package preview is the Files.com API client package for the files_sdk.Preview model.
Package preview is the Files.com API client package for the files_sdk.Preview model.
Package public_hosting_request_log is the Files.com API client package for the files_sdk.PublicHostingRequestLog model.
Package public_hosting_request_log is the Files.com API client package for the files_sdk.PublicHostingRequestLog model.
Package public_ip_address is the Files.com API client package for the files_sdk.PublicIpAddress model.
Package public_ip_address is the Files.com API client package for the files_sdk.PublicIpAddress model.
Package public_key is the Files.com API client package for the files_sdk.PublicKey model.
Package public_key is the Files.com API client package for the files_sdk.PublicKey model.
Package remote_bandwidth_snapshot is the Files.com API client package for the files_sdk.RemoteBandwidthSnapshot model.
Package remote_bandwidth_snapshot is the Files.com API client package for the files_sdk.RemoteBandwidthSnapshot model.
Package remote_mount_backend is the Files.com API client package for the files_sdk.RemoteMountBackend model.
Package remote_mount_backend is the Files.com API client package for the files_sdk.RemoteMountBackend model.
Package remote_server is the Files.com API client package for the files_sdk.RemoteServer model.
Package remote_server is the Files.com API client package for the files_sdk.RemoteServer model.
Package remote_server_configuration_file is the Files.com API client package for the files_sdk.RemoteServerConfigurationFile model.
Package remote_server_configuration_file is the Files.com API client package for the files_sdk.RemoteServerConfigurationFile model.
Package remote_server_credential is the Files.com API client package for the files_sdk.RemoteServerCredential model.
Package remote_server_credential is the Files.com API client package for the files_sdk.RemoteServerCredential model.
Package request is the Files.com API client package for the files_sdk.Request model.
Package request is the Files.com API client package for the files_sdk.Request model.
Package restore is the Files.com API client package for the files_sdk.Restore model.
Package restore is the Files.com API client package for the files_sdk.Restore model.
Package schedule is the Files.com API client package for the files_sdk.Schedule model.
Package schedule is the Files.com API client package for the files_sdk.Schedule model.
Package scheduled_export is the Files.com API client package for the files_sdk.ScheduledExport model.
Package scheduled_export is the Files.com API client package for the files_sdk.ScheduledExport model.
Package scim_log is the Files.com API client package for the files_sdk.ScimLog model.
Package scim_log is the Files.com API client package for the files_sdk.ScimLog model.
Package secret is the Files.com API client package for the files_sdk.Secret model.
Package secret is the Files.com API client package for the files_sdk.Secret model.
Package session is the Files.com API client package for the files_sdk.Session model.
Package session is the Files.com API client package for the files_sdk.Session model.
Package settings retrieves Files.com settings for desktop clients.
Package settings retrieves Files.com settings for desktop clients.
Package settings_change is the Files.com API client package for the files_sdk.SettingsChange model.
Package settings_change is the Files.com API client package for the files_sdk.SettingsChange model.
Package sftp_action_log is the Files.com API client package for the files_sdk.SftpActionLog model.
Package sftp_action_log is the Files.com API client package for the files_sdk.SftpActionLog model.
Package sftp_host_key is the Files.com API client package for the files_sdk.SftpHostKey model.
Package sftp_host_key is the Files.com API client package for the files_sdk.SftpHostKey model.
Package share_group is the Files.com API client package for the files_sdk.ShareGroup model.
Package share_group is the Files.com API client package for the files_sdk.ShareGroup model.
Package share_group_member is the Files.com API client package for the files_sdk.ShareGroupMember model.
Package share_group_member is the Files.com API client package for the files_sdk.ShareGroupMember model.
Package siem_http_destination is the Files.com API client package for the files_sdk.SiemHttpDestination model.
Package siem_http_destination is the Files.com API client package for the files_sdk.SiemHttpDestination model.
Package siem_http_destination_event is the Files.com API client package for the files_sdk.SiemHttpDestinationEvent model.
Package siem_http_destination_event is the Files.com API client package for the files_sdk.SiemHttpDestinationEvent model.
Package site is the Files.com API client package for the files_sdk.Site model.
Package site is the Files.com API client package for the files_sdk.Site model.
Package site_subdomain_redirect is the Files.com API client package for the files_sdk.SiteSubdomainRedirect model.
Package site_subdomain_redirect is the Files.com API client package for the files_sdk.SiteSubdomainRedirect model.
Package snapshot is the Files.com API client package for the files_sdk.Snapshot model.
Package snapshot is the Files.com API client package for the files_sdk.Snapshot model.
Package sso_event is the Files.com API client package for the files_sdk.SsoEvent model.
Package sso_event is the Files.com API client package for the files_sdk.SsoEvent model.
Package sso_strategy is the Files.com API client package for the files_sdk.SsoStrategy model.
Package sso_strategy is the Files.com API client package for the files_sdk.SsoStrategy model.
Package status is the Files.com API client package for the files_sdk.Status model.
Package status is the Files.com API client package for the files_sdk.Status model.
Package style is the Files.com API client package for the files_sdk.Style model.
Package style is the Files.com API client package for the files_sdk.Style model.
Package sync is the Files.com API client package for the files_sdk.Sync model.
Package sync is the Files.com API client package for the files_sdk.Sync model.
Package sync_log is the Files.com API client package for the files_sdk.SyncLog model.
Package sync_log is the Files.com API client package for the files_sdk.SyncLog model.
Package sync_run is the Files.com API client package for the files_sdk.SyncRun model.
Package sync_run is the Files.com API client package for the files_sdk.SyncRun model.
Package sync_run_live_transfer is the Files.com API client package for the files_sdk.SyncRunLiveTransfer model.
Package sync_run_live_transfer is the Files.com API client package for the files_sdk.SyncRunLiveTransfer model.
Package usage_by_top_level_dir is the Files.com API client package for the files_sdk.UsageByTopLevelDir model.
Package usage_by_top_level_dir is the Files.com API client package for the files_sdk.UsageByTopLevelDir model.
Package usage_daily_snapshot is the Files.com API client package for the files_sdk.UsageDailySnapshot model.
Package usage_daily_snapshot is the Files.com API client package for the files_sdk.UsageDailySnapshot model.
Package usage_snapshot is the Files.com API client package for the files_sdk.UsageSnapshot model.
Package usage_snapshot is the Files.com API client package for the files_sdk.UsageSnapshot model.
Package user is the Files.com API client package for the files_sdk.User model.
Package user is the Files.com API client package for the files_sdk.User model.
Package user_additional_email_recipient is the Files.com API client package for the files_sdk.UserAdditionalEmailRecipient model.
Package user_additional_email_recipient is the Files.com API client package for the files_sdk.UserAdditionalEmailRecipient model.
Package user_cipher_use is the Files.com API client package for the files_sdk.UserCipherUse model.
Package user_cipher_use is the Files.com API client package for the files_sdk.UserCipherUse model.
Package user_lifecycle_rule is the Files.com API client package for the files_sdk.UserLifecycleRule model.
Package user_lifecycle_rule is the Files.com API client package for the files_sdk.UserLifecycleRule model.
Package user_request is the Files.com API client package for the files_sdk.UserRequest model.
Package user_request is the Files.com API client package for the files_sdk.UserRequest model.
Package user_security_event is the Files.com API client package for the files_sdk.UserSecurityEvent model.
Package user_security_event is the Files.com API client package for the files_sdk.UserSecurityEvent model.
Package user_sftp_client_use is the Files.com API client package for the files_sdk.UserSftpClientUse model.
Package user_sftp_client_use is the Files.com API client package for the files_sdk.UserSftpClientUse model.
Package web_dav_action_log is the Files.com API client package for the files_sdk.WebDavActionLog model.
Package web_dav_action_log is the Files.com API client package for the files_sdk.WebDavActionLog model.
Package webhooktest is the Files.com API client package for the files_sdk.WebhookTest model.
Package webhooktest is the Files.com API client package for the files_sdk.WebhookTest model.
Package workspace is the Files.com API client package for the files_sdk.Workspace model.
Package workspace is the Files.com API client package for the files_sdk.Workspace model.
Package zip_list_entry is the Files.com API client package for the files_sdk.ZipListEntry model.
Package zip_list_entry is the Files.com API client package for the files_sdk.ZipListEntry model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL