forked from hashicorp/go-tfe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin_setting.go
26 lines (24 loc) · 958 Bytes
/
admin_setting.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package tfe
// AdminSettings describes all the admin settings related methods that the Terraform Enterprise API supports.
// Note that admin settings are only available in Terraform Enterprise.
//
// TFE API docs: https://www.terraform.io/docs/cloud/api/admin/settings.html
// AdminSettings todo
type AdminSettings struct {
General GeneralSettings
SAML SAMLSettings
CostEstimation CostEstimationSettings
SMTP SMTPSettings
Twilio TwilioSettings
Customization CustomizationSettings
}
func newAdminSettings(client *Client) *AdminSettings {
return &AdminSettings{
General: &adminGeneralSettings{client: client},
SAML: &adminSAMLSettings{client: client},
CostEstimation: &adminCostEstimationSettings{client: client},
SMTP: &adminSMTPSettings{client: client},
Twilio: &adminTwilioSettings{client: client},
Customization: &adminCustomizationSettings{client: client},
}
}