// Returns Style sheet JSON object for the Assistant
Returns Style sheet JSON object for the Assistant
// Returns Style sheet JSON object for the Assistant
func (c *DefaultApiService) FetchStyleSheet(AssistantSid string) (*AutopilotV1AssistantStyleSheet, error) {
	path := "/v1/Assistants/{AssistantSid}/StyleSheet"
	path = strings.Replace(path, "{"+"AssistantSid"+"}", AssistantSid, -1)
	data := url.Values{}
	headers := make(map[string]interface{})
	resp, err := c.requestHandler.Get(c.baseURL+path, data, headers)
	if err != nil {
		return nil, err
	}
	defer resp.Body.Close()
	ps := &AutopilotV1AssistantStyleSheet{}
	if err := json.NewDecoder(resp.Body).Decode(ps); err != nil {
		return nil, err
	}
	return ps, err
}
func ( c * DefaultApiService ) FetchStyleSheet ( AssistantSid string ) ( * AutopilotV1AssistantStyleSheet , error ) { path := " " path = strings . Replace ( path , " " + " " + " " , AssistantSid , - 1 ) data := url . Values { } headers := make ( map [ string ] interface { } ) resp , err := c . requestHandler . Get ( c . baseURL + path , data , headers ) if err != nil { return nil , err } defer resp . Body . Close ( ) ps := & AutopilotV1AssistantStyleSheet { } if err := json . NewDecoder ( resp . Body ) . Decode ( ps ) ; err != nil { return nil , err } return ps , err }
Returns Style sheet JSON object for the Assistant
Returns Style sheet JSON object for the Assistant