Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3/**
4 * ModelInterface.
5 *
6 * @category Class
7 *
8 * @author   Fingerprint
9 *
10 * @see      https://fingerprint.com
11 */
12
13/**
14 * Server API.
15 *
16 * Fingerprint Server API allows you to get, search, and update Events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device.
17 *
18 * The version of the OpenAPI document: 4
19 * Contact: support@fingerprint.com
20 * Generated by: https://openapi-generator.tech
21 * Generator version: 7.21.0
22 */
23
24/**
25 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26 * https://openapi-generator.tech
27 * Do not edit the class manually.
28 */
29
30namespace Fingerprint\ServerSdk\Model;
31
32/**
33 * Interface abstracting model access.
34 *
35 * @author Fingerprint
36 */
37interface ModelInterface
38{
39    /**
40     * The original name of the model.
41     */
42    public function getModelName(): string;
43
44    /**
45     * Array of property to type mappings. Used for (de)serialization.
46     */
47    public static function openAPITypes(): array;
48
49    /**
50     * Array of property to format mappings. Used for (de)serialization.
51     */
52    public static function openAPIFormats(): array;
53
54    /**
55     * Array of attributes where the key is the local name, and the value is the original name.
56     */
57    public static function attributeMap(): array;
58
59    /**
60     * Array of attributes to setter functions (for deserialization of responses).
61     */
62    public static function setters(): array;
63
64    /**
65     * Array of attributes to getter functions (for serialization of requests).
66     */
67    public static function getters(): array;
68
69    /**
70     * Show all the invalid properties with reasons.
71     */
72    public function listInvalidProperties(): array;
73
74    /**
75     * Validate all the properties in the model
76     * return true if all passed.
77     */
78    public function valid(): bool;
79
80    /**
81     * Checks if a property is nullable.
82     */
83    public static function isNullable(string $property): bool;
84
85    /**
86     * Checks if a nullable property is set to null.
87     */
88    public function isNullableSetToNull(string $property): bool;
89}