func (o Origin) CharmChannel() charm.Channel {
	var track string
	if o.Track != nil {
		track = *o.Track
	}
	var branch string
	if o.Branch != nil {
		branch = *o.Branch
	}
	return charm.Channel{
		Track:  track,
		Risk:   charm.Risk(o.Risk),
		Branch: branch,
	}
}
// CharmChannel returns the the channel indicated by this origin.
CharmChannel returns the the channel indicated by this origin.
// CharmChannel returns the the channel indicated by this origin .
func (o Origin) CharmChannel() charm.Channel {
	var track string
	if o.Track != nil {
		track = *o.Track
	}
	var branch string
	if o.Branch != nil {
		branch = *o.Branch
	}
	return charm.Channel{
		Track:  track,
		Risk:   charm.Risk(o.Risk),
		Branch: branch,
	}
}
func ( o Origin ) CharmChannel ( ) charm . Channel { var track string if o . Track != nil { track = * o . Track } var branch string if o . Branch != nil { branch = * o . Branch } return charm . Channel { Track : track , Risk : charm . Risk ( o . Risk ) , Branch : branch , } }
CharmChannel returns the the channel indicated by this origin.
CharmChannel returns the the channel indicated by this origin .