Class TemplateCreationRequest
-
- All Implemented Interfaces:
-
java.io.Serializable
@Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class TemplateCreationRequest implements Serializable
TemplateCreationRequest
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
JSON_PROPERTY_SYSTEM_NAME
public String
systemName
public final static String
JSON_PROPERTY_TITLE
public String
title
public final static String
JSON_PROPERTY_PATH
public String
path
public final static String
JSON_PROPERTY_DRAFT
public String
draft
public final static String
JSON_PROPERTY_SECTION_ID
public Long
sectionId
public final static String
JSON_PROPERTY_LAYOUT_NAME
public String
layoutName
public final static String
JSON_PROPERTY_LAYOUT_ID
public Long
layoutId
public final static String
JSON_PROPERTY_LIQUID_ENABLED
public Boolean
liquidEnabled
public final static String
JSON_PROPERTY_HANDLER
public EnumHandler
handler
public final static String
JSON_PROPERTY_CONTENT_TYPE
public String
contentType
public final static String
JSON_PROPERTY_TYPE
public EnumTemplateType
type
-
Constructor Summary
Constructors Constructor Description TemplateCreationRequest()
-
Method Summary
-
-
Method Detail
-
getSystemName
@Nullable() String getSystemName()
Unique name for an object in 3scale CMS
- Returns:
systemName
-
setSystemName
void setSystemName(String systemName)
-
getSectionId
@Nullable() Long getSectionId()
Unique identifier for a `Section`
- Returns:
sectionId
-
setSectionId
void setSectionId(Long sectionId)
-
getLayoutName
@Nullable() String getLayoutName()
Get layoutName
- Returns:
layoutName
-
setLayoutName
void setLayoutName(String layoutName)
-
getLayoutId
@Nullable() Long getLayoutId()
Get layoutId
- Returns:
layoutId
-
setLayoutId
void setLayoutId(Long layoutId)
-
getLiquidEnabled
@Nullable() Boolean getLiquidEnabled()
Get liquidEnabled
- Returns:
liquidEnabled
-
setLiquidEnabled
void setLiquidEnabled(Boolean liquidEnabled)
-
getHandler
@Nullable() EnumHandler getHandler()
Get handler
- Returns:
handler
-
setHandler
void setHandler(EnumHandler handler)
-
getContentType
@Nullable() String getContentType()
Get contentType
- Returns:
contentType
-
setContentType
void setContentType(String contentType)
-
getType
@Nonnull() EnumTemplateType getType()
Get type
- Returns:
type
-
setType
void setType(EnumTemplateType type)
-
systemName
TemplateCreationRequest systemName(String systemName)
-
title
TemplateCreationRequest title(String title)
-
path
TemplateCreationRequest path(String path)
-
draft
TemplateCreationRequest draft(String draft)
-
sectionId
TemplateCreationRequest sectionId(Long sectionId)
-
layoutName
TemplateCreationRequest layoutName(String layoutName)
-
layoutId
TemplateCreationRequest layoutId(Long layoutId)
-
liquidEnabled
TemplateCreationRequest liquidEnabled(Boolean liquidEnabled)
-
handler
TemplateCreationRequest handler(EnumHandler handler)
-
contentType
TemplateCreationRequest contentType(String contentType)
-
type
TemplateCreationRequest type(EnumTemplateType type)
-
hashCode
int hashCode()
-
toUrlQueryString
String toUrlQueryString()
Convert the instance into URL query string.
- Returns:
URL query string
-
toUrlQueryString
String toUrlQueryString(String prefix)
Convert the instance into URL query string.
- Parameters:
prefix
- prefix of the query string- Returns:
URL query string
-
-
-
-