File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import Foundation
22
33/// https://developer.twitter.com/en/docs/twitter-api/compliance/batch-compliance/api-reference/get-compliance-jobs
44open class GetComplianceJobsRequestV2 : TwitterAPIRequest {
5- public enum `Type` : String {
5+ public enum JobType : String {
66 case tweets
77 case users
88 func bind( param: inout [ String : Any ] ) {
@@ -20,7 +20,7 @@ open class GetComplianceJobsRequestV2: TwitterAPIRequest {
2020 }
2121 }
2222
23- public let type : GetComplianceJobsRequestV2 . `Type`
23+ public let type : JobType
2424 public let status : Status ?
2525
2626 public var method : HTTPMethod {
@@ -39,7 +39,7 @@ open class GetComplianceJobsRequestV2: TwitterAPIRequest {
3939 }
4040
4141 public init (
42- type: GetComplianceJobsRequestV2 . `Type` ,
42+ type: JobType ,
4343 status: Status ? = . none
4444 ) {
4545 self . type = type
You can’t perform that action at this time.
0 commit comments