Skip to content
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 Unknown value to orientation enum for images response #42

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

vigitri
Copy link

@vigitri vigitri commented Oct 6, 2022

SDK Request:
var imageMetadata = await client.Images().WithId(173372132).ExecuteAsync();

Json Response:

{
    "images": [
        {
            "...":"..."
            "orientation": "Unknown",
        }
    ],
    "images_not_found": []
}

Trying to parse the EnumValue Unknown throws an error as the enum doesn't contain this value

Added "Unknown" to the OrientationImagesResponse enum

@mapitman mapitman merged commit 5e84c3c into gettyimages:main Oct 6, 2022
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.

3 participants