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

[AutoPR] cognitiveservices/data-plane/ContentModerator #2438

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 18 additions & 39 deletions profiles/latest/cognitiveservices/contentmoderator/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,6 @@ type ListManagementImageClient = original.ListManagementImageClient
type ListManagementImageListsClient = original.ListManagementImageListsClient
type ListManagementTermClient = original.ListManagementTermClient
type ListManagementTermListsClient = original.ListManagementTermListsClient
type AzureRegionBaseURL = original.AzureRegionBaseURL

const (
Australiaeastapicognitivemicrosoftcom AzureRegionBaseURL = original.Australiaeastapicognitivemicrosoftcom
Brazilsouthapicognitivemicrosoftcom AzureRegionBaseURL = original.Brazilsouthapicognitivemicrosoftcom
ContentmoderatortestazureApinet AzureRegionBaseURL = original.ContentmoderatortestazureApinet
Eastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastasiaapicognitivemicrosoftcom
Eastus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Eastus2apicognitivemicrosoftcom
Eastusapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastusapicognitivemicrosoftcom
Northeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Northeuropeapicognitivemicrosoftcom
Southcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Southcentralusapicognitivemicrosoftcom
Southeastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Southeastasiaapicognitivemicrosoftcom
Westcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westcentralusapicognitivemicrosoftcom
Westeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Westeuropeapicognitivemicrosoftcom
Westus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Westus2apicognitivemicrosoftcom
Westusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westusapicognitivemicrosoftcom
)

type StatusEnum = original.StatusEnum

const (
Expand Down Expand Up @@ -129,41 +111,38 @@ type VideoFrameBodyItemReviewerResultTagsItem = original.VideoFrameBodyItemRevie
type ReviewsClient = original.ReviewsClient
type TextModerationClient = original.TextModerationClient

func New(baseURL AzureRegionBaseURL) BaseClient {
return original.New(baseURL)
}
func NewWithoutDefaults(baseURL AzureRegionBaseURL) BaseClient {
return original.NewWithoutDefaults(baseURL)
func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewImageModerationClient(baseURL AzureRegionBaseURL) ImageModerationClient {
return original.NewImageModerationClient(baseURL)
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func NewListManagementImageClient(baseURL AzureRegionBaseURL) ListManagementImageClient {
return original.NewListManagementImageClient(baseURL)
func NewImageModerationClient(endpoint string) ImageModerationClient {
return original.NewImageModerationClient(endpoint)
}
func NewListManagementImageListsClient(baseURL AzureRegionBaseURL) ListManagementImageListsClient {
return original.NewListManagementImageListsClient(baseURL)
func NewListManagementImageClient(endpoint string) ListManagementImageClient {
return original.NewListManagementImageClient(endpoint)
}
func NewListManagementTermClient(baseURL AzureRegionBaseURL) ListManagementTermClient {
return original.NewListManagementTermClient(baseURL)
func NewListManagementImageListsClient(endpoint string) ListManagementImageListsClient {
return original.NewListManagementImageListsClient(endpoint)
}
func NewListManagementTermListsClient(baseURL AzureRegionBaseURL) ListManagementTermListsClient {
return original.NewListManagementTermListsClient(baseURL)
func NewListManagementTermClient(endpoint string) ListManagementTermClient {
return original.NewListManagementTermClient(endpoint)
}
func PossibleAzureRegionBaseURLValues() []AzureRegionBaseURL {
return original.PossibleAzureRegionBaseURLValues()
func NewListManagementTermListsClient(endpoint string) ListManagementTermListsClient {
return original.NewListManagementTermListsClient(endpoint)
}
func PossibleStatusEnumValues() []StatusEnum {
return original.PossibleStatusEnumValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func NewReviewsClient(baseURL AzureRegionBaseURL) ReviewsClient {
return original.NewReviewsClient(baseURL)
func NewReviewsClient(endpoint string) ReviewsClient {
return original.NewReviewsClient(endpoint)
}
func NewTextModerationClient(baseURL AzureRegionBaseURL) TextModerationClient {
return original.NewTextModerationClient(baseURL)
func NewTextModerationClient(endpoint string) TextModerationClient {
return original.NewTextModerationClient(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
Expand Down
57 changes: 18 additions & 39 deletions profiles/preview/cognitiveservices/contentmoderator/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,6 @@ type ListManagementImageClient = original.ListManagementImageClient
type ListManagementImageListsClient = original.ListManagementImageListsClient
type ListManagementTermClient = original.ListManagementTermClient
type ListManagementTermListsClient = original.ListManagementTermListsClient
type AzureRegionBaseURL = original.AzureRegionBaseURL

const (
Australiaeastapicognitivemicrosoftcom AzureRegionBaseURL = original.Australiaeastapicognitivemicrosoftcom
Brazilsouthapicognitivemicrosoftcom AzureRegionBaseURL = original.Brazilsouthapicognitivemicrosoftcom
ContentmoderatortestazureApinet AzureRegionBaseURL = original.ContentmoderatortestazureApinet
Eastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastasiaapicognitivemicrosoftcom
Eastus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Eastus2apicognitivemicrosoftcom
Eastusapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastusapicognitivemicrosoftcom
Northeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Northeuropeapicognitivemicrosoftcom
Southcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Southcentralusapicognitivemicrosoftcom
Southeastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Southeastasiaapicognitivemicrosoftcom
Westcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westcentralusapicognitivemicrosoftcom
Westeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Westeuropeapicognitivemicrosoftcom
Westus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Westus2apicognitivemicrosoftcom
Westusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westusapicognitivemicrosoftcom
)

type StatusEnum = original.StatusEnum

const (
Expand Down Expand Up @@ -129,41 +111,38 @@ type VideoFrameBodyItemReviewerResultTagsItem = original.VideoFrameBodyItemRevie
type ReviewsClient = original.ReviewsClient
type TextModerationClient = original.TextModerationClient

func New(baseURL AzureRegionBaseURL) BaseClient {
return original.New(baseURL)
}
func NewWithoutDefaults(baseURL AzureRegionBaseURL) BaseClient {
return original.NewWithoutDefaults(baseURL)
func New(endpoint string) BaseClient {
return original.New(endpoint)
}
func NewImageModerationClient(baseURL AzureRegionBaseURL) ImageModerationClient {
return original.NewImageModerationClient(baseURL)
func NewWithoutDefaults(endpoint string) BaseClient {
return original.NewWithoutDefaults(endpoint)
}
func NewListManagementImageClient(baseURL AzureRegionBaseURL) ListManagementImageClient {
return original.NewListManagementImageClient(baseURL)
func NewImageModerationClient(endpoint string) ImageModerationClient {
return original.NewImageModerationClient(endpoint)
}
func NewListManagementImageListsClient(baseURL AzureRegionBaseURL) ListManagementImageListsClient {
return original.NewListManagementImageListsClient(baseURL)
func NewListManagementImageClient(endpoint string) ListManagementImageClient {
return original.NewListManagementImageClient(endpoint)
}
func NewListManagementTermClient(baseURL AzureRegionBaseURL) ListManagementTermClient {
return original.NewListManagementTermClient(baseURL)
func NewListManagementImageListsClient(endpoint string) ListManagementImageListsClient {
return original.NewListManagementImageListsClient(endpoint)
}
func NewListManagementTermListsClient(baseURL AzureRegionBaseURL) ListManagementTermListsClient {
return original.NewListManagementTermListsClient(baseURL)
func NewListManagementTermClient(endpoint string) ListManagementTermClient {
return original.NewListManagementTermClient(endpoint)
}
func PossibleAzureRegionBaseURLValues() []AzureRegionBaseURL {
return original.PossibleAzureRegionBaseURLValues()
func NewListManagementTermListsClient(endpoint string) ListManagementTermListsClient {
return original.NewListManagementTermListsClient(endpoint)
}
func PossibleStatusEnumValues() []StatusEnum {
return original.PossibleStatusEnumValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func NewReviewsClient(baseURL AzureRegionBaseURL) ReviewsClient {
return original.NewReviewsClient(baseURL)
func NewReviewsClient(endpoint string) ReviewsClient {
return original.NewReviewsClient(endpoint)
}
func NewTextModerationClient(baseURL AzureRegionBaseURL) TextModerationClient {
return original.NewTextModerationClient(baseURL)
func NewTextModerationClient(endpoint string) TextModerationClient {
return original.NewTextModerationClient(endpoint)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
Expand Down
20 changes: 6 additions & 14 deletions services/cognitiveservices/v1.0/contentmoderator/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading