mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
update go docs and examples
This commit is contained in:
@@ -68,13 +68,13 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
data := []byte(`{
|
||||
exportpayload := []byte(`{
|
||||
"description" : "Export Job 1 Test"
|
||||
}`) // ExportPayload | Export options control what will be included in the export.
|
||||
|
||||
|
||||
var exportPayload beta.ExportPayload
|
||||
if err := json.Unmarshal(data, &exportPayload); err != nil {
|
||||
if err := json.Unmarshal(exportpayload, &exportPayload); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
@@ -423,7 +423,7 @@ import (
|
||||
func main() {
|
||||
data := BINARY_DATA_HERE // *os.File | JSON file containing the objects to be imported. # *os.File | JSON file containing the objects to be imported.
|
||||
preview := true // bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to false) # bool | This option is intended to give the user information about how an import operation would proceed, without having any effect on the target tenant. If this parameter is \"true\", no objects will be imported. Instead, the import process will pre-process the import file and attempt to resolve references within imported objects. The import result file will contain messages pertaining to how specific references were resolved, any errors associated with the preprocessing, and messages indicating which objects would be imported. (optional) (default to false)
|
||||
data := []byte(``) // ImportOptions | (optional)
|
||||
options := []byte(``) // ImportOptions | (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user