FlexBoxAllOf
in package
implements
ModelInterface, ArrayAccess, JsonSerializable
FlexBoxAllOf Class Doc Comment
Tags
Interfaces, Classes, Traits and Enums
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
- JsonSerializable
Table of Contents
- ALIGN_ITEMS_CENTER = 'center'
- ALIGN_ITEMS_FLEX_END = 'flex-end'
- ALIGN_ITEMS_FLEX_START = 'flex-start'
- DISCRIMINATOR = null
- JUSTIFY_CONTENT_CENTER = 'center'
- JUSTIFY_CONTENT_FLEX_END = 'flex-end'
- JUSTIFY_CONTENT_FLEX_START = 'flex-start'
- JUSTIFY_CONTENT_SPACE_AROUND = 'space-around'
- JUSTIFY_CONTENT_SPACE_BETWEEN = 'space-between'
- JUSTIFY_CONTENT_SPACE_EVENLY = 'space-evenly'
- LAYOUT_BASELINE = 'baseline'
- LAYOUT_HORIZONTAL = 'horizontal'
- LAYOUT_VERTICAL = 'vertical'
- POSITION_ABSOLUTE = 'absolute'
- POSITION_RELATIVE = 'relative'
- $attributeMap : array<string|int, string>
- Array of attributes where the key is the local name, and the value is the original name
- $container : array<string|int, mixed>
- Associative array for storing property values
- $getters : array<string|int, string>
- Array of attributes to getter functions (for serialization of requests)
- $openAPIFormats : array<string|int, string>
- Array of property to format mappings. Used for (de)serialization
- $openAPIModelName : string
- The original name of the model.
- $openAPINullables : array<string|int, mixed>
- Array of nullable properties. Used for (de)serialization
- $openAPINullablesSetToNull : array<string|int, mixed>
- If a nullable field gets set to null, insert it here
- $openAPITypes : array<string|int, string>
- Array of property to type mappings. Used for (de)serialization
- $setters : array<string|int, string>
- Array of attributes to setter functions (for deserialization of responses)
- __construct() : mixed
- Constructor
- __toString() : string
- Gets the string presentation of the object
- attributeMap() : array<string|int, mixed>
- Array of attributes where the key is the local name, and the value is the original name
- getAction() : Action|null
- Gets action
- getAlignItems() : string|null
- Gets alignItems
- getAlignItemsAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getBackground() : FlexBoxBackground|null
- Gets background
- getBackgroundColor() : string|null
- Gets backgroundColor
- getBorderColor() : string|null
- Gets borderColor
- getBorderWidth() : string|null
- Gets borderWidth
- getContents() : array<string|int, FlexComponent>|null
- Gets contents
- getCornerRadius() : string|null
- Gets cornerRadius
- getFlex() : int|null
- Gets flex
- getHeight() : string|null
- Gets height
- getJustifyContent() : string|null
- Gets justifyContent
- getJustifyContentAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getLayout() : string|null
- Gets layout
- getLayoutAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getMargin() : string|null
- Gets margin
- getMaxHeight() : string|null
- Gets maxHeight
- getMaxWidth() : string|null
- Gets maxWidth
- getModelName() : string
- The original name of the model.
- getOffsetBottom() : string|null
- Gets offsetBottom
- getOffsetEnd() : string|null
- Gets offsetEnd
- getOffsetStart() : string|null
- Gets offsetStart
- getOffsetTop() : string|null
- Gets offsetTop
- getPaddingAll() : string|null
- Gets paddingAll
- getPaddingBottom() : string|null
- Gets paddingBottom
- getPaddingEnd() : string|null
- Gets paddingEnd
- getPaddingStart() : string|null
- Gets paddingStart
- getPaddingTop() : string|null
- Gets paddingTop
- getPosition() : string|null
- Gets position
- getPositionAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getSpacing() : string|null
- Gets spacing
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getWidth() : string|null
- Gets width
- isNullable() : bool
- Checks if a property is nullable
- isNullableSetToNull() : bool
- Checks if a nullable property is set to null.
- jsonSerialize() : mixed
- Serializes the object to a value that can be serialized natively by json_encode().
- listInvalidProperties() : array<string|int, mixed>
- Show all the invalid properties with reasons.
- offsetExists() : bool
- Returns true if offset exists. False otherwise.
- offsetGet() : mixed|null
- Gets offset.
- offsetSet() : void
- Sets value based on offset.
- offsetUnset() : void
- Unsets offset.
- openAPIFormats() : array<string|int, mixed>
- Array of property to format mappings. Used for (de)serialization
- openAPITypes() : array<string|int, mixed>
- Array of property to type mappings. Used for (de)serialization
- setAction() : self
- Sets action
- setAlignItems() : self
- Sets alignItems
- setBackground() : self
- Sets background
- setBackgroundColor() : self
- Sets backgroundColor
- setBorderColor() : self
- Sets borderColor
- setBorderWidth() : self
- Sets borderWidth
- setContents() : self
- Sets contents
- setCornerRadius() : self
- Sets cornerRadius
- setFlex() : self
- Sets flex
- setHeight() : self
- Sets height
- setJustifyContent() : self
- Sets justifyContent
- setLayout() : self
- Sets layout
- setMargin() : self
- Sets margin
- setMaxHeight() : self
- Sets maxHeight
- setMaxWidth() : self
- Sets maxWidth
- setOffsetBottom() : self
- Sets offsetBottom
- setOffsetEnd() : self
- Sets offsetEnd
- setOffsetStart() : self
- Sets offsetStart
- setOffsetTop() : self
- Sets offsetTop
- setPaddingAll() : self
- Sets paddingAll
- setPaddingBottom() : self
- Sets paddingBottom
- setPaddingEnd() : self
- Sets paddingEnd
- setPaddingStart() : self
- Sets paddingStart
- setPaddingTop() : self
- Sets paddingTop
- setPosition() : self
- Sets position
- setSpacing() : self
- Sets spacing
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setWidth() : self
- Sets width
- toHeaderValue() : string
- Gets a header-safe presentation of the object
- valid() : bool
- Validate all the properties in the model return true if all passed
- openAPINullables() : array<string|int, mixed>
- Array of nullable properties
- getOpenAPINullablesSetToNull() : array<string|int, bool>
- Array of nullable field names deliberately set to null
- setIfExists() : void
- Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array
- setOpenAPINullablesSetToNull() : void
- Setter - Array of nullable field names deliberately set to null
Constants
ALIGN_ITEMS_CENTER
public
mixed
ALIGN_ITEMS_CENTER
= 'center'
ALIGN_ITEMS_FLEX_END
public
mixed
ALIGN_ITEMS_FLEX_END
= 'flex-end'
ALIGN_ITEMS_FLEX_START
public
mixed
ALIGN_ITEMS_FLEX_START
= 'flex-start'
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
JUSTIFY_CONTENT_CENTER
public
mixed
JUSTIFY_CONTENT_CENTER
= 'center'
JUSTIFY_CONTENT_FLEX_END
public
mixed
JUSTIFY_CONTENT_FLEX_END
= 'flex-end'
JUSTIFY_CONTENT_FLEX_START
public
mixed
JUSTIFY_CONTENT_FLEX_START
= 'flex-start'
JUSTIFY_CONTENT_SPACE_AROUND
public
mixed
JUSTIFY_CONTENT_SPACE_AROUND
= 'space-around'
JUSTIFY_CONTENT_SPACE_BETWEEN
public
mixed
JUSTIFY_CONTENT_SPACE_BETWEEN
= 'space-between'
JUSTIFY_CONTENT_SPACE_EVENLY
public
mixed
JUSTIFY_CONTENT_SPACE_EVENLY
= 'space-evenly'
LAYOUT_BASELINE
public
mixed
LAYOUT_BASELINE
= 'baseline'
LAYOUT_HORIZONTAL
public
mixed
LAYOUT_HORIZONTAL
= 'horizontal'
LAYOUT_VERTICAL
public
mixed
LAYOUT_VERTICAL
= 'vertical'
POSITION_ABSOLUTE
public
mixed
POSITION_ABSOLUTE
= 'absolute'
POSITION_RELATIVE
public
mixed
POSITION_RELATIVE
= 'relative'
Properties
$attributeMap
Array of attributes where the key is the local name, and the value is the original name
protected
static array<string|int, string>
$attributeMap
= ['layout' => 'layout', 'flex' => 'flex', 'contents' => 'contents', 'spacing' => 'spacing', 'margin' => 'margin', 'position' => 'position', 'offsetTop' => 'offsetTop', 'offsetBottom' => 'offsetBottom', 'offsetStart' => 'offsetStart', 'offsetEnd' => 'offsetEnd', 'backgroundColor' => 'backgroundColor', 'borderColor' => 'borderColor', 'borderWidth' => 'borderWidth', 'cornerRadius' => 'cornerRadius', 'width' => 'width', 'maxWidth' => 'maxWidth', 'height' => 'height', 'maxHeight' => 'maxHeight', 'paddingAll' => 'paddingAll', 'paddingTop' => 'paddingTop', 'paddingBottom' => 'paddingBottom', 'paddingStart' => 'paddingStart', 'paddingEnd' => 'paddingEnd', 'action' => 'action', 'justifyContent' => 'justifyContent', 'alignItems' => 'alignItems', 'background' => 'background']
$container
Associative array for storing property values
protected
array<string|int, mixed>
$container
= []
$getters
Array of attributes to getter functions (for serialization of requests)
protected
static array<string|int, string>
$getters
= ['layout' => 'getLayout', 'flex' => 'getFlex', 'contents' => 'getContents', 'spacing' => 'getSpacing', 'margin' => 'getMargin', 'position' => 'getPosition', 'offsetTop' => 'getOffsetTop', 'offsetBottom' => 'getOffsetBottom', 'offsetStart' => 'getOffsetStart', 'offsetEnd' => 'getOffsetEnd', 'backgroundColor' => 'getBackgroundColor', 'borderColor' => 'getBorderColor', 'borderWidth' => 'getBorderWidth', 'cornerRadius' => 'getCornerRadius', 'width' => 'getWidth', 'maxWidth' => 'getMaxWidth', 'height' => 'getHeight', 'maxHeight' => 'getMaxHeight', 'paddingAll' => 'getPaddingAll', 'paddingTop' => 'getPaddingTop', 'paddingBottom' => 'getPaddingBottom', 'paddingStart' => 'getPaddingStart', 'paddingEnd' => 'getPaddingEnd', 'action' => 'getAction', 'justifyContent' => 'getJustifyContent', 'alignItems' => 'getAlignItems', 'background' => 'getBackground']
$openAPIFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$openAPIFormats
= ['layout' => null, 'flex' => 'int32', 'contents' => null, 'spacing' => null, 'margin' => null, 'position' => null, 'offsetTop' => null, 'offsetBottom' => null, 'offsetStart' => null, 'offsetEnd' => null, 'backgroundColor' => null, 'borderColor' => null, 'borderWidth' => null, 'cornerRadius' => null, 'width' => null, 'maxWidth' => null, 'height' => null, 'maxHeight' => null, 'paddingAll' => null, 'paddingTop' => null, 'paddingBottom' => null, 'paddingStart' => null, 'paddingEnd' => null, 'action' => null, 'justifyContent' => null, 'alignItems' => null, 'background' => null]
Tags
$openAPIModelName
The original name of the model.
protected
static string
$openAPIModelName
= 'FlexBox_allOf'
$openAPINullables
Array of nullable properties. Used for (de)serialization
protected
static array<string|int, mixed>
$openAPINullables
= ['layout' => false, 'flex' => false, 'contents' => false, 'spacing' => false, 'margin' => false, 'position' => false, 'offsetTop' => false, 'offsetBottom' => false, 'offsetStart' => false, 'offsetEnd' => false, 'backgroundColor' => false, 'borderColor' => false, 'borderWidth' => false, 'cornerRadius' => false, 'width' => false, 'maxWidth' => false, 'height' => false, 'maxHeight' => false, 'paddingAll' => false, 'paddingTop' => false, 'paddingBottom' => false, 'paddingStart' => false, 'paddingEnd' => false, 'action' => false, 'justifyContent' => false, 'alignItems' => false, 'background' => false]
$openAPINullablesSetToNull
If a nullable field gets set to null, insert it here
protected
array<string|int, mixed>
$openAPINullablesSetToNull
= []
$openAPITypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$openAPITypes
= ['layout' => 'string', 'flex' => 'int', 'contents' => '\\LINE\\Clients\\MessagingApi\\Model\\FlexComponent[]', 'spacing' => 'string', 'margin' => 'string', 'position' => 'string', 'offsetTop' => 'string', 'offsetBottom' => 'string', 'offsetStart' => 'string', 'offsetEnd' => 'string', 'backgroundColor' => 'string', 'borderColor' => 'string', 'borderWidth' => 'string', 'cornerRadius' => 'string', 'width' => 'string', 'maxWidth' => 'string', 'height' => 'string', 'maxHeight' => 'string', 'paddingAll' => 'string', 'paddingTop' => 'string', 'paddingBottom' => 'string', 'paddingStart' => 'string', 'paddingEnd' => 'string', 'action' => '\\LINE\\Clients\\MessagingApi\\Model\\Action', 'justifyContent' => 'string', 'alignItems' => 'string', 'background' => '\\LINE\\Clients\\MessagingApi\\Model\\FlexBoxBackground']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['layout' => 'setLayout', 'flex' => 'setFlex', 'contents' => 'setContents', 'spacing' => 'setSpacing', 'margin' => 'setMargin', 'position' => 'setPosition', 'offsetTop' => 'setOffsetTop', 'offsetBottom' => 'setOffsetBottom', 'offsetStart' => 'setOffsetStart', 'offsetEnd' => 'setOffsetEnd', 'backgroundColor' => 'setBackgroundColor', 'borderColor' => 'setBorderColor', 'borderWidth' => 'setBorderWidth', 'cornerRadius' => 'setCornerRadius', 'width' => 'setWidth', 'maxWidth' => 'setMaxWidth', 'height' => 'setHeight', 'maxHeight' => 'setMaxHeight', 'paddingAll' => 'setPaddingAll', 'paddingTop' => 'setPaddingTop', 'paddingBottom' => 'setPaddingBottom', 'paddingStart' => 'setPaddingStart', 'paddingEnd' => 'setPaddingEnd', 'action' => 'setAction', 'justifyContent' => 'setJustifyContent', 'alignItems' => 'setAlignItems', 'background' => 'setBackground']
Methods
__construct()
Constructor
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
Associated array of property values initializing the model
Return values
mixed —__toString()
Gets the string presentation of the object
public
__toString() : string
Return values
string —attributeMap()
Array of attributes where the key is the local name, and the value is the original name
public
static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAction()
Gets action
public
getAction() : Action|null
Return values
Action|null —getAlignItems()
Gets alignItems
public
getAlignItems() : string|null
Return values
string|null —getAlignItemsAllowableValues()
Gets allowable values of the enum
public
getAlignItemsAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getBackground()
Gets background
public
getBackground() : FlexBoxBackground|null
Return values
FlexBoxBackground|null —getBackgroundColor()
Gets backgroundColor
public
getBackgroundColor() : string|null
Return values
string|null —getBorderColor()
Gets borderColor
public
getBorderColor() : string|null
Return values
string|null —getBorderWidth()
Gets borderWidth
public
getBorderWidth() : string|null
Return values
string|null —getContents()
Gets contents
public
getContents() : array<string|int, FlexComponent>|null
Return values
array<string|int, FlexComponent>|null —getCornerRadius()
Gets cornerRadius
public
getCornerRadius() : string|null
Return values
string|null —getFlex()
Gets flex
public
getFlex() : int|null
Return values
int|null —getHeight()
Gets height
public
getHeight() : string|null
Return values
string|null —getJustifyContent()
Gets justifyContent
public
getJustifyContent() : string|null
Return values
string|null —getJustifyContentAllowableValues()
Gets allowable values of the enum
public
getJustifyContentAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getLayout()
Gets layout
public
getLayout() : string|null
Return values
string|null —getLayoutAllowableValues()
Gets allowable values of the enum
public
getLayoutAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getMargin()
Gets margin
public
getMargin() : string|null
Return values
string|null —getMaxHeight()
Gets maxHeight
public
getMaxHeight() : string|null
Return values
string|null —getMaxWidth()
Gets maxWidth
public
getMaxWidth() : string|null
Return values
string|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getOffsetBottom()
Gets offsetBottom
public
getOffsetBottom() : string|null
Return values
string|null —getOffsetEnd()
Gets offsetEnd
public
getOffsetEnd() : string|null
Return values
string|null —getOffsetStart()
Gets offsetStart
public
getOffsetStart() : string|null
Return values
string|null —getOffsetTop()
Gets offsetTop
public
getOffsetTop() : string|null
Return values
string|null —getPaddingAll()
Gets paddingAll
public
getPaddingAll() : string|null
Return values
string|null —getPaddingBottom()
Gets paddingBottom
public
getPaddingBottom() : string|null
Return values
string|null —getPaddingEnd()
Gets paddingEnd
public
getPaddingEnd() : string|null
Return values
string|null —getPaddingStart()
Gets paddingStart
public
getPaddingStart() : string|null
Return values
string|null —getPaddingTop()
Gets paddingTop
public
getPaddingTop() : string|null
Return values
string|null —getPosition()
Gets position
public
getPosition() : string|null
Return values
string|null —getPositionAllowableValues()
Gets allowable values of the enum
public
getPositionAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getSpacing()
Gets spacing
public
getSpacing() : string|null
Return values
string|null —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getWidth()
Gets width
public
getWidth() : string|null
Return values
string|null —isNullable()
Checks if a property is nullable
public
static isNullable(string $property) : bool
Parameters
- $property : string
Return values
bool —isNullableSetToNull()
Checks if a nullable property is set to null.
public
isNullableSetToNull(string $property) : bool
Parameters
- $property : string
Return values
bool —jsonSerialize()
Serializes the object to a value that can be serialized natively by json_encode().
public
jsonSerialize() : mixed
Tags
Return values
mixed —Returns data which can be serialized by json_encode(), which is a value of any type other than a resource.
listInvalidProperties()
Show all the invalid properties with reasons.
public
listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed> —invalid properties with reasons
offsetExists()
Returns true if offset exists. False otherwise.
public
offsetExists(int $offset) : bool
Parameters
- $offset : int
-
Offset
Return values
bool —offsetGet()
Gets offset.
public
offsetGet(int $offset) : mixed|null
Parameters
- $offset : int
-
Offset
Return values
mixed|null —offsetSet()
Sets value based on offset.
public
offsetSet(int|null $offset, mixed $value) : void
Parameters
- $offset : int|null
-
Offset
- $value : mixed
-
Value to be set
Return values
void —offsetUnset()
Unsets offset.
public
offsetUnset(int $offset) : void
Parameters
- $offset : int
-
Offset
Return values
void —openAPIFormats()
Array of property to format mappings. Used for (de)serialization
public
static openAPIFormats() : array<string|int, mixed>
Return values
array<string|int, mixed> —openAPITypes()
Array of property to type mappings. Used for (de)serialization
public
static openAPITypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —setAction()
Sets action
public
setAction(Action|null $action) : self
Parameters
- $action : Action|null
-
action
Return values
self —setAlignItems()
Sets alignItems
public
setAlignItems(string|null $alignItems) : self
Parameters
- $alignItems : string|null
-
alignItems
Return values
self —setBackground()
Sets background
public
setBackground(FlexBoxBackground|null $background) : self
Parameters
- $background : FlexBoxBackground|null
-
background
Return values
self —setBackgroundColor()
Sets backgroundColor
public
setBackgroundColor(string|null $backgroundColor) : self
Parameters
- $backgroundColor : string|null
-
backgroundColor
Return values
self —setBorderColor()
Sets borderColor
public
setBorderColor(string|null $borderColor) : self
Parameters
- $borderColor : string|null
-
borderColor
Return values
self —setBorderWidth()
Sets borderWidth
public
setBorderWidth(string|null $borderWidth) : self
Parameters
- $borderWidth : string|null
-
borderWidth
Return values
self —setContents()
Sets contents
public
setContents(array<string|int, FlexComponent>|null $contents) : self
Parameters
- $contents : array<string|int, FlexComponent>|null
-
contents
Return values
self —setCornerRadius()
Sets cornerRadius
public
setCornerRadius(string|null $cornerRadius) : self
Parameters
- $cornerRadius : string|null
-
cornerRadius
Return values
self —setFlex()
Sets flex
public
setFlex(int|null $flex) : self
Parameters
- $flex : int|null
-
flex
Return values
self —setHeight()
Sets height
public
setHeight(string|null $height) : self
Parameters
- $height : string|null
-
height
Return values
self —setJustifyContent()
Sets justifyContent
public
setJustifyContent(string|null $justifyContent) : self
Parameters
- $justifyContent : string|null
-
justifyContent
Return values
self —setLayout()
Sets layout
public
setLayout(string|null $layout) : self
Parameters
- $layout : string|null
-
layout
Return values
self —setMargin()
Sets margin
public
setMargin(string|null $margin) : self
Parameters
- $margin : string|null
-
margin
Return values
self —setMaxHeight()
Sets maxHeight
public
setMaxHeight(string|null $maxHeight) : self
Parameters
- $maxHeight : string|null
-
maxHeight
Return values
self —setMaxWidth()
Sets maxWidth
public
setMaxWidth(string|null $maxWidth) : self
Parameters
- $maxWidth : string|null
-
maxWidth
Return values
self —setOffsetBottom()
Sets offsetBottom
public
setOffsetBottom(string|null $offsetBottom) : self
Parameters
- $offsetBottom : string|null
-
offsetBottom
Return values
self —setOffsetEnd()
Sets offsetEnd
public
setOffsetEnd(string|null $offsetEnd) : self
Parameters
- $offsetEnd : string|null
-
offsetEnd
Return values
self —setOffsetStart()
Sets offsetStart
public
setOffsetStart(string|null $offsetStart) : self
Parameters
- $offsetStart : string|null
-
offsetStart
Return values
self —setOffsetTop()
Sets offsetTop
public
setOffsetTop(string|null $offsetTop) : self
Parameters
- $offsetTop : string|null
-
offsetTop
Return values
self —setPaddingAll()
Sets paddingAll
public
setPaddingAll(string|null $paddingAll) : self
Parameters
- $paddingAll : string|null
-
paddingAll
Return values
self —setPaddingBottom()
Sets paddingBottom
public
setPaddingBottom(string|null $paddingBottom) : self
Parameters
- $paddingBottom : string|null
-
paddingBottom
Return values
self —setPaddingEnd()
Sets paddingEnd
public
setPaddingEnd(string|null $paddingEnd) : self
Parameters
- $paddingEnd : string|null
-
paddingEnd
Return values
self —setPaddingStart()
Sets paddingStart
public
setPaddingStart(string|null $paddingStart) : self
Parameters
- $paddingStart : string|null
-
paddingStart
Return values
self —setPaddingTop()
Sets paddingTop
public
setPaddingTop(string|null $paddingTop) : self
Parameters
- $paddingTop : string|null
-
paddingTop
Return values
self —setPosition()
Sets position
public
setPosition(string|null $position) : self
Parameters
- $position : string|null
-
position
Return values
self —setSpacing()
Sets spacing
public
setSpacing(string|null $spacing) : self
Parameters
- $spacing : string|null
-
spacing
Return values
self —setters()
Array of attributes to setter functions (for deserialization of responses)
public
static setters() : array<string|int, mixed>
Return values
array<string|int, mixed> —setWidth()
Sets width
public
setWidth(string|null $width) : self
Parameters
- $width : string|null
-
width
Return values
self —toHeaderValue()
Gets a header-safe presentation of the object
public
toHeaderValue() : string
Return values
string —valid()
Validate all the properties in the model return true if all passed
public
valid() : bool
Return values
bool —True if all properties are valid
openAPINullables()
Array of nullable properties
protected
static openAPINullables() : array<string|int, mixed>
Return values
array<string|int, mixed> —getOpenAPINullablesSetToNull()
Array of nullable field names deliberately set to null
private
getOpenAPINullablesSetToNull() : array<string|int, bool>
Return values
array<string|int, bool> —setIfExists()
Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array
private
setIfExists(string $variableName, array<string|int, mixed> $fields, mixed $defaultValue) : void
Parameters
- $variableName : string
- $fields : array<string|int, mixed>
- $defaultValue : mixed
Return values
void —setOpenAPINullablesSetToNull()
Setter - Array of nullable field names deliberately set to null
private
setOpenAPINullablesSetToNull(array<string|int, bool> $openAPINullablesSetToNull) : void
Parameters
- $openAPINullablesSetToNull : array<string|int, bool>