-
Notifications
You must be signed in to change notification settings - Fork 2
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 #9 from zoho/beta
3.0.0
- Loading branch information
Showing
1,330 changed files
with
141,858 additions
and
20 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Com.Zoho.Crm.API.Users | ||
{ | ||
|
||
public interface CountHandler | ||
{ | ||
} | ||
} |
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,59 @@ | ||
using Com.Zoho.Crm.API.Util; | ||
using System.Collections.Generic; | ||
|
||
namespace Com.Zoho.Crm.API.Users | ||
{ | ||
|
||
public class CountWrapper : Model, CountHandler | ||
{ | ||
private long? count; | ||
private Dictionary<string, int?> keyModified=new Dictionary<string, int?>(); | ||
|
||
public long? Count | ||
{ | ||
/// <summary>The method to get the count</summary> | ||
/// <returns>long? representing the count</returns> | ||
get | ||
{ | ||
return this.count; | ||
|
||
} | ||
/// <summary>The method to set the value to count</summary> | ||
/// <param name="count">long?</param> | ||
set | ||
{ | ||
this.count=value; | ||
|
||
this.keyModified["count"] = 1; | ||
|
||
} | ||
} | ||
|
||
/// <summary>The method to check if the user has modified the given key</summary> | ||
/// <param name="key">string</param> | ||
/// <returns>int? representing the modification</returns> | ||
public int? IsKeyModified(string key) | ||
{ | ||
if((( this.keyModified.ContainsKey(key)))) | ||
{ | ||
return this.keyModified[key]; | ||
|
||
} | ||
return null; | ||
|
||
|
||
} | ||
|
||
/// <summary>The method to mark the given key as modified</summary> | ||
/// <param name="key">string</param> | ||
/// <param name="modification">int?</param> | ||
public void SetKeyModified(string key, int? modification) | ||
{ | ||
this.keyModified[key] = modification; | ||
|
||
|
||
} | ||
|
||
|
||
} | ||
} |
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
Oops, something went wrong.