Skip to content

Commit

Permalink
Merge pull request #1505 from microsoftgraph/v1.0/pipelinebuild/120562
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored Jul 20, 2023
2 parents 2a3c588 + ee61c96 commit cb93d3d
Show file tree
Hide file tree
Showing 21 changed files with 838 additions and 19 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.65.0] - 2023-07-20

### Added

- DriveItemPermanentDelete derived types and requests.
- TenantInformation model, derived types and requests.

## [5.64.0] - 2023-07-13

### 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.64.0'
implementation 'com.microsoft.graph:microsoft-graph:5.65.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.64.0</version>
<version>5.65.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -195,5 +195,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 = 64
mavenMinorVersion = 65
mavenPatchVersion = 0
mavenArtifactSuffix =

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


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






Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Certification Controls.
* Collection of the certification controls associated with certification
* Collection of the certification controls associated with the certification.
*/
@SerializedName(value = "certificationControls", alternate = {"CertificationControls"})
@Expose
Expand All @@ -50,7 +50,7 @@ public final AdditionalDataManager additionalDataManager() {

/**
* The Certification Name.
* Compliance certification name (for example, ISO 27018:2014, GDPR, FedRAMP, NIST 800-171)
* The name of the compliance certification, for example, ISO 27018:2014, GDPR, FedRAMP, and NIST 800-171.
*/
@SerializedName(value = "certificationName", alternate = {"CertificationName"})
@Expose
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/microsoft/graph/models/DirectoryAudit.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class DirectoryAudit extends Entity implements IJsonBackedObject {

/**
* The Activity Display Name.
* Indicates the activity name or the operation name (examples: 'Create User' and 'Add member to group'). For full list, see Azure AD activity list.
* Indicates the activity name or the operation name (examples: 'Create User' and 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities.
*/
@SerializedName(value = "activityDisplayName", alternate = {"ActivityDisplayName"})
@Expose
Expand All @@ -59,7 +59,7 @@ public class DirectoryAudit extends Entity implements IJsonBackedObject {

/**
* The Category.
* Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement.
* Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement. For a list of categories for activities logged, refer to Azure AD audit log categories and activities.
*/
@SerializedName(value = "category", alternate = {"Category"})
@Expose
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/microsoft/graph/models/Domain.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Domain extends Entity implements IJsonBackedObject {

/**
* The Authentication Type.
* Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. This property is read-only and is not nullable.
* Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed indicates a cloud managed domain where Azure AD performs user authentication. Federated indicates authentication is federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation Services. Not nullable.
*/
@SerializedName(value = "authenticationType", alternate = {"AuthenticationType"})
@Expose
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
// Template Source: BaseMethodParameterSet.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.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.google.gson.JsonObject;
import java.util.EnumSet;
import java.util.ArrayList;

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

/**
* The class for the Drive Item Permanent Delete Parameter Set.
*/
public class DriveItemPermanentDeleteParameterSet {

/**
* Instiaciates a new DriveItemPermanentDeleteParameterSet
*/
public DriveItemPermanentDeleteParameterSet() {}
/**
* Instiaciates a new DriveItemPermanentDeleteParameterSet
* @param builder builder bearing the parameters to initialize from
*/
protected DriveItemPermanentDeleteParameterSet(@Nonnull final DriveItemPermanentDeleteParameterSetBuilder builder) {
}
/**
* Gets a new builder for the body
* @return a new builder
*/
@Nonnull
public static DriveItemPermanentDeleteParameterSetBuilder newBuilder() {
return new DriveItemPermanentDeleteParameterSetBuilder();
}
/**
* Fluent builder for the DriveItemPermanentDeleteParameterSet
*/
public static final class DriveItemPermanentDeleteParameterSetBuilder {
/**
* Instanciates a new DriveItemPermanentDeleteParameterSetBuilder
*/
@Nullable
protected DriveItemPermanentDeleteParameterSetBuilder(){}
/**
* Buils the resulting body object to be passed to the request
* @return the body object to pass to the request
*/
@Nonnull
public DriveItemPermanentDeleteParameterSet build() {
return new DriveItemPermanentDeleteParameterSet(this);
}
}
/**
* Gets the functions options from the properties that have been set
* @return a list of function options for the request
*/
@Nonnull
public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOptions() {
final ArrayList<com.microsoft.graph.options.FunctionOption> result = new ArrayList<>();
return result;
}
}
86 changes: 86 additions & 0 deletions src/main/java/com/microsoft/graph/models/TenantInformation.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
// 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 Tenant Information.
*/
public class TenantInformation 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 Default Domain Name.
*
*/
@SerializedName(value = "defaultDomainName", alternate = {"DefaultDomainName"})
@Expose
@Nullable
public String defaultDomainName;

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

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

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


/**
* 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,97 @@
// Template Source: BaseMethodParameterSet.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.models.TenantInformation;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.google.gson.JsonObject;
import java.util.EnumSet;
import java.util.ArrayList;

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

/**
* The class for the Tenant Relationship Find Tenant Information By Domain Name Parameter Set.
*/
public class TenantRelationshipFindTenantInformationByDomainNameParameterSet {
/**
* The domain Name.
*
*/
@SerializedName(value = "domainName", alternate = {"DomainName"})
@Expose
@Nullable
public String domainName;


/**
* Instiaciates a new TenantRelationshipFindTenantInformationByDomainNameParameterSet
*/
public TenantRelationshipFindTenantInformationByDomainNameParameterSet() {}
/**
* Instiaciates a new TenantRelationshipFindTenantInformationByDomainNameParameterSet
* @param builder builder bearing the parameters to initialize from
*/
protected TenantRelationshipFindTenantInformationByDomainNameParameterSet(@Nonnull final TenantRelationshipFindTenantInformationByDomainNameParameterSetBuilder builder) {
this.domainName = builder.domainName;
}
/**
* Gets a new builder for the body
* @return a new builder
*/
@Nonnull
public static TenantRelationshipFindTenantInformationByDomainNameParameterSetBuilder newBuilder() {
return new TenantRelationshipFindTenantInformationByDomainNameParameterSetBuilder();
}
/**
* Fluent builder for the TenantRelationshipFindTenantInformationByDomainNameParameterSet
*/
public static final class TenantRelationshipFindTenantInformationByDomainNameParameterSetBuilder {
/**
* The domainName parameter value
*/
@Nullable
protected String domainName;
/**
* Sets the DomainName
* @param val the value to set it to
* @return the current builder object
*/
@Nonnull
public TenantRelationshipFindTenantInformationByDomainNameParameterSetBuilder withDomainName(@Nullable final String val) {
this.domainName = val;
return this;
}
/**
* Instanciates a new TenantRelationshipFindTenantInformationByDomainNameParameterSetBuilder
*/
@Nullable
protected TenantRelationshipFindTenantInformationByDomainNameParameterSetBuilder(){}
/**
* Buils the resulting body object to be passed to the request
* @return the body object to pass to the request
*/
@Nonnull
public TenantRelationshipFindTenantInformationByDomainNameParameterSet build() {
return new TenantRelationshipFindTenantInformationByDomainNameParameterSet(this);
}
}
/**
* Gets the functions options from the properties that have been set
* @return a list of function options for the request
*/
@Nonnull
public java.util.List<com.microsoft.graph.options.FunctionOption> getFunctionOptions() {
final ArrayList<com.microsoft.graph.options.FunctionOption> result = new ArrayList<>();
if(this.domainName != null) {
result.add(new com.microsoft.graph.options.FunctionOption("domainName", domainName));
}
return result;
}
}
Loading

0 comments on commit cb93d3d

Please sign in to comment.