Language

ODataTypeCastSegment Class

Definition

Type cast segment.

public class ODataTypeCastSegment : Microsoft.OpenApi.OData.Edm.ODataSegment
type ODataTypeCastSegment = class
    inherit ODataSegment
Public Class ODataTypeCastSegment
Inherits ODataSegment
Inheritance
ODataTypeCastSegment

Constructors

Name Description
ODataTypeCastSegment(IEdmStructuredType, IEdmModel)

Initializes a new instance of ODataTypeCastSegment class.

Properties

Name Description
Deprecation

Provides any deprecation information for the segment.

(Inherited from ODataSegment)
EntityType

Gets the entity type of current segment.

Identifier

Gets the identifier of this segment.

Kind

Gets the kind of this segment.

StructuredType

Gets the target type cast type.

Methods

Name Description
GetAnnotables()

Returns the list of IEdmVocabularyAnnotatable this segment refers to.

GetPathHash(OpenApiConvertSettings, ODataPath)

Profides a suffix for the operation id based on the operation path.

(Inherited from ODataSegment)
GetPathItemName(OpenApiConvertSettings, HashSet<String>)

Gets the path item name for this segment.

GetPathItemName(OpenApiConvertSettings)

Gets the path item name for this segment.

(Inherited from ODataSegment)

Applies to