/// <summary> /// Initializes a new instance of the ApiOperationPropertiesDefinition /// class. /// </summary> /// <param name="summary">The summary of the api operation.</param> /// <param name="description">The description of the api /// operation.</param> /// <param name="visibility">The visibility of the api /// operation.</param> /// <param name="trigger">The trigger type of api operation.</param> /// <param name="triggerHint">The trigger hint for the api /// operation.</param> /// <param name="pageable">Indicates whether the api operation is /// pageable.</param> /// <param name="annotation">The annotation of api operation.</param> /// <param name="api">The api reference.</param> /// <param name="inputsDefinition">The operation inputs definition /// schema.</param> /// <param name="responsesDefinition">The operation responses /// definition schemas.</param> /// <param name="isWebhook">Indicates whether the API operation is /// webhook or not.</param> /// <param name="isNotification">Indicates whether the API operation is /// notification or not.</param> public ApiOperationPropertiesDefinition(string summary = default(string), string description = default(string), string visibility = default(string), string trigger = default(string), string triggerHint = default(string), bool?pageable = default(bool?), ApiOperationAnnotation annotation = default(ApiOperationAnnotation), ApiReference api = default(ApiReference), SwaggerSchema inputsDefinition = default(SwaggerSchema), IDictionary <string, SwaggerSchema> responsesDefinition = default(IDictionary <string, SwaggerSchema>), bool?isWebhook = default(bool?), bool?isNotification = default(bool?)) { Summary = summary; Description = description; Visibility = visibility; Trigger = trigger; TriggerHint = triggerHint; Pageable = pageable; Annotation = annotation; Api = api; InputsDefinition = inputsDefinition; ResponsesDefinition = responsesDefinition; IsWebhook = isWebhook; IsNotification = isNotification; CustomInit(); }
/// <summary> /// Initializes a new instance of the SwaggerSchema class. /// </summary> /// <param name="refProperty">The reference.</param> /// <param name="type">The type. Possible values include: 'String', /// 'Number', 'Integer', 'Boolean', 'Array', 'File', 'Object', /// 'Null'</param> /// <param name="title">The title.</param> /// <param name="items">The items schema.</param> /// <param name="properties">The object properties</param> /// <param name="additionalProperties">The additional /// properties.</param> /// <param name="required">The object required properties.</param> /// <param name="maxProperties">The maximum number of allowed /// properties.</param> /// <param name="minProperties">The minimum number of allowed /// properties.</param> /// <param name="allOf">The schemas which must pass validation when /// this schema is used.</param> /// <param name="discriminator">The discriminator.</param> /// <param name="readOnlyProperty">Indicates whether this property must /// be present in the a request.</param> /// <param name="xml">The xml representation format for a /// property.</param> /// <param name="externalDocs">The external documentation.</param> /// <param name="example">The example value.</param> /// <param name="notificationUrlExtension">Indicates the notification /// url extension. If this is set, the property's value should be a /// callback url for a webhook.</param> /// <param name="dynamicSchemaOld">The dynamic schema /// configuration.</param> /// <param name="dynamicSchemaNew">The dynamic schema /// configuration.</param> /// <param name="dynamicListNew">The dynamic list.</param> /// <param name="dynamicTree">The dynamic values tree /// configuration.</param> public SwaggerSchema(string refProperty = default(string), string type = default(string), string title = default(string), SwaggerSchema items = default(SwaggerSchema), IDictionary <string, SwaggerSchema> properties = default(IDictionary <string, SwaggerSchema>), object additionalProperties = default(object), IList <string> required = default(IList <string>), int?maxProperties = default(int?), int?minProperties = default(int?), IList <SwaggerSchema> allOf = default(IList <SwaggerSchema>), string discriminator = default(string), bool?readOnlyProperty = default(bool?), SwaggerXml xml = default(SwaggerXml), SwaggerExternalDocumentation externalDocs = default(SwaggerExternalDocumentation), object example = default(object), bool?notificationUrlExtension = default(bool?), SwaggerCustomDynamicSchema dynamicSchemaOld = default(SwaggerCustomDynamicSchema), SwaggerCustomDynamicProperties dynamicSchemaNew = default(SwaggerCustomDynamicProperties), SwaggerCustomDynamicList dynamicListNew = default(SwaggerCustomDynamicList), SwaggerCustomDynamicTree dynamicTree = default(SwaggerCustomDynamicTree)) { RefProperty = refProperty; Type = type; Title = title; Items = items; Properties = properties; AdditionalProperties = additionalProperties; Required = required; MaxProperties = maxProperties; MinProperties = minProperties; AllOf = allOf; Discriminator = discriminator; ReadOnlyProperty = readOnlyProperty; Xml = xml; ExternalDocs = externalDocs; Example = example; NotificationUrlExtension = notificationUrlExtension; DynamicSchemaOld = dynamicSchemaOld; DynamicSchemaNew = dynamicSchemaNew; DynamicListNew = dynamicListNew; DynamicTree = dynamicTree; CustomInit(); }