@@ -33,12 +33,13 @@ const SubnetNetworkVerificationNilKind = "SubnetNetworkVerificationNil"
3333
3434// SubnetNetworkVerification represents the values of the 'subnet_network_verification' type.
3535type SubnetNetworkVerification struct {
36- bitmap_ uint32
37- id string
38- href string
39- details []string
40- state string
41- tags map [string ]string
36+ bitmap_ uint32
37+ id string
38+ href string
39+ details []string
40+ platform Platform
41+ state string
42+ tags map [string ]string
4243}
4344
4445// Kind returns the name of the type of the object.
@@ -121,12 +122,35 @@ func (o *SubnetNetworkVerification) GetDetails() (value []string, ok bool) {
121122 return
122123}
123124
125+ // Platform returns the value of the 'platform' attribute, or
126+ // the zero value of the type if the attribute doesn't have a value.
127+ //
128+ // Platform supplied to the network verifier for this subnet.
129+ func (o * SubnetNetworkVerification ) Platform () Platform {
130+ if o != nil && o .bitmap_ & 16 != 0 {
131+ return o .platform
132+ }
133+ return Platform ("" )
134+ }
135+
136+ // GetPlatform returns the value of the 'platform' attribute and
137+ // a flag indicating if the attribute has a value.
138+ //
139+ // Platform supplied to the network verifier for this subnet.
140+ func (o * SubnetNetworkVerification ) GetPlatform () (value Platform , ok bool ) {
141+ ok = o != nil && o .bitmap_ & 16 != 0
142+ if ok {
143+ value = o .platform
144+ }
145+ return
146+ }
147+
124148// State returns the value of the 'state' attribute, or
125149// the zero value of the type if the attribute doesn't have a value.
126150//
127151// State of the subnet network verification.
128152func (o * SubnetNetworkVerification ) State () string {
129- if o != nil && o .bitmap_ & 16 != 0 {
153+ if o != nil && o .bitmap_ & 32 != 0 {
130154 return o .state
131155 }
132156 return ""
@@ -137,7 +161,7 @@ func (o *SubnetNetworkVerification) State() string {
137161//
138162// State of the subnet network verification.
139163func (o * SubnetNetworkVerification ) GetState () (value string , ok bool ) {
140- ok = o != nil && o .bitmap_ & 16 != 0
164+ ok = o != nil && o .bitmap_ & 32 != 0
141165 if ok {
142166 value = o .state
143167 }
@@ -149,7 +173,7 @@ func (o *SubnetNetworkVerification) GetState() (value string, ok bool) {
149173//
150174// Tags supplied to the network verifier for this subnet.
151175func (o * SubnetNetworkVerification ) Tags () map [string ]string {
152- if o != nil && o .bitmap_ & 32 != 0 {
176+ if o != nil && o .bitmap_ & 64 != 0 {
153177 return o .tags
154178 }
155179 return nil
@@ -160,7 +184,7 @@ func (o *SubnetNetworkVerification) Tags() map[string]string {
160184//
161185// Tags supplied to the network verifier for this subnet.
162186func (o * SubnetNetworkVerification ) GetTags () (value map [string ]string , ok bool ) {
163- ok = o != nil && o .bitmap_ & 32 != 0
187+ ok = o != nil && o .bitmap_ & 64 != 0
164188 if ok {
165189 value = o .tags
166190 }
0 commit comments