Skip to content

Commit

Permalink
DEV-5229
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Pleintinger <[email protected]>
  • Loading branch information
ChripIX committed Dec 14, 2021
1 parent 757f33c commit 015dca4
Show file tree
Hide file tree
Showing 14 changed files with 2,866 additions and 101 deletions.
100 changes: 95 additions & 5 deletions src/Model/Certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ class Certificate implements ModelInterface, ArrayAccess
'idn' => 'string',
'multiyear' => 'bool',
'reissueRequired' => 'bool',
'reissueStatus' => 'string'
'reissueStatus' => 'string',
'vmcLogo' => 'string',
'vmcTrademarkRegistrationNumber' => 'string',
'vmcTrademarkCountryOrRegion' => '\Domainrobot\Model\VmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -148,7 +151,10 @@ class Certificate implements ModelInterface, ArrayAccess
'idn' => null,
'multiyear' => null,
'reissueRequired' => null,
'reissueStatus' => null
'reissueStatus' => null,
'vmcLogo' => null,
'vmcTrademarkRegistrationNumber' => null,
'vmcTrademarkCountryOrRegion' => null
];

/**
Expand Down Expand Up @@ -219,7 +225,10 @@ public static function swaggerFormats()
'idn' => 'idn',
'multiyear' => 'multiyear',
'reissueRequired' => 'reissueRequired',
'reissueStatus' => 'reissueStatus'
'reissueStatus' => 'reissueStatus',
'vmcLogo' => 'vmcLogo',
'vmcTrademarkRegistrationNumber' => 'vmcTrademarkRegistrationNumber',
'vmcTrademarkCountryOrRegion' => 'vmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -269,7 +278,10 @@ public static function swaggerFormats()
'idn' => 'setIdn',
'multiyear' => 'setMultiyear',
'reissueRequired' => 'setReissueRequired',
'reissueStatus' => 'setReissueStatus'
'reissueStatus' => 'setReissueStatus',
'vmcLogo' => 'setVmcLogo',
'vmcTrademarkRegistrationNumber' => 'setVmcTrademarkRegistrationNumber',
'vmcTrademarkCountryOrRegion' => 'setVmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -319,7 +331,10 @@ public static function swaggerFormats()
'idn' => 'getIdn',
'multiyear' => 'getMultiyear',
'reissueRequired' => 'getReissueRequired',
'reissueStatus' => 'getReissueStatus'
'reissueStatus' => 'getReissueStatus',
'vmcLogo' => 'getVmcLogo',
'vmcTrademarkRegistrationNumber' => 'getVmcTrademarkRegistrationNumber',
'vmcTrademarkCountryOrRegion' => 'getVmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -424,6 +439,9 @@ public function __construct(array $data = null)
$this->container['multiyear'] = isset($data['multiyear']) ? $this->createData($data['multiyear'], 'multiyear') : null;
$this->container['reissueRequired'] = isset($data['reissueRequired']) ? $this->createData($data['reissueRequired'], 'reissueRequired') : null;
$this->container['reissueStatus'] = isset($data['reissueStatus']) ? $this->createData($data['reissueStatus'], 'reissueStatus') : null;
$this->container['vmcLogo'] = isset($data['vmcLogo']) ? $this->createData($data['vmcLogo'], 'vmcLogo') : null;
$this->container['vmcTrademarkRegistrationNumber'] = isset($data['vmcTrademarkRegistrationNumber']) ? $this->createData($data['vmcTrademarkRegistrationNumber'], 'vmcTrademarkRegistrationNumber') : null;
$this->container['vmcTrademarkCountryOrRegion'] = isset($data['vmcTrademarkCountryOrRegion']) ? $this->createData($data['vmcTrademarkCountryOrRegion'], 'vmcTrademarkCountryOrRegion') : null;
}

/**
Expand Down Expand Up @@ -1530,6 +1548,78 @@ public function setReissueStatus($reissueStatus)

return $this;
}

/**
* Gets vmcLogo
*
* @return string
*/
public function getVmcLogo()
{
return $this->container['vmcLogo'];
}

/**
* Sets vmcLogo
*
* @param string $vmcLogo The gzipped and base64 encoded SVG logo
*
* @return $this
*/
public function setVmcLogo($vmcLogo)
{
$this->container['vmcLogo'] = $vmcLogo;

return $this;
}

/**
* Gets vmcTrademarkRegistrationNumber
*
* @return string
*/
public function getVmcTrademarkRegistrationNumber()
{
return $this->container['vmcTrademarkRegistrationNumber'];
}

/**
* Sets vmcTrademarkRegistrationNumber
*
* @param string $vmcTrademarkRegistrationNumber The trademark registration number
*
* @return $this
*/
public function setVmcTrademarkRegistrationNumber($vmcTrademarkRegistrationNumber)
{
$this->container['vmcTrademarkRegistrationNumber'] = $vmcTrademarkRegistrationNumber;

return $this;
}

/**
* Gets vmcTrademarkCountryOrRegion
*
* @return \Domainrobot\Model\VmcTrademarkCountryOrRegion
*/
public function getVmcTrademarkCountryOrRegion()
{
return $this->container['vmcTrademarkCountryOrRegion'];
}

/**
* Sets vmcTrademarkCountryOrRegion
*
* @param \Domainrobot\Model\VmcTrademarkCountryOrRegion $vmcTrademarkCountryOrRegion Two-letter code for the country or region where the logo is trademarked
*
* @return $this
*/
public function setVmcTrademarkCountryOrRegion($vmcTrademarkCountryOrRegion)
{
$this->container['vmcTrademarkCountryOrRegion'] = $vmcTrademarkCountryOrRegion;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
100 changes: 95 additions & 5 deletions src/Model/CertificateData.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ class CertificateData implements ModelInterface, ArrayAccess
'idn' => 'string',
'checkCaa' => 'bool',
'businessCase' => 'string',
'ecCurve' => '\Domainrobot\Model\CsrHashAlgorithmConstants'
'ecCurve' => '\Domainrobot\Model\CsrHashAlgorithmConstants',
'vmcLogo' => 'string',
'vmcTrademarkRegistrationNumber' => 'string',
'vmcTrademarkCountryOrRegion' => '\Domainrobot\Model\VmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -106,7 +109,10 @@ class CertificateData implements ModelInterface, ArrayAccess
'idn' => null,
'checkCaa' => null,
'businessCase' => null,
'ecCurve' => null
'ecCurve' => null,
'vmcLogo' => null,
'vmcTrademarkRegistrationNumber' => null,
'vmcTrademarkCountryOrRegion' => null
];

/**
Expand Down Expand Up @@ -156,7 +162,10 @@ public static function swaggerFormats()
'idn' => 'idn',
'checkCaa' => 'checkCaa',
'businessCase' => 'businessCase',
'ecCurve' => 'ecCurve'
'ecCurve' => 'ecCurve',
'vmcLogo' => 'vmcLogo',
'vmcTrademarkRegistrationNumber' => 'vmcTrademarkRegistrationNumber',
'vmcTrademarkCountryOrRegion' => 'vmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -185,7 +194,10 @@ public static function swaggerFormats()
'idn' => 'setIdn',
'checkCaa' => 'setCheckCaa',
'businessCase' => 'setBusinessCase',
'ecCurve' => 'setEcCurve'
'ecCurve' => 'setEcCurve',
'vmcLogo' => 'setVmcLogo',
'vmcTrademarkRegistrationNumber' => 'setVmcTrademarkRegistrationNumber',
'vmcTrademarkCountryOrRegion' => 'setVmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -214,7 +226,10 @@ public static function swaggerFormats()
'idn' => 'getIdn',
'checkCaa' => 'getCheckCaa',
'businessCase' => 'getBusinessCase',
'ecCurve' => 'getEcCurve'
'ecCurve' => 'getEcCurve',
'vmcLogo' => 'getVmcLogo',
'vmcTrademarkRegistrationNumber' => 'getVmcTrademarkRegistrationNumber',
'vmcTrademarkCountryOrRegion' => 'getVmcTrademarkCountryOrRegion'
];

/**
Expand Down Expand Up @@ -298,6 +313,9 @@ public function __construct(array $data = null)
$this->container['checkCaa'] = isset($data['checkCaa']) ? $this->createData($data['checkCaa'], 'checkCaa') : null;
$this->container['businessCase'] = isset($data['businessCase']) ? $this->createData($data['businessCase'], 'businessCase') : null;
$this->container['ecCurve'] = isset($data['ecCurve']) ? $this->createData($data['ecCurve'], 'ecCurve') : null;
$this->container['vmcLogo'] = isset($data['vmcLogo']) ? $this->createData($data['vmcLogo'], 'vmcLogo') : null;
$this->container['vmcTrademarkRegistrationNumber'] = isset($data['vmcTrademarkRegistrationNumber']) ? $this->createData($data['vmcTrademarkRegistrationNumber'], 'vmcTrademarkRegistrationNumber') : null;
$this->container['vmcTrademarkCountryOrRegion'] = isset($data['vmcTrademarkCountryOrRegion']) ? $this->createData($data['vmcTrademarkCountryOrRegion'], 'vmcTrademarkCountryOrRegion') : null;
}

/**
Expand Down Expand Up @@ -882,6 +900,78 @@ public function setEcCurve($ecCurve)

return $this;
}

/**
* Gets vmcLogo
*
* @return string
*/
public function getVmcLogo()
{
return $this->container['vmcLogo'];
}

/**
* Sets vmcLogo
*
* @param string $vmcLogo The gzipped and base64 encoded SVG logo
*
* @return $this
*/
public function setVmcLogo($vmcLogo)
{
$this->container['vmcLogo'] = $vmcLogo;

return $this;
}

/**
* Gets vmcTrademarkRegistrationNumber
*
* @return string
*/
public function getVmcTrademarkRegistrationNumber()
{
return $this->container['vmcTrademarkRegistrationNumber'];
}

/**
* Sets vmcTrademarkRegistrationNumber
*
* @param string $vmcTrademarkRegistrationNumber The trademark registration number
*
* @return $this
*/
public function setVmcTrademarkRegistrationNumber($vmcTrademarkRegistrationNumber)
{
$this->container['vmcTrademarkRegistrationNumber'] = $vmcTrademarkRegistrationNumber;

return $this;
}

/**
* Gets vmcTrademarkCountryOrRegion
*
* @return \Domainrobot\Model\VmcTrademarkCountryOrRegion
*/
public function getVmcTrademarkCountryOrRegion()
{
return $this->container['vmcTrademarkCountryOrRegion'];
}

/**
* Sets vmcTrademarkCountryOrRegion
*
* @param \Domainrobot\Model\VmcTrademarkCountryOrRegion $vmcTrademarkCountryOrRegion Two-letter code for the country or region where the logo is trademarked
*
* @return $this
*/
public function setVmcTrademarkCountryOrRegion($vmcTrademarkCountryOrRegion)
{
$this->container['vmcTrademarkCountryOrRegion'] = $vmcTrademarkCountryOrRegion;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
4 changes: 4 additions & 0 deletions src/Model/CertificateType.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class CertificateType
const FQDN = 'FQDN';
const MAIL = 'MAIL';
const CODE = 'CODE';
const DOCUMENT = 'DOCUMENT';
const VMC = 'VMC';

/**
* Gets allowable values of the enum
Expand All @@ -57,6 +59,8 @@ public static function getAllowableEnumValues()
self::FQDN,
self::MAIL,
self::CODE,
self::DOCUMENT,
self::VMC,
];
}
}
Expand Down
Loading

0 comments on commit 015dca4

Please sign in to comment.