forked from kraney/stackpath
/
model_custconf_aws_signed_origin_pull_v4_authentication_type_enum_wrapper_value.go
66 lines (52 loc) · 2.66 KB
/
model_custconf_aws_signed_origin_pull_v4_authentication_type_enum_wrapper_value.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
* Content Delivery Network
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: 1.0.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package cdn
import (
"encoding/json"
)
// CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue the model 'CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue'
type CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue string
// List of custconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue
const (
CUSTCONFAWSSIGNEDORIGINPULLV4AUTHENTICATIONTYPEENUMWRAPPERVALUE_UNKNOWN CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue = "UNKNOWN"
CUSTCONFAWSSIGNEDORIGINPULLV4AUTHENTICATIONTYPEENUMWRAPPERVALUE_QUERY CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue = "query"
CUSTCONFAWSSIGNEDORIGINPULLV4AUTHENTICATIONTYPEENUMWRAPPERVALUE_HEADER CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue = "header"
)
// Ptr returns reference to custconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue value
func (v CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) Ptr() *CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue {
return &v
}
type NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue struct {
value *CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue
isSet bool
}
func (v NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) Get() *CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue {
return v.value
}
func (v *NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) Set(val *CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) {
v.value = val
v.isSet = true
}
func (v NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) IsSet() bool {
return v.isSet
}
func (v *NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue(val *CustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) *NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue {
return &NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue{value: val, isSet: true}
}
func (v NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableCustconfAwsSignedOriginPullV4AuthenticationTypeEnumWrapperValue) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}