-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed a typo in SharingPermission. * Added a method for modifying a media in AssetBankManager. * Specified an ItemConverterType for the IsPublic property on the Media model.
- Loading branch information
1 parent
c30e025
commit 7865e63
Showing
8 changed files
with
104 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Bynder.Api.Converters; | ||
|
||
namespace Bynder.Api.Queries | ||
{ | ||
/// <summary> | ||
/// Query to modify a media with | ||
/// </summary> | ||
public class ModifyMediaQuery | ||
{ | ||
/// <summary> | ||
/// Initializes the class with required information | ||
/// </summary> | ||
/// <param name="mediaId">The media to be modified</param> | ||
public ModifyMediaQuery(string mediaId) | ||
{ | ||
MediaId = mediaId; | ||
} | ||
|
||
/// <summary> | ||
/// Id of the media to modify | ||
/// </summary> | ||
public string MediaId { get; private set; } | ||
|
||
/// <summary> | ||
/// Name of the media | ||
/// </summary> | ||
[APIField("name")] | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Description of the media | ||
/// </summary> | ||
[APIField("description")] | ||
public string Description { get; set; } | ||
|
||
/// <summary> | ||
/// Copyright information for the media | ||
/// </summary> | ||
[APIField("copyright")] | ||
public string Copyright { get; set; } | ||
|
||
/// <summary> | ||
/// Indicates if the media is archived | ||
/// </summary> | ||
[APIField("archive")] | ||
public bool Archive { get; set; } | ||
|
||
/// <summary> | ||
/// Indicates if the media is public | ||
/// </summary> | ||
[APIField("isPublic")] | ||
public bool IsPublic { get; set; } | ||
} | ||
} | ||
|
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