Skip to content

Commit

Permalink
Merge pull request #1619 from microsoftgraph/v1.0/pipelinebuild/128844
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored Nov 17, 2023
2 parents 4b4c86f + 24efa40 commit e7d5cf7
Show file tree
Hide file tree
Showing 68 changed files with 4,898 additions and 203 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.77.0] - 2023-11-17

### Added

- ItemRetentionLabel model and derived request.
- MeetingAudience model.
- OnlineMeetingBase model and derived request.
- RetentionLabelSettings model.
- VirtualEvent model and derived requests.
- VirtualEventAttendeeRegistrationStatus model.
- VirtualEventRegistration model and derived requests.
- VirtualEventRegistrationQuestionAnswer model.
- VirtualEventSession model and derived requests.
- VirtualEventsRoot model and derived request.
- VirtualEventStatus model.
- VirtualEventWebinar model and derived requests.
- VirtualEventWebinarGetByUserIdAndRoleParameterSet model and derived requests.
- VirtualEventWebinarGetByUserRoleParameterSet model and derived requests.
- BehaviorDuringRetentionPeriod model.

### Changed

- DriveItem model and derived request.
- OnlineMeeting model.
- SolutionsRoot model and derived request.

## [5.76.0] - 2023-11-10

### Added
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph:5.76.0'
implementation 'com.microsoft.graph:microsoft-graph:5.77.0'
// Uncomment the line below if you are building an android application
//implementation 'com.google.guava:guava:30.1.1-android'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
Expand All @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>5.76.0</version>
<version>5.77.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -207,5 +207,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI






3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 5
mavenMinorVersion = 76
mavenMinorVersion = 77
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -130,5 +130,6 @@ mavenCentralPublishingEnabled=false






3 changes: 2 additions & 1 deletion src/main/java/com/microsoft/graph/info/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ private Constants() {
/** The client secret to use for unit testing */
public static final String CLIENTSECRET = "clientsecret";
/** The SDK version */
public static final String VERSION_NAME = "5.76.0";
public static final String VERSION_NAME = "5.77.0";
}


Expand Down Expand Up @@ -107,5 +107,6 @@ private Constants() {






8 changes: 4 additions & 4 deletions src/main/java/com/microsoft/graph/models/CallRecording.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class CallRecording extends Entity implements IJsonBackedObject {

/**
* The Created Date Time.
*
* Date and time at which the recording was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
*/
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
@Expose
Expand All @@ -37,7 +37,7 @@ public class CallRecording extends Entity implements IJsonBackedObject {

/**
* The Meeting Id.
*
* The unique identifier of the onlineMeeting related to this recording. Read-only.
*/
@SerializedName(value = "meetingId", alternate = {"MeetingId"})
@Expose
Expand All @@ -46,7 +46,7 @@ public class CallRecording extends Entity implements IJsonBackedObject {

/**
* The Meeting Organizer.
*
* The identity information of the organizer of the onlineMeeting related to this recording. Read-only.
*/
@SerializedName(value = "meetingOrganizer", alternate = {"MeetingOrganizer"})
@Expose
Expand All @@ -55,7 +55,7 @@ public class CallRecording extends Entity implements IJsonBackedObject {

/**
* The Recording Content Url.
*
* The URL that can be used to access the content of the recording. Read-only.
*/
@SerializedName(value = "recordingContentUrl", alternate = {"RecordingContentUrl"})
@Expose
Expand Down
10 changes: 10 additions & 0 deletions src/main/java/com/microsoft/graph/models/DriveItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import com.microsoft.graph.models.Workbook;
import com.microsoft.graph.models.ItemAnalytics;
import com.microsoft.graph.models.ListItem;
import com.microsoft.graph.models.ItemRetentionLabel;
import com.microsoft.graph.models.BaseItem;
import com.microsoft.graph.requests.DriveItemCollectionPage;
import com.microsoft.graph.requests.PermissionCollectionPage;
Expand Down Expand Up @@ -305,6 +306,15 @@ public class DriveItem extends BaseItem implements IJsonBackedObject {
@Nullable
public com.microsoft.graph.requests.PermissionCollectionPage permissions;

/**
* The Retention Label.
* Information about retention label and settings enforced on the driveItem. Read-write.
*/
@SerializedName(value = "retentionLabel", alternate = {"RetentionLabel"})
@Expose
@Nullable
public ItemRetentionLabel retentionLabel;

/**
* The Subscriptions.
* The set of subscriptions on the item. Only supported on the root of a drive.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class ExtensionProperty extends DirectoryObject implements IJsonBackedObj

/**
* The Is Multi Valued.
*
* Defines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of integers. The default value is false. Supports $filter (eq).
*/
@SerializedName(value = "isMultiValued", alternate = {"IsMultiValued"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class InternalDomainFederation extends SamlOrWsFedProvider implements IJs

/**
* The Is Signed Authentication Request Required.
* If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP are not signed.
* If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed.
*/
@SerializedName(value = "isSignedAuthenticationRequestRequired", alternate = {"IsSignedAuthenticationRequestRequired"})
@Expose
Expand All @@ -57,7 +57,7 @@ public class InternalDomainFederation extends SamlOrWsFedProvider implements IJs

/**
* The Next Signing Certificate.
* Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate is not present in the federation properties after the federation service certificate has been updated.
* Fallback token signing certificate that can also be used to sign tokens, for example when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated.
*/
@SerializedName(value = "nextSigningCertificate", alternate = {"NextSigningCertificate"})
@Expose
Expand Down
85 changes: 85 additions & 0 deletions src/main/java/com/microsoft/graph/models/ItemRetentionLabel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
// Template Source: BaseEntity.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.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.models.IdentitySet;
import com.microsoft.graph.models.RetentionLabelSettings;
import com.microsoft.graph.models.Entity;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The class for the Item Retention Label.
*/
public class ItemRetentionLabel extends Entity implements IJsonBackedObject {


/**
* The Is Label Applied Explicitly.
* Specifies whether the label is applied explicitly on the item. True indicates that the label is applied explicitly; otherwise, the label is inherited from its parent. Read-only.
*/
@SerializedName(value = "isLabelAppliedExplicitly", alternate = {"IsLabelAppliedExplicitly"})
@Expose
@Nullable
public Boolean isLabelAppliedExplicitly;

/**
* The Label Applied By.
* Identity of the user who applied the label. Read-only.
*/
@SerializedName(value = "labelAppliedBy", alternate = {"LabelAppliedBy"})
@Expose
@Nullable
public IdentitySet labelAppliedBy;

/**
* The Label Applied Date Time.
* The date and time when the label was applied on the item. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
*/
@SerializedName(value = "labelAppliedDateTime", alternate = {"LabelAppliedDateTime"})
@Expose
@Nullable
public java.time.OffsetDateTime labelAppliedDateTime;

/**
* The Name.
* The retention label on the document. Read-write.
*/
@SerializedName(value = "name", alternate = {"Name"})
@Expose
@Nullable
public String name;

/**
* The Retention Settings.
* The retention settings enforced on the item. Read-write.
*/
@SerializedName(value = "retentionSettings", alternate = {"RetentionSettings"})
@Expose
@Nullable
public RetentionLabelSettings retentionSettings;


/**
* Sets the raw JSON object
*
* @param serializer the serializer
* @param json the JSON object to set this object to
*/
public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {

}
}
30 changes: 30 additions & 0 deletions src/main/java/com/microsoft/graph/models/MeetingAudience.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Template Source: Enum.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;


/**
* The Enum Meeting Audience.
*/
public enum MeetingAudience
{
/**
* everyone
*/
EVERYONE,
/**
* organization
*/
ORGANIZATION,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For MeetingAudience values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Loading

0 comments on commit e7d5cf7

Please sign in to comment.