emnify.modules.sim.models

Classes

SimDevice

Sim list response Device model

IdModel

BaseModel for objects with single id field

SimStatus

SimList

Inherited generated model for sim list

SimUpdate

Model for sim partial update

SimFilter

Module Contents

class emnify.modules.sim.models.SimDevice

Bases: pydantic.BaseModel

Sim list response Device model

id: int = None
name: str = None
ip_address: str = None
created: datetime.datetime = None
last_updated: datetime.datetime = None
class emnify.modules.sim.models.IdModel

Bases: pydantic.BaseModel

BaseModel for objects with single id field

id: int
class emnify.modules.sim.models.SimStatus

Bases: pydantic.BaseModel

id: int
description: str = None
class emnify.modules.sim.models.SimList

Bases: emnify.modules.api.models.RetrieveSIMlistresponse

Inherited generated model for sim list

status: SimStatus = None
device: SimDevice | None
class emnify.modules.sim.models.SimUpdate

Bases: pydantic.BaseModel

Model for sim partial update

status: SimStatus = None
issuer_organisation: IdModel = None
reseller_organisation: IdModel = None
customer_organisation: IdModel = None
class emnify.modules.sim.models.SimFilter

Bases: pydantic.BaseModel

id: int = None
issuer_org: int = None
reseller_org: int = None
customer_org: int = None
iccid: str = None
status: SimFilter.id = None
production_date: pydantic.types.date = None
imsi: str = None
msisdn: str = None
model: int = None