
com.ibm.cloud.eventnotifications.event_notifications.v1.model.TemplateResponse Maven / Gradle / Ivy
/*
* (C) Copyright IBM Corp. 2023.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
package com.ibm.cloud.eventnotifications.event_notifications.v1.model;
import java.util.Date;
import com.google.gson.annotations.SerializedName;
import com.ibm.cloud.sdk.core.service.model.GenericModel;
/**
* Payload describing a template get request.
*/
public class TemplateResponse extends GenericModel {
protected String id;
protected String name;
protected String description;
protected String type;
protected TemplateConfig params;
@SerializedName("created_at")
protected Date createdAt;
protected TemplateResponse() { }
/**
* Gets the id.
*
* Template ID.
*
* @return the id
*/
public String getId() {
return id;
}
/**
* Gets the name.
*
* Template name.
*
* @return the name
*/
public String getName() {
return name;
}
/**
* Gets the description.
*
* Template description.
*
* @return the description
*/
public String getDescription() {
return description;
}
/**
* Gets the type.
*
* The type of template.
*
* @return the type
*/
public String getType() {
return type;
}
/**
* Gets the params.
*
* Payload describing a template configuration.
*
* @return the params
*/
public TemplateConfig getParams() {
return params;
}
/**
* Gets the createdAt.
*
* Created time.
*
* @return the createdAt
*/
public Date getCreatedAt() {
return createdAt;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy