func (c *Client) OverwriteSettings(subjectID, contents string) error {
	const query = `
mutation OverwriteSettings($subject: ID!, $contents: String!) {
	settingsMutation(input: { subject: $subject }) {
		overwriteSettings(contents: $contents) {
			empty {
				alwaysNil
			}
		}
	}
}
`
	variables := map[string]interface{}{
		"subject":  subjectID,
		"contents": contents,
	}
	err := c.GraphQL("", query, variables, nil)
	if err != nil {
		return errors.Wrap(err, "request GraphQL")
	}
	return nil
}
// OverwriteSettings overwrites settings for given subject ID with contents.
OverwriteSettings overwrites settings for given subject ID with contents.
// OverwriteSettings overwrites settings for given subject ID with contents .
func (c *Client) OverwriteSettings(subjectID, contents string) error {
	const query = `
mutation OverwriteSettings($subject: ID!, $contents: String!) {
	settingsMutation(input: { subject: $subject }) {
		overwriteSettings(contents: $contents) {
			empty {
				alwaysNil
			}
		}
	}
}
`
	variables := map[string]interface{}{
		"subject":  subjectID,
		"contents": contents,
	}
	err := c.GraphQL("", query, variables, nil)
	if err != nil {
		return errors.Wrap(err, "request GraphQL")
	}
	return nil
}
func ( c * Client ) OverwriteSettings ( subjectID , contents string ) error { const query = `
mutation OverwriteSettings($subject: ID!, $contents: String!) {
	settingsMutation(input: { subject: $subject }) {
		overwriteSettings(contents: $contents) {
			empty {
				alwaysNil
			}
		}
	}
}
` variables := map [ string ] interface { } { " " : subjectID , " " : contents , } err := c . GraphQL ( " " , query , variables , nil ) if err != nil { return errors . Wrap ( err , " " ) } return nil }
OverwriteSettings overwrites settings for given subject ID with contents.
OverwriteSettings overwrites settings for given subject ID with contents .