Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:2.8.0'
implementation 'com.microsoft.graph:microsoft-graph:2.8.1'
}
```

Expand All @@ -31,7 +31,7 @@ Add the dependency in `dependencies` in pom.xml
<dependency>
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>2.8.0</version>
<version>2.8.1</version>
</dependency>
```

Expand Down Expand Up @@ -120,3 +120,4 @@ 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 @@ -27,7 +27,7 @@ mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 2
mavenMinorVersion = 8
mavenPatchVersion = 0
mavenPatchVersion = 1
mavenArtifactSuffix =

#These values are used to run functional tests
Expand All @@ -46,3 +46,4 @@ mavenCentralPublishingEnabled=false




3 changes: 2 additions & 1 deletion src/main/java/com/microsoft/graph/core/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ private Constants() {
public static final String PASSWORD = "password";
public static final String TENANTID = "tenantid";
public static final String CLIENTSECRET = "clientsecret";
public static final String VERSION_NAME = "2.8.0";
public static final String VERSION_NAME = "2.8.1";
}






Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
// 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.extensions;
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.extensions.Application;
import com.microsoft.graph.models.extensions.ServicePrincipal;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;

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

/**
* The class for the Application Service Principal.
*/
public class ApplicationServicePrincipal implements IJsonBackedObject {

@SerializedName("@odata.type")
@Expose
public String oDataType;

private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

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

/**
* The Application.
*
*/
@SerializedName(value = "application", alternate = {"Application"})
@Expose
public Application application;

/**
* The Service Principal.
*
*/
@SerializedName(value = "servicePrincipal", alternate = {"ServicePrincipal"})
@Expose
public ServicePrincipal servicePrincipal;


/**
* The raw representation of this class
*/
private JsonObject rawObject;

/**
* The serializer
*/
private ISerializer serializer;

/**
* Gets the raw representation of this class
*
* @return the raw representation of this class
*/
public JsonObject getRawObject() {
return rawObject;
}

/**
* Gets serializer
*
* @return the serializer
*/
protected ISerializer getSerializer() {
return serializer;
}

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

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
// 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.extensions;
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.extensions.Entity;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;

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

/**
* The class for the Application Template.
*/
public class ApplicationTemplate extends Entity implements IJsonBackedObject {


/**
* The Categories.
* The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer,Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design &amp; hosting.
*/
@SerializedName(value = "categories", alternate = {"Categories"})
@Expose
public java.util.List<String> categories;

/**
* The Description.
* A description of the application.
*/
@SerializedName(value = "description", alternate = {"Description"})
@Expose
public String description;

/**
* The Display Name.
* The name of the application.
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
public String displayName;

/**
* The Home Page Url.
* The home page URL of the application.
*/
@SerializedName(value = "homePageUrl", alternate = {"HomePageUrl"})
@Expose
public String homePageUrl;

/**
* The Logo Url.
* The URL to get the logo for this application.
*/
@SerializedName(value = "logoUrl", alternate = {"LogoUrl"})
@Expose
public String logoUrl;

/**
* The Publisher.
* The name of the publisher for this application.
*/
@SerializedName(value = "publisher", alternate = {"Publisher"})
@Expose
public String publisher;

/**
* The Supported Provisioning Types.
* The list of provisioning modes supported by this application. The only valid value is sync.
*/
@SerializedName(value = "supportedProvisioningTypes", alternate = {"SupportedProvisioningTypes"})
@Expose
public java.util.List<String> supportedProvisioningTypes;

/**
* The Supported Single Sign On Modes.
* The list of single sign-on modes supported by this application. The supported values are password, saml, external, and oidc.
*/
@SerializedName(value = "supportedSingleSignOnModes", alternate = {"SupportedSingleSignOnModes"})
@Expose
public java.util.List<String> supportedSingleSignOnModes;


/**
* The raw representation of this class
*/
private JsonObject rawObject;

/**
* The serializer
*/
private ISerializer serializer;

/**
* Gets the raw representation of this class
*
* @return the raw representation of this class
*/
public JsonObject getRawObject() {
return rawObject;
}

/**
* Gets serializer
*
* @return the serializer
*/
protected ISerializer getSerializer() {
return serializer;
}

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

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
// Template Source: BaseMethodBody.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.extensions;

import com.microsoft.graph.models.extensions.ApplicationServicePrincipal;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.google.gson.JsonObject;
import com.microsoft.graph.serializer.ISerializer;
import java.util.EnumSet;

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

/**
* The class for the Application Template Instantiate Body.
*/
public class ApplicationTemplateInstantiateBody {

/**
* The display Name.
*
*/
@SerializedName(value = "displayName", alternate = {"DisplayName"})
@Expose
public String displayName;


/**
* The raw representation of this class
*/
private JsonObject rawObject;

/**
* The serializer
*/
private ISerializer serializer;

/**
* Gets the raw representation of this class
*
* @return the raw representation of this class
*/
public JsonObject getRawObject() {
return rawObject;
}

/**
* Gets serializer
*
* @return the serializer
*/
protected ISerializer getSerializer() {
return serializer;
}

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

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public class Group extends DirectoryObject implements IJsonBackedObject {

/**
* The Visibility.
* Specifies the visibility of a Microsoft 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default.
* Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or Hiddenmembership. Hiddenmembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. See group visibility options to learn more. Returned by default.
*/
@SerializedName(value = "visibility", alternate = {"Visibility"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import com.microsoft.graph.requests.extensions.IInvitationRequestBuilder;
import com.microsoft.graph.requests.extensions.IUserCollectionRequestBuilder;
import com.microsoft.graph.requests.extensions.IUserRequestBuilder;
import com.microsoft.graph.requests.extensions.IApplicationTemplateCollectionRequestBuilder;
import com.microsoft.graph.requests.extensions.IApplicationTemplateRequestBuilder;
import com.microsoft.graph.requests.extensions.IAuthenticationMethodConfigurationCollectionRequestBuilder;
import com.microsoft.graph.requests.extensions.IAuthenticationMethodConfigurationRequestBuilder;
import com.microsoft.graph.requests.extensions.IIdentityProviderCollectionRequestBuilder;
Expand Down Expand Up @@ -135,6 +137,21 @@ public interface IBaseGraphServiceClient extends IBaseClient {
*/
IUserRequestBuilder users(final String id);

/**
* Gets the collection of ApplicationTemplates objects
*
* @return the request builder for the collection of ApplicationTemplates objects
*/
IApplicationTemplateCollectionRequestBuilder applicationTemplates();

/**
* Gets a single ApplicationTemplates
*
* @param id the id of the ApplicationTemplates to retrieve
* @return the request builder for the ApplicationTemplates object
*/
IApplicationTemplateRequestBuilder applicationTemplates(final String id);

/**
* Gets the collection of AuthenticationMethodConfigurations objects
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import com.microsoft.graph.requests.extensions.IInvitationRequestBuilder;
import com.microsoft.graph.requests.extensions.IUserCollectionRequestBuilder;
import com.microsoft.graph.requests.extensions.IUserRequestBuilder;
import com.microsoft.graph.requests.extensions.IApplicationTemplateCollectionRequestBuilder;
import com.microsoft.graph.requests.extensions.IApplicationTemplateRequestBuilder;
import com.microsoft.graph.requests.extensions.IAuthenticationMethodConfigurationCollectionRequestBuilder;
import com.microsoft.graph.requests.extensions.IAuthenticationMethodConfigurationRequestBuilder;
import com.microsoft.graph.requests.extensions.IIdentityProviderCollectionRequestBuilder;
Expand Down
Loading