| 1 |
<?php |
| 2 |
/** |
| 3 |
* ModelInterface |
| 4 |
* |
| 5 |
* PHP version 7.4 |
| 6 |
* |
| 7 |
* @category Class |
| 8 |
* @package Plausible\Analytics\WP\Client\Model |
| 9 |
* @author OpenAPI Generator team |
| 10 |
* @link https://openapi-generator.tech |
| 11 |
*/ |
| 12 |
|
| 13 |
/** |
| 14 |
* Plausible Plugins API |
| 15 |
* |
| 16 |
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) |
| 17 |
* |
| 18 |
* The version of the OpenAPI document: 1.0-rc |
| 19 |
* Generated by: https://openapi-generator.tech |
| 20 |
* OpenAPI Generator version: 7.0.1 |
| 21 |
*/ |
| 22 |
|
| 23 |
/** |
| 24 |
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 25 |
* https://openapi-generator.tech |
| 26 |
* Do not edit the class manually. |
| 27 |
*/ |
| 28 |
|
| 29 |
namespace Plausible\Analytics\WP\Client\Model; |
| 30 |
|
| 31 |
/** |
| 32 |
* Interface abstracting model access. |
| 33 |
* |
| 34 |
* @package Plausible\Analytics\WP\Client\Model |
| 35 |
* @author OpenAPI Generator team |
| 36 |
*/ |
| 37 |
interface ModelInterface { |
| 38 |
/** |
| 39 |
* The original name of the model. |
| 40 |
* |
| 41 |
* @return string |
| 42 |
*/ |
| 43 |
public function getModelName(); |
| 44 |
|
| 45 |
/** |
| 46 |
* Array of property to type mappings. Used for (de)serialization |
| 47 |
* |
| 48 |
* @return array |
| 49 |
*/ |
| 50 |
public static function openAPITypes(); |
| 51 |
|
| 52 |
/** |
| 53 |
* Array of property to format mappings. Used for (de)serialization |
| 54 |
* |
| 55 |
* @return array |
| 56 |
*/ |
| 57 |
public static function openAPIFormats(); |
| 58 |
|
| 59 |
/** |
| 60 |
* Array of attributes where the key is the local name, and the value is the original name |
| 61 |
* |
| 62 |
* @return array |
| 63 |
*/ |
| 64 |
public static function attributeMap(); |
| 65 |
|
| 66 |
/** |
| 67 |
* Array of attributes to setter functions (for deserialization of responses) |
| 68 |
* |
| 69 |
* @return array |
| 70 |
*/ |
| 71 |
public static function setters(); |
| 72 |
|
| 73 |
/** |
| 74 |
* Array of attributes to getter functions (for serialization of requests) |
| 75 |
* |
| 76 |
* @return array |
| 77 |
*/ |
| 78 |
public static function getters(); |
| 79 |
|
| 80 |
/** |
| 81 |
* Show all the invalid properties with reasons. |
| 82 |
* |
| 83 |
* @return array |
| 84 |
*/ |
| 85 |
public function listInvalidProperties(); |
| 86 |
|
| 87 |
/** |
| 88 |
* Validate all the properties in the model |
| 89 |
* return true if all passed |
| 90 |
* |
| 91 |
* @return bool |
| 92 |
*/ |
| 93 |
public function valid(); |
| 94 |
|
| 95 |
/** |
| 96 |
* Checks if a property is nullable |
| 97 |
* |
| 98 |
* @param string $property |
| 99 |
* |
| 100 |
* @return bool |
| 101 |
*/ |
| 102 |
public static function isNullable( string $property ): bool; |
| 103 |
|
| 104 |
/** |
| 105 |
* Checks if a nullable property is set to null. |
| 106 |
* |
| 107 |
* @param string $property |
| 108 |
* |
| 109 |
* @return bool |
| 110 |
*/ |
| 111 |
public function isNullableSetToNull( string $property ): bool; |
| 112 |
} |
| 113 |
|