001package ca.cdr.api.model.json.appgallery.console;
002
003/*
004 * #%L
005 * Smile CDR - CDR
006 * %%
007 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
008 * %%
009 * All rights reserved.
010 * #L%
011 */
012
013import ca.cdr.api.model.json.AbstractModelJson;
014import ca.cdr.api.model.json.AuditableJson;
015import ca.cdr.api.model.json.appgallery.common.AGIdentifierJson;
016import ca.cdr.api.model.json.appgallery.common.AGPermissionJson;
017import ca.cdr.api.model.json.appgallery.common.AGProfileSummaryJson;
018import io.swagger.v3.oas.annotations.media.Schema;
019
020import java.util.List;
021
022public class AGConsoleSummaryJson extends AbstractModelJson {
023        public AGIdentifierJson identifier;
024        public AuditableJson auditable;
025
026        @Schema(description = "Developer Profile Summary")
027        public AGProfileSummaryJson profile;
028
029        public String name;
030
031        @Schema(description = "Status of the application (Live, Suspended, ect...)")
032        public String status;
033
034        @Schema(description = "Whether the attestation has been accepted")
035        public boolean attestationAccepted;
036
037        @Schema(description = "Application version")
038        public long version;
039
040        @Schema(description = "Application icon (base64 encoded)")
041        public String icon;
042
043        @Schema(description = "OIDC client ermissions needed for this application to work")
044        public AGPermissionJson permission;
045
046        @Schema(description = "Information to help users search for and find the application.")
047        public List<String> classification;
048}