diff --git a/docs/enterprise-app-store/in-app-updates/index.md b/docs/enterprise-app-store/in-app-updates/index.md index 472d8a86d..d80a48981 100644 --- a/docs/enterprise-app-store/in-app-updates/index.md +++ b/docs/enterprise-app-store/in-app-updates/index.md @@ -325,6 +325,64 @@ public static class InAppUpdateHelper { } `} + +{` +namespace MAUI_IN_APP.Models; + +public class InAppUpdateModel +{ + public class UpdateResult + { + public string DownloadUrl { get; set; } + public string Version { get; set; } + } + public class TokenResponse + { + public string access_token { get; set; } + } + public class AppVersion + { + public string Id { get; set; } + public string ProfileId { get; set; } + public string AppResourceReferenceId { get; set; } + public string AppIconResourceReferenceId { get; set; } + public string Name { get; set; } + public string UniqueName { get; set; } + public string SignedCertName { get; set; } + public string Version { get; set; } + public string VersionCode { get; set; } + public int PublishType { get; set; } + public DateTime? PublishDate { get; set; } + public string PublishDateStr { get; set; } + public int PlatformType { get; set; } + public string FileName { get; set; } + public long FileSize { get; set; } + public int DownloadCount { get; set; } + public string Summary { get; set; } + public string ReleaseNotes { get; set; } + public DateTime? LatestNotificationDate { get; set; } + public DateTime CreateDate { get; set; } + public DateTime? UpdateDate { get; set; } + public string BuildId { get; set; } + public string AppIconUrl { get; set; } + public bool IsDownloadLimitExceeded { get; set; } + public int OrganizationDownloadCount { get; set; } + public int OrganizationDownloadLimit { get; set; } + } + public class AppVersionsResponse + { + public List data { get; set; } + } + + public enum PublishType + { + NotPublished = 0, + Beta, + Live, + } +} +`} + @@ -511,6 +569,64 @@ public static class InAppUpdateHelper { } `} + +{` +namespace MAUI_IN_APP.Models; + +public class InAppUpdateModel +{ + public class UpdateResult + { + public string DownloadUrl { get; set; } + public string Version { get; set; } + } + public class TokenResponse + { + public string access_token { get; set; } + } + public class AppVersion + { + public string Id { get; set; } + public string ProfileId { get; set; } + public string AppResourceReferenceId { get; set; } + public string AppIconResourceReferenceId { get; set; } + public string Name { get; set; } + public string UniqueName { get; set; } + public string SignedCertName { get; set; } + public string Version { get; set; } + public string VersionCode { get; set; } + public int PublishType { get; set; } + public DateTime? PublishDate { get; set; } + public string PublishDateStr { get; set; } + public int PlatformType { get; set; } + public string FileName { get; set; } + public long FileSize { get; set; } + public int DownloadCount { get; set; } + public string Summary { get; set; } + public string ReleaseNotes { get; set; } + public DateTime? LatestNotificationDate { get; set; } + public DateTime CreateDate { get; set; } + public DateTime? UpdateDate { get; set; } + public string BuildId { get; set; } + public string AppIconUrl { get; set; } + public bool IsDownloadLimitExceeded { get; set; } + public int OrganizationDownloadCount { get; set; } + public int OrganizationDownloadLimit { get; set; } + } + public class AppVersionsResponse + { + public List data { get; set; } + } + + public enum PublishType + { + NotPublished = 0, + Beta, + Live, + } +} +`} + @@ -739,6 +855,64 @@ public static class InAppUpdateHelper { } `} + +{` +namespace MAUI_IN_APP.Models; + +public class InAppUpdateModel +{ + public class UpdateResult + { + public string DownloadUrl { get; set; } + public string Version { get; set; } + } + public class TokenResponse + { + public string access_token { get; set; } + } + public class AppVersion + { + public string Id { get; set; } + public string ProfileId { get; set; } + public string AppResourceReferenceId { get; set; } + public string AppIconResourceReferenceId { get; set; } + public string Name { get; set; } + public string UniqueName { get; set; } + public string SignedCertName { get; set; } + public string Version { get; set; } + public string VersionCode { get; set; } + public int PublishType { get; set; } + public DateTime? PublishDate { get; set; } + public string PublishDateStr { get; set; } + public int PlatformType { get; set; } + public string FileName { get; set; } + public long FileSize { get; set; } + public int DownloadCount { get; set; } + public string Summary { get; set; } + public string ReleaseNotes { get; set; } + public DateTime? LatestNotificationDate { get; set; } + public DateTime CreateDate { get; set; } + public DateTime? UpdateDate { get; set; } + public string BuildId { get; set; } + public string AppIconUrl { get; set; } + public bool IsDownloadLimitExceeded { get; set; } + public int OrganizationDownloadCount { get; set; } + public int OrganizationDownloadLimit { get; set; } + } + public class AppVersionsResponse + { + public List data { get; set; } + } + + public enum PublishType + { + NotPublished = 0, + Beta, + Live, + } +} +`} + @@ -976,6 +1150,64 @@ public static class InAppUpdateHelper { } `} + +{` +namespace MAUI_IN_APP.Models; + +public class InAppUpdateModel +{ + public class UpdateResult + { + public string DownloadUrl { get; set; } + public string Version { get; set; } + } + public class TokenResponse + { + public string access_token { get; set; } + } + public class AppVersion + { + public string Id { get; set; } + public string ProfileId { get; set; } + public string AppResourceReferenceId { get; set; } + public string AppIconResourceReferenceId { get; set; } + public string Name { get; set; } + public string UniqueName { get; set; } + public string SignedCertName { get; set; } + public string Version { get; set; } + public string VersionCode { get; set; } + public int PublishType { get; set; } + public DateTime? PublishDate { get; set; } + public string PublishDateStr { get; set; } + public int PlatformType { get; set; } + public string FileName { get; set; } + public long FileSize { get; set; } + public int DownloadCount { get; set; } + public string Summary { get; set; } + public string ReleaseNotes { get; set; } + public DateTime? LatestNotificationDate { get; set; } + public DateTime CreateDate { get; set; } + public DateTime? UpdateDate { get; set; } + public string BuildId { get; set; } + public string AppIconUrl { get; set; } + public bool IsDownloadLimitExceeded { get; set; } + public int OrganizationDownloadCount { get; set; } + public int OrganizationDownloadLimit { get; set; } + } + public class AppVersionsResponse + { + public List data { get; set; } + } + + public enum PublishType + { + NotPublished = 0, + Beta, + Live, + } +} +`} +