Skip to content

OperationProps

Properties for defining a Operation.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-operation

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.OperationProps {
    HttpApiId: interface{},
    Method: interface{},
    OperationName: interface{},
    Path: interface{},
    Description: interface{},
    Mock: interface{},
}

Properties

Name Type Description
HttpApiId interface{} Property httpApiId: The HTTP API ID to which the interface belongs.
Method interface{} Property method: The method of http protocol.
OperationName interface{} Property operationName: The name of the operation.
Path interface{} Property path: The interface path of the operation.
Description interface{} Property description: The description of the operation.
Mock interface{} Property mock: Mock configuration.

HttpApiIdRequired

HttpApiId interface{}
  • Type: interface{}

Property httpApiId: The HTTP API ID to which the interface belongs.


MethodRequired

Method interface{}
  • Type: interface{}

Property method: The method of http protocol.


OperationNameRequired

OperationName interface{}
  • Type: interface{}

Property operationName: The name of the operation.


PathRequired

Path interface{}
  • Type: interface{}

Property path: The interface path of the operation.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the operation.


MockOptional

Mock interface{}
  • Type: interface{}

Property mock: Mock configuration.