-
Notifications
You must be signed in to change notification settings - Fork 75
feature/odata cast derivedconstraint #303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
634f56b
- adds missing final keyword for skiptoken method
baywet 5f0cf14
- updates unit test files for missing final keyword
baywet 0e48ed0
- fixes a bug where passing a non property would make the template fail
baywet 6d3e786
- fixes a bug where references collections would return the wrong type
baywet 281cfe0
- fixes a bug where passing a non property would generate invalid met…
baywet ac7e17b
- fixes missing line break
baywet 2324d28
- fixes javadoc to document the right return type
baywet 52aebf7
- adds test case for derived type constraint
baywet 328ce7b
- fixes annotation name in test file
baywet 5e806d9
- upgrades odata lib to match vipr
baywet 3ff2dd8
- fixes a null reference exception on implicit nav props detection
baywet e7b12dd
- adds support for odata cast in java templates
baywet dc07e41
- updates unit test files for java odata cast
baywet 69d93c0
- updates reference to vipr for odata cast
baywet 2d13cc1
- udpates reference to vipr
baywet 894764d
- prevents odata cast virtual properties from generating properties i…
baywet 0a5e1fb
- udpates java test file generated model to avoid virtual cast proper…
baywet e8221ae
- fixes a bug were duplicated annotations would introduce duplicated …
baywet abd0c85
- collapses slash and type for odata cast
baywet 9510e74
- updates unit test files
baywet 3355ec6
- updates reference to vipr
baywet c6e22a2
- enables virtual properties injection based on language
baywet 353064e
- adds missing generator conditional cast properties
baywet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Submodule vipr
updated
11 files
This file contains hidden or 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
73 changes: 73 additions & 0 deletions
73
test/Typewriter.Test/TestDataJava/com/microsoft/graph/models/extensions/DirectoryObject.java
This file contains hidden or 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,73 @@ | ||
// ------------------------------------------------------------------------------ | ||
// 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.extensions; | ||
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.models.extensions.Entity; | ||
|
||
|
||
import com.google.gson.JsonObject; | ||
import com.google.gson.annotations.SerializedName; | ||
import com.google.gson.annotations.Expose; | ||
|
||
// **NOTE** This file was generated by a tool and any changes will be overwritten. | ||
|
||
/** | ||
* The class for the Directory Object. | ||
*/ | ||
public class DirectoryObject extends Entity implements IJsonBackedObject { | ||
|
||
|
||
/** | ||
* The Deleted Date Time. | ||
* | ||
*/ | ||
@SerializedName("deletedDateTime") | ||
@Expose | ||
public java.util.Calendar deletedDateTime; | ||
|
||
|
||
/** | ||
* The raw representation of this class | ||
*/ | ||
private JsonObject rawObject; | ||
|
||
/** | ||
* The serializer | ||
*/ | ||
private ISerializer serializer; | ||
|
||
/** | ||
* Gets the raw representation of this class | ||
* | ||
* @return the raw representation of this class | ||
*/ | ||
public JsonObject getRawObject() { | ||
return rawObject; | ||
} | ||
|
||
/** | ||
* Gets serializer | ||
* | ||
* @return the serializer | ||
*/ | ||
protected ISerializer getSerializer() { | ||
return serializer; | ||
} | ||
|
||
/** | ||
* Sets the raw JSON object | ||
* | ||
* @param serializer the serializer | ||
* @param json the JSON object to set this object to | ||
*/ | ||
public void setRawObject(final ISerializer serializer, final JsonObject json) { | ||
this.serializer = serializer; | ||
rawObject = json; | ||
|
||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.