PageProps
Properties for defining a Page.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-page
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.PageProps {
ContentType: interface{},
PageName: interface{},
Content: interface{},
Description: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
ContentType | interface{} | Property contentType: The Content-Type field in the HTTP header. |
PageName | interface{} | Property pageName: The name of the custom response page. |
Content | interface{} | Property content: The Base64-encoded page content. |
Description | interface{} | Property description: The description of the page. |
ContentTypeRequired
ContentType interface{}
- Type: interface{}
Property contentType: The Content-Type field in the HTTP header.
Valid values: text/html application/json
PageNameRequired
PageName interface{}
- Type: interface{}
Property pageName: The name of the custom response page.
ContentOptional
Content interface{}
- Type: interface{}
Property content: The Base64-encoded page content.
Example: "PGh0bWw+aGVsbG8gcGFnZTwvaHRtbD4=", which indicates "hello page".
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: The description of the page.