github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/cf/models/user_provided_service.go (about)

     1  package models
     2  
     3  type UserProvidedServiceSummary struct {
     4  	Total     int                         `json:"total_results"`
     5  	Resources []UserProvidedServiceEntity `json:"resources"`
     6  }
     7  
     8  type UserProvidedService struct {
     9  	Name            string                 `json:"name,omitempty"`
    10  	Credentials     map[string]interface{} `json:"credentials"`
    11  	SpaceGUID       string                 `json:"space_guid,omitempty"`
    12  	SysLogDrainURL  string                 `json:"syslog_drain_url"`
    13  	RouteServiceURL string                 `json:"route_service_url"`
    14  }
    15  
    16  type UserProvidedServiceEntity struct {
    17  	UserProvidedService `json:"entity"`
    18  }