Skip to main content

하위 모듈

모듈 내용

이 모듈은 X API의 compliance 엔드포인트에 대한 액세스를 제공합니다. 모든 compliance-related 기능의 주요 진입점 역할을 합니다.

class xdk.compliance.ComplianceClient

규정 준수 작업을 위한 클라이언트

매개변수

Client

__init__

매개변수

Client

create_jobs

Create Compliance Job Creates a new Compliance Job for the specified job type. body: 요청 본문 :returns: 응답 데이터 :rtype: CreateJobsResponse

매개변수

CreateJobsRequest

get_jobs

Get Compliance Jobs Retrieves a list of Compliance Jobs filtered by job type and optional status.

매개변수

str
Type of Compliance Job to list.
str or None
default:"None"
Status of Compliance Job to list.
List or None
default:"None"
A comma separated list of ComplianceJob fields to display.

반환값

GetJobsResponse - 응답 데이터

get_jobs_by_id

Get Compliance Job by ID Retrieves details of a specific Compliance Job by its ID.

매개변수

Any
The ID of the Compliance Job to retrieve.
List or None
default:"None"
A comma separated list of ComplianceJob fields to display.

반환값

GetJobsByIdResponse - 응답 데이터