-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathApplicationTemplate.java
More file actions
180 lines (179 loc) · 9.12 KB
/
ApplicationTemplate.java
File metadata and controls
180 lines (179 loc) · 9.12 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class ApplicationTemplate extends Entity implements Parsable {
/**
* Instantiates a new {@link ApplicationTemplate} and sets the default values.
*/
public ApplicationTemplate() {
super();
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @return a {@link ApplicationTemplate}
*/
@jakarta.annotation.Nonnull
public static ApplicationTemplate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new ApplicationTemplate();
}
/**
* Gets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. Supports $filter (contains).
* @return a {@link java.util.List<String>}
*/
@jakarta.annotation.Nullable
public java.util.List<String> getCategories() {
return this.backingStore.get("categories");
}
/**
* Gets the description property value. A description of the application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getDescription() {
return this.backingStore.get("description");
}
/**
* Gets the displayName property value. The name of the application. Supports $filter (contains).
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getDisplayName() {
return this.backingStore.get("displayName");
}
/**
* The deserialization information for the current model
* @return a {@link Map<String, java.util.function.Consumer<ParseNode>>}
*/
@jakarta.annotation.Nonnull
public Map<String, java.util.function.Consumer<ParseNode>> getFieldDeserializers() {
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(super.getFieldDeserializers());
deserializerMap.put("categories", (n) -> { this.setCategories(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); });
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
deserializerMap.put("homePageUrl", (n) -> { this.setHomePageUrl(n.getStringValue()); });
deserializerMap.put("logoUrl", (n) -> { this.setLogoUrl(n.getStringValue()); });
deserializerMap.put("publisher", (n) -> { this.setPublisher(n.getStringValue()); });
deserializerMap.put("supportedProvisioningTypes", (n) -> { this.setSupportedProvisioningTypes(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("supportedSingleSignOnModes", (n) -> { this.setSupportedSingleSignOnModes(n.getCollectionOfPrimitiveValues(String.class)); });
return deserializerMap;
}
/**
* Gets the homePageUrl property value. The home page URL of the application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getHomePageUrl() {
return this.backingStore.get("homePageUrl");
}
/**
* Gets the logoUrl property value. The URL to get the logo for this application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getLogoUrl() {
return this.backingStore.get("logoUrl");
}
/**
* Gets the publisher property value. The name of the publisher for this application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getPublisher() {
return this.backingStore.get("publisher");
}
/**
* Gets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync.
* @return a {@link java.util.List<String>}
*/
@jakarta.annotation.Nullable
public java.util.List<String> getSupportedProvisioningTypes() {
return this.backingStore.get("supportedProvisioningTypes");
}
/**
* Gets the supportedSingleSignOnModes property value. The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
* @return a {@link java.util.List<String>}
*/
@jakarta.annotation.Nullable
public java.util.List<String> getSupportedSingleSignOnModes() {
return this.backingStore.get("supportedSingleSignOnModes");
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
super.serialize(writer);
writer.writeCollectionOfPrimitiveValues("categories", this.getCategories());
writer.writeStringValue("description", this.getDescription());
writer.writeStringValue("displayName", this.getDisplayName());
writer.writeStringValue("homePageUrl", this.getHomePageUrl());
writer.writeStringValue("logoUrl", this.getLogoUrl());
writer.writeStringValue("publisher", this.getPublisher());
writer.writeCollectionOfPrimitiveValues("supportedProvisioningTypes", this.getSupportedProvisioningTypes());
writer.writeCollectionOfPrimitiveValues("supportedSingleSignOnModes", this.getSupportedSingleSignOnModes());
}
/**
* Sets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting. Supports $filter (contains).
* @param value Value to set for the categories property.
*/
public void setCategories(@jakarta.annotation.Nullable final java.util.List<String> value) {
this.backingStore.set("categories", value);
}
/**
* Sets the description property value. A description of the application.
* @param value Value to set for the description property.
*/
public void setDescription(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("description", value);
}
/**
* Sets the displayName property value. The name of the application. Supports $filter (contains).
* @param value Value to set for the displayName property.
*/
public void setDisplayName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("displayName", value);
}
/**
* Sets the homePageUrl property value. The home page URL of the application.
* @param value Value to set for the homePageUrl property.
*/
public void setHomePageUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("homePageUrl", value);
}
/**
* Sets the logoUrl property value. The URL to get the logo for this application.
* @param value Value to set for the logoUrl property.
*/
public void setLogoUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("logoUrl", value);
}
/**
* Sets the publisher property value. The name of the publisher for this application.
* @param value Value to set for the publisher property.
*/
public void setPublisher(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("publisher", value);
}
/**
* Sets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync.
* @param value Value to set for the supportedProvisioningTypes property.
*/
public void setSupportedProvisioningTypes(@jakarta.annotation.Nullable final java.util.List<String> value) {
this.backingStore.set("supportedProvisioningTypes", value);
}
/**
* Sets the supportedSingleSignOnModes property value. The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
* @param value Value to set for the supportedSingleSignOnModes property.
*/
public void setSupportedSingleSignOnModes(@jakarta.annotation.Nullable final java.util.List<String> value) {
this.backingStore.set("supportedSingleSignOnModes", value);
}
}