Skip to content

Commit

Permalink
Merge pull request #112 from Edgio/DEN-378_RegenCPS
Browse files Browse the repository at this point in the history
[DEN-378] Re-generate cps sdk code from newest spec
  • Loading branch information
stevenpaz authored Aug 30, 2022
2 parents ddc31d0 + cfd1642 commit 0e4732a
Show file tree
Hide file tree
Showing 54 changed files with 810 additions and 203 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetCancelActionsOK() *AppendixGetCancelActionsOK {
return &AppendixGetCancelActionsOK{}
}

/* AppendixGetCancelActionsOK describes a response with status code 200, with default header values.
/*
AppendixGetCancelActionsOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetCancelActionsOK struct {
models.HyperionCollectionNamedEntity
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetCertificateAuthoritiesOK() *AppendixGetCertificateAuthorities
return &AppendixGetCertificateAuthoritiesOK{}
}

/* AppendixGetCertificateAuthoritiesOK describes a response with status code 200, with default header values.
/*
AppendixGetCertificateAuthoritiesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetCertificateAuthoritiesOK struct {
models.HyperionCollectionNamedEntity
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetCertificateStatusesOK() *AppendixGetCertificateStatusesOK {
return &AppendixGetCertificateStatusesOK{}
}

/* AppendixGetCertificateStatusesOK describes a response with status code 200, with default header values.
/*
AppendixGetCertificateStatusesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetCertificateStatusesOK struct {
models.HyperionCollectionNamedEntity
}
6 changes: 5 additions & 1 deletion edgecast/cps/appendix/appendix_get_dcv_types_responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetDcvTypesOK() *AppendixGetDcvTypesOK {
return &AppendixGetDcvTypesOK{}
}

/* AppendixGetDcvTypesOK describes a response with status code 200, with default header values.
/*
AppendixGetDcvTypesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetDcvTypesOK struct {
models.HyperionCollectionNamedEntity
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetDomainStatusesOK() *AppendixGetDomainStatusesOK {
return &AppendixGetDomainStatusesOK{}
}

/* AppendixGetDomainStatusesOK describes a response with status code 200, with default header values.
/*
AppendixGetDomainStatusesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetDomainStatusesOK struct {
models.HyperionCollectionNamedEntity
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetOrderStatusesOK() *AppendixGetOrderStatusesOK {
return &AppendixGetOrderStatusesOK{}
}

/* AppendixGetOrderStatusesOK describes a response with status code 200, with default header values.
/*
AppendixGetOrderStatusesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetOrderStatusesOK struct {
models.HyperionCollectionNamedEntity
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetProductTypesOK() *AppendixGetProductTypesOK {
return &AppendixGetProductTypesOK{}
}

/* AppendixGetProductTypesOK describes a response with status code 200, with default header values.
/*
AppendixGetProductTypesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetProductTypesOK struct {
models.HyperionCollectionNamedEntity
}
6 changes: 5 additions & 1 deletion edgecast/cps/appendix/appendix_get_request_type_responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetRequestTypeOK() *AppendixGetRequestTypeOK {
return &AppendixGetRequestTypeOK{}
}

/* AppendixGetRequestTypeOK describes a response with status code 200, with default header values.
/*
AppendixGetRequestTypeOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetRequestTypeOK struct {
models.HyperionCollectionNamedEntity
}
6 changes: 5 additions & 1 deletion edgecast/cps/appendix/appendix_get_responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetOK() *AppendixGetOK {
return &AppendixGetOK{}
}

/* AppendixGetOK describes a response with status code 200, with default header values.
/*
AppendixGetOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetOK struct {
models.HyperionCollectionCountryCode
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetValidationStatusesOK() *AppendixGetValidationStatusesOK {
return &AppendixGetValidationStatusesOK{}
}

/* AppendixGetValidationStatusesOK describes a response with status code 200, with default header values.
/*
AppendixGetValidationStatusesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetValidationStatusesOK struct {
models.HyperionCollectionNamedEntity
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package appendix

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,11 @@ func NewAppendixGetValidationTypesOK() *AppendixGetValidationTypesOK {
return &AppendixGetValidationTypesOK{}
}

/* AppendixGetValidationTypesOK describes a response with status code 200, with default header values.
/*
AppendixGetValidationTypesOK describes a response with status code 200, with default header values.
Success
*/
type AppendixGetValidationTypesOK struct {
models.HyperionCollectionNamedEntity
}
18 changes: 10 additions & 8 deletions edgecast/cps/certificate/certificate_cancel_responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@

package certificate

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

import (
"github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"
)

// NewCertificateCancelNoContent creates a CertificateCancelNoContent with default headers values
func NewCertificateCancelNoContent() *CertificateCancelNoContent {
return &CertificateCancelNoContent{}
}

/* CertificateCancelNoContent describes a response with status code 204, with default header values.
/*
CertificateCancelNoContent describes a response with status code 204, with default header values.
Success
*/
Expand All @@ -27,7 +26,8 @@ func NewCertificateCancelBadRequest() *CertificateCancelBadRequest {
return &CertificateCancelBadRequest{}
}

/* CertificateCancelBadRequest describes a response with status code 400, with default header values.
/*
CertificateCancelBadRequest describes a response with status code 400, with default header values.
Bad Request
*/
Expand All @@ -40,7 +40,8 @@ func NewCertificateCancelNotFound() *CertificateCancelNotFound {
return &CertificateCancelNotFound{}
}

/* CertificateCancelNotFound describes a response with status code 404, with default header values.
/*
CertificateCancelNotFound describes a response with status code 404, with default header values.
Not Found
*/
Expand All @@ -53,7 +54,8 @@ func NewCertificateCancelConflict() *CertificateCancelConflict {
return &CertificateCancelConflict{}
}

/* CertificateCancelConflict describes a response with status code 409, with default header values.
/*
CertificateCancelConflict describes a response with status code 409, with default header values.
Conflict
*/
Expand Down
15 changes: 8 additions & 7 deletions edgecast/cps/certificate/certificate_delete_responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@

package certificate

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

import (
"github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"
)

// NewCertificateDeleteNoContent creates a CertificateDeleteNoContent with default headers values
func NewCertificateDeleteNoContent() *CertificateDeleteNoContent {
return &CertificateDeleteNoContent{}
}

/* CertificateDeleteNoContent describes a response with status code 204, with default header values.
/*
CertificateDeleteNoContent describes a response with status code 204, with default header values.
Success
*/
Expand All @@ -27,7 +26,8 @@ func NewCertificateDeleteBadRequest() *CertificateDeleteBadRequest {
return &CertificateDeleteBadRequest{}
}

/* CertificateDeleteBadRequest describes a response with status code 400, with default header values.
/*
CertificateDeleteBadRequest describes a response with status code 400, with default header values.
Bad Request
*/
Expand All @@ -40,7 +40,8 @@ func NewCertificateDeleteNotFound() *CertificateDeleteNotFound {
return &CertificateDeleteNotFound{}
}

/* CertificateDeleteNotFound describes a response with status code 404, with default header values.
/*
CertificateDeleteNotFound describes a response with status code 404, with default header values.
Not Found
*/
Expand Down
20 changes: 19 additions & 1 deletion edgecast/cps/certificate/certificate_find_responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package certificate

import "github.com/EdgeCast/ec-sdk-go/edgecast/cps/models"

// This file was generated by codegen-sdk-go.
// Any changes made to this file may be overwritten.

Expand All @@ -11,9 +13,25 @@ func NewCertificateFindOK() *CertificateFindOK {
return &CertificateFindOK{}
}

/* CertificateFindOK describes a response with status code 200, with default header values.
/*
CertificateFindOK describes a response with status code 200, with default header values.
Success
*/
type CertificateFindOK struct {
models.HyperionCollectionCertificateRequestBase
}

// NewCertificateFindBadRequest creates a CertificateFindBadRequest with default headers values
func NewCertificateFindBadRequest() *CertificateFindBadRequest {
return &CertificateFindBadRequest{}
}

/*
CertificateFindBadRequest describes a response with status code 400, with default header values.
Bad Request
*/
type CertificateFindBadRequest struct {
models.HyperionErrorReponse
}
Loading

0 comments on commit 0e4732a

Please sign in to comment.