Skip to content
Closed
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
1 change: 1 addition & 0 deletions .github/workflows/api-level-lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Checks the SDK only using APIs from the targeted API level"

on:
workflow_dispatch:
push:
branches:
- dev
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "CodeQL"

on:
workflow_dispatch:
push:
branches: [dev, master]
pull_request:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/type-summary.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "update type summary"

on:
workflow_dispatch:
push:
paths:
- '**/*.java'
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:4.0.0'
implementation 'com.microsoft.graph:microsoft-graph:4.1.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>4.0.0</version>
<version>4.1.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down Expand Up @@ -145,3 +145,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 @@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 4
mavenMinorVersion = 0
mavenMinorVersion = 1
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -54,3 +54,4 @@ mavenCentralPublishingEnabled=false




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.externalconnectors.models;


/**
* The Enum Access Type.
*/
public enum AccessType
{
/**
* grant
*/
GRANT,
/**
* deny
*/
DENY,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For AccessType values that were not expected from the service
*/
UNEXPECTED_VALUE
}
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.externalconnectors.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.externalconnectors.models.AccessType;
import com.microsoft.graph.externalconnectors.models.AclType;


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 Acl.
*/
public class Acl 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 Access Type.
*
*/
@SerializedName(value = "accessType", alternate = {"AccessType"})
@Expose
@Nullable
public AccessType accessType;

/**
* The Type.
*
*/
@SerializedName(value = "type", alternate = {"Type"})
@Expose
@Nullable
public AclType type;

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


/**
* 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
@@ -0,0 +1,42 @@
// 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.externalconnectors.models;


/**
* The Enum Acl Type.
*/
public enum AclType
{
/**
* user
*/
USER,
/**
* group
*/
GROUP,
/**
* everyone
*/
EVERYONE,
/**
* everyone Except Guests
*/
EVERYONE_EXCEPT_GUESTS,
/**
* external Group
*/
EXTERNAL_GROUP,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For AclType values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
// 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.externalconnectors.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.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 Configuration.
*/
public class Configuration 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 Authorized App Ids.
*
*/
@SerializedName(value = "authorizedAppIds", alternate = {"AuthorizedAppIds"})
@Expose
@Nullable
public java.util.List<String> authorizedAppIds;


/**
* 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
@@ -0,0 +1,58 @@
// 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.externalconnectors.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.PublicError;
import com.microsoft.graph.externalconnectors.models.ConnectionOperationStatus;
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 Connection Operation.
*/
public class ConnectionOperation extends Entity implements IJsonBackedObject {


/**
* The Error.
*
*/
@SerializedName(value = "error", alternate = {"Error"})
@Expose
@Nullable
public PublicError error;

/**
* The Status.
*
*/
@SerializedName(value = "status", alternate = {"Status"})
@Expose
@Nullable
public ConnectionOperationStatus status;


/**
* 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
@@ -0,0 +1,38 @@
// 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.externalconnectors.models;


/**
* The Enum Connection Operation Status.
*/
public enum ConnectionOperationStatus
{
/**
* unspecified
*/
UNSPECIFIED,
/**
* inprogress
*/
INPROGRESS,
/**
* completed
*/
COMPLETED,
/**
* failed
*/
FAILED,
/**
* unknown Future Value
*/
UNKNOWN_FUTURE_VALUE,
/**
* For ConnectionOperationStatus values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Loading