Skip to content

Commit abe6074

Browse files
authored
Merge pull request #933 from microsoftgraph/v1.0/pipelinebuild/58621
Generated v1.0 models and request builders using Typewriter
2 parents 640825a + d3e9a5f commit abe6074

File tree

218 files changed

+13538
-38
lines changed

Some content is hidden

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

218 files changed

+13538
-38
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [5.7.0] - 2021-11-09
15+
16+
### Added
17+
18+
### Changed
19+
20+
- Generated v1.0 models and request builders using Typewriter
21+
1422
## [5.6.0] - 2021-10-27
1523

1624
### 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.6.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.7.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.6.0</version>
39+
<version>5.7.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -140,3 +140,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
140140

141141

142142

143+

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 = 6
29+
mavenMinorVersion = 7
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -61,5 +61,6 @@ mavenCentralPublishingEnabled=false
6161

6262

6363

64+
6465

6566

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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.ediscovery.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.ediscovery.models.ReviewSet;
12+
import com.microsoft.graph.ediscovery.models.SourceCollection;
13+
import com.microsoft.graph.ediscovery.models.CaseOperation;
14+
15+
16+
import com.google.gson.JsonObject;
17+
import com.google.gson.annotations.SerializedName;
18+
import com.google.gson.annotations.Expose;
19+
import javax.annotation.Nullable;
20+
import javax.annotation.Nonnull;
21+
22+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
23+
24+
/**
25+
* The class for the Add To Review Set Operation.
26+
*/
27+
public class AddToReviewSetOperation extends CaseOperation implements IJsonBackedObject {
28+
29+
30+
/**
31+
* The Review Set.
32+
* The review set to which items matching the source collection query are added to.
33+
*/
34+
@SerializedName(value = "reviewSet", alternate = {"ReviewSet"})
35+
@Expose
36+
@Nullable
37+
public ReviewSet reviewSet;
38+
39+
/**
40+
* The Source Collection.
41+
* The sourceCollection that items are being added from.
42+
*/
43+
@SerializedName(value = "sourceCollection", alternate = {"SourceCollection"})
44+
@Expose
45+
@Nullable
46+
public SourceCollection sourceCollection;
47+
48+
49+
/**
50+
* Sets the raw JSON object
51+
*
52+
* @param serializer the serializer
53+
* @param json the JSON object to set this object to
54+
*/
55+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
56+
57+
}
58+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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.ediscovery.models;
7+
8+
9+
/**
10+
* The Enum Additional Data Options.
11+
*/
12+
public enum AdditionalDataOptions
13+
{
14+
/**
15+
* all Versions
16+
*/
17+
ALL_VERSIONS,
18+
/**
19+
* linked Files
20+
*/
21+
LINKED_FILES,
22+
/**
23+
* unknown Future Value
24+
*/
25+
UNKNOWN_FUTURE_VALUE,
26+
/**
27+
* For AdditionalDataOptions values that were not expected from the service
28+
*/
29+
UNEXPECTED_VALUE
30+
}
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
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.ediscovery.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.ediscovery.models.ExportOptions;
12+
import com.microsoft.graph.ediscovery.models.ExportFileStructure;
13+
import com.microsoft.graph.ediscovery.models.ReviewSet;
14+
import com.microsoft.graph.ediscovery.models.CaseOperation;
15+
16+
17+
import com.google.gson.JsonObject;
18+
import com.google.gson.annotations.SerializedName;
19+
import com.google.gson.annotations.Expose;
20+
import javax.annotation.Nullable;
21+
import javax.annotation.Nonnull;
22+
23+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
24+
25+
/**
26+
* The class for the Case Export Operation.
27+
*/
28+
public class CaseExportOperation extends CaseOperation implements IJsonBackedObject {
29+
30+
31+
/**
32+
* The Azure Blob Container.
33+
* The name of the Azure storage location where the export will be stored. This only applies to exports stored in your own Azure storage location.
34+
*/
35+
@SerializedName(value = "azureBlobContainer", alternate = {"AzureBlobContainer"})
36+
@Expose
37+
@Nullable
38+
public String azureBlobContainer;
39+
40+
/**
41+
* The Azure Blob Token.
42+
* The SAS token for the Azure storage location. This only applies to exports stored in your own Azure storage location.
43+
*/
44+
@SerializedName(value = "azureBlobToken", alternate = {"AzureBlobToken"})
45+
@Expose
46+
@Nullable
47+
public String azureBlobToken;
48+
49+
/**
50+
* The Description.
51+
* The description provided for the export.
52+
*/
53+
@SerializedName(value = "description", alternate = {"Description"})
54+
@Expose
55+
@Nullable
56+
public String description;
57+
58+
/**
59+
* The Export Options.
60+
* The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags.
61+
*/
62+
@SerializedName(value = "exportOptions", alternate = {"ExportOptions"})
63+
@Expose
64+
@Nullable
65+
public EnumSet<ExportOptions> exportOptions;
66+
67+
/**
68+
* The Export Structure.
69+
* The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst.
70+
*/
71+
@SerializedName(value = "exportStructure", alternate = {"ExportStructure"})
72+
@Expose
73+
@Nullable
74+
public ExportFileStructure exportStructure;
75+
76+
/**
77+
* The Output Folder Id.
78+
*
79+
*/
80+
@SerializedName(value = "outputFolderId", alternate = {"OutputFolderId"})
81+
@Expose
82+
@Nullable
83+
public String outputFolderId;
84+
85+
/**
86+
* The Output Name.
87+
* The name provided for the export.
88+
*/
89+
@SerializedName(value = "outputName", alternate = {"OutputName"})
90+
@Expose
91+
@Nullable
92+
public String outputName;
93+
94+
/**
95+
* The Review Set.
96+
* The review set the content is being exported from.
97+
*/
98+
@SerializedName(value = "reviewSet", alternate = {"ReviewSet"})
99+
@Expose
100+
@Nullable
101+
public ReviewSet reviewSet;
102+
103+
104+
/**
105+
* Sets the raw JSON object
106+
*
107+
* @param serializer the serializer
108+
* @param json the JSON object to set this object to
109+
*/
110+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
111+
112+
}
113+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// Template Source: BaseMethodParameterSet.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.ediscovery.models;
7+
8+
9+
import com.google.gson.annotations.Expose;
10+
import com.google.gson.annotations.SerializedName;
11+
import javax.annotation.Nonnull;
12+
import javax.annotation.Nullable;
13+
import com.google.gson.JsonObject;
14+
import java.util.EnumSet;
15+
import java.util.ArrayList;
16+
17+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
18+
19+
/**
20+
* The class for the Case Export Operation Get Download Url Parameter Set.
21+
*/
22+
public class CaseExportOperationGetDownloadUrlParameterSet {
23+
24+
/**
25+
* Instiaciates a new CaseExportOperationGetDownloadUrlParameterSet
26+
*/
27+
public CaseExportOperationGetDownloadUrlParameterSet() {}
28+
/**
29+
* Instiaciates a new CaseExportOperationGetDownloadUrlParameterSet
30+
* @param builder builder bearing the parameters to initialize from
31+
*/
32+
protected CaseExportOperationGetDownloadUrlParameterSet(@Nonnull final CaseExportOperationGetDownloadUrlParameterSetBuilder builder) {
33+
}
34+
/**
35+
* Gets a new builder for the body
36+
* @return a new builder
37+
*/
38+
@Nonnull
39+
public static CaseExportOperationGetDownloadUrlParameterSetBuilder newBuilder() {
40+
return new CaseExportOperationGetDownloadUrlParameterSetBuilder();
41+
}
42+
/**
43+
* Fluent builder for the CaseExportOperationGetDownloadUrlParameterSet
44+
*/
45+
public static final class CaseExportOperationGetDownloadUrlParameterSetBuilder {
46+
/**
47+
* Instanciates a new CaseExportOperationGetDownloadUrlParameterSetBuilder
48+
*/
49+
@Nullable
50+
protected CaseExportOperationGetDownloadUrlParameterSetBuilder(){}
51+
/**
52+
* Buils the resulting body object to be passed to the request
53+
* @return the body object to pass to the request
54+
*/
55+
@Nonnull
56+
public CaseExportOperationGetDownloadUrlParameterSet build() {
57+
return new CaseExportOperationGetDownloadUrlParameterSet(this);
58+
}
59+
}
60+
/**
61+
* Gets the functions options from the properties that have been set
62+
* @return a list of function options for the request
63+
*/
64+
@Nonnull
65+
public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOptions() {
66+
final ArrayList<com.microsoft.graph.options.FunctionOption> result = new ArrayList<>();
67+
return result;
68+
}
69+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.ediscovery.models;
7+
8+
9+
/**
10+
* The Enum Export File Structure.
11+
*/
12+
public enum ExportFileStructure
13+
{
14+
/**
15+
* none
16+
*/
17+
NONE,
18+
/**
19+
* directory
20+
*/
21+
DIRECTORY,
22+
/**
23+
* pst
24+
*/
25+
PST,
26+
/**
27+
* unknown Future Value
28+
*/
29+
UNKNOWN_FUTURE_VALUE,
30+
/**
31+
* For ExportFileStructure values that were not expected from the service
32+
*/
33+
UNEXPECTED_VALUE
34+
}

0 commit comments

Comments
 (0)