func (network *Network) Writable() NetworkPut {
	return network.NetworkPut
}
Writable converts a full Network struct into a NetworkPut struct (filters read-only fields)
package api
type NetworksPost struct {
	NetworkPut `yaml:",inline"`
	Managed bool   `json:"managed" yaml:"managed"`
	Name    string `json:"name" yaml:"name"`
	Type    string `json:"type" yaml:"type"`
}
type NetworkPost struct {
	Name string `json:"name" yaml:"name"`
}
type NetworkPut struct {
	Config map[string]string `json:"config" yaml:"config"`
	Description string `json:"description" yaml:"description"`
}
type Network struct {
	NetworkPut `yaml:",inline"`
	Name   string   `json:"name" yaml:"name"`
	Type   string   `json:"type" yaml:"type"`
	UsedBy []string `json:"used_by" yaml:"used_by"`
	Managed bool `json:"managed" yaml:"managed"`
	Status    string   `json:"status" yaml:"status"`
	Locations []string `json:"locations" yaml:"locations"`
}