Class CORSConfigurationEntryResponse
- java.lang.Object
-
- com.vidispine.generated.CORSConfigurationEntryResponse
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.CopyTo2
,org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
public class CORSConfigurationEntryResponse extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for CORSConfigurationEntryResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CORSConfigurationEntryResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="allowOrigin" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="allowMethods" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="allowHeaders" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="allowMaxAge" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="allowOtherHeader" type="{http://xml.vidispine.com/schema/vidispine}KeyValuePairType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CORSConfigurationEntryResponse.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
allowHeaders
protected Integer
allowMaxAge
protected List<String>
allowMethods
protected String
allowOrigin
protected List<KeyValuePairType>
allowOtherHeader
-
Constructor Summary
Constructors Constructor Description CORSConfigurationEntryResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Object
createNewInstance()
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
List<String>
getAllowHeaders()
Gets the value of the allowHeaders property.Integer
getAllowMaxAge()
Gets the value of the allowMaxAge property.List<String>
getAllowMethods()
Gets the value of the allowMethods property.String
getAllowOrigin()
Gets the value of the allowOrigin property.List<KeyValuePairType>
getAllowOtherHeader()
Gets the value of the allowOtherHeader property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetAllowHeaders()
boolean
isSetAllowMaxAge()
boolean
isSetAllowMethods()
boolean
isSetAllowOrigin()
boolean
isSetAllowOtherHeader()
void
setAllowMaxAge(Integer value)
Sets the value of the allowMaxAge property.void
setAllowOrigin(String value)
Sets the value of the allowOrigin property.void
unsetAllowHeaders()
void
unsetAllowMethods()
void
unsetAllowOtherHeader()
CORSConfigurationEntryResponse
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
CORSConfigurationEntryResponse
withAllowHeaders(String... values)
CORSConfigurationEntryResponse
withAllowHeaders(Collection<String> values)
CORSConfigurationEntryResponse
withAllowMaxAge(Integer value)
CORSConfigurationEntryResponse
withAllowMethods(String... values)
CORSConfigurationEntryResponse
withAllowMethods(Collection<String> values)
CORSConfigurationEntryResponse
withAllowOrigin(String value)
CORSConfigurationEntryResponse
withAllowOtherHeader(KeyValuePairType... values)
CORSConfigurationEntryResponse
withAllowOtherHeader(Collection<KeyValuePairType> values)
-
-
-
Method Detail
-
getAllowOrigin
public String getAllowOrigin()
Gets the value of the allowOrigin property.- Returns:
- possible object is
String
-
setAllowOrigin
public void setAllowOrigin(String value)
Sets the value of the allowOrigin property.- Parameters:
value
- allowed object isString
-
isSetAllowOrigin
public boolean isSetAllowOrigin()
-
getAllowMethods
public List<String> getAllowMethods()
Gets the value of the allowMethods property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the allowMethods property.For example, to add a new item, do as follows:
getAllowMethods().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
isSetAllowMethods
public boolean isSetAllowMethods()
-
unsetAllowMethods
public void unsetAllowMethods()
-
getAllowHeaders
public List<String> getAllowHeaders()
Gets the value of the allowHeaders property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the allowHeaders property.For example, to add a new item, do as follows:
getAllowHeaders().add(newItem);
Objects of the following type(s) are allowed in the list
String
-
isSetAllowHeaders
public boolean isSetAllowHeaders()
-
unsetAllowHeaders
public void unsetAllowHeaders()
-
getAllowMaxAge
public Integer getAllowMaxAge()
Gets the value of the allowMaxAge property.- Returns:
- possible object is
Integer
-
setAllowMaxAge
public void setAllowMaxAge(Integer value)
Sets the value of the allowMaxAge property.- Parameters:
value
- allowed object isInteger
-
isSetAllowMaxAge
public boolean isSetAllowMaxAge()
-
getAllowOtherHeader
public List<KeyValuePairType> getAllowOtherHeader()
Gets the value of the allowOtherHeader property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the allowOtherHeader property.For example, to add a new item, do as follows:
getAllowOtherHeader().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValuePairType
-
isSetAllowOtherHeader
public boolean isSetAllowOtherHeader()
-
unsetAllowOtherHeader
public void unsetAllowOtherHeader()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withAllowOrigin
public CORSConfigurationEntryResponse withAllowOrigin(String value)
-
withAllowMethods
public CORSConfigurationEntryResponse withAllowMethods(String... values)
-
withAllowMethods
public CORSConfigurationEntryResponse withAllowMethods(Collection<String> values)
-
withAllowHeaders
public CORSConfigurationEntryResponse withAllowHeaders(String... values)
-
withAllowHeaders
public CORSConfigurationEntryResponse withAllowHeaders(Collection<String> values)
-
withAllowMaxAge
public CORSConfigurationEntryResponse withAllowMaxAge(Integer value)
-
withAllowOtherHeader
public CORSConfigurationEntryResponse withAllowOtherHeader(KeyValuePairType... values)
-
withAllowOtherHeader
public CORSConfigurationEntryResponse withAllowOtherHeader(Collection<KeyValuePairType> values)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public CORSConfigurationEntryResponse visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-