Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data TemplateSyncConfig = TemplateSyncConfig' {}
- newTemplateSyncConfig :: Text -> Text -> RepositoryProvider -> Text -> TemplateType -> TemplateSyncConfig
- templateSyncConfig_subdirectory :: Lens' TemplateSyncConfig (Maybe Text)
- templateSyncConfig_branch :: Lens' TemplateSyncConfig Text
- templateSyncConfig_repositoryName :: Lens' TemplateSyncConfig Text
- templateSyncConfig_repositoryProvider :: Lens' TemplateSyncConfig RepositoryProvider
- templateSyncConfig_templateName :: Lens' TemplateSyncConfig Text
- templateSyncConfig_templateType :: Lens' TemplateSyncConfig TemplateType
Documentation
data TemplateSyncConfig Source #
The detail data for a template sync configuration.
See: newTemplateSyncConfig
smart constructor.
TemplateSyncConfig' | |
|
Instances
newTemplateSyncConfig Source #
:: Text | |
-> Text | |
-> RepositoryProvider | |
-> Text | |
-> TemplateType | |
-> TemplateSyncConfig |
Create a value of TemplateSyncConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:subdirectory:TemplateSyncConfig'
, templateSyncConfig_subdirectory
- A subdirectory path to your template bundle version.
$sel:branch:TemplateSyncConfig'
, templateSyncConfig_branch
- The repository branch.
$sel:repositoryName:TemplateSyncConfig'
, templateSyncConfig_repositoryName
- The repository name (for example, myrepos/myrepo
).
$sel:repositoryProvider:TemplateSyncConfig'
, templateSyncConfig_repositoryProvider
- The repository provider.
$sel:templateName:TemplateSyncConfig'
, templateSyncConfig_templateName
- The template name.
$sel:templateType:TemplateSyncConfig'
, templateSyncConfig_templateType
- The template type.
templateSyncConfig_subdirectory :: Lens' TemplateSyncConfig (Maybe Text) Source #
A subdirectory path to your template bundle version.
templateSyncConfig_branch :: Lens' TemplateSyncConfig Text Source #
The repository branch.
templateSyncConfig_repositoryName :: Lens' TemplateSyncConfig Text Source #
The repository name (for example, myrepos/myrepo
).
templateSyncConfig_repositoryProvider :: Lens' TemplateSyncConfig RepositoryProvider Source #
The repository provider.
templateSyncConfig_templateName :: Lens' TemplateSyncConfig Text Source #
The template name.
templateSyncConfig_templateType :: Lens' TemplateSyncConfig TemplateType Source #
The template type.