Skip to content

Commit

Permalink
Merge pull request #541 from microsoftgraph/beta/pipelinebuild/110922
Browse files Browse the repository at this point in the history
Generated Beta models and request builders
  • Loading branch information
andrueastman authored Mar 23, 2023
2 parents fe2af3f + f452a6a commit 717f4c1
Show file tree
Hide file tree
Showing 253 changed files with 14,902 additions and 83 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [0.65.0] - 2023-03-23

### Changed

- Weekly generation.
-
## [0.64.0] - 2023-03-14

### Changed
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph-beta:0.64.0-SNAPSHOT'
implementation 'com.microsoft.graph:microsoft-graph-beta:0.65.0-SNAPSHOT'
// 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 @@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-beta</artifactId>
<version>0.64.0-SNAPSHOT</version>
<version>0.65.0-SNAPSHOT</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down Expand Up @@ -200,5 +200,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-beta
mavenMajorVersion = 0
mavenMinorVersion = 64
mavenMinorVersion = 65
mavenPatchVersion = 0
mavenArtifactSuffix =

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






Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.industrydata.models.IndustryDataRoot;
import com.microsoft.graph.externalconnectors.requests.ExternalConnectionCollectionPage;


Expand Down Expand Up @@ -39,6 +40,15 @@ public final AdditionalDataManager additionalDataManager() {
return additionalDataManager;
}

/**
* The Industry Data.
*
*/
@SerializedName(value = "industryData", alternate = {"IndustryData"})
@Expose
@Nullable
public IndustryDataRoot industryData;

/**
* The Connections.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ public ExternalRequest buildRequest(@Nonnull final java.util.List<? extends com.
}



/**
* Gets the request builder for IndustryDataRoot
*
* @return the IndustryDataRootRequestBuilder instance
*/
@Nonnull
public com.microsoft.graph.industrydata.requests.IndustryDataRootRequestBuilder industryData() {
return new com.microsoft.graph.industrydata.requests.IndustryDataRootRequestBuilder(getRequestUrlWithAdditionalSegment("industryData"), getClient(), null);
}
/**
* Gets a request builder for the ExternalConnection collection
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
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.CustomExtensionCallbackConfiguration;
import com.microsoft.graph.requests.ApplicationCollectionPage;


import com.google.gson.JsonObject;
Expand All @@ -25,6 +27,13 @@
public class CustomTaskExtensionCallbackConfiguration extends CustomExtensionCallbackConfiguration implements IJsonBackedObject {


/**
* The Authorized Apps.
*
*/
@Nullable
public com.microsoft.graph.requests.ApplicationCollectionPage authorizedApps;


/**
* Sets the raw JSON object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Total Tasks.
*
* The total number of tasks processed by a workflow.
*/
@SerializedName(value = "totalTasks", alternate = {"TotalTasks"})
@Expose
Expand All @@ -84,7 +84,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Total Users.
*
* The total number of users processed by a workflow.
*/
@SerializedName(value = "totalUsers", alternate = {"TotalUsers"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class TaskDefinition extends Entity implements IJsonBackedObject {

/**
* The Category.
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
* The category of the HR function that the tasks created using this definition can be used with. The possible values are: joiner, leaver, unknownFutureValue. This is a multi-valued enumeration whose allowed combinations are joiner, joiner,leaver, or leaver.Supports $filter(eq, ne, has) and $orderby.
*/
@SerializedName(value = "category", alternate = {"Category"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public class Workflow extends WorkflowBase implements IJsonBackedObject {

/**
* The Runs.
*
* Workflow runs.
*/
@SerializedName(value = "runs", alternate = {"Runs"})
@Expose
Expand All @@ -94,7 +94,7 @@ public class Workflow extends WorkflowBase implements IJsonBackedObject {

/**
* The User Processing Results.
*
* Per-user workflow execution results.
*/
@SerializedName(value = "userProcessingResults", alternate = {"UserProcessingResults"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
// 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.industrydata.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.industrydata.models.IndustryDataRunRoleCountMetric;


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 Aggregated Inbound Statistics.
*/
public class AggregatedInboundStatistics 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 Errors.
* The aggregate count of errors encountered by activities during this run.
*/
@SerializedName(value = "errors", alternate = {"Errors"})
@Expose
@Nullable
public Integer errors;

/**
* The Groups.
* The aggregate count of active inbound groups processed during the run.
*/
@SerializedName(value = "groups", alternate = {"Groups"})
@Expose
@Nullable
public Integer groups;

/**
* The Matched People By Role.
* The aggregate count of active people matched to an Azure Active Directory user, by role.
*/
@SerializedName(value = "matchedPeopleByRole", alternate = {"MatchedPeopleByRole"})
@Expose
@Nullable
public java.util.List<IndustryDataRunRoleCountMetric> matchedPeopleByRole;

/**
* The Memberships.
* The aggregate count of active inbound memberships processed during the run.
*/
@SerializedName(value = "memberships", alternate = {"Memberships"})
@Expose
@Nullable
public Integer memberships;

/**
* The Organizations.
* The aggregate count of active inbound organizations processed during the run.
*/
@SerializedName(value = "organizations", alternate = {"Organizations"})
@Expose
@Nullable
public Integer organizations;

/**
* The People.
* The aggregate count of active inbound people processed during the run.
*/
@SerializedName(value = "people", alternate = {"People"})
@Expose
@Nullable
public Integer people;

/**
* The Unmatched People By Role.
* The aggregate count of active people not matched to an Azure Active Directory user, by role.
*/
@SerializedName(value = "unmatchedPeopleByRole", alternate = {"UnmatchedPeopleByRole"})
@Expose
@Nullable
public java.util.List<IndustryDataRunRoleCountMetric> unmatchedPeopleByRole;

/**
* The Warnings.
* The aggregate count of warnings generated by activities during this run.
*/
@SerializedName(value = "warnings", alternate = {"Warnings"})
@Expose
@Nullable
public Integer warnings;


/**
* 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: 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.industrydata.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.industrydata.models.FileDataConnector;


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 Azure Data Lake Connector.
*/
public class AzureDataLakeConnector extends FileDataConnector implements IJsonBackedObject {



/**
* 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 717f4c1

Please sign in to comment.