func (o Origin) ParamsCharmOrigin() params.CharmOrigin {
	return params.CharmOrigin{
		Source:       o.Source.String(),
		Type:         o.Type,
		ID:           o.ID,
		Hash:         o.Hash,
		Revision:     o.Revision,
		Risk:         o.Risk,
		Track:        o.Track,
		Branch:       o.Branch,
		Architecture: o.Architecture,
		OS:           o.OS,
		Series:       o.Series,
		InstanceKey:  o.InstanceKey,
	}
}
// ParamsCharmOrigin is a helper method to get a params version
// of this structure.
ParamsCharmOrigin is a helper method to get a params version
of this structure.
// ParamsCharmOrigin is a helper method to get a params version // of this structure .
func (o Origin) ParamsCharmOrigin() params.CharmOrigin {
	return params.CharmOrigin{
		Source:       o.Source.String(),
		Type:         o.Type,
		ID:           o.ID,
		Hash:         o.Hash,
		Revision:     o.Revision,
		Risk:         o.Risk,
		Track:        o.Track,
		Branch:       o.Branch,
		Architecture: o.Architecture,
		OS:           o.OS,
		Series:       o.Series,
		InstanceKey:  o.InstanceKey,
	}
}
func ( o Origin ) ParamsCharmOrigin ( ) params . CharmOrigin { return params . CharmOrigin { Source : o . Source . String ( ) , Type : o . Type , ID : o . ID , Hash : o . Hash , Revision : o . Revision , Risk : o . Risk , Track : o . Track , Branch : o . Branch , Architecture : o . Architecture , OS : o . OS , Series : o . Series , InstanceKey : o . InstanceKey , } }
ParamsCharmOrigin is a helper method to get a params version
of this structure.
ParamsCharmOrigin is a helper method to get a params version of this structure .