# KlaviyoAPI::TemplateCreateQueryResourceObjectAttributes ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **name** | **String** | The name of the template | | | **editor_type** | **String** | Restricted to CODE | | | **html** | **String** | The HTML contents of the template | [optional] | | **text** | **String** | The plaintext version of the template | [optional] | ## Example ```ruby require 'klaviyo-api-sdk' instance = KlaviyoAPI::TemplateCreateQueryResourceObjectAttributes.new( name: Monthly Newsletter Template, editor_type: null, html: <html> <body> hello world </body> </html> , text: hello world ) ```