Skip to content

Commit af6340b

Browse files
authored
Ab#82568 (#30)
* feat(client): Update client to be compatible with vcr tests * feat(v24): add certificate cleanup fields to template models Add CertificateCleanupEnabled, TimeAfterExpiration, TimeAfterExpirationUnits, and DeleteWithArchivedKey to TemplatesTemplateRetrievalResponse and TemplatesTemplateUpdateRequest. Add CSSCMSDataModelEnumsCertificateCleanupTimeUnits enum (0=Days, 1=Weeks, 2=Months). Guard nullable field getters against nil pointer dereference when JSON null is present. * feat(v24/v25): add Manageability field to template retrieval response Add NullableInt32 Manageability field with getter/setter and ToMap entry to TemplatesTemplateRetrievalResponse in both v24 and v25 SDK packages. Field is read-only (v25+) and was present in JSON responses but missing from the Go struct, causing it to always deserialize as zero.
1 parent 1ad9758 commit af6340b

10 files changed

Lines changed: 471 additions & 23 deletions

v24/api/keyfactor/v1/client.go

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v24/api/keyfactor/v1/model_css_cms_core_enums_enrollment_type.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v24/api/keyfactor/v1/model_css_cms_core_enums_key_retention_policy.go

Lines changed: 28 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v24/api/keyfactor/v1/model_css_cms_data_model_enums_certificate_cleanup_time_units.go

Lines changed: 144 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v24/api/keyfactor/v1/model_templates_template_retrieval_response.go

Lines changed: 83 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)