Package video.api.client.api.models
Class BadRequest
- java.lang.Object
-
- video.api.client.api.models.BadRequest
-
- All Implemented Interfaces:
Serializable,DeepObject
public class BadRequest extends Object implements Serializable, DeepObject
BadRequest- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PROBLEMSstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_TITLEstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description BadRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BadRequestaddProblemsItem(AdditionalBadRequestErrors problemsItem)booleanequals(Object o)StringgetName()The name of the parameter that caused the error.Set<AdditionalBadRequestErrors>getProblems()Returns any additional problems in the request in an array of objects.IntegergetStatus()The HTTP status code.StringgetTitle()A description of the error that occurred.StringgetType()A link to the error documentation.inthashCode()BadRequestname(String name)BadRequestproblems(Set<AdditionalBadRequestErrors> problems)voidsetName(String name)voidsetProblems(Set<AdditionalBadRequestErrors> problems)voidsetStatus(Integer status)voidsetTitle(String title)voidsetType(String type)BadRequeststatus(Integer status)BadRequesttitle(String title)StringtoString()BadRequesttype(String type)
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROBLEMS
public static final String SERIALIZED_NAME_PROBLEMS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public BadRequest type(String type)
-
getType
@Nullable public String getType()
A link to the error documentation.- Returns:
- type
-
setType
public void setType(String type)
-
title
public BadRequest title(String title)
-
getTitle
@Nullable public String getTitle()
A description of the error that occurred.- Returns:
- title
-
setTitle
public void setTitle(String title)
-
name
public BadRequest name(String name)
-
getName
@Nullable public String getName()
The name of the parameter that caused the error.- Returns:
- name
-
setName
public void setName(String name)
-
status
public BadRequest status(Integer status)
-
getStatus
@Nullable public Integer getStatus()
The HTTP status code.- Returns:
- status
-
setStatus
public void setStatus(Integer status)
-
problems
public BadRequest problems(Set<AdditionalBadRequestErrors> problems)
-
addProblemsItem
public BadRequest addProblemsItem(AdditionalBadRequestErrors problemsItem)
-
getProblems
@Nullable public Set<AdditionalBadRequestErrors> getProblems()
Returns any additional problems in the request in an array of objects.- Returns:
- problems
-
setProblems
public void setProblems(Set<AdditionalBadRequestErrors> problems)
-
-