code.cloudfoundry.org/cli@v7.1.0+incompatible/cf/models/service_key.go (about)

     1  package models
     2  
     3  type ServiceKeyFields struct {
     4  	Name                string
     5  	GUID                string
     6  	URL                 string
     7  	ServiceInstanceGUID string
     8  	ServiceInstanceURL  string
     9  }
    10  
    11  type ServiceKeyRequest struct {
    12  	Name                string                 `json:"name"`
    13  	ServiceInstanceGUID string                 `json:"service_instance_guid"`
    14  	Params              map[string]interface{} `json:"parameters,omitempty"`
    15  }
    16  
    17  type ServiceKey struct {
    18  	Fields      ServiceKeyFields
    19  	Credentials map[string]interface{}
    20  }