github.com/Axway/agent-sdk@v1.1.101/pkg/apic/provisioning/accessrequest.go (about) 1 package provisioning 2 3 // AccessRequest - interface for agents to use to get necessary access request details 4 type AccessRequest interface { 5 // GetApplicationDetailsValue returns a value found on the 'x-agent-details' sub resource of the ManagedApplications. 6 GetApplicationDetailsValue(key string) string 7 // GetApplicationName returns the name of the managed application for this credential 8 GetApplicationName() string 9 // GetID returns the ID of the resource for the request 10 GetID() string 11 // GetAccessRequestDetailsValue returns a value found on the 'x-agent-details' sub resource of the AccessRequest. 12 GetAccessRequestDetailsValue(key string) string 13 // GetAccessRequestData returns the map[string]interface{} of data from the request 14 GetAccessRequestData() map[string]interface{} 15 // GetAccessRequestProvisioningData returns the interface{} of data from the provisioning response 16 GetAccessRequestProvisioningData() interface{} 17 // GetInstanceDetails returns the 'x-agent-details' sub resource of the API Service Instance 18 GetInstanceDetails() map[string]interface{} 19 // GetQuota returns the quota from within the access request 20 GetQuota() Quota 21 }