Skip to main content

AvailabilityDetails

Represents details related to the availability of a record, including content type and size.

  • Full name: \Bloock\Entity\Record\AvailabilityDetails

Properties

type

private ?string $type

size

private int $size

Methods

__construct

Constructs a AvailabilityDetails object with the specified parameters.

public __construct(string|null $type, int $size): mixed

Parameters:

ParameterTypeDescription
$typestring|null
$sizeint

getType

Gets the content type of record file.

public getType(): string|null

getSize

Gets the byte size of the record file.

public getSize(): int

fromProto

public static fromProto(\Bloock\AvailabilityDetails $details): \Bloock\Entity\Record\AvailabilityDetails
  • This method is static.

Parameters:

ParameterTypeDescription
$details\Bloock\AvailabilityDetails

toProto

public toProto(): \Bloock\AvailabilityDetails


Automatically generated on 2024-04-02