github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/ns_group_tag_expression.go (about) 1 /* Copyright © 2017 VMware, Inc. All Rights Reserved. 2 SPDX-License-Identifier: BSD-2-Clause 3 4 Generated by: https://github.com/swagger-api/swagger-codegen.git */ 5 6 package manager 7 8 type NsGroupTagExpression struct { 9 ResourceType string `json:"resource_type"` 10 11 // The tag.scope attribute of the object 12 Scope string `json:"scope,omitempty"` 13 14 // Operator of the scope expression eg- tag.scope = \"S1\". 15 ScopeOp string `json:"scope_op,omitempty"` 16 17 // The tag.tag attribute of the object 18 Tag string `json:"tag,omitempty"` 19 20 // Operator of the tag expression eg- tag.tag = \"Production\" 21 TagOp string `json:"tag_op,omitempty"` 22 23 // Type of the resource on which this expression is evaluated 24 TargetType string `json:"target_type"` 25 } 26 27 // List of NSGroupTagExpressions 28 type NsGroupTagExpressionList struct { 29 30 // List of NSGroupTagExpressions to be passed to add and remove APIs 31 Members []NsGroupTagExpression `json:"members"` 32 }