Service defines model for service.
| 373 | |
| 374 | // Service defines model for service. |
| 375 | type Service struct { |
| 376 | // LocalhostPort A port number for use on localhost or null. |
| 377 | LocalhostPort *int `json:"localhost_port"` |
| 378 | |
| 379 | // Name A name for the service. |
| 380 | Name string `json:"name"` |
| 381 | |
| 382 | // Relationships Values used as parameters when referencing related resources. |
| 383 | Relationships struct { |
| 384 | Organization RelationshipsOrganizationSlug `json:"organization"` |
| 385 | } `json:"relationships"` |
| 386 | |
| 387 | // ServerType A server type for the service. |
| 388 | ServerType ServiceServerType `json:"server_type"` |
| 389 | |
| 390 | // Slug A value used as a parameter when referencing this service. |
| 391 | Slug string `json:"slug"` |
| 392 | } |
| 393 | |
| 394 | // ServiceServerType A server type for the service. |
| 395 | type ServiceServerType string |
nothing calls this directly
no outgoing calls
no test coverage detected