Documentation
¶
Overview ¶
Code generated by baton-sdk. DO NOT EDIT!!!
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientID = field.StringField( "box-client-id", field.WithDisplayName("Client ID"), field.WithDescription("Client ID used to authenticate to the Box API."), field.WithRequired(true), ) ClientSecret = field.StringField( "box-client-secret", field.WithDisplayName("Client Secret"), field.WithDescription("Client Secret used to authenticate to the Box API."), field.WithRequired(true), field.WithIsSecret(true), ) EnterpriseID = field.StringField( "enterprise-id", field.WithDisplayName("Enterprise ID"), field.WithDescription("ID of your Box enterprise."), field.WithRequired(true), ) DisableForceDeleteField = field.BoolField( "disable-force-delete", field.WithDisplayName("Keep users who still own content"), field.WithDescription("When enabled, deleting a Box user fails while they still own files or folders, "+ "instead of deleting that content with them. Use it with the Transfer User Files action so content "+ "that has not been transferred yet is not deleted with the user."), field.WithSuggestedValue(true), ) BaseURLField = field.StringField( "base-url", field.WithDescription("Override the Box API URL (for testing or enterprise deployments)"), field.WithHidden(true), field.WithExportTarget(field.ExportTargetCLIOnly), ) )
View Source
var Config = field.NewConfiguration([]field.SchemaField{ ClientID, ClientSecret, EnterpriseID, DisableForceDeleteField, BaseURLField, }, field.WithConnectorDisplayName("Box"), field.WithIconUrl("/static/app-icons/box.svg"), field.WithHelpUrl("/docs/baton/box"), )
Functions ¶
This section is empty.
Types ¶
type Box ¶
type Box struct {
BoxClientId string `mapstructure:"box-client-id"`
BoxClientSecret string `mapstructure:"box-client-secret"`
EnterpriseId string `mapstructure:"enterprise-id"`
DisableForceDelete bool `mapstructure:"disable-force-delete"`
BaseUrl string `mapstructure:"base-url"`
}
func (*Box) GetStringSlice ¶
Click to show internal directories.
Click to hide internal directories.