2018-11-08 22:13:13 +01:00
|
|
|
package tfe
|
|
|
|
|
|
|
|
// Access returns a pointer to the given team access type.
|
|
|
|
func Access(v AccessType) *AccessType {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
|
|
|
// AuthPolicy returns a pointer to the given authentication poliy.
|
|
|
|
func AuthPolicy(v AuthPolicyType) *AuthPolicyType {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
|
|
|
// Bool returns a pointer to the given bool
|
|
|
|
func Bool(v bool) *bool {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
|
|
|
// Category returns a pointer to the given category type.
|
|
|
|
func Category(v CategoryType) *CategoryType {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
|
|
|
// EnforcementMode returns a pointer to the given enforcement level.
|
|
|
|
func EnforcementMode(v EnforcementLevel) *EnforcementLevel {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
|
|
|
// Int returns a pointer to the given int.
|
|
|
|
func Int(v int) *int {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
|
|
|
// Int64 returns a pointer to the given int64.
|
|
|
|
func Int64(v int64) *int64 {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
2019-04-08 11:13:14 +02:00
|
|
|
// NotificationDestination returns a pointer to the given notification configuration destination type
|
|
|
|
func NotificationDestination(v NotificationDestinationType) *NotificationDestinationType {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
2018-11-08 22:13:13 +01:00
|
|
|
// ServiceProvider returns a pointer to the given service provider type.
|
|
|
|
func ServiceProvider(v ServiceProviderType) *ServiceProviderType {
|
|
|
|
return &v
|
|
|
|
}
|
|
|
|
|
|
|
|
// String returns a pointer to the given string.
|
|
|
|
func String(v string) *string {
|
|
|
|
return &v
|
|
|
|
}
|