-
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 #1541 from microsoftgraph/v1.0/pipelinebuild/123864
Generated models and request builders
- Loading branch information
Showing
40 changed files
with
1,481 additions
and
17 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
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
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
79 changes: 79 additions & 0 deletions
79
src/main/java/com/microsoft/graph/models/CommentAction.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,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.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.IdentitySet; | ||
|
||
|
||
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 Comment Action. | ||
*/ | ||
public class CommentAction 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 Is Reply. | ||
* If true, this activity was a reply to an existing comment thread. | ||
*/ | ||
@SerializedName(value = "isReply", alternate = {"IsReply"}) | ||
@Expose | ||
@Nullable | ||
public Boolean isReply; | ||
|
||
/** | ||
* The Parent Author. | ||
* The identity of the user who started the comment thread. | ||
*/ | ||
@SerializedName(value = "parentAuthor", alternate = {"ParentAuthor"}) | ||
@Expose | ||
@Nullable | ||
public IdentitySet parentAuthor; | ||
|
||
/** | ||
* The Participants. | ||
* The identities of the users participating in this comment thread. | ||
*/ | ||
@SerializedName(value = "participants", alternate = {"Participants"}) | ||
@Expose | ||
@Nullable | ||
public java.util.List<IdentitySet> participants; | ||
|
||
|
||
/** | ||
* 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
50 changes: 50 additions & 0 deletions
50
src/main/java/com/microsoft/graph/models/CreateAction.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,50 @@ | ||
// 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 Create Action. | ||
*/ | ||
public class CreateAction 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; | ||
} | ||
|
||
|
||
/** | ||
* 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) { | ||
|
||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
src/main/java/com/microsoft/graph/models/DeleteAction.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,68 @@ | ||
// 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 Delete Action. | ||
*/ | ||
public class DeleteAction 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 Name. | ||
* The name of the item that was deleted. | ||
*/ | ||
@SerializedName(value = "name", alternate = {"Name"}) | ||
@Expose | ||
@Nullable | ||
public String name; | ||
|
||
/** | ||
* The Object Type. | ||
* File or Folder, depending on the type of the deleted item. | ||
*/ | ||
@SerializedName(value = "objectType", alternate = {"ObjectType"}) | ||
@Expose | ||
@Nullable | ||
public String objectType; | ||
|
||
|
||
/** | ||
* 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.