# Packages
No description provided by the author
# README
github.com/speakeasy-sdks/logicgate-dev-sample-sdk
SDK Installation
go get github.com/speakeasy-sdks/logicgate-dev-sample-sdk
SDK Example Usage
package main
import (
"context"
logicgatedevsamplesdk "github.com/speakeasy-sdks/logicgate-dev-sample-sdk"
"github.com/speakeasy-sdks/logicgate-dev-sample-sdk/pkg/models/shared"
"log"
)
func main() {
s := logicgatedevsamplesdk.New(
logicgatedevsamplesdk.WithSecurity(shared.Security{
Basic: &shared.SchemeBasic{
Password: "",
Username: "",
},
}),
)
applicationAPICreateIn := shared.ApplicationAPICreateIn{
Color: logicgatedevsamplesdk.String("#00a3de"),
Icon: shared.ApplicationAPICreateInIconCubes.ToPointer(),
Name: "Cyber Risk Management Application",
Type: shared.ApplicationAPICreateInTypeControlsCompliance.ToPointer(),
}
ctx := context.Background()
res, err := s.Application.Create(ctx, applicationAPICreateIn)
if err != nil {
log.Fatal(err)
}
if res.ApplicationAPIOut != nil {
// handle response
}
}
Available Resources and Operations
Application
- Create - Create an application
- Delete - Delete an application
- Read - Retrieve an application
- ReadAll - Retrieve applications
- Update - Update an application
Authentication
- GetAPIToken - Create an API Access Token
Field
- ReadAll - Retrieve fields
Record
- ReadAll - Retrieve records
Step
- Create - Create a step
- Delete - Delete a step
- Read - Retrieve a step
- ReadAll - Retrieve steps
- Update - Update a step
Workflow
- Create - Create a workflow
- Delete - Delete a workflow
- Read - Retrieve a workflow
- ReadAll - Retrieve workflows
- Update - Update a workflow
WorkflowMap
- Create - Create a workflow map
- Delete - Delete a workflow map
- Read - Retrieve a workflow map
- ReadAll - Retrieve workflow maps
- Update - Update a workflow map
Development
Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
Contributions
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!