Skip to content

Commit 0fee48f

Browse files
Merge pull request #1453 from microsoftgraph/v1.0/pipelinebuild/115280
Generated models and request builders
2 parents 90e75bd + 4520dca commit 0fee48f

File tree

162 files changed

+10891
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+10891
-22
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [5.59.0] - 2023-05-26
15+
16+
### Added
17+
18+
- AttributeType model and derived types and requests.
19+
- Filter model and derived types and requests.
20+
- Synchronization model and derived types and requests.
21+
- DirectoryDefinition models and related requests.
22+
- CollapseProperty model.
23+
- ContainerFilter model.
24+
- EntryExportStatus model.
25+
- EntrySyncOperation model.
26+
- EscrowBehavior model.
27+
- ExpressionInputObject model.
28+
- Mutability model.
29+
- ObjectDefinition models.
30+
- ObjectFlowTypes model.
31+
- ObjectMapping models.
32+
- OnlineMeeting models.
33+
- ParseExpressionResponse model.
34+
- PublicErrorResponse model.
35+
- QuarantineReason model.
36+
- ReferencedObject model.
37+
- ScopeOperator models.
38+
- StringKey models.
39+
1440
## [5.58.0] - 2023-05-19
1541

1642
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919
2020
dependencies {
2121
// Include the sdk as a dependency
22-
implementation 'com.microsoft.graph:microsoft-graph:5.58.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.59.0'
2323
// Uncomment the line below if you are building an android application
2424
//implementation 'com.google.guava:guava:30.1.1-android'
2525
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
3636
<!-- Include the sdk as a dependency -->
3737
<groupId>com.microsoft.graph</groupId>
3838
<artifactId>microsoft-graph</artifactId>
39-
<version>5.58.0</version>
39+
<version>5.59.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
@@ -189,5 +189,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
189189

190190

191191

192+
192193

193194

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph
2828
mavenMajorVersion = 5
29-
mavenMinorVersion = 58
29+
mavenMinorVersion = 59
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -112,5 +112,6 @@ mavenCentralPublishingEnabled=false
112112

113113

114114

115+
115116

116117

src/main/java/com/microsoft/graph/info/Constants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private Constants() {
1818
/** The client secret to use for unit testing */
1919
public static final String CLIENTSECRET = "clientsecret";
2020
/** The SDK version */
21-
public static final String VERSION_NAME = "5.58.0";
21+
public static final String VERSION_NAME = "5.59.0";
2222
}
2323

2424

@@ -89,5 +89,6 @@ private Constants() {
8989

9090

9191

92+
9293

9394

src/main/java/com/microsoft/graph/models/Application.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import com.microsoft.graph.models.VerifiedPublisher;
2626
import com.microsoft.graph.models.WebApplication;
2727
import com.microsoft.graph.models.DirectoryObject;
28+
import com.microsoft.graph.models.Synchronization;
2829
import com.microsoft.graph.requests.AppManagementPolicyCollectionPage;
2930
import com.microsoft.graph.requests.ExtensionPropertyCollectionPage;
3031
import com.microsoft.graph.requests.FederatedIdentityCredentialCollectionPage;
@@ -415,6 +416,15 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
415416
@Nullable
416417
public com.microsoft.graph.requests.TokenLifetimePolicyCollectionPage tokenLifetimePolicies;
417418

419+
/**
420+
* The Synchronization.
421+
*
422+
*/
423+
@SerializedName(value = "synchronization", alternate = {"Synchronization"})
424+
@Expose
425+
@Nullable
426+
public Synchronization synchronization;
427+
418428

419429
/**
420430
* Sets the raw JSON object
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
// Template Source: BaseEntity.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.models;
7+
import com.microsoft.graph.serializer.ISerializer;
8+
import com.microsoft.graph.serializer.IJsonBackedObject;
9+
import com.microsoft.graph.serializer.AdditionalDataManager;
10+
import java.util.EnumSet;
11+
import com.microsoft.graph.http.BaseCollectionPage;
12+
import com.microsoft.graph.models.StringKeyStringValuePair;
13+
import com.microsoft.graph.models.AttributeDefinitionMetadataEntry;
14+
import com.microsoft.graph.models.Mutability;
15+
import com.microsoft.graph.models.ReferencedObject;
16+
import com.microsoft.graph.models.AttributeType;
17+
18+
19+
import com.google.gson.JsonObject;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.google.gson.annotations.Expose;
22+
import javax.annotation.Nullable;
23+
import javax.annotation.Nonnull;
24+
25+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
26+
27+
/**
28+
* The class for the Attribute Definition.
29+
*/
30+
public class AttributeDefinition implements IJsonBackedObject {
31+
32+
/** the OData type of the object as returned by the service */
33+
@SerializedName("@odata.type")
34+
@Expose
35+
@Nullable
36+
public String oDataType;
37+
38+
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);
39+
40+
@Override
41+
@Nonnull
42+
public final AdditionalDataManager additionalDataManager() {
43+
return additionalDataManager;
44+
}
45+
46+
/**
47+
* The Anchor.
48+
*
49+
*/
50+
@SerializedName(value = "anchor", alternate = {"Anchor"})
51+
@Expose
52+
@Nullable
53+
public Boolean anchor;
54+
55+
/**
56+
* The Api Expressions.
57+
*
58+
*/
59+
@SerializedName(value = "apiExpressions", alternate = {"ApiExpressions"})
60+
@Expose
61+
@Nullable
62+
public java.util.List<StringKeyStringValuePair> apiExpressions;
63+
64+
/**
65+
* The Case Exact.
66+
*
67+
*/
68+
@SerializedName(value = "caseExact", alternate = {"CaseExact"})
69+
@Expose
70+
@Nullable
71+
public Boolean caseExact;
72+
73+
/**
74+
* The Default Value.
75+
*
76+
*/
77+
@SerializedName(value = "defaultValue", alternate = {"DefaultValue"})
78+
@Expose
79+
@Nullable
80+
public String defaultValue;
81+
82+
/**
83+
* The Flow Null Values.
84+
*
85+
*/
86+
@SerializedName(value = "flowNullValues", alternate = {"FlowNullValues"})
87+
@Expose
88+
@Nullable
89+
public Boolean flowNullValues;
90+
91+
/**
92+
* The Metadata.
93+
*
94+
*/
95+
@SerializedName(value = "metadata", alternate = {"Metadata"})
96+
@Expose
97+
@Nullable
98+
public java.util.List<AttributeDefinitionMetadataEntry> metadata;
99+
100+
/**
101+
* The Multivalued.
102+
*
103+
*/
104+
@SerializedName(value = "multivalued", alternate = {"Multivalued"})
105+
@Expose
106+
@Nullable
107+
public Boolean multivalued;
108+
109+
/**
110+
* The Mutability.
111+
*
112+
*/
113+
@SerializedName(value = "mutability", alternate = {"Mutability"})
114+
@Expose
115+
@Nullable
116+
public Mutability mutability;
117+
118+
/**
119+
* The Name.
120+
*
121+
*/
122+
@SerializedName(value = "name", alternate = {"Name"})
123+
@Expose
124+
@Nullable
125+
public String name;
126+
127+
/**
128+
* The Referenced Objects.
129+
*
130+
*/
131+
@SerializedName(value = "referencedObjects", alternate = {"ReferencedObjects"})
132+
@Expose
133+
@Nullable
134+
public java.util.List<ReferencedObject> referencedObjects;
135+
136+
/**
137+
* The Required.
138+
*
139+
*/
140+
@SerializedName(value = "required", alternate = {"Required"})
141+
@Expose
142+
@Nullable
143+
public Boolean required;
144+
145+
/**
146+
* The Type.
147+
*
148+
*/
149+
@SerializedName(value = "type", alternate = {"Type"})
150+
@Expose
151+
@Nullable
152+
public AttributeType type;
153+
154+
155+
/**
156+
* Sets the raw JSON object
157+
*
158+
* @param serializer the serializer
159+
* @param json the JSON object to set this object to
160+
*/
161+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
162+
163+
}
164+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
// Template Source: Enum.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.models;
7+
8+
9+
/**
10+
* The Enum Attribute Definition Metadata.
11+
*/
12+
public enum AttributeDefinitionMetadata
13+
{
14+
/**
15+
* Base Attribute Name
16+
*/
17+
BASE_ATTRIBUTE_NAME,
18+
/**
19+
* Complex Object Definition
20+
*/
21+
COMPLEX_OBJECT_DEFINITION,
22+
/**
23+
* Is Container
24+
*/
25+
IS_CONTAINER,
26+
/**
27+
* Is Customer Defined
28+
*/
29+
IS_CUSTOMER_DEFINED,
30+
/**
31+
* Is Domain Qualified
32+
*/
33+
IS_DOMAIN_QUALIFIED,
34+
/**
35+
* Link Property Names
36+
*/
37+
LINK_PROPERTY_NAMES,
38+
/**
39+
* Link Type Name
40+
*/
41+
LINK_TYPE_NAME,
42+
/**
43+
* Maximum Length
44+
*/
45+
MAXIMUM_LENGTH,
46+
/**
47+
* Referenced Property
48+
*/
49+
REFERENCED_PROPERTY,
50+
/**
51+
* For AttributeDefinitionMetadata values that were not expected from the service
52+
*/
53+
UNEXPECTED_VALUE
54+
}

0 commit comments

Comments
 (0)