Skip to content

Commit a3a29af

Browse files
committed
fix(models): StoreType generic output does not need to include JobProperties or StorePathType as they're computed by Command after POST.
1 parent 0f97c38 commit a3a29af

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

v2/api/store_type_models.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ type CertificateStoreTypeGeneric struct {
99
Properties *[]StoreTypePropertyDefinitionGeneric `json:"Properties"`
1010
EntryParameters *[]EntryParameterGeneric `json:"EntryParameters"`
1111
PasswordOptions *StoreTypePasswordOptions `json:"PasswordOptions"`
12-
StorePathType string `json:"StorePathType"`
13-
StorePathValue string `json:"StorePathValue"`
14-
PrivateKeyAllowed string `json:"PrivateKeyAllowed"`
15-
JobProperties *[]string `json:"JobProperties"`
16-
ServerRequired bool `json:"ServerRequired"`
17-
PowerShell bool `json:"PowerShell"`
18-
BlueprintAllowed bool `json:"BlueprintAllowed"`
19-
CustomAliasAllowed string `json:"CustomAliasAllowed"`
12+
//StorePathType string `json:"StorePathType"` # This is not returned in the API and computed after POST
13+
StorePathValue string `json:"StorePathValue"`
14+
PrivateKeyAllowed string `json:"PrivateKeyAllowed"`
15+
//JobProperties *[]string `json:"JobProperties"` # This is not returned in the API and computed after POST
16+
ServerRequired bool `json:"ServerRequired"`
17+
PowerShell bool `json:"PowerShell"`
18+
BlueprintAllowed bool `json:"BlueprintAllowed"`
19+
CustomAliasAllowed string `json:"CustomAliasAllowed"`
2020
}
2121

2222
type CertificateStoreType struct {

0 commit comments

Comments
 (0)