Skip to content

Conversation

@larrytamnjong
Copy link
Contributor

@larrytamnjong larrytamnjong commented Oct 14, 2024

Added support for List segments Endpoint #373

@larrytamnjong
Copy link
Contributor Author

@marcin-krystianc

@marcin-krystianc marcin-krystianc changed the title add support for list segments endpoint (#373) add support for list segments endpoint Oct 15, 2024
public async Task Segment_List()
{
var segments = await _client.Operator.SegmentList();
Assert.IsType<string[]>(segments.Response);
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could check that the response is not empty (Check if the length of the array is non-zero?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @marcin-krystianc I have made the update

Copy link
Contributor

@marcin-krystianc marcin-krystianc left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants