func (c *Client) SetRelationSuspended(relationIds []int, suspended bool, message string) error {
	var args params.RelationSuspendedArgs
	for _, relId := range relationIds {
		args.Args = append(args.Args, params.RelationSuspendedArg{
			RelationId: relId,
			Suspended:  suspended,
			Message:    message,
		})
	}
	var results params.ErrorResults
	if err := c.facade.FacadeCall("SetRelationsSuspended", args, &results); err != nil {
		return errors.Trace(err)
	}
	if len(results.Results) != len(args.Args) {
		return errors.Errorf("expected %d results, got %d", len(args.Args), len(results.Results))
	}
	return results.Combine()
}
// SetRelationSuspended updates the suspended status of the relation with the specified id.
SetRelationSuspended updates the suspended status of the relation with the specified id.
// SetRelationSuspended updates the suspended status of the relation with the specified id .
func (c *Client) SetRelationSuspended(relationIds []int, suspended bool, message string) error {
	var args params.RelationSuspendedArgs
	for _, relId := range relationIds {
		args.Args = append(args.Args, params.RelationSuspendedArg{
			RelationId: relId,
			Suspended:  suspended,
			Message:    message,
		})
	}
	var results params.ErrorResults
	if err := c.facade.FacadeCall("SetRelationsSuspended", args, &results); err != nil {
		return errors.Trace(err)
	}
	if len(results.Results) != len(args.Args) {
		return errors.Errorf("expected %d results, got %d", len(args.Args), len(results.Results))
	}
	return results.Combine()
}
func ( c * Client ) SetRelationSuspended ( relationIds [ ] int , suspended bool , message string ) error { var args params . RelationSuspendedArgs for _ , relId := range relationIds { args . Args = append ( args . Args , params . RelationSuspendedArg { RelationId : relId , Suspended : suspended , Message : message , } ) } var results params . ErrorResults if err := c . facade . FacadeCall ( " " , args , & results ) ; err != nil { return errors . Trace ( err ) } if len ( results . Results ) != len ( args . Args ) { return errors . Errorf ( " " , len ( args . Args ) , len ( results . Results ) ) } return results . Combine ( ) }
SetRelationSuspended updates the suspended status of the relation with the specified id.
SetRelationSuspended updates the suspended status of the relation with the specified id .