Documentation
¶
Overview ¶
Code generated by baton-sdk. DO NOT EDIT!!!
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Add the SchemaFields for the Config. ClientId = field.StringField( "procore-client-id", field.WithDescription("The client ID to use for authentication."), field.WithRequired(true), field.WithDisplayName("Client ID"), ) ClientSecret = field.StringField( "procore-client-secret", field.WithDescription("The client secret to use for authentication."), field.WithRequired(true), field.WithDisplayName("Client Secret"), field.WithIsSecret(true), ) ConfigurationFields = []field.SchemaField{ClientId, ClientSecret} // FieldRelationships defines relationships between the ConfigurationFields that can be automatically validated. // For example, a username and password can be required together, or an access token can be // marked as mutually exclusive from the username password pair. FieldRelationships = []field.SchemaFieldRelationship{} )
View Source
var Config = field.NewConfiguration( ConfigurationFields, field.WithConstraints(FieldRelationships...), field.WithConnectorDisplayName("Procore"), )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.