-
Notifications
You must be signed in to change notification settings - Fork 48
Add OnCall Escalation Policy v2 endpoints #2511
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
Add OnCall Escalation Policy v2 endpoints #2511
Conversation
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
type: Union[LayerRelationshipsMembersDataItemsType, UnsetType] = unset, | ||
**kwargs, | ||
): | ||
def __init__(self_, id: str, type: LayerRelationshipsMembersDataItemsType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, id: str, type: LayerRelationshipsMembersDataItemsType, **kwargs): | |
def __init__(self, id: str, type: LayerRelationshipsMembersDataItemsType, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: str, type: EscalationPolicyDataRelationshipsStepsDataItemsType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, id: str, type: EscalationPolicyDataRelationshipsStepsDataItemsType, **kwargs): | |
def __init__(self, id: str, type: EscalationPolicyDataRelationshipsStepsDataItemsType, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, data: Union[List[EscalationPolicyDataRelationshipsTeamsDataItems], UnsetType] = unset, **kwargs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, data: Union[List[EscalationPolicyDataRelationshipsTeamsDataItems], UnsetType] = unset, **kwargs | |
self, data: Union[List[EscalationPolicyDataRelationshipsTeamsDataItems], UnsetType] = unset, **kwargs |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"teams": "teams", | ||
} | ||
|
||
def __init__(self_, teams: Union[EscalationPolicyUpdateRequestDataRelationshipsTeams, UnsetType] = unset, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, teams: Union[EscalationPolicyUpdateRequestDataRelationshipsTeams, UnsetType] = unset, **kwargs): | |
def __init__(self, teams: Union[EscalationPolicyUpdateRequestDataRelationshipsTeams, UnsetType] = unset, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
type: Union[TeamReferenceRelationshipsOncallUsersDataItemsType, UnsetType] = unset, | ||
**kwargs, | ||
): | ||
def __init__(self_, id: str, type: TeamReferenceRelationshipsOncallUsersDataItemsType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, id: str, type: TeamReferenceRelationshipsOncallUsersDataItemsType, **kwargs): | |
def __init__(self, id: str, type: TeamReferenceRelationshipsOncallUsersDataItemsType, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, data: Union[List[EscalationPolicyDataRelationshipsStepsDataItems], UnsetType] = unset, **kwargs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, data: Union[List[EscalationPolicyDataRelationshipsStepsDataItems], UnsetType] = unset, **kwargs | |
self, data: Union[List[EscalationPolicyDataRelationshipsStepsDataItems], UnsetType] = unset, **kwargs |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
b1ec0c1
to
bd123b1
Compare
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
} | ||
|
||
def __init__( | ||
self_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
self_, | |
self, |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
225aa31
to
ba3cf1b
Compare
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: str, type: ScheduleTargetType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, id: str, type: ScheduleTargetType, **kwargs): | |
def __init__(self, id: str, type: ScheduleTargetType, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: str, type: TeamTargetType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, id: str, type: TeamTargetType, **kwargs): | |
def __init__(self, id: str, type: TeamTargetType, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: EscalationPolicyCreateRequestData, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, data: EscalationPolicyCreateRequestData, **kwargs): | |
def __init__(self, data: EscalationPolicyCreateRequestData, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"type": "type", | ||
} | ||
|
||
def __init__(self_, id: str, type: UserTargetType, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, id: str, type: UserTargetType, **kwargs): | |
def __init__(self, id: str, type: UserTargetType, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
"data": "data", | ||
} | ||
|
||
def __init__(self_, data: EscalationPolicyUpdateRequestData, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Code Quality Violation
def __init__(self_, data: EscalationPolicyUpdateRequestData, **kwargs): | |
def __init__(self, data: EscalationPolicyUpdateRequestData, **kwargs): |
first parameter of a class function should be self (...read more)
In a class method (that is not a class method nor a static method), the first argument must be self
by convention.
Learn More
ba3cf1b
to
40a4b57
Compare
40a4b57
to
654c0a5
Compare
Co-authored-by: ci.datadog-api-spec <[email protected]> c4efa4c
See DataDog/datadog-api-spec#3763
Test branch datadog-api-spec/test/d.marin/oncall_ep