@@ -23,6 +23,7 @@ func (client *Client) GetObject(request *models.GetObjectRequest) (*models.GetOb
2323    httpRequest , err  :=  networking .NewHttpRequestBuilder ().
2424        WithHttpVerb (HTTP_VERB_GET ).
2525        WithPath ("/"  +  request .BucketName  +  "/"  +  request .ObjectName ).
26+         WithOptionalVoidQueryParam ("cached_only" , request .CachedOnly ).
2627        WithOptionalQueryParam ("job" , request .Job ).
2728        WithOptionalQueryParam ("offset" , networking .Int64PtrToStrPtr (request .Offset )).
2829        WithOptionalQueryParam ("version_id" , request .VersionId ).
@@ -1800,6 +1801,89 @@ func (client *Client) GetAzureTargetFailureNotificationRegistrationsSpectraS3(re
18001801    return  models .NewGetAzureTargetFailureNotificationRegistrationsSpectraS3Response (response )
18011802}
18021803
1804+ func  (client  * Client ) GetBucketChangesNotificationRegistrationSpectraS3 (request  * models.GetBucketChangesNotificationRegistrationSpectraS3Request ) (* models.GetBucketChangesNotificationRegistrationSpectraS3Response , error ) {
1805+     // Build the http request 
1806+     httpRequest , err  :=  networking .NewHttpRequestBuilder ().
1807+         WithHttpVerb (HTTP_VERB_GET ).
1808+         WithPath ("/_rest_/bucket_changes_notification_registration/"  +  request .BucketChangesNotificationRegistration ).
1809+         Build (client .connectionInfo )
1810+ 
1811+     if  err  !=  nil  {
1812+         return  nil , err 
1813+     }
1814+ 
1815+     networkRetryDecorator  :=  networking .NewNetworkRetryDecorator (client .sendNetwork , client .clientPolicy .maxRetries )
1816+     httpRedirectDecorator  :=  networking .NewHttpTempRedirectDecorator (networkRetryDecorator , client .clientPolicy .maxRedirect )
1817+ 
1818+     // Invoke the HTTP request. 
1819+     response , requestErr  :=  httpRedirectDecorator .Invoke (httpRequest )
1820+     if  requestErr  !=  nil  {
1821+         return  nil , requestErr 
1822+     }
1823+ 
1824+     // Create a response object based on the result. 
1825+     return  models .NewGetBucketChangesNotificationRegistrationSpectraS3Response (response )
1826+ }
1827+ 
1828+ func  (client  * Client ) GetBucketChangesNotificationRegistrationsSpectraS3 (request  * models.GetBucketChangesNotificationRegistrationsSpectraS3Request ) (* models.GetBucketChangesNotificationRegistrationsSpectraS3Response , error ) {
1829+     // Build the http request 
1830+     httpRequest , err  :=  networking .NewHttpRequestBuilder ().
1831+         WithHttpVerb (HTTP_VERB_GET ).
1832+         WithPath ("/_rest_/bucket_changes_notification_registration" ).
1833+         WithOptionalVoidQueryParam ("last_page" , request .LastPage ).
1834+         WithOptionalQueryParam ("page_length" , networking .IntPtrToStrPtr (request .PageLength )).
1835+         WithOptionalQueryParam ("page_offset" , networking .IntPtrToStrPtr (request .PageOffset )).
1836+         WithOptionalQueryParam ("page_start_marker" , request .PageStartMarker ).
1837+         WithOptionalQueryParam ("user_id" , request .UserId ).
1838+         Build (client .connectionInfo )
1839+ 
1840+     if  err  !=  nil  {
1841+         return  nil , err 
1842+     }
1843+ 
1844+     networkRetryDecorator  :=  networking .NewNetworkRetryDecorator (client .sendNetwork , client .clientPolicy .maxRetries )
1845+     httpRedirectDecorator  :=  networking .NewHttpTempRedirectDecorator (networkRetryDecorator , client .clientPolicy .maxRedirect )
1846+ 
1847+     // Invoke the HTTP request. 
1848+     response , requestErr  :=  httpRedirectDecorator .Invoke (httpRequest )
1849+     if  requestErr  !=  nil  {
1850+         return  nil , requestErr 
1851+     }
1852+ 
1853+     // Create a response object based on the result. 
1854+     return  models .NewGetBucketChangesNotificationRegistrationsSpectraS3Response (response )
1855+ }
1856+ 
1857+ func  (client  * Client ) GetBucketHistorySpectraS3 (request  * models.GetBucketHistorySpectraS3Request ) (* models.GetBucketHistorySpectraS3Response , error ) {
1858+     // Build the http request 
1859+     httpRequest , err  :=  networking .NewHttpRequestBuilder ().
1860+         WithHttpVerb (HTTP_VERB_GET ).
1861+         WithPath ("/_rest_/bucket_history" ).
1862+         WithOptionalQueryParam ("bucket_id" , request .BucketId ).
1863+         WithOptionalVoidQueryParam ("last_page" , request .LastPage ).
1864+         WithOptionalQueryParam ("min_sequence_number" , networking .Int64PtrToStrPtr (request .MinSequenceNumber )).
1865+         WithOptionalQueryParam ("page_length" , networking .IntPtrToStrPtr (request .PageLength )).
1866+         WithOptionalQueryParam ("page_offset" , networking .IntPtrToStrPtr (request .PageOffset )).
1867+         WithOptionalQueryParam ("page_start_marker" , request .PageStartMarker ).
1868+         Build (client .connectionInfo )
1869+ 
1870+     if  err  !=  nil  {
1871+         return  nil , err 
1872+     }
1873+ 
1874+     networkRetryDecorator  :=  networking .NewNetworkRetryDecorator (client .sendNetwork , client .clientPolicy .maxRetries )
1875+     httpRedirectDecorator  :=  networking .NewHttpTempRedirectDecorator (networkRetryDecorator , client .clientPolicy .maxRedirect )
1876+ 
1877+     // Invoke the HTTP request. 
1878+     response , requestErr  :=  httpRedirectDecorator .Invoke (httpRequest )
1879+     if  requestErr  !=  nil  {
1880+         return  nil , requestErr 
1881+     }
1882+ 
1883+     // Create a response object based on the result. 
1884+     return  models .NewGetBucketHistorySpectraS3Response (response )
1885+ }
1886+ 
18031887func  (client  * Client ) GetDs3TargetFailureNotificationRegistrationSpectraS3 (request  * models.GetDs3TargetFailureNotificationRegistrationSpectraS3Request ) (* models.GetDs3TargetFailureNotificationRegistrationSpectraS3Response , error ) {
18041888    // Build the http request 
18051889    httpRequest , err  :=  networking .NewHttpRequestBuilder ().
@@ -3209,6 +3293,7 @@ func (client *Client) GetTapeDrivesSpectraS3(request *models.GetTapeDrivesSpectr
32093293        WithHttpVerb (HTTP_VERB_GET ).
32103294        WithPath ("/_rest_/tape_drive" ).
32113295        WithOptionalVoidQueryParam ("last_page" , request .LastPage ).
3296+         WithOptionalQueryParam ("minimum_task_priority" , networking .InterfaceToStrPtr (request .MinimumTaskPriority )).
32123297        WithOptionalQueryParam ("page_length" , networking .IntPtrToStrPtr (request .PageLength )).
32133298        WithOptionalQueryParam ("page_offset" , networking .IntPtrToStrPtr (request .PageOffset )).
32143299        WithOptionalQueryParam ("page_start_marker" , request .PageStartMarker ).
@@ -4118,6 +4203,7 @@ func (client *Client) GetS3TargetsSpectraS3(request *models.GetS3TargetsSpectraS
41184203        WithOptionalQueryParam ("https" , networking .BoolPtrToStrPtr (request .Https )).
41194204        WithOptionalVoidQueryParam ("last_page" , request .LastPage ).
41204205        WithOptionalQueryParam ("name" , request .Name ).
4206+         WithOptionalQueryParam ("naming_mode" , networking .InterfaceToStrPtr (request .NamingMode )).
41214207        WithOptionalQueryParam ("page_length" , networking .IntPtrToStrPtr (request .PageLength )).
41224208        WithOptionalQueryParam ("page_offset" , networking .IntPtrToStrPtr (request .PageOffset )).
41234209        WithOptionalQueryParam ("page_start_marker" , request .PageStartMarker ).
0 commit comments