jkawamoto/roadie

View on GitHub
cloud/azure/resource/models/debug_setting.go

Summary

Maintainability
A
45 mins
Test Coverage
package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
    strfmt "github.com/go-openapi/strfmt"

    "github.com/go-openapi/errors"
)

// DebugSetting debug setting
// swagger:model DebugSetting
type DebugSetting struct {

    // Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
    DetailLevel string `json:"detailLevel,omitempty"`
}

// Validate validates this debug setting
func (m *DebugSetting) Validate(formats strfmt.Registry) error {
    var res []error

    if len(res) > 0 {
        return errors.CompositeValidationError(res...)
    }
    return nil
}