Skip to content

Commit 1e6aa0b

Browse files
SDK regenerated by CI server [ci skip]
1 parent 7023823 commit 1e6aa0b

File tree

7 files changed

+103
-2
lines changed

7 files changed

+103
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1919
## Enhancements in Version 25.6
2020

2121
- Added support for SVG images format in Watermark API.
22+
- Added 'RemoveJavaScriptFromLinks' property for HtmlSaveOptionsData class.
2223

2324

2425
## Enhancements in Version 25.5

dev/api/api_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ var (
6565
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
6666
)
6767

68-
// APIClient manages communication with the Aspose.Words for Cloud API Reference API v25.5
68+
// APIClient manages communication with the Aspose.Words for Cloud API Reference API v25.6
6969
// In most cases there should be only one, shared, APIClient.
7070
type APIClient struct {
7171
cfg *models.Configuration

dev/api/models/azw3_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IAzw3SaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -288,6 +290,9 @@ type Azw3SaveOptionsData struct {
288290
// Container class for azw3 save options.
289291
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
290292

293+
// Container class for azw3 save options.
294+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
295+
291296
// Container class for azw3 save options.
292297
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
293298

@@ -900,6 +905,18 @@ func (obj *Azw3SaveOptionsData) Deserialize(json map[string]interface{}) {
900905

901906
}
902907

908+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
909+
if parsedValue, valid := jsonValue.(bool); valid {
910+
obj.RemoveJavaScriptFromLinks = &parsedValue
911+
}
912+
913+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
914+
if parsedValue, valid := jsonValue.(bool); valid {
915+
obj.RemoveJavaScriptFromLinks = &parsedValue
916+
}
917+
918+
}
919+
903920
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
904921
if parsedValue, valid := jsonValue.(bool); valid {
905922
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1376,6 +1393,14 @@ func (obj *Azw3SaveOptionsData) SetPrettyFormat(value *bool) {
13761393
obj.PrettyFormat = value
13771394
}
13781395

1396+
func (obj *Azw3SaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1397+
return obj.RemoveJavaScriptFromLinks
1398+
}
1399+
1400+
func (obj *Azw3SaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1401+
obj.RemoveJavaScriptFromLinks = value
1402+
}
1403+
13791404
func (obj *Azw3SaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13801405
return obj.ReplaceBackslashWithYenSign
13811406
}

dev/api/models/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func NewConfiguration(configFilePath string) (pConfig *Configuration, err error)
9999
cfg := Configuration{
100100
BaseUrl: "https://api.aspose.cloud",
101101
DebugMode: false,
102-
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "25.5"},
102+
DefaultHeader: map[string]string{"x-aspose-client": "go sdk", "x-aspose-client-version": "25.6"},
103103
}
104104
err = json.Unmarshal(data, &cfg)
105105

dev/api/models/epub_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IEpubSaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -288,6 +290,9 @@ type EpubSaveOptionsData struct {
288290
// Container class for epub save options.
289291
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
290292

293+
// Container class for epub save options.
294+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
295+
291296
// Container class for epub save options.
292297
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
293298

@@ -900,6 +905,18 @@ func (obj *EpubSaveOptionsData) Deserialize(json map[string]interface{}) {
900905

901906
}
902907

908+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
909+
if parsedValue, valid := jsonValue.(bool); valid {
910+
obj.RemoveJavaScriptFromLinks = &parsedValue
911+
}
912+
913+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
914+
if parsedValue, valid := jsonValue.(bool); valid {
915+
obj.RemoveJavaScriptFromLinks = &parsedValue
916+
}
917+
918+
}
919+
903920
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
904921
if parsedValue, valid := jsonValue.(bool); valid {
905922
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1376,6 +1393,14 @@ func (obj *EpubSaveOptionsData) SetPrettyFormat(value *bool) {
13761393
obj.PrettyFormat = value
13771394
}
13781395

1396+
func (obj *EpubSaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1397+
return obj.RemoveJavaScriptFromLinks
1398+
}
1399+
1400+
func (obj *EpubSaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1401+
obj.RemoveJavaScriptFromLinks = value
1402+
}
1403+
13791404
func (obj *EpubSaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13801405
return obj.ReplaceBackslashWithYenSign
13811406
}

dev/api/models/html_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IHtmlSaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -286,6 +288,9 @@ type HtmlSaveOptionsData struct {
286288
// Container class for html save options.
287289
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
288290

291+
// Container class for html save options.
292+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
293+
289294
// Container class for html save options.
290295
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
291296

@@ -891,6 +896,18 @@ func (obj *HtmlSaveOptionsData) Deserialize(json map[string]interface{}) {
891896

892897
}
893898

899+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
900+
if parsedValue, valid := jsonValue.(bool); valid {
901+
obj.RemoveJavaScriptFromLinks = &parsedValue
902+
}
903+
904+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
905+
if parsedValue, valid := jsonValue.(bool); valid {
906+
obj.RemoveJavaScriptFromLinks = &parsedValue
907+
}
908+
909+
}
910+
894911
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
895912
if parsedValue, valid := jsonValue.(bool); valid {
896913
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1353,6 +1370,14 @@ func (obj *HtmlSaveOptionsData) SetPrettyFormat(value *bool) {
13531370
obj.PrettyFormat = value
13541371
}
13551372

1373+
func (obj *HtmlSaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1374+
return obj.RemoveJavaScriptFromLinks
1375+
}
1376+
1377+
func (obj *HtmlSaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1378+
obj.RemoveJavaScriptFromLinks = value
1379+
}
1380+
13561381
func (obj *HtmlSaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13571382
return obj.ReplaceBackslashWithYenSign
13581383
}

dev/api/models/mhtml_save_options_data.go

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type IMhtmlSaveOptionsData interface {
131131
SetOfficeMathOutputMode(value *string)
132132
GetPrettyFormat() *bool
133133
SetPrettyFormat(value *bool)
134+
GetRemoveJavaScriptFromLinks() *bool
135+
SetRemoveJavaScriptFromLinks(value *bool)
134136
GetReplaceBackslashWithYenSign() *bool
135137
SetReplaceBackslashWithYenSign(value *bool)
136138
GetResolveFontNames() *bool
@@ -288,6 +290,9 @@ type MhtmlSaveOptionsData struct {
288290
// Container class for mhtml save options.
289291
PrettyFormat *bool `json:"PrettyFormat,omitempty"`
290292

293+
// Container class for mhtml save options.
294+
RemoveJavaScriptFromLinks *bool `json:"RemoveJavaScriptFromLinks,omitempty"`
295+
291296
// Container class for mhtml save options.
292297
ReplaceBackslashWithYenSign *bool `json:"ReplaceBackslashWithYenSign,omitempty"`
293298

@@ -900,6 +905,18 @@ func (obj *MhtmlSaveOptionsData) Deserialize(json map[string]interface{}) {
900905

901906
}
902907

908+
if jsonValue, exists := json["RemoveJavaScriptFromLinks"]; exists {
909+
if parsedValue, valid := jsonValue.(bool); valid {
910+
obj.RemoveJavaScriptFromLinks = &parsedValue
911+
}
912+
913+
} else if jsonValue, exists := json["removeJavaScriptFromLinks"]; exists {
914+
if parsedValue, valid := jsonValue.(bool); valid {
915+
obj.RemoveJavaScriptFromLinks = &parsedValue
916+
}
917+
918+
}
919+
903920
if jsonValue, exists := json["ReplaceBackslashWithYenSign"]; exists {
904921
if parsedValue, valid := jsonValue.(bool); valid {
905922
obj.ReplaceBackslashWithYenSign = &parsedValue
@@ -1374,6 +1391,14 @@ func (obj *MhtmlSaveOptionsData) SetPrettyFormat(value *bool) {
13741391
obj.PrettyFormat = value
13751392
}
13761393

1394+
func (obj *MhtmlSaveOptionsData) GetRemoveJavaScriptFromLinks() *bool {
1395+
return obj.RemoveJavaScriptFromLinks
1396+
}
1397+
1398+
func (obj *MhtmlSaveOptionsData) SetRemoveJavaScriptFromLinks(value *bool) {
1399+
obj.RemoveJavaScriptFromLinks = value
1400+
}
1401+
13771402
func (obj *MhtmlSaveOptionsData) GetReplaceBackslashWithYenSign() *bool {
13781403
return obj.ReplaceBackslashWithYenSign
13791404
}

0 commit comments

Comments
 (0)