Skip to content

Commit ebdff90

Browse files
Merge pull request #125 from RachelTucker/update-5-4
Generated 5.4 BP API from contract commit 2742576
2 parents 84a9954 + 23ea2a4 commit ebdff90

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

ds3/ds3Puts.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ func (client *Client) ModifyDataPathBackendSpectraS3(request *models.ModifyDataP
184184
WithOptionalQueryParam("cache_available_retry_after_in_seconds", networking.IntPtrToStrPtr(request.CacheAvailableRetryAfterInSeconds)).
185185
WithOptionalQueryParam("default_verify_data_after_import", networking.InterfaceToStrPtr(request.DefaultVerifyDataAfterImport)).
186186
WithOptionalQueryParam("default_verify_data_prior_to_import", networking.BoolPtrToStrPtr(request.DefaultVerifyDataPriorToImport)).
187+
WithOptionalQueryParam("iom_cache_limitation_percent", networking.Float64PtrToStrPtr(request.IomCacheLimitationPercent)).
187188
WithOptionalQueryParam("iom_enabled", networking.BoolPtrToStrPtr(request.IomEnabled)).
189+
WithOptionalQueryParam("max_aggregated_blobs_per_chunk", networking.IntPtrToStrPtr(request.MaxAggregatedBlobsPerChunk)).
188190
WithOptionalQueryParam("partially_verify_last_percent_of_tapes", networking.IntPtrToStrPtr(request.PartiallyVerifyLastPercentOfTapes)).
189191
WithOptionalQueryParam("unavailable_media_policy", networking.InterfaceToStrPtr(request.UnavailableMediaPolicy)).
190192
WithOptionalQueryParam("unavailable_pool_max_job_retry_in_mins", networking.IntPtrToStrPtr(request.UnavailablePoolMaxJobRetryInMins)).

ds3/models/requests.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,9 @@ type ModifyDataPathBackendSpectraS3Request struct {
10321032
CacheAvailableRetryAfterInSeconds *int
10331033
DefaultVerifyDataAfterImport Priority
10341034
DefaultVerifyDataPriorToImport *bool
1035+
IomCacheLimitationPercent *float64
10351036
IomEnabled *bool
1037+
MaxAggregatedBlobsPerChunk *int
10361038
PartiallyVerifyLastPercentOfTapes *int
10371039
UnavailableMediaPolicy UnavailableMediaUsagePolicy
10381040
UnavailablePoolMaxJobRetryInMins *int
@@ -1079,11 +1081,21 @@ func (modifyDataPathBackendSpectraS3Request *ModifyDataPathBackendSpectraS3Reque
10791081
return modifyDataPathBackendSpectraS3Request
10801082
}
10811083

1084+
func (modifyDataPathBackendSpectraS3Request *ModifyDataPathBackendSpectraS3Request) WithIomCacheLimitationPercent(iomCacheLimitationPercent float64) *ModifyDataPathBackendSpectraS3Request {
1085+
modifyDataPathBackendSpectraS3Request.IomCacheLimitationPercent = &iomCacheLimitationPercent
1086+
return modifyDataPathBackendSpectraS3Request
1087+
}
1088+
10821089
func (modifyDataPathBackendSpectraS3Request *ModifyDataPathBackendSpectraS3Request) WithIomEnabled(iomEnabled bool) *ModifyDataPathBackendSpectraS3Request {
10831090
modifyDataPathBackendSpectraS3Request.IomEnabled = &iomEnabled
10841091
return modifyDataPathBackendSpectraS3Request
10851092
}
10861093

1094+
func (modifyDataPathBackendSpectraS3Request *ModifyDataPathBackendSpectraS3Request) WithMaxAggregatedBlobsPerChunk(maxAggregatedBlobsPerChunk int) *ModifyDataPathBackendSpectraS3Request {
1095+
modifyDataPathBackendSpectraS3Request.MaxAggregatedBlobsPerChunk = &maxAggregatedBlobsPerChunk
1096+
return modifyDataPathBackendSpectraS3Request
1097+
}
1098+
10871099
func (modifyDataPathBackendSpectraS3Request *ModifyDataPathBackendSpectraS3Request) WithPartiallyVerifyLastPercentOfTapes(partiallyVerifyLastPercentOfTapes int) *ModifyDataPathBackendSpectraS3Request {
10881100
modifyDataPathBackendSpectraS3Request.PartiallyVerifyLastPercentOfTapes = &partiallyVerifyLastPercentOfTapes
10891101
return modifyDataPathBackendSpectraS3Request

ds3/models/responseModels.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,8 +602,10 @@ type DataPathBackend struct {
602602
DefaultVerifyDataPriorToImport bool
603603
Id string
604604
InstanceId string
605+
IomCacheLimitationPercent float64
605606
IomEnabled bool
606607
LastHeartbeat string
608+
MaxAggregatedBlobsPerChunk int
607609
PartiallyVerifyLastPercentOfTapes *int
608610
UnavailableMediaPolicy UnavailableMediaUsagePolicy
609611
UnavailablePoolMaxJobRetryInMins int
@@ -633,10 +635,14 @@ func (dataPathBackend *DataPathBackend) parse(xmlNode *XmlNode, aggErr *Aggregat
633635
dataPathBackend.Id = parseString(child.Content)
634636
case "InstanceId":
635637
dataPathBackend.InstanceId = parseString(child.Content)
638+
case "IomCacheLimitationPercent":
639+
dataPathBackend.IomCacheLimitationPercent = parseFloat64(child.Content, aggErr)
636640
case "IomEnabled":
637641
dataPathBackend.IomEnabled = parseBool(child.Content, aggErr)
638642
case "LastHeartbeat":
639643
dataPathBackend.LastHeartbeat = parseString(child.Content)
644+
case "MaxAggregatedBlobsPerChunk":
645+
dataPathBackend.MaxAggregatedBlobsPerChunk = parseInt(child.Content, aggErr)
640646
case "PartiallyVerifyLastPercentOfTapes":
641647
dataPathBackend.PartiallyVerifyLastPercentOfTapes = parseNullableInt(child.Content, aggErr)
642648
case "UnavailableMediaPolicy":

0 commit comments

Comments
 (0)