forked from kraney/stackpath
/
model_zone_zone_status.go
67 lines (53 loc) · 1.42 KB
/
model_zone_zone_status.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
67
/*
* DNS
*
* 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 dns
import (
"encoding/json"
)
// ZoneZoneStatus the model 'ZoneZoneStatus'
type ZoneZoneStatus string
// List of zoneZoneStatus
const (
ZONEZONESTATUS_ACTIVE ZoneZoneStatus = "ACTIVE"
ZONEZONESTATUS_SUSPENDED ZoneZoneStatus = "SUSPENDED"
ZONEZONESTATUS_BILLING_SUSPENDED ZoneZoneStatus = "BILLING_SUSPENDED"
ZONEZONESTATUS_INACTIVE ZoneZoneStatus = "INACTIVE"
)
// Ptr returns reference to zoneZoneStatus value
func (v ZoneZoneStatus) Ptr() *ZoneZoneStatus {
return &v
}
type NullableZoneZoneStatus struct {
value *ZoneZoneStatus
isSet bool
}
func (v NullableZoneZoneStatus) Get() *ZoneZoneStatus {
return v.value
}
func (v *NullableZoneZoneStatus) Set(val *ZoneZoneStatus) {
v.value = val
v.isSet = true
}
func (v NullableZoneZoneStatus) IsSet() bool {
return v.isSet
}
func (v *NullableZoneZoneStatus) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableZoneZoneStatus(val *ZoneZoneStatus) *NullableZoneZoneStatus {
return &NullableZoneZoneStatus{value: val, isSet: true}
}
func (v NullableZoneZoneStatus) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableZoneZoneStatus) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}