azure-storage-common\src\Common\Models\RetentionPolicy.php

Show: PublicProtectedPrivateinherited
Table of Contents
LICENSE: The MIT License (the "License") you may not use this file except in compliance with the License.

You may obtain a copy of the License at https://github.com/azure/azure-storage-php/LICENSE

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

PHP version 5

Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2016 Microsoft Corporation  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  
Package
MicrosoftAzure\Storage\Common\Models  

\MicrosoftAzure\Storage\Common\Models\RetentionPolicy

Package: MicrosoftAzure\Storage\Common\Models
Holds elements of queue properties retention policy field.
Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2016 Microsoft Corporation  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  

Methods

methodpublicgetDays() : integer

Gets days field.

Returns
TypeDescription
integer
methodpublicgetEnabled() : boolean

Gets enabled.

Returns
TypeDescription
boolean
methodpublicsetDays(integer $days) : void

Sets days field.

Parameters
NameTypeDescription
$daysinteger

value to use.

methodpublicsetEnabled(boolean $enabled) : void

Sets enabled.

Parameters
NameTypeDescription
$enabledboolean

value to use.

Documentation was generated by phpDocumentor 2.9.1.