forked from microsoftgraph/msgraph-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccessReviewInstanceDecisionItem.java
More file actions
158 lines (136 loc) · 6.16 KB
/
Copy pathAccessReviewInstanceDecisionItem.java
File metadata and controls
158 lines (136 loc) · 6.16 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.models.UserIdentity;
import com.microsoft.graph.models.Identity;
import com.microsoft.graph.models.AccessReviewInstanceDecisionItemResource;
import com.microsoft.graph.models.Entity;
import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Access Review Instance Decision Item.
*/
public class AccessReviewInstanceDecisionItem extends Entity implements IJsonBackedObject {
/**
* The Access Review Id.
* The identifier of the accessReviewInstance parent. Supports $select. Read-only.
*/
@SerializedName(value = "accessReviewId", alternate = {"AccessReviewId"})
@Expose
@Nullable
public String accessReviewId;
/**
* The Applied By.
* The identifier of the user who applied the decision. Read-only.
*/
@SerializedName(value = "appliedBy", alternate = {"AppliedBy"})
@Expose
@Nullable
public UserIdentity appliedBy;
/**
* The Applied Date Time.
* The timestamp when the approval decision was applied. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $select. Read-only.
*/
@SerializedName(value = "appliedDateTime", alternate = {"AppliedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime appliedDateTime;
/**
* The Apply Result.
* The result of applying the decision. Possible values: New, AppliedSuccessfully, AppliedWithUnknownFailure, AppliedSuccessfullyButObjectNotFound and ApplyNotSupported. Supports $select, $orderby, and $filter (eq only). Read-only.
*/
@SerializedName(value = "applyResult", alternate = {"ApplyResult"})
@Expose
@Nullable
public String applyResult;
/**
* The Decision.
* Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow. Supports $select, $orderby, and $filter (eq only).
*/
@SerializedName(value = "decision", alternate = {"Decision"})
@Expose
@Nullable
public String decision;
/**
* The Justification.
* Justification left by the reviewer when they made the decision.
*/
@SerializedName(value = "justification", alternate = {"Justification"})
@Expose
@Nullable
public String justification;
/**
* The Principal.
* Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity. Supports $select. Read-only.
*/
@SerializedName(value = "principal", alternate = {"Principal"})
@Expose
@Nullable
public Identity principal;
/**
* The Principal Link.
* Link to the principal object. For example: https://graph.microsoft.com/v1.0/users/a6c7aecb-cbfd-4763-87ef-e91b4bd509d9. Read-only.
*/
@SerializedName(value = "principalLink", alternate = {"PrincipalLink"})
@Expose
@Nullable
public String principalLink;
/**
* The Recommendation.
* A system-generated recommendation for the approval decision based off last interactive sign-in to tenant. Recommend approve if sign-in is within thirty days of start of review. Recommend deny if sign-in is greater than thirty days of start of review. Recommendation not available otherwise. Possible values: Approve, Deny, or NoInfoAvailable. Supports $select, $orderby, and $filter (eq only). Read-only.
*/
@SerializedName(value = "recommendation", alternate = {"Recommendation"})
@Expose
@Nullable
public String recommendation;
/**
* The Resource.
* Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource. Read-only.
*/
@SerializedName(value = "resource", alternate = {"Resource"})
@Expose
@Nullable
public AccessReviewInstanceDecisionItemResource resource;
/**
* The Resource Link.
* A link to the resource. For example, https://graph.microsoft.com/v1.0/servicePrincipals/c86300f3-8695-4320-9f6e-32a2555f5ff8. Supports $select. Read-only.
*/
@SerializedName(value = "resourceLink", alternate = {"ResourceLink"})
@Expose
@Nullable
public String resourceLink;
/**
* The Reviewed By.
* The identifier of the reviewer. Supports $select. Read-only.
*/
@SerializedName(value = "reviewedBy", alternate = {"ReviewedBy"})
@Expose
@Nullable
public UserIdentity reviewedBy;
/**
* The Reviewed Date Time.
* The timestamp when the review decision occurred. Supports $select. Read-only.
*/
@SerializedName(value = "reviewedDateTime", alternate = {"ReviewedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime reviewedDateTime;
/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
}
}