IOCMResource
extends
JsonSerializable
in
Model based on the Open Cloud Mesh Discovery API
Tags
Table of Contents
Methods
- getName() : string
- get name of the resource
- getProtocols() : array<string, string>
- get configured protocols
- getShareTypes() : array<int, string>
- get share types
- import() : $this
- import data from an array
-
jsonSerialize()
: array{name: string, shareTypes: list
, protocols: array } - setName() : $this
- set name of the resource
- setProtocols() : $this
- set available protocols
- setShareTypes() : $this
- set share types
Methods
getName()
get name of the resource
public
getName() : string
Tags
Return values
stringgetProtocols()
get configured protocols
public
getProtocols() : array<string, string>
Tags
Return values
array<string, string>getShareTypes()
get share types
public
getShareTypes() : array<int, string>
Tags
Return values
array<int, string>import()
import data from an array
public
import(array<string|int, mixed> $data) : $this
Parameters
- $data : array<string|int, mixed>
Tags
Return values
$thisjsonSerialize()
public
jsonSerialize() : array{name: string, shareTypes: list, protocols: array}
Tags
Return values
array{name: string, shareTypes: listsetName()
set name of the resource
public
setName(string $name) : $this
Parameters
- $name : string
Tags
Return values
$thissetProtocols()
set available protocols
public
setProtocols(array<string, string> $protocols) : $this
Parameters
- $protocols : array<string, string>
Tags
Return values
$thissetShareTypes()
set share types
public
setShareTypes(array<int, string> $shareTypes) : $this
Parameters
- $shareTypes : array<int, string>