Skip to content

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

Merged

Conversation

api-clients-generation-pipeline[bot]
Copy link
Contributor

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

type: Union[LayerRelationshipsMembersDataItemsType, UnsetType] = unset,
**kwargs,
):
def __init__(self_, id: str, type: LayerRelationshipsMembersDataItemsType, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"type": "type",
}

def __init__(self_, id: str, type: EscalationPolicyDataRelationshipsStepsDataItemsType, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_, data: Union[List[EscalationPolicyDataRelationshipsTeamsDataItems], UnsetType] = unset, **kwargs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"teams": "teams",
}

def __init__(self_, teams: Union[EscalationPolicyUpdateRequestDataRelationshipsTeams, UnsetType] = unset, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

type: Union[TeamReferenceRelationshipsOncallUsersDataItemsType, UnsetType] = unset,
**kwargs,
):
def __init__(self_, id: str, type: TeamReferenceRelationshipsOncallUsersDataItemsType, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_, data: Union[List[EscalationPolicyDataRelationshipsStepsDataItems], UnsetType] = unset, **kwargs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3763 branch 2 times, most recently from b1ec0c1 to bd123b1 Compare April 16, 2025 07:22
}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

}

def __init__(
self_,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3763 branch 2 times, most recently from 225aa31 to ba3cf1b Compare April 16, 2025 07:46
"type": "type",
}

def __init__(self_, id: str, type: ScheduleTargetType, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"type": "type",
}

def __init__(self_, id: str, type: TeamTargetType, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"data": "data",
}

def __init__(self_, data: EscalationPolicyCreateRequestData, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"type": "type",
}

def __init__(self_, id: str, type: UserTargetType, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

"data": "data",
}

def __init__(self_, data: EscalationPolicyUpdateRequestData, **kwargs):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

Suggested change
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

View in Datadog  Leave us feedback  Documentation

@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3763 branch from ba3cf1b to 40a4b57 Compare April 16, 2025 16:26
@api-clients-generation-pipeline api-clients-generation-pipeline bot force-pushed the datadog-api-spec/generated/3763 branch from 40a4b57 to 654c0a5 Compare April 16, 2025 16:49
@api-clients-generation-pipeline api-clients-generation-pipeline bot merged commit c4efa4c into master Apr 16, 2025
12 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline bot deleted the datadog-api-spec/generated/3763 branch April 16, 2025 20:04
github-actions bot pushed a commit that referenced this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant