Skip to content

Commit 66725b1

Browse files
Merge pull request #1283 from microsoftgraph/v1.0/pipelinebuild/97328
Generated v1.0 models and request builders using Typewriter
2 parents 28f3fd6 + ad858fb commit 66725b1

File tree

115 files changed

+8344
-11
lines changed

Some content is hidden

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

115 files changed

+8344
-11
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [5.43.0] - 2022-12-16
15+
16+
### Added
17+
18+
- CrossCloudAzureActiveDirectoryTenant model.
19+
- DomainPromote models and related requests.
20+
- RiskyServicePrincipal models and related requests.
21+
- SecurityRunHunting models and related requests.
22+
- ServicePrincipalRiskDetection model and related requests.
23+
- Security Namespace Additions:
24+
- DefenderAvStatus model.
25+
- DetectionSource model.
26+
- DetectionStatus model.
27+
- DeviceHealthStatus model.
28+
- DeviceRiskScore model.
29+
- EmailSender model.
30+
- EvidenceRemediationStatus model.
31+
- EvidenceRole model.
32+
- EvidenceVerdict model.
33+
- (Entity)Evidence models.
34+
- FileDetails model.
35+
- HuntingQueryResults model.
36+
- HuntingRowResult model.
37+
- LoggedOnUser model.
38+
- OnboardingStatus model.
39+
- ServiceSource model.
40+
- SinglePropertySchema model.
41+
- UserAccount model.
42+
- VmCloudProvider model.
43+
- VmMetadata model.
44+
- Alert models and related requests.
45+
- Incident models and related requests.
46+
47+
### Changed
48+
49+
- Generated v1.0 models and request builders using Typewriter.
50+
- Classes related to the removed and added models/requests have been updated to reflect the addition and removal of these models/requests.
51+
1452
## [5.42.0] - 2022-12-07
1553

1654
### 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.42.0'
22+
implementation 'com.microsoft.graph:microsoft-graph:5.43.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.42.0</version>
39+
<version>5.43.0</version>
4040
</dependency>
4141
<dependency>
4242
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -173,5 +173,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
173173

174174

175175

176+
176177

177178

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

@@ -96,5 +96,6 @@ mavenCentralPublishingEnabled=false
9696

9797

9898

99+
99100

100101

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.42.0";
21+
public static final String VERSION_NAME = "5.43.0";
2222
}
2323

2424

@@ -73,5 +73,6 @@ private Constants() {
7373

7474

7575

76+
7677

7778

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ public enum ActivityType
2424
*/
2525
UNKNOWN_FUTURE_VALUE,
2626
/**
27+
* service Principal
28+
*/
29+
SERVICE_PRINCIPAL,
30+
/**
2731
* For ActivityType values that were not expected from the service
2832
*/
2933
UNEXPECTED_VALUE
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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.models.IdentitySource;
12+
13+
14+
import com.google.gson.JsonObject;
15+
import com.google.gson.annotations.SerializedName;
16+
import com.google.gson.annotations.Expose;
17+
import javax.annotation.Nullable;
18+
import javax.annotation.Nonnull;
19+
20+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
21+
22+
/**
23+
* The class for the Cross Cloud Azure Active Directory Tenant.
24+
*/
25+
public class CrossCloudAzureActiveDirectoryTenant extends IdentitySource implements IJsonBackedObject {
26+
27+
28+
/**
29+
* The Cloud Instance.
30+
*
31+
*/
32+
@SerializedName(value = "cloudInstance", alternate = {"CloudInstance"})
33+
@Expose
34+
@Nullable
35+
public String cloudInstance;
36+
37+
/**
38+
* The Display Name.
39+
*
40+
*/
41+
@SerializedName(value = "displayName", alternate = {"DisplayName"})
42+
@Expose
43+
@Nullable
44+
public String displayName;
45+
46+
/**
47+
* The Tenant Id.
48+
*
49+
*/
50+
@SerializedName(value = "tenantId", alternate = {"TenantId"})
51+
@Expose
52+
@Nullable
53+
public String tenantId;
54+
55+
56+
/**
57+
* Sets the raw JSON object
58+
*
59+
* @param serializer the serializer
60+
* @param json the JSON object to set this object to
61+
*/
62+
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {
63+
64+
}
65+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public class Device extends DirectoryObject implements IJsonBackedObject {
6666

6767
/**
6868
* The Device Id.
69-
* Unique identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith).
69+
* Unique identifier set by Azure Device Registration Service at the time of registration. This is an alternate key that can be used to reference the device object. Supports $filter (eq, ne, not, startsWith).
7070
*/
7171
@SerializedName(value = "deviceId", alternate = {"DeviceId"})
7272
@Expose
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.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 Domain Promote Parameter Set.
21+
*/
22+
public class DomainPromoteParameterSet {
23+
24+
/**
25+
* Instiaciates a new DomainPromoteParameterSet
26+
*/
27+
public DomainPromoteParameterSet() {}
28+
/**
29+
* Instiaciates a new DomainPromoteParameterSet
30+
* @param builder builder bearing the parameters to initialize from
31+
*/
32+
protected DomainPromoteParameterSet(@Nonnull final DomainPromoteParameterSetBuilder builder) {
33+
}
34+
/**
35+
* Gets a new builder for the body
36+
* @return a new builder
37+
*/
38+
@Nonnull
39+
public static DomainPromoteParameterSetBuilder newBuilder() {
40+
return new DomainPromoteParameterSetBuilder();
41+
}
42+
/**
43+
* Fluent builder for the DomainPromoteParameterSet
44+
*/
45+
public static final class DomainPromoteParameterSetBuilder {
46+
/**
47+
* Instanciates a new DomainPromoteParameterSetBuilder
48+
*/
49+
@Nullable
50+
protected DomainPromoteParameterSetBuilder(){}
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 DomainPromoteParameterSet build() {
57+
return new DomainPromoteParameterSet(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+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public final AdditionalDataManager additionalDataManager() {
3939

4040
/**
4141
* The Href.
42-
* The url of the link.
42+
* The URL of the link.
4343
*/
4444
@SerializedName(value = "href", alternate = {"Href"})
4545
@Expose

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class Group extends DirectoryObject implements IJsonBackedObject {
4646

4747
/**
4848
* The Assigned Labels.
49-
* The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Returned only on $select. Read-only.
49+
* The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Returned only on $select.
5050
*/
5151
@SerializedName(value = "assignedLabels", alternate = {"AssignedLabels"})
5252
@Expose

0 commit comments

Comments
 (0)