Search in this section

Child pages
  • SimpleObject Element
Skip to end of metadata
Go to start of metadata


Table of contents

Description

The SimpleObject element defines an object.

Structure

KeyOccursTypeFormatDescription
object



object / type0 - 1String

The type of object

object / value0 - 1String
The value contained in the object

XML Example

XML Example
<object>
	<type>certificate</type>
	<value>domain.com</value>
</object>

Code Example

Where Component Java
@XmlRootElement(name = "object")
public class SimpleObject {

    @XmlElement(name="code")
    private String type;

    @XmlElement(name="text")
    private String value;

  	/* Getter + Setter */

}
Where Component PHP
class SimpleObject {

    /**
     *
     * @var type String
     */
    public $type;

    /**
     *
     * @var type String
     */
    public $value;

  	/* Getter + Setter */

}
Where Component C#
public class SimpleObject {

    private String type;

    private String value;

	/* Getter + Setter */

}