/*
 * Pipeline API
 *
 * Pipeline is a feature rich application platform, built for containers on top of Kubernetes to automate the DevOps experience, continuous application development and the lifecycle of deployments. 
 *
 * API version: latest
 * Contact: info@banzaicloud.com
 * Generated by: OpenAPI Generator (https://openapi-generator.tech)
 */

package pipeline

type SecretTypeResponseFieldsInner struct {

	Name string `json:"name,omitempty"`

	Required bool `json:"required,omitempty"`

	IsSafeToDisplay bool `json:"isSafeToDisplay,omitempty"`

	Description string `json:"description,omitempty"`
}

// AssertSecretTypeResponseFieldsInnerRequired checks if the required fields are not zero-ed
func AssertSecretTypeResponseFieldsInnerRequired(obj SecretTypeResponseFieldsInner) error {
	return nil
}

// AssertRecurseSecretTypeResponseFieldsInnerRequired recursively checks if required fields are not zero-ed in a nested slice.
// Accepts only nested slice of SecretTypeResponseFieldsInner (e.g. [][]SecretTypeResponseFieldsInner), otherwise ErrTypeAssertionError is thrown.
func AssertRecurseSecretTypeResponseFieldsInnerRequired(objSlice interface{}) error {
	return AssertRecurseInterfaceRequired(objSlice, func(obj interface{}) error {
		aSecretTypeResponseFieldsInner, ok := obj.(SecretTypeResponseFieldsInner)
		if !ok {
			return ErrTypeAssertionError
		}
		return AssertSecretTypeResponseFieldsInnerRequired(aSecretTypeResponseFieldsInner)
	})
}
