JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "GoogleAppsDriveLabelsV2LabelLimits.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/DriveLabels/GoogleAppsDriveLabelsV2LabelLimits.php
File size: 3.93 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*/
namespace Google\Service\DriveLabels;
class GoogleAppsDriveLabelsV2LabelLimits extends \Google\Model
{
protected $fieldLimitsType = GoogleAppsDriveLabelsV2FieldLimits::class;
protected $fieldLimitsDataType = '';
/**
* The maximum number of published fields that can be deleted.
*
* @var int
*/
public $maxDeletedFields;
/**
* The maximum number of characters allowed for the description.
*
* @var int
*/
public $maxDescriptionLength;
/**
* The maximum number of draft revisions that will be kept before deleting old
* drafts.
*
* @var int
*/
public $maxDraftRevisions;
/**
* The maximum number of fields allowed within the label.
*
* @var int
*/
public $maxFields;
/**
* The maximum number of characters allowed for the title.
*
* @var int
*/
public $maxTitleLength;
/**
* Resource name.
*
* @var string
*/
public $name;
/**
* The limits for fields.
*
* @param GoogleAppsDriveLabelsV2FieldLimits $fieldLimits
*/
public function setFieldLimits(GoogleAppsDriveLabelsV2FieldLimits $fieldLimits)
{
$this->fieldLimits = $fieldLimits;
}
/**
* @return GoogleAppsDriveLabelsV2FieldLimits
*/
public function getFieldLimits()
{
return $this->fieldLimits;
}
/**
* The maximum number of published fields that can be deleted.
*
* @param int $maxDeletedFields
*/
public function setMaxDeletedFields($maxDeletedFields)
{
$this->maxDeletedFields = $maxDeletedFields;
}
/**
* @return int
*/
public function getMaxDeletedFields()
{
return $this->maxDeletedFields;
}
/**
* The maximum number of characters allowed for the description.
*
* @param int $maxDescriptionLength
*/
public function setMaxDescriptionLength($maxDescriptionLength)
{
$this->maxDescriptionLength = $maxDescriptionLength;
}
/**
* @return int
*/
public function getMaxDescriptionLength()
{
return $this->maxDescriptionLength;
}
/**
* The maximum number of draft revisions that will be kept before deleting old
* drafts.
*
* @param int $maxDraftRevisions
*/
public function setMaxDraftRevisions($maxDraftRevisions)
{
$this->maxDraftRevisions = $maxDraftRevisions;
}
/**
* @return int
*/
public function getMaxDraftRevisions()
{
return $this->maxDraftRevisions;
}
/**
* The maximum number of fields allowed within the label.
*
* @param int $maxFields
*/
public function setMaxFields($maxFields)
{
$this->maxFields = $maxFields;
}
/**
* @return int
*/
public function getMaxFields()
{
return $this->maxFields;
}
/**
* The maximum number of characters allowed for the title.
*
* @param int $maxTitleLength
*/
public function setMaxTitleLength($maxTitleLength)
{
$this->maxTitleLength = $maxTitleLength;
}
/**
* @return int
*/
public function getMaxTitleLength()
{
return $this->maxTitleLength;
}
/**
* Resource name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleAppsDriveLabelsV2LabelLimits::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2LabelLimits');