Skip to content

Commit

Permalink
Merge pull request #1541 from microsoftgraph/v1.0/pipelinebuild/123864
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored Sep 1, 2023
2 parents e856374 + fb78a10 commit c603503
Show file tree
Hide file tree
Showing 40 changed files with 1,481 additions and 17 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.69.0] - 2023-09-01

### Added

- Action models.
- GroupRetryServiceProvisioning derived types and requests.
- OrgContactRetryServiceProvisioning derived types and requests.
- ServicePrincipalLockConfiguration model.
- ServiceProvisioningError model.
- ServiceProvisioningXmlError model.
- UserRetryServiceProvisioning derived types and requests.

## [5.68.0] - 2023-08-18

### Changed
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.68.0'
implementation 'com.microsoft.graph:microsoft-graph:5.69.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.68.0</version>
<version>5.69.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -199,5 +199,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 = 68
mavenMinorVersion = 69
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -122,5 +122,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.68.0";
public static final String VERSION_NAME = "5.69.0";
}


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






10 changes: 10 additions & 0 deletions src/main/java/com/microsoft/graph/models/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.microsoft.graph.models.PublicClientApplication;
import com.microsoft.graph.models.RequestSignatureVerification;
import com.microsoft.graph.models.RequiredResourceAccess;
import com.microsoft.graph.models.ServicePrincipalLockConfiguration;
import com.microsoft.graph.models.SpaApplication;
import com.microsoft.graph.models.VerifiedPublisher;
import com.microsoft.graph.models.WebApplication;
Expand Down Expand Up @@ -300,6 +301,15 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
@Nullable
public String serviceManagementReference;

/**
* The Service Principal Lock Configuration.
* Specifies whether sensitive properties of a multi-tenant application should be locked for editing after the application is provisioned in a tenant. Nullable. null by default.
*/
@SerializedName(value = "servicePrincipalLockConfiguration", alternate = {"ServicePrincipalLockConfiguration"})
@Expose
@Nullable
public ServicePrincipalLockConfiguration servicePrincipalLockConfiguration;

/**
* The Sign In Audience.
* Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table. The value of this object also limits the number of permissions an app can request. For more information, see Limits on requested permissions per app. The value for this property has implications on other app object properties. As a result, if you change this property, you may need to change other properties first. For more information, see Validation differences for signInAudience.Supports $filter (eq, ne, not).
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/microsoft/graph/models/BaseItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class BaseItem extends Entity implements IJsonBackedObject {

/**
* The Created By.
* Identity of the user, device, or application which created the item. Read-only.
* Identity of the user, device, or application that created the item. Read-only.
*/
@SerializedName(value = "createdBy", alternate = {"CreatedBy"})
@Expose
Expand Down Expand Up @@ -66,7 +66,7 @@ public class BaseItem extends Entity implements IJsonBackedObject {

/**
* The Last Modified By.
* Identity of the user, device, and application which last modified the item. Read-only.
* Identity of the user, device, and application that last modified the item. Read-only.
*/
@SerializedName(value = "lastModifiedBy", alternate = {"LastModifiedBy"})
@Expose
Expand Down Expand Up @@ -102,7 +102,7 @@ public class BaseItem extends Entity implements IJsonBackedObject {

/**
* The Web Url.
* URL that displays the resource in the browser. Read-only.
* URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.
*/
@SerializedName(value = "webUrl", alternate = {"WebUrl"})
@Expose
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/models/Chat.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public class Chat extends Entity implements IJsonBackedObject {

/**
* The Permission Grants.
*
* A collection of permissions granted to apps for the chat.
*/
@SerializedName(value = "permissionGrants", alternate = {"PermissionGrants"})
@Expose
Expand Down
79 changes: 79 additions & 0 deletions src/main/java/com/microsoft/graph/models/CommentAction.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
// 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.http.BaseCollectionPage;
import com.microsoft.graph.models.IdentitySet;


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 Comment Action.
*/
public class CommentAction implements IJsonBackedObject {

/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Is Reply.
* If true, this activity was a reply to an existing comment thread.
*/
@SerializedName(value = "isReply", alternate = {"IsReply"})
@Expose
@Nullable
public Boolean isReply;

/**
* The Parent Author.
* The identity of the user who started the comment thread.
*/
@SerializedName(value = "parentAuthor", alternate = {"ParentAuthor"})
@Expose
@Nullable
public IdentitySet parentAuthor;

/**
* The Participants.
* The identities of the users participating in this comment thread.
*/
@SerializedName(value = "participants", alternate = {"Participants"})
@Expose
@Nullable
public java.util.List<IdentitySet> participants;


/**
* 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) {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ public class ConditionalAccessPolicy extends Entity implements IJsonBackedObject
@Nullable
public ConditionalAccessPolicyState state;

/**
* The Template Id.
*
*/
@SerializedName(value = "templateId", alternate = {"TemplateId"})
@Expose
@Nullable
public String templateId;


/**
* Sets the raw JSON object
Expand Down
50 changes: 50 additions & 0 deletions src/main/java/com/microsoft/graph/models/CreateAction.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// 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.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 Create Action.
*/
public class CreateAction implements IJsonBackedObject {

/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}


/**
* 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) {

}
}
68 changes: 68 additions & 0 deletions src/main/java/com/microsoft/graph/models/DeleteAction.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// 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.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 Delete Action.
*/
public class DeleteAction implements IJsonBackedObject {

/** the OData type of the object as returned by the service */
@SerializedName("@odata.type")
@Expose
@Nullable
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

@Override
@Nonnull
public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Name.
* The name of the item that was deleted.
*/
@SerializedName(value = "name", alternate = {"Name"})
@Expose
@Nullable
public String name;

/**
* The Object Type.
* File or Folder, depending on the type of the deleted item.
*/
@SerializedName(value = "objectType", alternate = {"ObjectType"})
@Expose
@Nullable
public String objectType;


/**
* 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) {

}
}
Loading

0 comments on commit c603503

Please sign in to comment.