forked from microsoftgraph/msgraph-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApplicationRemovePasswordParameterSet.java
More file actions
97 lines (90 loc) · 3.27 KB
/
Copy pathApplicationRemovePasswordParameterSet.java
File metadata and controls
97 lines (90 loc) · 3.27 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
// Template Source: BaseMethodParameterSet.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.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.google.gson.JsonObject;
import java.util.EnumSet;
import java.util.ArrayList;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Application Remove Password Parameter Set.
*/
public class ApplicationRemovePasswordParameterSet {
/**
* The key Id.
*
*/
@SerializedName(value = "keyId", alternate = {"KeyId"})
@Expose
@Nullable
public java.util.UUID keyId;
/**
* Instiaciates a new ApplicationRemovePasswordParameterSet
*/
public ApplicationRemovePasswordParameterSet() {}
/**
* Instiaciates a new ApplicationRemovePasswordParameterSet
* @param builder builder bearing the parameters to initialize from
*/
protected ApplicationRemovePasswordParameterSet(@Nonnull final ApplicationRemovePasswordParameterSetBuilder builder) {
this.keyId = builder.keyId;
}
/**
* Gets a new builder for the body
* @return a new builder
*/
@Nonnull
public static ApplicationRemovePasswordParameterSetBuilder newBuilder() {
return new ApplicationRemovePasswordParameterSetBuilder();
}
/**
* Fluent builder for the ApplicationRemovePasswordParameterSet
*/
public static final class ApplicationRemovePasswordParameterSetBuilder {
/**
* The keyId parameter value
*/
@Nullable
protected java.util.UUID keyId;
/**
* Sets the KeyId
* @param val the value to set it to
* @return the current builder object
*/
@Nonnull
public ApplicationRemovePasswordParameterSetBuilder withKeyId(@Nullable final java.util.UUID val) {
this.keyId = val;
return this;
}
/**
* Instanciates a new ApplicationRemovePasswordParameterSetBuilder
*/
@Nullable
protected ApplicationRemovePasswordParameterSetBuilder(){}
/**
* Buils the resulting body object to be passed to the request
* @return the body object to pass to the request
*/
@Nonnull
public ApplicationRemovePasswordParameterSet build() {
return new ApplicationRemovePasswordParameterSet(this);
}
}
/**
* Gets the functions options from the properties that have been set
* @return a list of function options for the request
*/
@Nonnull
public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOptions() {
final ArrayList<com.microsoft.graph.options.FunctionOption> result = new ArrayList<>();
if(this.keyId != null) {
result.add(new com.microsoft.graph.options.FunctionOption("keyId", keyId));
}
return result;
}
}