Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/generator/AutoRest.Ruby.Azure/Model/PageRba.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public PageRba(CompositeType source, string nextLinkName, string itemName)

public string ItemName { get; private set; }

public CompositeType ItemType
public IModelType ItemType
{
get
{
Expand All @@ -31,7 +31,7 @@ public CompositeType ItemType
Property property = Properties.FirstOrDefault(p => p.ModelType is SequenceType);
if (property != null)
{
return ((SequenceType)property.ModelType).ElementType as CompositeType;
return ((SequenceType)property.ModelType).ElementType;
}
else
{
Expand Down