diff --git a/beta/MfaDetailModel.go b/beta/MFADetailModel.go similarity index 100% rename from beta/MfaDetailModel.go rename to beta/MFADetailModel.go diff --git a/beta/msgraph.go b/beta/msgraph.go index 9182d865..f5932d1f 100644 --- a/beta/msgraph.go +++ b/beta/msgraph.go @@ -108,6 +108,11 @@ func (r *BaseRequestBuilder) URL() string { return r.baseURL } +// SetURL sets the baseURL +func (r *BaseRequestBuilder) SetURL(baseURL string) { + r.baseURL = baseURL +} + // BaseRequest is base request type BaseRequest struct { baseURL string diff --git a/gen/msgraph.go.tmpl b/gen/msgraph.go.tmpl index c8073b7f..f6659f97 100644 --- a/gen/msgraph.go.tmpl +++ b/gen/msgraph.go.tmpl @@ -102,6 +102,11 @@ func (r *BaseRequestBuilder) URL() string { return r.baseURL } +// SetURL sets the baseURL +func (r *BaseRequestBuilder) SetURL(baseURL string) { + r.baseURL = baseURL +} + // BaseRequest is base request type BaseRequest struct { baseURL string diff --git a/v1.0/msgraph.go b/v1.0/msgraph.go index 66c62853..da074488 100644 --- a/v1.0/msgraph.go +++ b/v1.0/msgraph.go @@ -108,6 +108,11 @@ func (r *BaseRequestBuilder) URL() string { return r.baseURL } +// SetURL sets the baseURL +func (r *BaseRequestBuilder) SetURL(baseURL string) { + r.baseURL = baseURL +} + // BaseRequest is base request type BaseRequest struct { baseURL string