github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+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  }