github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelResource.go (about)

     1  // Code generated by msgraph.go/gen DO NOT EDIT.
     2  
     3  package msgraph
     4  
     5  // ResourceAccess undocumented
     6  type ResourceAccess struct {
     7  	// Object is the base model of ResourceAccess
     8  	Object
     9  	// ID undocumented
    10  	ID *UUID `json:"id,omitempty"`
    11  	// Type undocumented
    12  	Type *string `json:"type,omitempty"`
    13  }
    14  
    15  // ResourceAction undocumented
    16  type ResourceAction struct {
    17  	// Object is the base model of ResourceAction
    18  	Object
    19  	// AllowedResourceActions Allowed Actions
    20  	AllowedResourceActions []string `json:"allowedResourceActions,omitempty"`
    21  	// NotAllowedResourceActions Not Allowed Actions.
    22  	NotAllowedResourceActions []string `json:"notAllowedResourceActions,omitempty"`
    23  }
    24  
    25  // ResourceOperation Describes the resourceOperation resource (entity) of the Microsoft Graph API (REST), which supports Intune workflows related to role-based access control (RBAC).
    26  type ResourceOperation struct {
    27  	// Entity is the base model of ResourceOperation
    28  	Entity
    29  	// Resource Resource category to which this Operation belongs.
    30  	Resource *string `json:"resource,omitempty"`
    31  	// ResourceName Name of the Resource this operation is performed on.
    32  	ResourceName *string `json:"resourceName,omitempty"`
    33  	// ActionName Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible.
    34  	ActionName *string `json:"actionName,omitempty"`
    35  	// Description Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal.
    36  	Description *string `json:"description,omitempty"`
    37  	// EnabledForScopeValidation Determines whether the Permission is validated for Scopes defined per Role Assignment.
    38  	EnabledForScopeValidation *bool `json:"enabledForScopeValidation,omitempty"`
    39  }
    40  
    41  // ResourcePermission undocumented
    42  type ResourcePermission struct {
    43  	// Object is the base model of ResourcePermission
    44  	Object
    45  	// Type undocumented
    46  	Type *string `json:"type,omitempty"`
    47  	// Value undocumented
    48  	Value *string `json:"value,omitempty"`
    49  }
    50  
    51  // ResourcePropertiesModel undocumented
    52  type ResourcePropertiesModel struct {
    53  	// Object is the base model of ResourcePropertiesModel
    54  	Object
    55  	// Name undocumented
    56  	Name *string `json:"name,omitempty"`
    57  	// Label undocumented
    58  	Label *string `json:"label,omitempty"`
    59  	// Type undocumented
    60  	Type *string `json:"type,omitempty"`
    61  	// Capacity undocumented
    62  	Capacity *int `json:"capacity,omitempty"`
    63  	// IsManaged undocumented
    64  	IsManaged *bool `json:"isManaged,omitempty"`
    65  	// BookingType undocumented
    66  	BookingType *BookingType `json:"bookingType,omitempty"`
    67  	// Building undocumented
    68  	Building *string `json:"building,omitempty"`
    69  	// Floor undocumented
    70  	Floor *string `json:"floor,omitempty"`
    71  }
    72  
    73  // ResourceReference undocumented
    74  type ResourceReference struct {
    75  	// Object is the base model of ResourceReference
    76  	Object
    77  	// WebURL undocumented
    78  	WebURL *string `json:"webUrl,omitempty"`
    79  	// ID undocumented
    80  	ID *string `json:"id,omitempty"`
    81  	// Type undocumented
    82  	Type *string `json:"type,omitempty"`
    83  }
    84  
    85  // ResourceSpecificPermission undocumented
    86  type ResourceSpecificPermission struct {
    87  	// Object is the base model of ResourceSpecificPermission
    88  	Object
    89  	// Description undocumented
    90  	Description *string `json:"description,omitempty"`
    91  	// DisplayName undocumented
    92  	DisplayName *string `json:"displayName,omitempty"`
    93  	// ID undocumented
    94  	ID *UUID `json:"id,omitempty"`
    95  	// IsEnabled undocumented
    96  	IsEnabled *bool `json:"isEnabled,omitempty"`
    97  	// Value undocumented
    98  	Value *string `json:"value,omitempty"`
    99  }
   100  
   101  // ResourceSpecificPermissionGrant undocumented
   102  type ResourceSpecificPermissionGrant struct {
   103  	// DirectoryObject is the base model of ResourceSpecificPermissionGrant
   104  	DirectoryObject
   105  	// ClientID undocumented
   106  	ClientID *string `json:"clientId,omitempty"`
   107  	// ClientAppID undocumented
   108  	ClientAppID *string `json:"clientAppId,omitempty"`
   109  	// ResourceAppID undocumented
   110  	ResourceAppID *string `json:"resourceAppId,omitempty"`
   111  	// PermissionType undocumented
   112  	PermissionType *string `json:"permissionType,omitempty"`
   113  	// Permission undocumented
   114  	Permission *string `json:"permission,omitempty"`
   115  }
   116  
   117  // ResourceVisualization undocumented
   118  type ResourceVisualization struct {
   119  	// Object is the base model of ResourceVisualization
   120  	Object
   121  	// Title undocumented
   122  	Title *string `json:"title,omitempty"`
   123  	// Type undocumented
   124  	Type *string `json:"type,omitempty"`
   125  	// MediaType undocumented
   126  	MediaType *string `json:"mediaType,omitempty"`
   127  	// PreviewImageURL undocumented
   128  	PreviewImageURL *string `json:"previewImageUrl,omitempty"`
   129  	// PreviewText undocumented
   130  	PreviewText *string `json:"previewText,omitempty"`
   131  	// ContainerWebURL undocumented
   132  	ContainerWebURL *string `json:"containerWebUrl,omitempty"`
   133  	// ContainerDisplayName undocumented
   134  	ContainerDisplayName *string `json:"containerDisplayName,omitempty"`
   135  	// ContainerType undocumented
   136  	ContainerType *string `json:"containerType,omitempty"`
   137  }