petstore_api.components.schema.user
type: schemas.Schema
Input Type | Return Type | Notes |
---|---|---|
UserDictInput, UserDict | UserDict |
type: typing.Mapping[str, schemas.INPUT_TYPES_ALL]
Key | Type | Description | Notes |
---|---|---|---|
id | int | [optional] value must be a 64 bit integer | |
username | str | [optional] | |
firstName | str | [optional] | |
lastName | str | [optional] | |
str | [optional] | ||
password | str | [optional] | |
phone | str | [optional] | |
userStatus | int | User Status | [optional] value must be a 32 bit integer |
objectWithNoDeclaredProps | dict, schemas.immutabledict | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional] |
objectWithNoDeclaredPropsNullable | None, dict, schemas.immutabledict | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional] |
anyTypeProp | dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See OAI/OpenAPI-Specification#1389 | [optional] |
anyTypeExceptNullProp | dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | [optional] |
anyTypePropNullable | dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] |
any_string_name | dict, schemas.immutabledict, list, tuple, decimal.Decimal, float, int, str, datetime.date, datetime.datetime, uuid.UUID, bool, None, bytes, io.FileIO, io.BufferedReader, schemas.FileIO | any string name can be used but the value must be the correct type | [optional] |
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
Keyword Argument | Type | Description | Notes |
---|---|---|---|
id | int, schemas.Unset | [optional] value must be a 64 bit integer | |
username | str, schemas.Unset | [optional] | |
firstName | str, schemas.Unset | [optional] | |
lastName | str, schemas.Unset | [optional] | |
str, schemas.Unset | [optional] | ||
password | str, schemas.Unset | [optional] | |
phone | str, schemas.Unset | [optional] | |
userStatus | int, schemas.Unset | User Status | [optional] value must be a 32 bit integer |
objectWithNoDeclaredProps | dict, schemas.immutabledict, schemas.Unset | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional] |
objectWithNoDeclaredPropsNullable | None, dict, schemas.immutabledict, schemas.Unset | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional] |
anyTypeProp | dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See OAI/OpenAPI-Specification#1389 | [optional] |
anyTypeExceptNullProp | dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset | any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | [optional] |
anyTypePropNullable | dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, schemas.Unset | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] |
kwargs | schemas.immutabledict, tuple, float, int, str, bool, None, bytes, schemas.FileIO | any string name can be used but the value must be the correct type | [optional] typed value is accessed with the get_additional_property_ method |
Property | Type | Description | Notes |
---|---|---|---|
id | int, schemas.Unset | [optional] value must be a 64 bit integer | |
username | str, schemas.Unset | [optional] | |
firstName | str, schemas.Unset | [optional] | |
lastName | str, schemas.Unset | [optional] | |
str, schemas.Unset | [optional] | ||
password | str, schemas.Unset | [optional] | |
phone | str, schemas.Unset | [optional] | |
userStatus | int, schemas.Unset | User Status | [optional] value must be a 32 bit integer |
objectWithNoDeclaredProps | schemas.immutabledict, schemas.Unset | test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value. | [optional] |
objectWithNoDeclaredPropsNullable | None, schemas.immutabledict, schemas.Unset | test code generation for nullable objects. Value must be a map of strings to values or the 'null' value. | [optional] |
anyTypeProp | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO, schemas.Unset | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. See OAI/OpenAPI-Specification#1389 | [optional] |
anyTypeExceptNullProp | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO, schemas.Unset | any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. | [optional] |
anyTypePropNullable | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO, schemas.Unset | test code generation for any type Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object. The 'nullable' attribute does not change the allowed values. | [optional] |
Method | Input Type | Return Type | Notes |
---|---|---|---|
from_dict_ | UserDictInput, UserDict | UserDict | a constructor |
get_additional_property_ | str | schemas.immutabledict, tuple, float, int, str, bool, None, bytes, schemas.FileIO, schemas.Unset | provides type safety for additional properties |
type: schemas.Schema
test code generation for objects Value must be a map of strings to values. It cannot be the 'null' value.
Input Type | Return Type | Notes |
---|---|---|
dict, schemas.immutabledict | schemas.immutabledict |
type: schemas.Schema
test code generation for nullable objects. Value must be a map of strings to values or the 'null' value.
Input Type | Return Type | Notes |
---|---|---|
None, dict, schemas.immutabledict | None, schemas.immutabledict |
type: schemas.Schema
any type except 'null' Here the 'type' attribute is not specified, which means the value can be anything, including the null value, string, number, boolean, array or object.
Input Type | Return Type | Notes |
---|---|---|
dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO |
Schema Class | Input Type | Return Type |
---|---|---|
_Not | None | None |
type: schemas.Schema
Input Type | Return Type | Notes |
---|---|---|
None | None |