-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1440 from microsoftgraph/v1.0/pipelinebuild/114201
Generated models and request builders
- Loading branch information
Showing
40 changed files
with
1,147 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
src/main/java/com/microsoft/graph/externalconnectors/models/ActivitySettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// 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.microsoft.graph.externalconnectors.models.UrlToItemResolverBase; | ||
|
||
|
||
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 Activity Settings. | ||
*/ | ||
public class ActivitySettings 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 Url To Item Resolvers. | ||
* Specifies configurations to identify an externalItem based on a shared URL. | ||
*/ | ||
@SerializedName(value = "urlToItemResolvers", alternate = {"UrlToItemResolvers"}) | ||
@Expose | ||
@Nullable | ||
public java.util.List<UrlToItemResolverBase> urlToItemResolvers; | ||
|
||
|
||
/** | ||
* 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) { | ||
|
||
} | ||
} |
88 changes: 88 additions & 0 deletions
88
src/main/java/com/microsoft/graph/externalconnectors/models/DisplayTemplate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
// 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.microsoft.graph.externalconnectors.models.PropertyRule; | ||
|
||
|
||
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 Display Template. | ||
*/ | ||
public class DisplayTemplate 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 Id. | ||
* The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. | ||
*/ | ||
@SerializedName(value = "id", alternate = {"Id"}) | ||
@Expose | ||
@Nullable | ||
public String id; | ||
|
||
/** | ||
* The Layout. | ||
* The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model. | ||
*/ | ||
@SerializedName(value = "layout", alternate = {"Layout"}) | ||
@Expose | ||
@Nullable | ||
public com.google.gson.JsonElement layout; | ||
|
||
/** | ||
* The Priority. | ||
* Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. | ||
*/ | ||
@SerializedName(value = "priority", alternate = {"Priority"}) | ||
@Expose | ||
@Nullable | ||
public Integer priority; | ||
|
||
/** | ||
* The Rules. | ||
* Specifies additional rules for selecting this display template based on the item schema. Optional. | ||
*/ | ||
@SerializedName(value = "rules", alternate = {"Rules"}) | ||
@Expose | ||
@Nullable | ||
public java.util.List<PropertyRule> rules; | ||
|
||
|
||
/** | ||
* 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) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
src/main/java/com/microsoft/graph/externalconnectors/models/ItemIdResolver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// 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.UrlMatchInfo; | ||
import com.microsoft.graph.externalconnectors.models.UrlToItemResolverBase; | ||
|
||
|
||
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 Item Id Resolver. | ||
*/ | ||
public class ItemIdResolver extends UrlToItemResolverBase implements IJsonBackedObject { | ||
|
||
|
||
/** | ||
* The Item Id. | ||
* Pattern that specifies how to form the ID of the external item that the URL represents. The named groups from the regular expression in urlPattern within the urlMatchInfo can be referenced by inserting the group name inside curly brackets. | ||
*/ | ||
@SerializedName(value = "itemId", alternate = {"ItemId"}) | ||
@Expose | ||
@Nullable | ||
public String itemId; | ||
|
||
/** | ||
* The Url Match Info. | ||
* Configurations to match and resolve URL. | ||
*/ | ||
@SerializedName(value = "urlMatchInfo", alternate = {"UrlMatchInfo"}) | ||
@Expose | ||
@Nullable | ||
public UrlMatchInfo urlMatchInfo; | ||
|
||
|
||
/** | ||
* 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) { | ||
|
||
} | ||
} |
Oops, something went wrong.