|
3 | 3 | """
|
4 | 4 | Authress
|
5 | 5 |
|
6 |
| - <p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p> # noqa: E501 |
| 6 | + <p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p> |
7 | 7 |
|
8 | 8 | The version of the OpenAPI document: v1
|
9 | 9 | Contact: support@authress.io
|
10 | 10 | Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11 | 11 |
|
12 | 12 | Do not edit the class manually.
|
13 |
| -""" |
| 13 | +""" # noqa: E501 |
14 | 14 |
|
15 | 15 |
|
16 | 16 | from __future__ import annotations
|
|
32 | 32 |
|
33 | 33 | class AccessRecord(BaseModel):
|
34 | 34 | """
|
35 |
| - The access record which links users to roles. |
| 35 | + The access record which links users to roles. # noqa: E501 |
36 | 36 | """
|
37 |
| - record_id: Optional[constr(strict=True, max_length=100, min_length=1)] = Field(None, alias="recordId", description="Unique identifier for the record, can be specified on record creation.") |
38 |
| - name: constr(strict=True, max_length=128, min_length=1) = Field(..., description="A helpful name for this record") |
39 |
| - description: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, description="More details about this record") |
40 |
| - capacity: Optional[Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)]] = Field(None, description="Percentage capacity of record that is filled.") |
41 |
| - last_updated: Optional[datetime] = Field(None, alias="lastUpdated", description="The expected last time the record was updated") |
42 |
| - status: Optional[StrictStr] = Field(None, description="Current status of the access record.") |
43 |
| - account: Optional[AccessRecordAccount] = Field(...) |
44 |
| - users: Optional[conlist(User)] = Field(None, description="The list of users this record applies to") |
45 |
| - admins: Optional[conlist(User)] = Field(None, description="The list of admin that can edit this record even if they do not have global record edit permissions.") |
46 |
| - groups: Optional[conlist(LinkedGroup)] = Field(None, description="The list of groups this record applies to. Users in these groups will be receive access to the resources listed.") |
47 |
| - statements: conlist(Statement, min_items=1) = Field(..., description="A list of statements which match roles to resources.") |
48 |
| - links: Optional[AccountLinks] = Field(...) |
49 |
| - tags: Optional[Dict[str, constr(strict=True, max_length=128)]] = Field(None, description="The tags associated with this resource, this property is an map. { key1: value1, key2: value2 }") |
| 37 | + record_id: Optional[constr(strict=True, max_length=100, min_length=1)] = Field(default=None, alias="recordId", description="Unique identifier for the record, can be specified on record creation.") |
| 38 | + name: constr(strict=True, max_length=128, min_length=1) = Field(default=..., description="A helpful name for this record") |
| 39 | + description: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(default=None, description="More details about this record") |
| 40 | + capacity: Optional[Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)]] = Field(default=None, description="Percentage capacity of record that is filled.") |
| 41 | + last_updated: Optional[datetime] = Field(default=None, alias="lastUpdated", description="The expected last time the record was updated") |
| 42 | + status: Optional[StrictStr] = Field(default=None, description="Current status of the access record.") |
| 43 | + account: Optional[AccessRecordAccount] = None |
| 44 | + users: Optional[conlist(User, max_items=1000, min_items=0)] = Field(default=None, description="The list of users this record applies to. The record is finite in size, for patterns where the list of users might grow indefinitely, the recommended solution is to specify each user in their own access record.") |
| 45 | + admins: Optional[conlist(User, max_items=100, min_items=0)] = Field(default=None, description="The list of admin that can edit this record even if they do not have global record edit permissions.") |
| 46 | + groups: Optional[conlist(LinkedGroup, max_items=100, min_items=0)] = Field(default=None, description="The list of groups this record applies to. Users in these groups will be receive access to the resources listed.") |
| 47 | + statements: conlist(Statement, max_items=100, min_items=1) = Field(default=..., description="A list of statements which match roles to resources.") |
| 48 | + links: Optional[AccountLinks] = None |
| 49 | + tags: Optional[Dict[str, constr(strict=True, max_length=128)]] = Field(default=None, description="The tags associated with this resource, this property is an map. { key1: value1, key2: value2 }") |
50 | 50 | __properties = ["recordId", "name", "description", "capacity", "lastUpdated", "status", "account", "users", "admins", "groups", "statements", "links", "tags"]
|
51 | 51 |
|
52 | 52 | @validator('record_id')
|
|
0 commit comments