Skip to content

add mfa_enabled field and change created_at type to datetime #1743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-09 16:10:43.432822",
"spec_repo_commit": "4a0f9e08"
"regenerated": "2024-08-12 13:34:55.112510",
"spec_repo_commit": "0360f6c8"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-09 16:10:43.451410",
"spec_repo_commit": "4a0f9e08"
"regenerated": "2024-08-12 13:34:55.131608",
"spec_repo_commit": "0360f6c8"
}
}
}
5 changes: 5 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8496,6 +8496,7 @@ components:
created_at:
description: Creation date of the application key.
example: '2020-11-23T10:00:00.000Z'
format: date-time
readOnly: true
type: string
key:
Expand Down Expand Up @@ -23415,6 +23416,10 @@ components:
icon:
description: URL of the user's icon.
type: string
mfa_enabled:
description: If user has MFA enabled.
readOnly: true
type: boolean
modified_at:
description: Time that the user was last modified.
format: date-time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class FullApplicationKeyAttributes {
/**
* Creation date of the application key.
*/
"createdAt"?: string;
"createdAt"?: Date;
/**
* The application key.
*/
Expand Down Expand Up @@ -49,7 +49,8 @@ export class FullApplicationKeyAttributes {
static readonly attributeTypeMap: AttributeTypeMap = {
createdAt: {
baseName: "created_at",
type: "string",
type: "Date",
format: "date-time",
},
key: {
baseName: "key",
Expand Down
8 changes: 8 additions & 0 deletions packages/datadog-api-client-v2/models/UserAttributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ export class UserAttributes {
* URL of the user's icon.
*/
"icon"?: string;
/**
* If user has MFA enabled.
*/
"mfaEnabled"?: boolean;
/**
* Time that the user was last modified.
*/
Expand Down Expand Up @@ -92,6 +96,10 @@ export class UserAttributes {
baseName: "icon",
type: "string",
},
mfaEnabled: {
baseName: "mfa_enabled",
type: "boolean",
},
modifiedAt: {
baseName: "modified_at",
type: "Date",
Expand Down
Loading