All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.spotnext.spring.web.http.Status Maven / Gradle / Ivy

There is a newer version: 1.0.21-BETA-20190513
Show newest version
package io.spotnext.spring.web.http;

import com.google.gson.annotations.Expose;

/**
 * 

Status class.

* * @author mojo2012 * @version 1.0 * @since 1.0 */ public class Status { @Expose protected String code; @Expose protected String message; /** *

Constructor for Status.

* * @param code a {@link java.lang.String} object. * @param message a {@link java.lang.String} object. */ public Status(final String code, final String message) { this.code = code; this.message = message; } /** *

Getter for the field code.

* * @return a {@link java.lang.String} object. */ public String getCode() { return code; } /** *

Setter for the field code.

* * @param code a {@link java.lang.String} object. */ public void setCode(final String code) { this.code = code; } /** *

Getter for the field message.

* * @return a {@link java.lang.String} object. */ public String getMessage() { return message; } /** *

Setter for the field message.

* * @param message a {@link java.lang.String} object. */ public void setMessage(final String message) { this.message = message; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy