/
model_role.go
30 lines (28 loc) · 1.09 KB
/
model_role.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
/*
Copyright 2022 Pure Storage Inc
SPDX-License-Identifier: Apache-2.0
*/
// Code generated DO NOT EDIT.
/*
* Pure Fusion API
*
* Pure Fusion is fully API-driven. Most APIs which change the system (POST, PATCH, DELETE) return an Operation in status \"Pending\" or \"Running\". You can poll (GET) the operation to check its status, waiting for it to change to \"Succeeded\" or \"Failed\".
*
* API version: 1.2
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package fusion
type Role struct {
// An immutable, globally unique, system generated identifier.
Id string `json:"id"`
// The name of the resource, supplied by the user at creation, and used in the URI path of a resource.
Name string `json:"name"`
// The URI of the resource.
SelfLink string `json:"self_link"`
// The display name of the resource.
DisplayName string `json:"display_name,omitempty"`
// A description of the role's capabilities.
Description string `json:"description"`
// A list of resource kinds the role can be scoped to.
AssignableScopes []string `json:"assignable_scopes"`
}