public JsonPatchDocument <ApiCertificateRequestModel> CreatePatch(ApiCertificateRequestModel model)
        {
            var patch = new JsonPatchDocument <ApiCertificateRequestModel>();

            patch.Replace(x => x.Archived, model.Archived);
            patch.Replace(x => x.Created, model.Created);
            patch.Replace(x => x.DataVersion, model.DataVersion);
            patch.Replace(x => x.EnvironmentIds, model.EnvironmentIds);
            patch.Replace(x => x.JSON, model.JSON);
            patch.Replace(x => x.Name, model.Name);
            patch.Replace(x => x.NotAfter, model.NotAfter);
            patch.Replace(x => x.Subject, model.Subject);
            patch.Replace(x => x.TenantIds, model.TenantIds);
            patch.Replace(x => x.TenantTags, model.TenantTags);
            patch.Replace(x => x.Thumbprint, model.Thumbprint);
            return(patch);
        }
        public virtual ApiCertificateRequestModel MapResponseToRequest(
            ApiCertificateResponseModel response)
        {
            var request = new ApiCertificateRequestModel();

            request.SetProperties(
                response.Archived,
                response.Created,
                response.DataVersion,
                response.EnvironmentIds,
                response.JSON,
                response.Name,
                response.NotAfter,
                response.Subject,
                response.TenantIds,
                response.TenantTags,
                response.Thumbprint);
            return(request);
        }