-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generator fixes. All the model has been sync with version 16.0.19506.…
…12022
- Loading branch information
Showing
40 changed files
with
3,473 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,40 @@ | ||
<?php | ||
|
||
|
||
/** | ||
* Updated By PHP Office365 Generator 2019-11-16T20:01:10+00:00 16.0.19506.12022 | ||
*/ | ||
namespace Office365\PHP\Client\SharePoint; | ||
|
||
|
||
/** | ||
* Represents | ||
* a choice field (2). To set | ||
* properties on this class, call the Update method (section 3.2.5.40.2.1.5).The NoCrawl and SchemaXmlWithResourceTokens properties are | ||
* not included in the default scalar property set | ||
* for this type. | ||
*/ | ||
class FieldChoice extends Field | ||
{ | ||
|
||
/** | ||
* Specifies | ||
* whether to display the choice field (2) as radio | ||
* buttons or as a drop-down list. | ||
* @return integer | ||
*/ | ||
public function getEditFormat() | ||
{ | ||
if (!$this->isPropertyAvailable("EditFormat")) { | ||
return null; | ||
} | ||
return $this->getProperty("EditFormat"); | ||
} | ||
/** | ||
* Specifies | ||
* whether to display the choice field (2) as radio | ||
* buttons or as a drop-down list. | ||
* @var integer | ||
*/ | ||
public function setEditFormat($value) | ||
{ | ||
$this->setProperty("EditFormat", $value, true); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,41 @@ | ||
<?php | ||
|
||
|
||
/** | ||
* Updated By PHP Office365 Generator 2019-11-16T20:01:10+00:00 16.0.19506.12022 | ||
*/ | ||
namespace Office365\PHP\Client\SharePoint; | ||
|
||
|
||
/** | ||
* Specifies | ||
* a computed | ||
* field. To set the properties of this class, call the Update | ||
* method (section 3.2.5.42.2.1.5).The NoCrawl and SchemaXmlWithResourceTokens properties are | ||
* not included in the default scalar property set | ||
* for this type. | ||
*/ | ||
class FieldComputed extends Field | ||
{ | ||
|
||
/** | ||
* Specifies | ||
* whether a lookup field can | ||
* reference the field (2). | ||
* @return bool | ||
*/ | ||
public function getEnableLookup() | ||
{ | ||
if (!$this->isPropertyAvailable("EnableLookup")) { | ||
return null; | ||
} | ||
return $this->getProperty("EnableLookup"); | ||
} | ||
/** | ||
* Specifies | ||
* whether a lookup field can | ||
* reference the field (2). | ||
* @var bool | ||
*/ | ||
public function setEnableLookup($value) | ||
{ | ||
$this->setProperty("EnableLookup", $value, true); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,85 @@ | ||
<?php | ||
|
||
|
||
/** | ||
* Updated By PHP Office365 Generator 2019-11-16T20:01:10+00:00 16.0.19506.12022 | ||
*/ | ||
namespace Office365\PHP\Client\SharePoint; | ||
|
||
/** | ||
* Specifies | ||
* a field | ||
* (2) that contains date and time values. To set properties, call the Update | ||
* method (section 3.2.5.44.2.1.5).The NoCrawl and SchemaXmlWithResourceTokens properties are | ||
* not included in the default scalar property set | ||
* for this type. | ||
*/ | ||
class FieldDateTime extends Field | ||
{ | ||
|
||
/** | ||
* Specifies | ||
* the calendar | ||
* type of the field (2).It MUST be | ||
* None if the field (2) is in an external list. | ||
* @return integer | ||
*/ | ||
public function getDateTimeCalendarType() | ||
{ | ||
if (!$this->isPropertyAvailable("DateTimeCalendarType")) { | ||
return null; | ||
} | ||
return $this->getProperty("DateTimeCalendarType"); | ||
} | ||
/** | ||
* Specifies | ||
* the calendar | ||
* type of the field (2).It MUST be | ||
* None if the field (2) is in an external list. | ||
* @var integer | ||
*/ | ||
public function setDateTimeCalendarType($value) | ||
{ | ||
$this->setProperty("DateTimeCalendarType", $value, true); | ||
} | ||
/** | ||
* Specifies | ||
* the type of date and time format that is used in the field (2). | ||
* @return integer | ||
*/ | ||
public function getDisplayFormat() | ||
{ | ||
if (!$this->isPropertyAvailable("DisplayFormat")) { | ||
return null; | ||
} | ||
return $this->getProperty("DisplayFormat"); | ||
} | ||
/** | ||
* Specifies | ||
* the type of date and time format that is used in the field (2). | ||
* @var integer | ||
*/ | ||
public function setDisplayFormat($value) | ||
{ | ||
$this->setProperty("DisplayFormat", $value, true); | ||
} | ||
/** | ||
* Gets or | ||
* sets the type of friendly display format that is used in the field.<16> | ||
* @return integer | ||
*/ | ||
public function getFriendlyDisplayFormat() | ||
{ | ||
if (!$this->isPropertyAvailable("FriendlyDisplayFormat")) { | ||
return null; | ||
} | ||
return $this->getProperty("FriendlyDisplayFormat"); | ||
} | ||
/** | ||
* Gets or | ||
* sets the type of friendly display format that is used in the field.<16> | ||
* @var integer | ||
*/ | ||
public function setFriendlyDisplayFormat($value) | ||
{ | ||
$this->setProperty("FriendlyDisplayFormat", $value, true); | ||
} | ||
} |
Oops, something went wrong.