Skip to content

Commit

Permalink
Merge pull request #1453 from microsoftgraph/v1.0/pipelinebuild/115280
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored May 26, 2023
2 parents 90e75bd + 4520dca commit 0fee48f
Show file tree
Hide file tree
Showing 162 changed files with 10,891 additions and 22 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.59.0] - 2023-05-26

### Added

- AttributeType model and derived types and requests.
- Filter model and derived types and requests.
- Synchronization model and derived types and requests.
- DirectoryDefinition models and related requests.
- CollapseProperty model.
- ContainerFilter model.
- EntryExportStatus model.
- EntrySyncOperation model.
- EscrowBehavior model.
- ExpressionInputObject model.
- Mutability model.
- ObjectDefinition models.
- ObjectFlowTypes model.
- ObjectMapping models.
- OnlineMeeting models.
- ParseExpressionResponse model.
- PublicErrorResponse model.
- QuarantineReason model.
- ReferencedObject model.
- ScopeOperator models.
- StringKey models.

## [5.58.0] - 2023-05-19

### 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.58.0'
implementation 'com.microsoft.graph:microsoft-graph:5.59.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.58.0</version>
<version>5.59.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -189,5 +189,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 = 58
mavenMinorVersion = 59
mavenPatchVersion = 0
mavenArtifactSuffix =

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


Expand Down Expand Up @@ -89,5 +89,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 @@ -25,6 +25,7 @@
import com.microsoft.graph.models.VerifiedPublisher;
import com.microsoft.graph.models.WebApplication;
import com.microsoft.graph.models.DirectoryObject;
import com.microsoft.graph.models.Synchronization;
import com.microsoft.graph.requests.AppManagementPolicyCollectionPage;
import com.microsoft.graph.requests.ExtensionPropertyCollectionPage;
import com.microsoft.graph.requests.FederatedIdentityCredentialCollectionPage;
Expand Down Expand Up @@ -415,6 +416,15 @@ public class Application extends DirectoryObject implements IJsonBackedObject {
@Nullable
public com.microsoft.graph.requests.TokenLifetimePolicyCollectionPage tokenLifetimePolicies;

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


/**
* Sets the raw JSON object
Expand Down
164 changes: 164 additions & 0 deletions src/main/java/com/microsoft/graph/models/AttributeDefinition.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
// 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.StringKeyStringValuePair;
import com.microsoft.graph.models.AttributeDefinitionMetadataEntry;
import com.microsoft.graph.models.Mutability;
import com.microsoft.graph.models.ReferencedObject;
import com.microsoft.graph.models.AttributeType;


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 Attribute Definition.
*/
public class AttributeDefinition 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 Anchor.
*
*/
@SerializedName(value = "anchor", alternate = {"Anchor"})
@Expose
@Nullable
public Boolean anchor;

/**
* The Api Expressions.
*
*/
@SerializedName(value = "apiExpressions", alternate = {"ApiExpressions"})
@Expose
@Nullable
public java.util.List<StringKeyStringValuePair> apiExpressions;

/**
* The Case Exact.
*
*/
@SerializedName(value = "caseExact", alternate = {"CaseExact"})
@Expose
@Nullable
public Boolean caseExact;

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

/**
* The Flow Null Values.
*
*/
@SerializedName(value = "flowNullValues", alternate = {"FlowNullValues"})
@Expose
@Nullable
public Boolean flowNullValues;

/**
* The Metadata.
*
*/
@SerializedName(value = "metadata", alternate = {"Metadata"})
@Expose
@Nullable
public java.util.List<AttributeDefinitionMetadataEntry> metadata;

/**
* The Multivalued.
*
*/
@SerializedName(value = "multivalued", alternate = {"Multivalued"})
@Expose
@Nullable
public Boolean multivalued;

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

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

/**
* The Referenced Objects.
*
*/
@SerializedName(value = "referencedObjects", alternate = {"ReferencedObjects"})
@Expose
@Nullable
public java.util.List<ReferencedObject> referencedObjects;

/**
* The Required.
*
*/
@SerializedName(value = "required", alternate = {"Required"})
@Expose
@Nullable
public Boolean required;

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


/**
* 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,54 @@
// 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 Attribute Definition Metadata.
*/
public enum AttributeDefinitionMetadata
{
/**
* Base Attribute Name
*/
BASE_ATTRIBUTE_NAME,
/**
* Complex Object Definition
*/
COMPLEX_OBJECT_DEFINITION,
/**
* Is Container
*/
IS_CONTAINER,
/**
* Is Customer Defined
*/
IS_CUSTOMER_DEFINED,
/**
* Is Domain Qualified
*/
IS_DOMAIN_QUALIFIED,
/**
* Link Property Names
*/
LINK_PROPERTY_NAMES,
/**
* Link Type Name
*/
LINK_TYPE_NAME,
/**
* Maximum Length
*/
MAXIMUM_LENGTH,
/**
* Referenced Property
*/
REFERENCED_PROPERTY,
/**
* For AttributeDefinitionMetadata values that were not expected from the service
*/
UNEXPECTED_VALUE
}
Loading

0 comments on commit 0fee48f

Please sign in to comment.