-
Notifications
You must be signed in to change notification settings - Fork 70
/
role_filter.go
23 lines (17 loc) · 1.11 KB
/
role_filter.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// RoleFilter role filter
// swagger:model RoleFilter
type RoleFilter struct {
// Enable this filter. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Enabled *bool `json:"enabled,omitempty"`
// Label key to match against objects for values. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
MatchLabel *RoleFilterMatchLabel `json:"match_label"`
// Label match operation criteria. Enum options - ROLE_FILTER_EQUALS, ROLE_FILTER_DOES_NOT_EQUAL, ROLE_FILTER_GLOB_MATCH, ROLE_FILTER_GLOB_DOES_NOT_MATCH. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
MatchOperation *string `json:"match_operation,omitempty"`
// Name for the filter. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Name *string `json:"name,omitempty"`
}