Skip to content

Commit

Permalink
chore: update PostSmContextsError
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 committed Aug 14, 2024
1 parent 3667072 commit 9f8e95a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions smf/PDUSession/api_sm_contexts_collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type PostSmContextsResponse struct {
type PostSmContextsError struct {
Location string
Var3gppSbiTargetNfId string
PostSmContextsResponse400 models.PostSmContextsResponse400
PostSmContextsError models.PostSmContextsError
ProblemDetails models.ProblemDetails
RedirectResponse models.RedirectResponse
SmfPduSessionExtProblemDetails models.SmfPduSessionExtProblemDetails
Expand Down Expand Up @@ -147,23 +147,23 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req
return nil, apiError
case 400:
var v PostSmContextsError
err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
if err != nil {
return nil, err
}
apiError.ErrorModel = v
return nil, apiError
case 403:
var v PostSmContextsError
err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
if err != nil {
return nil, err
}
apiError.ErrorModel = v
return nil, apiError
case 404:
var v PostSmContextsError
err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -203,23 +203,23 @@ func (a *SMContextsCollectionApiService) PostSmContexts(ctx context.Context, req
return nil, apiError
case 500:
var v PostSmContextsError
err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
if err != nil {
return nil, err
}
apiError.ErrorModel = v
return nil, apiError
case 503:
var v PostSmContextsError
err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
if err != nil {
return nil, err
}
apiError.ErrorModel = v
return nil, apiError
case 504:
var v PostSmContextsError
err = openapi.Deserialize(&v.PostSmContextsResponse400, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
err = openapi.Deserialize(&v.PostSmContextsError, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9f8e95a

Please sign in to comment.